Gui::PropertyEditor::PropertyItemDelegate Class Reference

#include <PropertyItemDelegate.h>

Public Slots

void valueChanged ()
 

Public Member Functions

virtual QWidgetcreateEditor (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 ()
 

Protected Member Functions

bool eventFilter (QObject *, QEvent *)
 

Constructor & Destructor Documentation

◆ PropertyItemDelegate()

PropertyItemDelegate::PropertyItemDelegate ( QObject parent)

◆ ~PropertyItemDelegate()

PropertyItemDelegate::~PropertyItemDelegate ( )

Member Function Documentation

◆ createEditor()

◆ editorEvent()

bool PropertyItemDelegate::editorEvent ( QEvent event,
QAbstractItemModel model,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
)
virtual

◆ eventFilter()

bool PropertyItemDelegate::eventFilter ( QObject o,
QEvent ev 
)
protected

◆ paint()

void PropertyItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  opt,
const QModelIndex &  index 
) const
virtual

◆ setEditorData()

◆ setModelData()

void PropertyItemDelegate::setModelData ( QWidget editor,
QAbstractItemModel model,
const QModelIndex &  index 
) const
virtual

◆ 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: