widgets/multiplyfactordialog.h

Wed, 19 Apr 2023 22:51:56 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 19 Apr 2023 22:51:56 +0300
changeset 381
80bea7a6e84f
parent 264
76a025db4948
permissions
-rw-r--r--

Made library_role_e an enum class

#pragma once
#include <QDialog>
#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;
	VectorInput preview;
};

mercurial