widgets/multiplyfactordialog.h

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

mercurial