|
Qt Utilities 6.22.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
#include <checklistmodel.h>
Public Member Functions | |
| ChecklistItem (const QVariant &id=QVariant(), const QString &label=QString(), Qt::CheckState checked=Qt::Unchecked) | |
| const QVariant & | id () const |
| Returns the ID of the item. | |
| const QString & | label () const |
| Returns the label. | |
| Qt::CheckState | checkState () const |
| Returns the check state. | |
| bool | isChecked () const |
| Returns whether the item is checked. | |
Friends | |
| class | ChecklistModel |
Definition at line 15 of file checklistmodel.h.
|
inline |
Definition at line 32 of file checklistmodel.h.
|
inline |
Returns the check state.
Definition at line 58 of file checklistmodel.h.
|
inline |
Returns the ID of the item.
Definition at line 42 of file checklistmodel.h.
|
inline |
Returns whether the item is checked.
Definition at line 67 of file checklistmodel.h.
|
inline |
Returns the label.
Definition at line 50 of file checklistmodel.h.
|
friend |
Definition at line 16 of file checklistmodel.h.