CheckBox for single column.
More...
|
| CCheckBoxDelegate (QObject *parent=nullptr) |
| Constructor.
|
|
| CCheckBoxDelegate (const QString &iconCheckedUrl, const QString &iconUncheckedUrl, QObject *parent=nullptr) |
| Constructor.
|
|
| ~CCheckBoxDelegate () |
| Destructor.
|
|
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const |
|
virtual void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
|
virtual void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
CheckBox for single column.
Definition at line 24 of file checkboxdelegate.h.
◆ createEditor()
QWidget * swift::gui::views::CCheckBoxDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ setEditorData()
void swift::gui::views::CCheckBoxDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ setModelData()
void swift::gui::views::CCheckBoxDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ updateEditorGeometry()
void swift::gui::views::CCheckBoxDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: