src/ui/multiplyfactordialog.h

changeset 81
62373840e33a
child 206
654661eab7f3
equal deleted inserted replaced
80:764381756899 81:62373840e33a
1 #pragma once
2 #include <QDialog>
3 #include "../main.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