casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::QtComboCheckBoxDelegate Class Reference

Subclass of QItemDelegate for use with QtComboCheckBox. More...

#include <QtComboCheckBox.qo.h>

List of all members.

Public Member Functions

 QtComboCheckBoxDelegate (QObject *parent=NULL)
 Constructor which takes optional parent.
 ~QtComboCheckBoxDelegate ()
 Destructor.
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 Overrides QItemDelegate::paint().
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 Overrides QItemDelegate::createEditor().
void setEditorData (QWidget *editor, const QModelIndex &index) const
 Overrides QItemDelegate::setEditorData().
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 Overrides QItemDelegate::setModelData().

Detailed Description

Subclass of QItemDelegate for use with QtComboCheckBox.

Based on http://da-crystal.net/GCMS/blog/checkboxlist-in-qt/

Definition at line 40 of file QtComboCheckBox.qo.h.


Constructor & Destructor Documentation

Constructor which takes optional parent.

Destructor.


Member Function Documentation

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().


The documentation for this class was generated from the following file: