Sun, 26 Jun 2022 20:26:09 +0300
Fix bad use of QOpenGLFunctions
233 | 1 | #pragma once |
2 | #include <QWidget> | |
3 | #include "ui_circletool.h" | |
4 | #include "model.h" | |
5 | ||
6 | class CircleToolOptionsWidget : public QWidget | |
7 | { | |
8 | Q_OBJECT | |
9 | Ui_CircleToolOptions ui; | |
10 | public: | |
11 | CircleToolOptionsWidget(QWidget* parent); | |
12 | virtual ~CircleToolOptionsWidget(); | |
13 | unsigned int segments() const; | |
14 | unsigned int divisions() const; | |
15 | CircularPrimitive::Type type() const; | |
16 | Q_SIGNALS: | |
17 | void optionsChanged(const CircleToolOptions& options); | |
18 | private: | |
19 | Q_SLOT void handleInputChange(); | |
20 | }; |