mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-23 06:59:59 +01:00
Element editor : graphic part
Diagram editor : shape item Gain a new way to be resized: mirror resizing. Click on the item for switch the resize mode git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4583 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -102,6 +102,9 @@ class QetShapeItem : public QetGraphicsItem
|
||||
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event);
|
||||
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event);
|
||||
|
||||
private:
|
||||
void switchResizeMode();
|
||||
|
||||
///ATTRIBUTES
|
||||
private:
|
||||
ShapeType m_shapeType;
|
||||
@@ -114,5 +117,6 @@ class QetShapeItem : public QetGraphicsItem
|
||||
int m_vector_index;
|
||||
QetGraphicsHandlerUtility m_handler;
|
||||
bool m_close = false;
|
||||
int m_resize_mode = 1;
|
||||
};
|
||||
#endif // QETSHAPEITEM_H
|
||||
|
||||
Reference in New Issue
Block a user