src/tools/drawtool.h

changeset 125
f127982d3412
parent 124
f9f308c8e0c5
child 126
a7c720aff97c
equal deleted inserted replaced
124:f9f308c8e0c5 125:f127982d3412
10 10
11 QString name() const override; 11 QString name() const override;
12 QString toolTip() const override; 12 QString toolTip() const override;
13 bool mouseClick(Document* document, Canvas* canvas, QMouseEvent* event) override; 13 bool mouseClick(Document* document, Canvas* canvas, QMouseEvent* event) override;
14 bool mouseMove(Document* document, Canvas* canvas, QMouseEvent* event) override; 14 bool mouseMove(Document* document, Canvas* canvas, QMouseEvent* event) override;
15 bool keyReleased(QKeyEvent*) override; 15 bool keyReleased(Document*, Canvas* canvas, QKeyEvent* event) override;
16 void reset() override; 16 void reset() override;
17 void overpaint(Canvas*, QPainter*) const override; 17 void overpaint(Canvas*, QPainter*) const override;
18 private: 18 private:
19 void closeShape(Document *document); 19 void closeShape(Document *document);
20 std::vector<glm::vec3> polygon; 20 std::vector<glm::vec3> polygon;

mercurial