Developer Documentation
VSI::Matrix4x4Widget Class Reference

#include <Plugin-VSI/types/matrix4x4Widget.hh>

Inheritance diagram for VSI::Matrix4x4Widget:
VSI::TypeWidget

Public Member Functions

 Matrix4x4Widget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL)
 Constructor. More...
 
 ~Matrix4x4Widget ()
 Destructor. More...
 
QString toValue () override
 Convert current value to string. More...
 
void fromValue (QString _from) override
 Read value from string. More...
 
void toDefault () override
 Reset to default. More...
 
- Public Member Functions inherited from VSI::TypeWidget
 TypeWidget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL)
 Constructor. More...
 
virtual ~TypeWidget ()
 Destructor. More...
 
virtual QString toValue ()=0
 Return the type configuration result to a string. More...
 
virtual void fromValue (QString _from)=0
 Set configuration to the value of the given string. More...
 
virtual void toDefault ()=0
 reset the widget to default More...
 

Private Slots

void editingFinished ()
 

Private Attributes

float current_ [16]
 
float default_ [16]
 
QLineEdit * fields_ [16]
 

Detailed Description

Widget to configure number inputs

Definition at line 61 of file matrix4x4Widget.hh.

Constructor & Destructor Documentation

◆ Matrix4x4Widget()

VSI::Matrix4x4Widget::Matrix4x4Widget ( QMap< QString, QString > &  _hints,
const QString &  _typeName,
QWidget *  _parent = NULL 
)

Constructor.

Definition at line 61 of file matrix4x4Widget.cc.

◆ ~Matrix4x4Widget()

VSI::Matrix4x4Widget::~Matrix4x4Widget ( )

Destructor.

Definition at line 120 of file matrix4x4Widget.cc.

Member Function Documentation

◆ editingFinished

void VSI::Matrix4x4Widget::editingFinished ( )
privateslot

Definition at line 170 of file matrix4x4Widget.cc.

◆ fromValue()

void VSI::Matrix4x4Widget::fromValue ( QString  _from)
overridevirtual

Read value from string.

Implements VSI::TypeWidget.

Definition at line 141 of file matrix4x4Widget.cc.

◆ toDefault()

void VSI::Matrix4x4Widget::toDefault ( )
overridevirtual

Reset to default.

Implements VSI::TypeWidget.

Definition at line 190 of file matrix4x4Widget.cc.

◆ toValue()

QString VSI::Matrix4x4Widget::toValue ( )
overridevirtual

Convert current value to string.

Implements VSI::TypeWidget.

Definition at line 127 of file matrix4x4Widget.cc.

Member Data Documentation

◆ current_

float VSI::Matrix4x4Widget::current_[16]
private

Definition at line 85 of file matrix4x4Widget.hh.

◆ default_

float VSI::Matrix4x4Widget::default_[16]
private

Definition at line 86 of file matrix4x4Widget.hh.

◆ fields_

QLineEdit* VSI::Matrix4x4Widget::fields_[16]
private

Definition at line 88 of file matrix4x4Widget.hh.


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