SymbolEditor
1.3.0
|
Rotate right command class. More...
#include <Commands.h>
Public Member Functions | |
RotateRightCommand (Editor *editor) | |
~RotateRightCommand () | |
virtual void | undo () |
virtual void | redo () |
Private Attributes | |
Editor * | m_editor |
Rotate right command class.
Implement the rotation of the QPainterPath for the current symbol right (clockwise).
Nothing is stored for undo as this is implemented as a rotate left.
Definition at line 260 of file Commands.h.
|
explicit |
RotateRightCommand::~RotateRightCommand | ( | ) |
Destructor
Definition at line 479 of file Commands.cpp.
|
virtual |
Redo the rotate right command. Call the Editor::rotatePointsRight function to rotate the points.
Definition at line 497 of file Commands.cpp.
|
virtual |
Undo the rotate right command. Call the Editor::rotatePointsLeft function to reverse the rotate right.
Definition at line 488 of file Commands.cpp.
|
private |
pointer to the editor
Definition at line 270 of file Commands.h.