QElectroTech 0.100.0-dev
|
The RotateSelectionInESCommand class Rotate the selected items in the element editor. More...
#include <editorcommands.h>
Public Member Functions | |
RotateElementsCommand (ElementScene *scene, QUndoCommand *parent=nullptr) | |
void | undo () override |
RotateElementsCommand::undo. | |
void | redo () override |
RotateElementsCommand::redo. | |
Public Member Functions inherited from ElementEditionCommand | |
ElementEditionCommand (ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr) | |
ElementEditionCommand::ElementEditionCommand Constructs an ElementEditionCommand, thus embedding the provided scene and view. | |
ElementEditionCommand (const QString &, ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr) | |
ElementEditionCommand::ElementEditionCommand Constructs an ElementEditionCommand, thus embedding the provided scene and view. | |
~ElementEditionCommand () override | |
ElementScene * | elementScene () const |
void | setElementScene (ElementScene *) |
ElementView * | elementView () const |
void | setElementView (ElementView *) |
Private Attributes | |
ElementScene * | m_scene =nullptr |
QList< QGraphicsItem * > | m_items |
Additional Inherited Members | |
Protected Attributes inherited from ElementEditionCommand | |
ElementScene * | m_scene |
Element editor/view/scene the command should take place on. | |
ElementView * | m_view |
The RotateSelectionInESCommand class Rotate the selected items in the element editor.
RotateElementsCommand::RotateElementsCommand | ( | ElementScene * | scene, |
QUndoCommand * | parent = nullptr |
||
) |
|
override |
|
override |
|
private |
|
private |