|
Engauge Digitizer
2
|
Command for moving all selected Points by a specified translation. More...
#include <CmdMoveBy.h>
Public Member Functions | |
| CmdMoveBy (MainWindow &mainWindow, Document &document, const QPointF &deltaScreen, const QString &moveText, const QStringList &selectedPointIdentifiers) | |
| Constructor for normal creation. | |
| CmdMoveBy (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader) | |
| Constructor for parsing error report file xml. | |
| virtual void | cmdRedo () |
| Redo method that is called when QUndoStack is moved one command forward. | |
| virtual void | cmdUndo () |
| Undo method that is called when QUndoStack is moved one command backward. | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save commands as xml for later uploading. | |
Public Member Functions inherited from CmdAbstract | |
| CmdAbstract (MainWindow &mainWindow, Document &document, const QString &cmdDescription) | |
| Single constructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from CmdAbstract | |
| Document & | document () |
| Return the Document that this command will modify during redo and undo. | |
| const Document & | document () const |
| Return a const copy of the Document for non redo/undo interaction. | |
| MainWindow & | mainWindow () |
| Return the MainWindow so it can be updated by this command as a last step. | |
Command for moving all selected Points by a specified translation.
Definition at line 12 of file CmdMoveBy.h.
1.8.9.1