Sun, 26 Jun 2022 19:44:45 +0300
- Made it build under Qt6
- Fix strangeness involving library path settings
#pragma once #include <QDialog> #include "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; VectorInput preview; };