casa
5.7.0-16
|
Subclass of QItemDelegate for use with QtComboCheckBox. More...
#include <QtComboCheckBox.qo.h>
Public Member Functions | |
QtComboCheckBoxDelegate (QObject *parent=NULL) | |
Constructor which takes optional parent. More... | |
~QtComboCheckBoxDelegate () | |
Destructor. More... | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Overrides QItemDelegate::paint(). More... | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Overrides QItemDelegate::createEditor(). More... | |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
Overrides QItemDelegate::setEditorData(). More... | |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Overrides QItemDelegate::setModelData(). More... | |
Subclass of QItemDelegate for use with QtComboCheckBox.
Based on http://da-crystal.net/GCMS/blog/checkboxlist-in-qt/
Definition at line 37 of file QtComboCheckBox.qo.h.
casa::QtComboCheckBoxDelegate::QtComboCheckBoxDelegate | ( | QObject * | parent = NULL | ) |
Constructor which takes optional parent.
casa::QtComboCheckBoxDelegate::~QtComboCheckBoxDelegate | ( | ) |
Destructor.
QWidget* casa::QtComboCheckBoxDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Overrides QItemDelegate::createEditor().
void casa::QtComboCheckBoxDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Overrides QItemDelegate::paint().
void casa::QtComboCheckBoxDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Overrides QItemDelegate::setEditorData().
void casa::QtComboCheckBoxDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
Overrides QItemDelegate::setModelData().