mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-24 14:49:58 +02:00
diagram editor : undo/redo of a rotation is now animated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5296 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -22,11 +22,8 @@
|
||||
#include <QPointer>
|
||||
|
||||
class Diagram;
|
||||
class Element;
|
||||
class QGraphicsObject;
|
||||
class ElementTextItemGroup;
|
||||
class DiagramTextItem;
|
||||
class DiagramImageItem;
|
||||
class ConductorTextItem;
|
||||
class QPropertyUndoCommand;
|
||||
|
||||
/**
|
||||
* @brief The RotateSelectionCommand class
|
||||
@@ -45,11 +42,9 @@ class RotateSelectionCommand : public QUndoCommand
|
||||
Diagram *m_diagram =nullptr;
|
||||
qreal m_angle;
|
||||
|
||||
QList<QPointer<Element>> m_element;
|
||||
QList<QPointer<DiagramImageItem>> m_image;
|
||||
QList<QPointer<ElementTextItemGroup>> m_group;
|
||||
QList<QPointer<DiagramTextItem>> m_text;
|
||||
QHash<DiagramTextItem *, bool> m_rotate_by_user;
|
||||
QList<QPointer<ConductorTextItem>> m_cond_text;
|
||||
QHash<ConductorTextItem *, bool> m_rotate_by_user;
|
||||
QList<QPropertyUndoCommand*> m_undo;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user