BoolTogggleDelegate

class BoolTogggleDelegate : public QStyledItemDelegate

Public Functions

BoolTogggleDelegate(QObject *parent = nullptr)
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override