widgets/multiplyfactordialog.h

Tue, 11 Apr 2023 22:39:18 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 11 Apr 2023 22:39:18 +0300
changeset 376
3cef3b016330
parent 264
76a025db4948
permissions
-rw-r--r--

Split GL preferences that affect GL build to a new build preferences structure, modifying that requires rebuild, modifying render preferences does not

#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