diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-04-06 08:36:18 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-04-06 08:36:18 +0200 |
commit | e840508c39b8e85328875477bfdbe0417c4e0eb0 (patch) | |
tree | b405ed169cdb1ddbd25de91dc2e87f39b1b95316 /src/gui/undocommands.h | |
parent | 9e2116497660509afd417cc3b952ea80bbb72ce5 (diff) |
parse tikz feature
Diffstat (limited to 'src/gui/undocommands.h')
-rw-r--r-- | src/gui/undocommands.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/undocommands.h b/src/gui/undocommands.h index e716458..a0abb26 100644 --- a/src/gui/undocommands.h +++ b/src/gui/undocommands.h @@ -146,4 +146,18 @@ private: QString _newLabel; }; +class ReplaceGraphCommand : public GraphUpdateCommand +{ +public: + explicit ReplaceGraphCommand(TikzScene *scene, + Graph *oldGraph, + Graph *newGraph, + QUndoCommand *parent = 0); + void undo() override; + void redo() override; +private: + Graph *_oldGraph; + Graph *_newGraph; +}; + #endif // UNDOCOMMANDS_H |