![]() |
QElectroTech 0.200.1-dev
|
The MirrorElementsCommand class Mirror the selected parts horizontally (left <-> right) across the vertical line through the center of the selection, so the selection keeps its place in the scene. More...
#include <editorcommands.h>


Public Member Functions | |
| MirrorElementsCommand (ElementScene *scene, QUndoCommand *parent=nullptr) | |
| void | undo () override |
| MirrorElementsCommand::undo. | |
| void | redo () override |
| MirrorElementsCommand::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 |
| qreal | m_axis_x = 0 |
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 MirrorElementsCommand class Mirror the selected parts horizontally (left <-> right) across the vertical line through the center of the selection, so the selection keeps its place in the scene.
| MirrorElementsCommand::MirrorElementsCommand | ( | ElementScene * | scene, |
| QUndoCommand * | parent = nullptr ) |

|
override |


|
override |
|
private |
|
private |
|
private |