Sun, 10 Jan 2021 15:28:44 +0200
added tool base code
96 | 1 | #include "drawtool.h" |
2 | ||
3 | DrawTool::DrawTool(QObject* parent) : | |
4 | BaseTool{parent} {} | |
5 | ||
6 | QString DrawTool::name() const | |
7 | { | |
8 | static const QString result = tr("Draw"); | |
9 | return result; | |
10 | } | |
11 | ||
12 | QString DrawTool::toolTip() const | |
13 | { | |
14 | static const QString result = tr("Draw new elements into the model."); | |
15 | return result; | |
16 | } |