#include <PropertyItemDelegate.h>
Public Slots | |
void | valueChanged () |
Public Member Functions | |
virtual QWidget * | createEditor (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const |
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 () |
Definition at line 32 of file PropertyItemDelegate.h.
PropertyItemDelegate::PropertyItemDelegate | ( | QObject * | parent | ) |
Definition at line 38 of file PropertyItemDelegate.cpp.
PropertyItemDelegate::~PropertyItemDelegate | ( | ) |
Definition at line 43 of file PropertyItemDelegate.cpp.
QWidget * PropertyItemDelegate::createEditor | ( | QWidget * | parent, | |
const QStyleOptionViewItem & | , | |||
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 92 of file PropertyItemDelegate.cpp.
References Gui::PropertyEditor::PropertyItem::createEditor(), Gui::PropertyEditor::PropertyItem::isReadOnly(), and valueChanged().
void PropertyItemDelegate::paint | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | opt, | |||
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 54 of file PropertyItemDelegate.cpp.
void PropertyItemDelegate::setEditorData | ( | QWidget * | editor, | |
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 114 of file PropertyItemDelegate.cpp.
References Gui::PropertyEditor::PropertyItem::setEditorData().
void PropertyItemDelegate::setModelData | ( | QWidget * | editor, | |
QAbstractItemModel * | model, | |||
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 126 of file PropertyItemDelegate.cpp.
References Gui::PropertyEditor::PropertyItem::editorData().
QSize PropertyItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, | |
const QModelIndex & | index | |||
) | const [virtual] |
Definition at line 47 of file PropertyItemDelegate.cpp.
void PropertyItemDelegate::valueChanged | ( | ) | [slot] |
Definition at line 107 of file PropertyItemDelegate.cpp.
Referenced by createEditor().