Element editor : add new handler for arc to resize angle with mouse.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4722 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-09-25 08:14:29 +00:00
parent 55c094d663
commit bd4a472b7d
6 changed files with 162 additions and 55 deletions

View File

@@ -68,9 +68,11 @@ class PartArc : public AbstractPartEllipse
void switchResizeMode();
private:
QetGraphicsHandlerUtility m_handler;
int m_handler_index;
QPropertyUndoCommand *m_undo_command;
QetGraphicsHandlerUtility m_handler = 10;
int m_handler_index = -1;
QPropertyUndoCommand *m_undo_command = nullptr;
QPropertyUndoCommand *m_undo_command2 = nullptr;
int m_resize_mode = 1;
QPointF m_span_point;
};
#endif