#include <checkboxdelegate.h>
|
| CheckboxDelegate (QObject *parent=nullptr) |
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const override |
|
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
◆ CheckboxDelegate()
CheckboxDelegate::CheckboxDelegate |
( |
QObject * |
parent = nullptr | ) |
|
|
inlineexplicit |
◆ createEditor()
QWidget * CheckboxDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
inlineoverride |
◆ paint()
void CheckboxDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
inlineoverride |
◆ setEditorData()
void CheckboxDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
inlineoverride |
◆ setModelData()
void CheckboxDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
inlineoverride |
◆ updateEditorGeometry()
void CheckboxDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
inlineoverride |