Radium Engine
1.5.20
|
#include <Gui/Widgets/MatrixEditor.hpp>
Signals | |
void | valueChanged (const Ra::Core::MatrixN &) |
Public Member Functions | |
const Ra::Core::MatrixN & | matrix () const |
Get the edited matrix. | |
int | decimals () const |
void | setDecimals (int prec) |
MatrixEditor (const Ra::Core::MatrixN &matrix, int dec, QWidget *parent=nullptr) | |
MatrixEditor (const MatrixEditor &)=delete | |
MatrixEditor & | operator= (const MatrixEditor &)=delete |
MatrixEditor (MatrixEditor &&)=delete | |
MatrixEditor && | operator= (MatrixEditor &&)=delete |
A simple widget to edit matrices
Definition at line 16 of file MatrixEditor.hpp.
|
explicit |
Constructors
Definition at line 13 of file MatrixEditor.cpp.
int Ra::Gui::Widgets::MatrixEditor::decimals | ( | ) | const |
const Ra::Core::MatrixN & Ra::Gui::Widgets::MatrixEditor::matrix | ( | ) | const |
Get the edited matrix.
Definition at line 43 of file MatrixEditor.cpp.
void Ra::Gui::Widgets::MatrixEditor::setDecimals | ( | int | prec | ) |
Set the precision of the input, in decimals
prec | the precision in decimals |