src/ui/multiplyfactordialog.h

changeset 252
da4876bfd822
parent 251
94b0a30a1886
child 253
8b994c917f69
equal deleted inserted replaced
251:94b0a30a1886 252:da4876bfd822
1 #pragma once
2 #include <QDialog>
3 #include "../basics.h"
4 #include "../widgets/vec3editor.h"
5
6 namespace Ui
7 {
8 class MultiplyFactorDialog;
9 }
10
11 class MultiplyFactorDialog : public QDialog
12 {
13 Q_OBJECT
14 public:
15 explicit MultiplyFactorDialog(const glm::vec3& baseVector = glm::vec3{}, QWidget *parent = nullptr);
16 ~MultiplyFactorDialog();
17 glm::vec3 value() const;
18 private:
19 Q_SLOT void updatePreview();
20 std::unique_ptr<Ui::MultiplyFactorDialog> ui;
21 const glm::vec3 baseVector;
22 Vec3Editor preview;
23 };

mercurial