Developer Documentation
VSI::ObjectIdWidget Class Reference

#include <Plugin-VSI/types/objectId/objectIdWidget.hh>

Inheritance diagram for VSI::ObjectIdWidget:
VSI::TypeWidget

Public Member Functions

 ObjectIdWidget (QMap< QString, QString > &_hints, const QString &_typeName, QWidget *_parent=NULL)
 Constructor. More...
 
 ~ObjectIdWidget ()
 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 showPickDialog ()
 

Private Attributes

QPushButton * pickButton_
 
QComboBox * combo_
 
QStringList flags_
 
QStringList types_
 
bool withGroups_
 

Detailed Description

Widget to configure object id inputs

Definition at line 64 of file objectIdWidget.hh.

Constructor & Destructor Documentation

◆ ObjectIdWidget()

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

Constructor.

Definition at line 64 of file objectIdWidget.cc.

◆ ~ObjectIdWidget()

VSI::ObjectIdWidget::~ObjectIdWidget ( )

Destructor.

Definition at line 140 of file objectIdWidget.cc.

Member Function Documentation

◆ fromValue()

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

Read value from string.

Implements VSI::TypeWidget.

Definition at line 163 of file objectIdWidget.cc.

◆ showPickDialog

void VSI::ObjectIdWidget::showPickDialog ( )
privateslot

Definition at line 178 of file objectIdWidget.cc.

◆ toDefault()

void VSI::ObjectIdWidget::toDefault ( )
overridevirtual

Reset to default.

Implements VSI::TypeWidget.

Definition at line 171 of file objectIdWidget.cc.

◆ toValue()

QString VSI::ObjectIdWidget::toValue ( )
overridevirtual

Convert current value to string.

Implements VSI::TypeWidget.

Definition at line 150 of file objectIdWidget.cc.

Member Data Documentation

◆ combo_

QComboBox* VSI::ObjectIdWidget::combo_
private

Definition at line 88 of file objectIdWidget.hh.

◆ flags_

QStringList VSI::ObjectIdWidget::flags_
private

Definition at line 90 of file objectIdWidget.hh.

◆ pickButton_

QPushButton* VSI::ObjectIdWidget::pickButton_
private

Definition at line 87 of file objectIdWidget.hh.

◆ types_

QStringList VSI::ObjectIdWidget::types_
private

Definition at line 91 of file objectIdWidget.hh.

◆ withGroups_

bool VSI::ObjectIdWidget::withGroups_
private

Definition at line 92 of file objectIdWidget.hh.


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