mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-29 06:19:57 +01:00
Toatly revamp of the handlers use to modify primitves, shapes and conductors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5001 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -44,13 +44,13 @@ class ElementScene : public QGraphicsScene
|
||||
public:
|
||||
enum Behavior { Normal, PasteArea, AddPart };
|
||||
enum ItemOption {
|
||||
SortByZValue = 1,
|
||||
IncludeTerminals = 2,
|
||||
IncludeHelperItems = 4,
|
||||
Selected = 8,
|
||||
NonSelected = 16,
|
||||
SelectedOrNot = 24
|
||||
};
|
||||
SortByZValue = 1,
|
||||
IncludeTerminals = 2,
|
||||
IncludeHelperItems = 4,
|
||||
Selected = 8,
|
||||
NonSelected = 16,
|
||||
SelectedOrNot = 24
|
||||
};
|
||||
Q_DECLARE_FLAGS(ItemOptions, ItemOption)
|
||||
|
||||
// constructors, destructor
|
||||
@@ -82,7 +82,7 @@ class ElementScene : public QGraphicsScene
|
||||
QETElementEditor *m_element_editor = nullptr;
|
||||
|
||||
/// Variables to manage the paste area on the scene
|
||||
QGraphicsRectItem *m_paste_area = nullptr;
|
||||
QGraphicsRectItem *m_paste_area;
|
||||
QRectF m_defined_paste_area;
|
||||
|
||||
/// Variables to handle copy/paste with offset
|
||||
|
||||
Reference in New Issue
Block a user