#include <PropertyItemDelegate.h>
|
virtual QWidget * createEditor (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const | |
|
virtual bool editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) | |
|
virtual void paint (QPainter *painter, const QStyleOptionViewItem &opt, const QModelIndex &index) const | |
|
PropertyItemDelegate (QObject *parent) | |
|
virtual void setEditorData (QWidget *editor, const QModelIndex &index) const | |
|
virtual void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const | |
|
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const | |
|
~PropertyItemDelegate () | |
|
◆ PropertyItemDelegate()
PropertyItemDelegate::PropertyItemDelegate |
( |
QObject * |
parent | ) |
|
◆ ~PropertyItemDelegate()
PropertyItemDelegate::~PropertyItemDelegate |
( |
| ) |
|
◆ createEditor()
QWidget * PropertyItemDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ editorEvent()
bool PropertyItemDelegate::editorEvent |
( |
QEvent * |
event, |
|
|
QAbstractItemModel * |
model, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| |
|
virtual |
◆ paint()
void PropertyItemDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
opt, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ setEditorData()
void PropertyItemDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ setModelData()
◆ sizeHint()
QSize PropertyItemDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ valueChanged
void PropertyItemDelegate::valueChanged |
( |
| ) |
|
|
slot |
Referenced by createEditor().
The documentation for this class was generated from the following files:
- src/Gui/propertyeditor/PropertyItemDelegate.h
- src/Gui/propertyeditor/PropertyItemDelegate.cpp