diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2019-01-14 17:45:44 +0100 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2019-01-14 17:45:44 +0100 |
commit | 8074365997835ec3e93ee2aa1eadb3a794437066 (patch) | |
tree | 6f87d32435c8214c77c9e8103ca4e1d697ae02d5 /src/gui/undocommands.h | |
parent | 5aef304fa112d4b11e401671900877d3c844e07d (diff) | |
parent | d4b6e9839823e27af646a915436462254758e053 (diff) |
Merge tag 'v2.1.2' into debian/sid
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 ff51c90..42fed30 100644 --- a/src/gui/undocommands.h +++ b/src/gui/undocommands.h @@ -78,6 +78,17 @@ private: int _newOutAngle; }; +class ReverseEdgesCommand : public GraphUpdateCommand +{ +public: + explicit ReverseEdgesCommand(TikzScene *scene, QSet<Edge*> edgeSet, + QUndoCommand *parent = nullptr); + void undo() override; + void redo() override; +private: + QSet<Edge*> _edgeSet; +}; + class DeleteCommand : public GraphUpdateCommand { public: |