|
Engauge Digitizer
2
|
Command for cutting all selected Points. More...
#include <CmdCut.h>


Public Member Functions | |
| CmdCut (MainWindow &mainWindow, Document &document, const QStringList &selectedPointIdentifiers) | |
| Constructor for normal creation. More... | |
| CmdCut (MainWindow &mainWindow, Document &document, const QString &cmdDescription, QXmlStreamReader &reader) | |
| Constructor for parsing error report file xml. More... | |
| virtual | ~CmdCut () |
| 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... | |
| CmdCut::CmdCut | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const QStringList & | selectedPointIdentifiers | ||
| ) |
Constructor for normal creation.
Definition at line 27 of file CmdCut.cpp.
| CmdCut::CmdCut | ( | MainWindow & | mainWindow, |
| Document & | document, | ||
| const QString & | cmdDescription, | ||
| QXmlStreamReader & | reader | ||
| ) |
Constructor for parsing error report file xml.
Definition at line 50 of file CmdCut.cpp.
|
virtual |
Definition at line 82 of file CmdCut.cpp.
|
virtual |
Redo method that is called when QUndoStack is moved one command forward.
Implements CmdAbstract.
Definition at line 86 of file CmdCut.cpp.
|
virtual |
Undo method that is called when QUndoStack is moved one command backward.
Implements CmdAbstract.
Definition at line 110 of file CmdCut.cpp.
|
virtual |
Save commands as xml for later uploading.
Implements CmdAbstract.
Definition at line 120 of file CmdCut.cpp.
1.8.14