Public Member Functions | Protected Member Functions | List of all members
QtPropertyEditorDelegate Class Reference

#include <qttreepropertybrowser.h>

Inheritance diagram for QtPropertyEditorDelegate:
Inheritance graph
[legend]

Public Member Functions

 QtPropertyEditorDelegate (QObject *parent=0)
 
void closeEditor (QtProperty *property)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
QTreeWidgetItem * editedItem () const
 
bool eventFilter (QObject *object, QEvent *event)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void setEditorData (QWidget *, const QModelIndex &) const
 
void setEditorPrivate (QtTreePropertyBrowserPrivate *editorPrivate)
 
void setModelData (QWidget *, QAbstractItemModel *, const QModelIndex &) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Protected Member Functions

void drawDecoration (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QPixmap &pixmap) const
 
void drawDisplay (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const
 

Constructor & Destructor Documentation

QtPropertyEditorDelegate::QtPropertyEditorDelegate ( QObject *  parent = 0)
inlineexplicit

Member Function Documentation

void QtPropertyEditorDelegate::closeEditor ( QtProperty property)
QWidget* QtPropertyEditorDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
void QtPropertyEditorDelegate::drawDecoration ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QRect &  rect,
const QPixmap &  pixmap 
) const
protected
void QtPropertyEditorDelegate::drawDisplay ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QRect &  rect,
const QString &  text 
) const
protected
QTreeWidgetItem* QtPropertyEditorDelegate::editedItem ( ) const
inline
bool QtPropertyEditorDelegate::eventFilter ( QObject *  object,
QEvent *  event 
)
void QtPropertyEditorDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
void QtPropertyEditorDelegate::setEditorData ( QWidget *  ,
const QModelIndex &   
) const
inline
void QtPropertyEditorDelegate::setEditorPrivate ( QtTreePropertyBrowserPrivate editorPrivate)
inline
void QtPropertyEditorDelegate::setModelData ( QWidget *  ,
QAbstractItemModel *  ,
const QModelIndex &   
) const
inline
QSize QtPropertyEditorDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
void QtPropertyEditorDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

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