Wed, 19 Apr 2023 22:51:56 +0300
Made library_role_e an enum class
233 | 1 | #pragma once |
2 | #include <QWidget> | |
264
76a025db4948
Convert all includes to be relative to project root directory. Files that cannot be found in this manner use angle brackets.
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
233
diff
changeset
|
3 | #include <ui_circletool.h> |
76a025db4948
Convert all includes to be relative to project root directory. Files that cannot be found in this manner use angle brackets.
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
233
diff
changeset
|
4 | #include "src/model.h" |
233 | 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; | |
379
8d88adffb779
Circular primitive type is now an enum class
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
264
diff
changeset
|
15 | circular_primitive_type_e type() const; |
233 | 16 | Q_SIGNALS: |
17 | void optionsChanged(const CircleToolOptions& options); | |
18 | private: | |
19 | Q_SLOT void handleInputChange(); | |
20 | }; |