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

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 |
Internal view model, used to process 'cleared' state of the combo box.
| QtxComboBox::Model::Model | ( | QObject * | parent = 0 | ) |
Constructor.
| parent | parent object |
| QtxComboBox::Model::~Model | ( | ) |
Destructor.
| QVariant QtxComboBox::Model::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Get model data.
| index | model index |
| role | data role |
References QtxComboBox::index(), and QtxComboBox::myCleared.
| void QtxComboBox::Model::setCleared | ( | const bool | isClear | ) |
|
private |