diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-02-15 16:32:33 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-02-15 16:32:33 +0100 |
commit | 09c331761648541de907c866c56fb6084c6f7a9b (patch) | |
tree | 8e5a11c282255a0e5248c8a6093e362aa136861f /src/gui/undocommands.h | |
parent | 768e097abd17d07dd2748894b4dc1b09471dd6da (diff) |
added support for changing edge mode, and started working on windows support
Diffstat (limited to 'src/gui/undocommands.h')
-rw-r--r-- | src/gui/undocommands.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/undocommands.h b/src/gui/undocommands.h index 9032274..eea39ae 100644 --- a/src/gui/undocommands.h +++ b/src/gui/undocommands.h @@ -90,4 +90,15 @@ private: Edge *_edge; }; +class ChangeEdgeModeCommand : public QUndoCommand +{ +public: + explicit ChangeEdgeModeCommand(TikzScene *scene, Edge *edge); + void undo() override; + void redo() override; +private: + TikzScene *_scene; + Edge *_edge; +}; + #endif // UNDOCOMMANDS_H |