26 bool m_addpick; |
26 bool m_addpick; |
27 |
27 |
28 DEFINE_CLASS (SelectMode, AbstractSelectMode) |
28 DEFINE_CLASS (SelectMode, AbstractSelectMode) |
29 |
29 |
30 public: |
30 public: |
31 SelectMode (GLRenderer* renderer); |
31 SelectMode (Canvas* canvas); |
32 |
32 |
33 void render (QPainter& painter) const override; |
33 void render (QPainter& painter) const override; |
34 bool mousePressed (QMouseEvent* ev) override; |
34 bool mousePressed (QMouseEvent* ev) override; |
35 bool mouseReleased (MouseEventData const& data) override; |
35 bool mouseReleased (MouseEventData const& data) override; |
36 bool mouseDoubleClicked (QMouseEvent* ev) override; |
36 bool mouseDoubleClicked (QMouseEvent* ev) override; |