|
Engauge Digitizer 2
|
Command for DlgSettingsCurveList. More...
#include <CmdSettingsCurveList.h>


Public Member Functions | |
| CmdSettingsCurveList (MainWindow &mainWindow, Document &document, const CurveNameList &modelCurves) | |
| Constructor for normal creation. | |
| CmdSettingsCurveList (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader) | |
| Constructor for parsing error report file xml. | |
| virtual | ~CmdSettingsCurveList () |
| 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. | |
| virtual | ~CmdAbstract () |
Additional Inherited Members | |
| Protected Member Functions inherited from CmdAbstract | |
| void | baseAttributes (QXmlStreamWriter &writer) const |
| After writing leaf class attributes, this writes the base class atributes. | |
| 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. | |
| void | leafAttributes (const QXmlStreamAttributes &attributes, const QStringList &requiredAttributesLeaf, QXmlStreamReader &reader) |
| Same as often-used leafAndBaseAttributes, except this is used in the special case where a class inherits from another class (e.g. | |
| void | leafAndBaseAttributes (const QXmlStreamAttributes &attributes, const QStringList &requiredAttributesLeaf, QXmlStreamReader &reader) |
| Before reading leaf class attributes, check all required attributes from leaf and this base class are included, then extract the parent class attributes. | |
| MainWindow & | mainWindow () |
| Return the MainWindow so it can be updated by this command as a last step. | |
| void | resetSelection (const PointIdentifiers &pointIdentifiersToSelect) |
| Call this (for consistency) after writing leaf class attributes, to write the base class attributes. | |
| void | restoreState () |
| Before any other operations associated with a Cmd class are performed, this method is called to restore original states to all relevant state machines. | |
| 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. | |
| void | selectAddedPointForMoving (const QString &pointAdded) |
| Select point that was just added so it can be moved by the user next for convenience. | |
| void | selectAddedPointsForMoving (const QStringList &pointsAdded) |
| Select points that were just added so they can be moved by the user next for convenience. | |
Command for DlgSettingsCurveList.
Definition at line 17 of file CmdSettingsCurveList.h.
| CmdSettingsCurveList::CmdSettingsCurveList | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const CurveNameList & | modelCurves ) |
Constructor for normal creation.
Definition at line 18 of file CmdSettingsCurveList.cpp.
| CmdSettingsCurveList::CmdSettingsCurveList | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const QString & | cmdDescription, | ||
| QXmlStreamReader & | reader ) |
Constructor for parsing error report file xml.
Definition at line 59 of file CmdSettingsCurveList.cpp.
|
virtual |
Definition at line 106 of file CmdSettingsCurveList.cpp.
|
virtual |
Redo method that is called when QUndoStack is moved one command forward.
Implements CmdAbstract.
Definition at line 110 of file CmdSettingsCurveList.cpp.
|
virtual |
Undo method that is called when QUndoStack is moved one command backward.
Implements CmdAbstract.
Definition at line 121 of file CmdSettingsCurveList.cpp.
|
virtual |
Save commands as xml for later uploading.
Implements CmdAbstract.
Definition at line 132 of file CmdSettingsCurveList.cpp.