Inheritance diagram for VectorReplaceCommand:
Collaboration diagram for VectorReplaceCommand:Public Member Functions | |
| VectorReplaceCommand (const VectorImage *undoVector, const int undoLayerId, const QString &description, Editor *editor, QUndoCommand *parent=nullptr) | |
| void | undo () override |
| void | redo () override |
Public Member Functions inherited from UndoRedoCommand | |
| UndoRedoCommand (Editor *editor, QUndoCommand *parent=nullptr) | |
Public Member Functions inherited from QUndoCommand | |
| QUndoCommand (QUndoCommand *parent) | |
| QUndoCommand (const QString &text, QUndoCommand *parent) | |
| virtual void | undo () |
| virtual void | redo () |
| QString | text () const const |
| QString | actionText () const const |
| void | setText (const QString &text) |
| bool | isObsolete () const const |
| void | setObsolete (bool obsolete) |
| virtual int | id () const const |
| virtual bool | mergeWith (const QUndoCommand *command) |
| int | childCount () const const |
| const QUndoCommand * | child (int index) const const |
Private Attributes | |
| int | undoLayerId = 0 |
| int | redoLayerId = 0 |
| VectorImage | undoVector |
| VectorImage | redoVector |
Additional Inherited Members | |
Protected Member Functions inherited from UndoRedoCommand | |
| Editor * | editor () |
| bool | isFirstRedo () const |
| void | setFirstRedo (const bool state) |
Definition at line 75 of file undoredocommand.h.
| VectorReplaceCommand::VectorReplaceCommand | ( | const VectorImage * | undoVector, |
| const int | undoLayerId, | ||
| const QString & | description, | ||
| Editor * | editor, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
Definition at line 82 of file undoredocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 110 of file undoredocommand.cpp.
|
overridevirtual |
Reimplemented from QUndoCommand.
Definition at line 99 of file undoredocommand.cpp.
|
private |
Definition at line 89 of file undoredocommand.h.
|
private |
Definition at line 92 of file undoredocommand.h.
|
private |
Definition at line 88 of file undoredocommand.h.
|
private |
Definition at line 91 of file undoredocommand.h.