Mon, 16 May 2022 01:40:49 +0300
work on circle tool
186 | 1 | #pragma once |
2 | #include "drawtool.h" | |
3 | ||
4 | class CircleTool : public AbstractDrawTool | |
5 | { | |
6 | Q_OBJECT | |
7 | public: | |
8 | Q_INVOKABLE CircleTool(Document* document); | |
9 | QString name() const override; | |
10 | QString toolTip() const override; | |
11 | void overpaint(Canvas *canvas, QPainter *painter) const override; | |
12 | QString iconName() const override; | |
13 | void closeShape() override; | |
14 | }; |