Command for adding one scale point. More...
#include <CmdAddScale.h>
Public Member Functions | |
CmdAddScale (MainWindow &mainWindow, Document &document, const QPointF &posScreen0, const QPointF &posScreen1, double scaleLength, double ordinal0, double ordinal1) | |
Constructor for normal creation. | |
CmdAddScale (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. |
Command for adding one scale point.
Definition at line 16 of file CmdAddScale.h.