Merge sources dir branch devel to trunk

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2613 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2013-11-14 10:11:22 +00:00
parent 434849c3eb
commit 971ce1facb
54 changed files with 594 additions and 1152 deletions

View File

@@ -20,7 +20,6 @@
#include <QtGui>
#include <QtXml>
#include "nameslistwidget.h"
#include "orientationsetwidget.h"
#include "qgimanager.h"
#include "elementcontent.h"
class CustomElementPart;
@@ -65,10 +64,6 @@ class ElementScene : public QGraphicsScene {
private:
/// List of localized names
NamesList _names;
/// Set of orientations
OrientationSet ori;
/// whether internal connections (i.e. connections between terminals of a same element) are accepted
bool internal_connections;
/// Extra informations
QString informations_;
/// QGraphicsItem manager
@@ -112,8 +107,6 @@ class ElementScene : public QGraphicsScene {
public:
void setNames(const NamesList &);
NamesList names() const;
OrientationSet orientations();
void setOrientations(const OrientationSet &);
bool internalConnections();
void setInternalConnections(bool);
QString informations() const;
@@ -178,7 +171,6 @@ class ElementScene : public QGraphicsScene {
void slot_invertSelection();
void slot_delete();
void slot_editNames();
void slot_editOrientations();
void slot_editAuthorInformations();
void slot_bringForward();
void slot_raise();
@@ -222,34 +214,6 @@ inline NamesList ElementScene::names() const {
return(_names);
}
/**
@return the orientation set of the currently edited element
*/
inline OrientationSet ElementScene::orientations() {
return(ori);
}
/**
@param orientation_set the new orientation set for the currently edited element
*/
inline void ElementScene::setOrientations(const OrientationSet &orientation_set) {
ori = orientation_set;
}
/**
@return whether internal connections are accepted
*/
inline bool ElementScene::internalConnections() {
return(internal_connections);
}
/**
@param ic true for internal connections to be accepted, false otherwise
*/
inline void ElementScene::setInternalConnections(bool ic) {
internal_connections = ic;
}
/**
@return extra informations of the currently edited element
*/