Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Gui::Widgets::MatrixEditor Class Reference

#include <Gui/Widgets/MatrixEditor.hpp>

+ Collaboration diagram for Ra::Gui::Widgets::MatrixEditor:

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
 
MatrixEditoroperator= (const MatrixEditor &)=delete
 
 MatrixEditor (MatrixEditor &&)=delete
 
MatrixEditor && operator= (MatrixEditor &&)=delete
 

Detailed Description

A simple widget to edit matrices

Definition at line 16 of file MatrixEditor.hpp.

Constructor & Destructor Documentation

◆ MatrixEditor()

Ra::Gui::Widgets::MatrixEditor::MatrixEditor ( const Ra::Core::MatrixN & matrix,
int dec,
QWidget * parent = nullptr )
explicit

Constructors

Definition at line 13 of file MatrixEditor.cpp.

Member Function Documentation

◆ decimals()

int Ra::Gui::Widgets::MatrixEditor::decimals ( ) const
Returns
the number of decimal of the input

◆ matrix()

const Ra::Core::MatrixN & Ra::Gui::Widgets::MatrixEditor::matrix ( ) const

Get the edited matrix.

Definition at line 43 of file MatrixEditor.cpp.

◆ setDecimals()

void Ra::Gui::Widgets::MatrixEditor::setDecimals ( int prec)

Set the precision of the input, in decimals

Parameters
precthe precision in decimals

The documentation for this class was generated from the following files: