Sun, 25 Jul 2021 13:49:37 +0300
work on editing tools
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; |
02f142b399b1
Move selection logic into select tool
Teemu Piippo <teemu@hecknology.net>
parents:
96
diff
changeset
|
13 | bool mouseClick(const Canvas::MouseClickInfo &info) override; |
96 | 14 | }; |