Version: 9.15.0
QtxComboBox::Model Class Reference

Internal view model, used to process 'cleared' state of the combo box. More...

Inheritance diagram for QtxComboBox::Model:
Inheritance graph

Public Member Functions

 Model (QObject *parent=0)
 Constructor. More...
 
 ~Model ()
 Destructor. More...
 
void setCleared (const bool)
 Set 'cleared' state. More...
 
QVariant data (const QModelIndex &, int=Qt::DisplayRole) const
 Get model data. More...
 

Private Attributes

bool myCleared
 

Detailed Description

Internal view model, used to process 'cleared' state of the combo box.

Constructor & Destructor Documentation

◆ Model()

QtxComboBox::Model::Model ( QObject parent = 0)

Constructor.

Parameters
parentparent object

◆ ~Model()

QtxComboBox::Model::~Model ( )

Destructor.

Member Function Documentation

◆ data()

QVariant QtxComboBox::Model::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Get model data.

Parameters
indexmodel index
roledata role
Returns
data of role for given index

References QtxComboBox::index(), and QtxComboBox::myCleared.

◆ setCleared()

void QtxComboBox::Model::setCleared ( const bool  isClear)

Set 'cleared' state.

Parameters
isClearnew 'cleared' state

References QtxComboBox::myCleared.

Member Data Documentation

◆ myCleared

bool QtxComboBox::Model::myCleared
private

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