Move several items : shape item now move with the others selected item

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3140 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-06-15 18:03:25 +00:00
parent da1277566b
commit 8627b6541d
3 changed files with 83 additions and 116 deletions

View File

@@ -23,7 +23,15 @@ class ConductorTextItem;
class Diagram;
/**
This class manages the interactive movement of different items (elements,
conductors, text items) on a particular diagram.
conductors, text items etc...) on a particular diagram.
A movement work in 3 steps:
1: beginMovement -> init a new movement
2: continueMovement -> continue the curent movement
3: endMovement -> finish the curent movement
A movement in progress must finish befor start a new movement. We can know if
element mover is ready for a new movement by calling isReady().
*/
class ElementsMover {
// constructors, destructor