Radium Engine
1.5.20
Loading...
Searching...
No Matches
MatrixEditor.hpp
1
#pragma once
2
#include <Gui/RaGui.hpp>
3
4
#include <QDoubleValidator>
5
#include <QWidget>
6
7
#include <
Core/Types.hpp
>
8
#include <stack>
9
10
namespace
Ra
{
11
namespace
Gui {
12
namespace
Widgets {
16
class
RA_GUI_API
MatrixEditor
:
public
QWidget
17
{
18
Q_OBJECT
19
20
public
:
24
explicit
MatrixEditor
(
const
Ra::Core::MatrixN& matrix,
int
dec, QWidget* parent =
nullptr
);
25
MatrixEditor
(
const
MatrixEditor
& ) =
delete
;
26
MatrixEditor
& operator=(
const
MatrixEditor
& ) =
delete
;
27
MatrixEditor
(
MatrixEditor
&& ) =
delete
;
28
MatrixEditor
&& operator=(
MatrixEditor
&& ) =
delete
;
32
const
Ra::Core::MatrixN& matrix()
const
;
33
37
int
decimals
()
const
;
38
43
void
setDecimals
(
int
prec );
44
45
signals:
46
void
valueChanged(
const
Ra::Core::MatrixN& );
47
48
private
:
49
Ra::Core::MatrixN m_matrix;
50
};
51
}
// namespace Widgets
52
}
// namespace Gui
53
}
// namespace Ra
Types.hpp
Ra::Gui::Widgets::MatrixEditor
Definition
MatrixEditor.hpp:17
Ra::Gui::Widgets::MatrixEditor::decimals
int decimals() const
Ra::Gui::Widgets::MatrixEditor::setDecimals
void setDecimals(int prec)
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Gui
Widgets
MatrixEditor.hpp
Generated by
1.12.0