Qt Utilities
5.8.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
|
The ChecklistItem class provides an item for use with the ChecklistModel class. More...
#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. More... | |
const QString & | label () const |
Returns the label. More... | |
Qt::CheckState | checkState () const |
Returns the check state. More... | |
bool | isChecked () const |
Returns whether the item is checked. More... | |
Friends | |
class | ChecklistModel |
The ChecklistItem class provides an item for use with the ChecklistModel class.
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.