#include <checkableComboBox.h>
|
void | setIndexState (int index, bool state) |
|
|
void | checkedIndexesChanged () |
|
|
| CheckableComboBox (QWidget *parent=0) |
|
QAbstractItemModel * | checkableModel () const |
| Use setCheckableModel instead of setModel()
|
|
void | setCheckableModel (QAbstractItemModel *model) |
|
QModelIndexList | checkedIndexes () const |
| Returns an up-to-date list of all the checked indexes.
|
|
bool | allChecked () const |
| Returns true if all the indexes are checked, false otherwise.
|
|
bool | noneChecked () const |
| Returns true if none of the indexes is checked, false otherwise.
|
|
void | setCheckState (const QModelIndex &index, Qt::CheckState check) |
| Utility function to conveniently check the state of an index.
|
|
Qt::CheckState | checkState (const QModelIndex &index) const |
| Utility function to return the check state of a model index.
|
|
CheckableModelHelper * | checkableModelHelper () const |
|
bool | eventFilter (QObject *o, QEvent *e) |
| Reimplemented for internal reasons.
|
|
void | setCheckedIndices (const QVector< int > &indices) |
|
QVector< int > | getCheckedIndices () const |
|
|
void | onDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
|
|
virtual void | paintEvent (QPaintEvent *) |
| Reimplemented for internal reasons.
|
|
|
QVector< int > | checkedIndices |
|
Description CheckableComboBox is a QComboBox that allow its items to be checkable
◆ checkableModelHelper()
Returns a pointer to the checkable model helper to give a direct access to the check manager.
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/checkableComboBox.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/checkableComboBox.cpp