|
Engauge Digitizer
2
|
Command for adding one graph point. More...
#include <CmdAddPointGraph.h>


Public Member Functions | |
| CmdAddPointGraph (MainWindow &mainWindow, Document &document, const QString &curveName, const QPointF &posScreen, double ordinal) | |
| Constructor for normal creation. More... | |
| CmdAddPointGraph (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader) | |
| Constructor for parsing error report file xml. More... | |
| virtual | ~CmdAddPointGraph () |
| virtual void | cmdRedo () |
| Redo method that is called when QUndoStack is moved one command forward. More... | |
| virtual void | cmdUndo () |
| Undo method that is called when QUndoStack is moved one command backward. More... | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save commands as xml for later uploading. More... | |
Public Member Functions inherited from CmdPointChangeBase | |
| CmdPointChangeBase (MainWindow &mainWindow, Document &document, const QString &cmdDescription) | |
| Single constructor. More... | |
| virtual | ~CmdPointChangeBase () |
Public Member Functions inherited from CmdAbstract | |
| CmdAbstract (MainWindow &mainWindow, Document &document, const QString &cmdDescription) | |
| Single constructor. More... | |
| virtual | ~CmdAbstract () |
Additional Inherited Members | |
Protected Member Functions inherited from CmdPointChangeBase | |
| void | restoreDocumentState (Document &document) const |
| Restore the document previously saved by saveDocumentState. More... | |
| void | saveDocumentState (const Document &document) |
| Save the document state for restoration by restoreDocumentState. More... | |
Protected Member Functions inherited from CmdAbstract | |
| Document & | document () |
| Return the Document that this command will modify during redo and undo. More... | |
| const Document & | document () const |
| Return a const copy of the Document for non redo/undo interaction. More... | |
| MainWindow & | mainWindow () |
| Return the MainWindow so it can be updated by this command as a last step. More... | |
| void | resetSelection (const PointIdentifiers &pointIdentifiersToSelect) |
| Since the set of selected points has probably changed, changed that set back to the specified set. More... | |
| void | saveOrCheckPostCommandDocumentStateHash (const Document &document) |
| Save, when called the first time, a hash value representing the state of the Document. More... | |
| void | saveOrCheckPreCommandDocumentStateHash (const Document &document) |
| Save, when called the first time, a hash value representing the state of the Document. More... | |
Command for adding one graph point.
Definition at line 17 of file CmdAddPointGraph.h.
| CmdAddPointGraph::CmdAddPointGraph | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const QString & | curveName, | ||
| const QPointF & | posScreen, | ||
| double | ordinal | ||
| ) |
Constructor for normal creation.
Definition at line 19 of file CmdAddPointGraph.cpp.
| CmdAddPointGraph::CmdAddPointGraph | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const QString & | cmdDescription, | ||
| QXmlStreamReader & | reader | ||
| ) |
Constructor for parsing error report file xml.
Definition at line 36 of file CmdAddPointGraph.cpp.
|
virtual |
Definition at line 69 of file CmdAddPointGraph.cpp.
|
virtual |
Redo method that is called when QUndoStack is moved one command forward.
Implements CmdAbstract.
Definition at line 73 of file CmdAddPointGraph.cpp.
|
virtual |
Undo method that is called when QUndoStack is moved one command backward.
Implements CmdAbstract.
Definition at line 88 of file CmdAddPointGraph.cpp.
|
virtual |
Save commands as xml for later uploading.
Implements CmdAbstract.
Definition at line 98 of file CmdAddPointGraph.cpp.
1.8.14