src/tools/basetool.h

changeset 109
40a1cf2f38f5
parent 108
94c92c923713
child 111
1f42c03fafca
equal deleted inserted replaced
108:94c92c923713 109:40a1cf2f38f5
16 virtual bool mouseClick(const Canvas::MouseClickInfo&) { return false; } 16 virtual bool mouseClick(const Canvas::MouseClickInfo&) { return false; }
17 virtual bool mouseDoubleClicked(QMouseEvent*) { return false; } 17 virtual bool mouseDoubleClicked(QMouseEvent*) { return false; }
18 virtual bool mouseMove(const Canvas::MouseMoveInfo&) { return false; } 18 virtual bool mouseMove(const Canvas::MouseMoveInfo&) { return false; }
19 virtual bool keyReleased(QKeyEvent*) { return false; } 19 virtual bool keyReleased(QKeyEvent*) { return false; }
20 virtual void reset() {} 20 virtual void reset() {}
21 virtual void overpaint(Canvas*, QPainter*) const {}
21 }; 22 };
22 23

mercurial