Developer Documentation
|
#include <Plugin-VSI/types/filenameWidget.hh>
Public Member Functions | |
FilenameWidget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL) | |
Constructor. More... | |
~FilenameWidget () | |
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 | showDialog () |
Private Attributes | |
QString | default_ |
QLineEdit * | line_ |
QPushButton * | selectButton_ |
QFileDialog::AcceptMode | mode_ |
QString | filter_ |
QString | defaultSuffix_ |
bool | dirOnly_ |
Widget to configure filename inputs
Definition at line 64 of file filenameWidget.hh.
VSI::FilenameWidget::FilenameWidget | ( | QMap< QString, QString > & | _hints, |
const QString & | _typeName, | ||
QWidget * | _parent = NULL |
||
) |
Constructor.
Definition at line 61 of file filenameWidget.cc.
VSI::FilenameWidget::~FilenameWidget | ( | ) |
Destructor.
Definition at line 106 of file filenameWidget.cc.
|
overridevirtual |
Read value from string.
Implements VSI::TypeWidget.
Definition at line 121 of file filenameWidget.cc.
|
privateslot |
Definition at line 146 of file filenameWidget.cc.
|
overridevirtual |
|
overridevirtual |
Convert current value to string.
Implements VSI::TypeWidget.
Definition at line 113 of file filenameWidget.cc.
|
private |
Definition at line 90 of file filenameWidget.hh.
|
private |
Definition at line 97 of file filenameWidget.hh.
|
private |
Definition at line 98 of file filenameWidget.hh.
|
private |
Definition at line 96 of file filenameWidget.hh.
|
private |
Definition at line 92 of file filenameWidget.hh.
|
private |
Definition at line 95 of file filenameWidget.hh.
|
private |
Definition at line 93 of file filenameWidget.hh.