Engauge Digitizer 2
|
Command for DlgSettingsCurveProperties. More...
#include <CmdSettingsCurveProperties.h>
Public Member Functions | |
CmdSettingsCurveProperties (MainWindow &mainWindow, Document &document, const CurveStyles &modelCurveStylesBefore, const CurveStyles &modelCurveStylesAfter) | |
Constructor for normal creation. | |
CmdSettingsCurveProperties (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader) | |
Constructor for parsing error report file xml. | |
virtual | ~CmdSettingsCurveProperties () |
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. | |
![]() | |
CmdAbstract (MainWindow &mainWindow, Document &document, const QString &cmdDescription) | |
Single constructor. | |
virtual | ~CmdAbstract () |
Additional Inherited Members | |
![]() | |
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. | |
void | resetSelection (const PointIdentifiers &pointIdentifiersToSelect) |
Since the set of selected points has probably changed, changed that set back to the specified set. | |
void | saveOrCheckPostCommandDocumentStateHash (const Document &document) |
Save, when called the first time, a hash value representing the state of the Document. | |
void | saveOrCheckPreCommandDocumentStateHash (const Document &document) |
Save, when called the first time, a hash value representing the state of the Document. | |
Command for DlgSettingsCurveProperties.
Definition at line 19 of file CmdSettingsCurveProperties.h.
CmdSettingsCurveProperties::CmdSettingsCurveProperties | ( | MainWindow & | mainWindow, |
Document & | document, | ||
const CurveStyles & | modelCurveStylesBefore, | ||
const CurveStyles & | modelCurveStylesAfter ) |
Constructor for normal creation.
Definition at line 18 of file CmdSettingsCurveProperties.cpp.
CmdSettingsCurveProperties::CmdSettingsCurveProperties | ( | MainWindow & | mainWindow, |
Document & | document, | ||
const QString & | cmdDescription, | ||
QXmlStreamReader & | reader ) |
Constructor for parsing error report file xml.
Definition at line 31 of file CmdSettingsCurveProperties.cpp.
|
virtual |
Definition at line 78 of file CmdSettingsCurveProperties.cpp.
|
virtual |
Redo method that is called when QUndoStack is moved one command forward.
Implements CmdAbstract.
Definition at line 82 of file CmdSettingsCurveProperties.cpp.
|
virtual |
Undo method that is called when QUndoStack is moved one command backward.
Implements CmdAbstract.
Definition at line 93 of file CmdSettingsCurveProperties.cpp.
|
virtual |
Save commands as xml for later uploading.
Implements CmdAbstract.
Definition at line 104 of file CmdSettingsCurveProperties.cpp.