added mouse-up event for moved nodes

This commit is contained in:
k-a-z-u
2018-04-04 17:14:37 +02:00
parent 3a4deaf314
commit fe6f4f88f7
17 changed files with 98 additions and 10 deletions

View File

@@ -41,9 +41,10 @@ public:
/** get a list of all nodes that are selectable / moveable */
virtual std::vector<MoveableNode> getMoveableNodes() const override;
/** the given node was moved */
virtual void onNodeMove(MapView2D* v, const int userIdx, const Point2 newPos) override;
virtual void onNodeMoved(MapView2D* v, const int userIdx, const Point2 newPos) override;
virtual bool keyPressEvent(MapView2D* v, QKeyEvent *e) override;
};