Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

Constructor & Destructor Documentation

QtxComboBox::Model::Model ( QObject parent = 0)
Parameters
parentparent object
QtxComboBox::Model::~Model ( )

Member Function Documentation

QVariant QtxComboBox::Model::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
Parameters
indexmodel index
roledata role
Returns
data of role for given index

References QtxComboBox::myCleared.

void QtxComboBox::Model::setCleared ( const bool  isClear)
Parameters
isClearnew 'cleared' state

References QtxComboBox::myCleared.

Member Data Documentation

bool QtxComboBox::Model::myCleared
private

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