Developer Documentation
|
#include <Plugin-VSI/types/selectionWidget.hh>
Public Member Functions | |
SelectionWidget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL) | |
Constructor. More... | |
~SelectionWidget () | |
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 Attributes | |
QVector< QPair< QString, QString > > | names_ |
bool | multiple_ |
QStringList | default_ |
QComboBox * | combo_ |
QVector< QCheckBox * > | checkBox_ |
Widget to configure selection inputs
Definition at line 66 of file selectionWidget.hh.
VSI::SelectionWidget::SelectionWidget | ( | QMap< QString, QString > & | _hints, |
const QString & | _typeName, | ||
QWidget * | _parent = NULL |
||
) |
Constructor.
Definition at line 64 of file selectionWidget.cc.
VSI::SelectionWidget::~SelectionWidget | ( | ) |
Destructor.
Definition at line 132 of file selectionWidget.cc.
|
overridevirtual |
Read value from string.
Implements VSI::TypeWidget.
Definition at line 166 of file selectionWidget.cc.
|
overridevirtual |
|
overridevirtual |
Convert current value to string.
Implements VSI::TypeWidget.
Definition at line 139 of file selectionWidget.cc.
|
private |
Definition at line 92 of file selectionWidget.hh.
|
private |
Definition at line 91 of file selectionWidget.hh.
|
private |
Definition at line 89 of file selectionWidget.hh.
|
private |
Definition at line 88 of file selectionWidget.hh.
|
private |
Definition at line 86 of file selectionWidget.hh.