| 15 explicit VectorInput(const glm::vec3& value, QWidget* parent = nullptr, QFlags<Flag> flags = {}); |
18 explicit VectorInput(const glm::vec3& value, QWidget* parent = nullptr, QFlags<Flag> flags = {}); |
| 16 explicit VectorInput(QWidget* parent = nullptr, QFlags<Flag> flags = {}); |
19 explicit VectorInput(QWidget* parent = nullptr, QFlags<Flag> flags = {}); |
| 17 ~VectorInput(); |
20 ~VectorInput(); |
| 18 glm::vec3 value() const; |
21 glm::vec3 value() const; |
| 19 void setValue(const glm::vec3& value); |
22 void setValue(const glm::vec3& value); |
| 20 Q_SIGNALS: |
23 qreal x() const; |
| 21 void valueChanged(const glm::vec3& value); |
24 qreal y() const; |
| |
25 qreal z() const; |
| |
26 Q_SLOT void setX(qreal x); |
| |
27 Q_SLOT void setY(qreal y); |
| |
28 Q_SLOT void setZ(qreal z); |
| |
29 Q_SIGNAL void valueChanged(const glm::vec3& value); |
| 22 private: |
30 private: |
| 23 std::array<class DoubleSpinBox*, 3> spinboxes(); |
31 std::array<class DoubleSpinBox*, 3> spinboxes(); |
| 24 Q_SLOT void multiplyPressed(); |
32 Q_SLOT void multiplyPressed(); |
| 25 }; |
33 }; |
| 26 |
34 |