--- a/src/ui/multiplyfactordialog.h Wed Jun 22 20:10:57 2022 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#pragma once -#include <QDialog> -#include "../basics.h" -#include "../widgets/vec3editor.h" - -namespace Ui -{ - class MultiplyFactorDialog; -} - -class MultiplyFactorDialog : public QDialog -{ - Q_OBJECT -public: - explicit MultiplyFactorDialog(const glm::vec3& baseVector = glm::vec3{}, QWidget *parent = nullptr); - ~MultiplyFactorDialog(); - glm::vec3 value() const; -private: - Q_SLOT void updatePreview(); - std::unique_ptr<Ui::MultiplyFactorDialog> ui; - const glm::vec3 baseVector; - Vec3Editor preview; -};