Internal view model, used to process 'cleared' state of the combo box.
Public Member Functions |
| | Model (QObject *parent=0) |
| | Constructor.
|
| | ~Model () |
| | Destructor.
|
| void | setCleared (const bool) |
| | Set 'cleared' state.
|
| QVariant | data (const QModelIndex &, int=Qt::DisplayRole) const |
| | Get model data.
|
Private Attributes |
| bool | myCleared |
Constructor & Destructor Documentation
| QtxComboBox.Model::Model |
( |
QObject * |
parent = 0 | ) |
|
| QtxComboBox.Model::~Model |
( |
| ) |
|
Member Function Documentation
| void QtxComboBox.Model::setCleared |
( |
const bool |
isClear | ) |
|
| QVariant QtxComboBox.Model::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
- Parameters:
-
| index | model index |
| role | data role |
- Returns:
- data of role role for the index
References QtxComboBox.myCleared.
Field Documentation