casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::QtComboCheckBoxDelegate Class Reference

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

#include <QtComboCheckBox.qo.h>

Inheritance diagram for casa::QtComboCheckBoxDelegate:

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

Detailed Description

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.

Constructor & Destructor Documentation

casa::QtComboCheckBoxDelegate::QtComboCheckBoxDelegate ( QObject *  parent = NULL)

Constructor which takes optional parent.

casa::QtComboCheckBoxDelegate::~QtComboCheckBoxDelegate ( )

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: