QCheckboxCombo is a combobox widget that contains items with checkboxes. More...
QCheckboxCombo is a combobox widget that contains items with checkboxes.
User can select proper items by checking corresponding checkboxes. Resulting text will contain list of selected items separated by delimiter (", " by default)
Signals | |
void | selectionChanged (const QString &text) |
void | itemToggled (int index, bool checked) |
Public Member Functions | |
QCheckboxCombo (QWidget *parent=nullptr) | |
bool | eventFilter (QObject *watched, QEvent *event) |
void | hidePopup () |
void | showPopup () |
void | addItem (const QString &text, bool checked=true) |
|
explicit |
bool QCheckboxCombo::eventFilter | ( | QObject * | watched, |
QEvent * | event ) |
void QCheckboxCombo::hidePopup | ( | ) |
void QCheckboxCombo::showPopup | ( | ) |
void QCheckboxCombo::addItem | ( | const QString & | text, |
bool | checked = true ) |
|
signal |
|
signal |