QtPropertyEditorDelegate Class Reference
+ Inheritance diagram for QtPropertyEditorDelegate:

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Definition at line 255 of file qttreepropertybrowser.cpp.

Constructor & Destructor Documentation

◆ QtPropertyEditorDelegate()

QtPropertyEditorDelegate ( QObject *  parent = 0)
inline

Definition at line 259 of file qttreepropertybrowser.cpp.

Member Function Documentation

◆ closeEditor()

void closeEditor ( QtProperty property)

Definition at line 360 of file qttreepropertybrowser.cpp.

+ Here is the caller graph for this function:

◆ createEditor()

QWidget * createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 368 of file qttreepropertybrowser.cpp.

+ Here is the call graph for this function:

◆ drawDecoration()

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

Definition at line 488 of file qttreepropertybrowser.cpp.

◆ drawDisplay()

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

Definition at line 499 of file qttreepropertybrowser.cpp.

◆ editedItem()

QTreeWidgetItem* editedItem ( ) const
inline

Definition at line 287 of file qttreepropertybrowser.cpp.

+ Here is the caller graph for this function:

◆ eventFilter()

bool eventFilter ( QObject *  object,
QEvent *  event 
)
override

Definition at line 516 of file qttreepropertybrowser.cpp.

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 405 of file qttreepropertybrowser.cpp.

+ Here is the call graph for this function:

◆ setEditorData()

void setEditorData ( QWidget *  ,
const QModelIndex &   
) const
inlineoverride

Definition at line 282 of file qttreepropertybrowser.cpp.

◆ setEditorPrivate()

void setEditorPrivate ( QtTreePropertyBrowserPrivate editorPrivate)
inline

Definition at line 263 of file qttreepropertybrowser.cpp.

+ Here is the caller graph for this function:

◆ setModelData()

void setModelData ( QWidget *  ,
QAbstractItemModel *  ,
const QModelIndex &   
) const
inlineoverride

Definition at line 279 of file qttreepropertybrowser.cpp.

◆ sizeHint()

QSize sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 510 of file qttreepropertybrowser.cpp.

◆ updateEditorGeometry()

void updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 398 of file qttreepropertybrowser.cpp.


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