Developer Documentation
|
#include <Plugin-VSI/types/vec4dWidget.hh>
Public Member Functions | |
Vec4DWidget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL) | |
Constructor. More... | |
~Vec4DWidget () | |
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... | |
![]() | |
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_ [4] |
float | default_ [4] |
QLineEdit * | fields_ [4] |
Widget to configure number inputs
Definition at line 60 of file vec4dWidget.hh.
VSI::Vec4DWidget::Vec4DWidget | ( | QMap< QString, QString > & | _hints, |
const QString & | _typeName, | ||
QWidget * | _parent = NULL |
||
) |
Constructor.
Definition at line 60 of file vec4dWidget.cc.
VSI::Vec4DWidget::~Vec4DWidget | ( | ) |
Destructor.
Definition at line 112 of file vec4dWidget.cc.
|
privateslot |
Definition at line 161 of file vec4dWidget.cc.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Convert current value to string.
Implements VSI::TypeWidget.
Definition at line 119 of file vec4dWidget.cc.
|
private |
Definition at line 84 of file vec4dWidget.hh.
|
private |
Definition at line 85 of file vec4dWidget.hh.
|
private |
Definition at line 87 of file vec4dWidget.hh.