/home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_gui/include/items/circleitem.h Source File

MathVizAnimator: /home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_gui/include/items/circleitem.h Source File
MathVizAnimator  0.0.1
circleitem.h
1 /* mathvizanimator
2  * Copyright (C) 2023-2024 codingwithmagga
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef LIBS_MVA_GUI_INCLUDE_ITEMS_CIRCLEITEM_H_
19 #define LIBS_MVA_GUI_INCLUDE_ITEMS_CIRCLEITEM_H_
20 
21 #include "geometry_item.h"
22 
28 class CircleItem : public GeometryItem {
29  Q_OBJECT
30  QML_ELEMENT
31 
32  public:
33  explicit CircleItem(BasicItem* parent = nullptr);
34 
35  void paint(QPainter* painter) override;
36 };
37 
38 #endif // LIBS_MVA_GUI_INCLUDE_ITEMS_CIRCLEITEM_H_
Definition: basic_item.h:28
UI class which represents a circle.
Definition: circleitem.h:28
Definition: geometry_item.h:25