28 DEFINE_CLASS (SelectMode, AbstractSelectMode) |
28 DEFINE_CLASS (SelectMode, AbstractSelectMode) |
29 |
29 |
30 public: |
30 public: |
31 SelectMode (Canvas* canvas); |
31 SelectMode (Canvas* canvas); |
32 |
32 |
|
33 void doSelection(const QRect& area); |
33 void render (QPainter& painter) const override; |
34 void render (QPainter& painter) const override; |
34 bool mousePressed (QMouseEvent* ev) override; |
35 bool mousePressed (QMouseEvent* ev) override; |
35 bool mouseReleased (MouseEventData const& data) override; |
36 bool mouseReleased (MouseEventData const& data) override; |
36 bool mouseDoubleClicked (QMouseEvent* ev) override; |
37 bool mouseDoubleClicked (QMouseEvent* ev) override; |
37 bool mouseMoved (QMouseEvent*) override; |
38 bool mouseMoved (QMouseEvent*) override; |