Fri, 27 Aug 2021 00:55:32 +0300
Show concave polygons as red while drawing
96 | 1 | #pragma once |
2 | #include "basetool.h" | |
3 | ||
4 | class SelectTool : public BaseTool | |
5 | { | |
6 | Q_OBJECT | |
7 | ||
8 | public: | |
9 | Q_INVOKABLE SelectTool(QObject* parent = nullptr); | |
10 | ||
107
02f142b399b1
Move selection logic into select tool
Teemu Piippo <teemu@hecknology.net>
parents:
96
diff
changeset
|
11 | QString name() const override; |
02f142b399b1
Move selection logic into select tool
Teemu Piippo <teemu@hecknology.net>
parents:
96
diff
changeset
|
12 | QString toolTip() const override; |
121
000781318c36
added right click support for draw tool
Teemu Piippo <teemu@hecknology.net>
parents:
111
diff
changeset
|
13 | bool mouseClick(Document*, Canvas*, QMouseEvent*) override; |
96 | 14 | }; |