mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-11 02:49:58 +01:00
Element editor : Element primitive decorator doesn't manage anymore the text field when a single text is selected
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5000 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -44,14 +44,14 @@ class ElementScene : public QGraphicsScene
|
||||
public:
|
||||
enum Behavior { Normal, PasteArea, AddPart };
|
||||
enum ItemOption {
|
||||
SortByZValue = 1,
|
||||
IncludeTerminals = 2,
|
||||
IncludeHelperItems = 4,
|
||||
Selected = 8,
|
||||
NonSelected = 16,
|
||||
SelectedOrNot = 24
|
||||
};
|
||||
Q_DECLARE_FLAGS(ItemOptions, ItemOption)
|
||||
SortByZValue = 1,
|
||||
IncludeTerminals = 2,
|
||||
IncludeHelperItems = 4,
|
||||
Selected = 8,
|
||||
NonSelected = 16,
|
||||
SelectedOrNot = 24
|
||||
};
|
||||
Q_DECLARE_FLAGS(ItemOptions, ItemOption)
|
||||
|
||||
// constructors, destructor
|
||||
public:
|
||||
@@ -168,15 +168,15 @@ class ElementScene : public QGraphicsScene
|
||||
void stackAction(ElementEditionCommand *);
|
||||
|
||||
signals:
|
||||
/// Signal emitted after one or several parts were added
|
||||
/// Signal emitted after one or several parts were added
|
||||
void partsAdded();
|
||||
/// Signal emitted after one or several parts were removed
|
||||
/// Signal emitted after one or several parts were removed
|
||||
void partsRemoved();
|
||||
/// Signal emitted when the zValue of one or several parts change
|
||||
/// Signal emitted when the zValue of one or several parts change
|
||||
void partsZValueChanged();
|
||||
/// Signal emitted when users have defined the copy/paste area
|
||||
/// Signal emitted when users have defined the copy/paste area
|
||||
void pasteAreaDefined(const QRectF &);
|
||||
/// Signal emitted when need zoomFit
|
||||
/// Signal emitted when need zoomFit
|
||||
void needZoomFit();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user