#include <Libs/Widgets/ctkCheckableComboBox.h>
|
void | onDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
|
|
QScopedPointer< ctkCheckableComboBoxPrivate > | d_ptr |
|
Description ctkCheckableComboBox is a QComboBox that allow its items to be checkable
Definition at line 36 of file ctkCheckableComboBox.h.
ctkCheckableComboBox::ctkCheckableComboBox |
( |
QWidget * |
parent = 0 | ) |
|
virtual ctkCheckableComboBox::~ctkCheckableComboBox |
( |
| ) |
|
|
virtual |
bool ctkCheckableComboBox::allChecked |
( |
| ) |
const |
Returns true if all the indexes are checked, false otherwise.
QAbstractItemModel* ctkCheckableComboBox::checkableModel |
( |
| ) |
const |
Use setCheckableModel instead of setModel()
Returns a pointer to the checkable model helper to give a direct access to the check manager.
QModelIndexList ctkCheckableComboBox::checkedIndexes |
( |
| ) |
const |
Returns an up-to-date list of all the checked indexes.
void ctkCheckableComboBox::checkedIndexesChanged |
( |
| ) |
|
|
signal |
Qt::CheckState ctkCheckableComboBox::checkState |
( |
const QModelIndex & |
index | ) |
const |
Utility function to return the check state of a model index.
bool ctkCheckableComboBox::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
Reimplemented for internal reasons.
bool ctkCheckableComboBox::noneChecked |
( |
| ) |
const |
Returns true if none of the indexes is checked, false otherwise.
void ctkCheckableComboBox::onDataChanged |
( |
const QModelIndex & |
topLeft, |
|
|
const QModelIndex & |
bottomRight |
|
) |
| |
|
protectedslot |
virtual void ctkCheckableComboBox::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protectedvirtual |
Reimplemented for internal reasons.
void ctkCheckableComboBox::setCheckableModel |
( |
QAbstractItemModel * |
model | ) |
|
void ctkCheckableComboBox::setCheckState |
( |
const QModelIndex & |
index, |
|
|
Qt::CheckState |
check |
|
) |
| |
Utility function to conveniently check the state of an index.
QScopedPointer<ctkCheckableComboBoxPrivate> ctkCheckableComboBox::d_ptr |
|
protected |
The documentation for this class was generated from the following file: