src/widgets/matrixeditor.h

changeset 252
da4876bfd822
parent 251
94b0a30a1886
child 253
8b994c917f69
--- a/src/widgets/matrixeditor.h	Wed Jun 22 20:10:57 2022 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-#pragma once
-#include <QWidget>
-#include "basics.h"
-
-namespace Ui {
-class MatrixEditor;
-}
-
-class MatrixEditor : public QWidget
-{
-	Q_OBJECT
-public:
-	explicit MatrixEditor(QWidget *parent = nullptr);
-	explicit MatrixEditor(const glm::mat4 value, QWidget* parent = nullptr);
-	~MatrixEditor();
-	glm::mat4 value() const;
-	void setValue(const glm::mat4& value);
-Q_SIGNALS:
-	void valueChanged(const glm::mat4& value);
-private:
-	constexpr int matrixSize() const;
-	Q_SLOT void multiplyButtonPressed();
-	class QDoubleSpinBox* spinboxes[4][3];
-	Ui::MatrixEditor *ui;
-};
-
-constexpr int MatrixEditor::matrixSize() const
-{
-	return 4;
-}

mercurial