itom
Loading...
Searching...
No Matches
QtPropertyEditorDelegate Class Reference
Inheritance diagram for QtPropertyEditorDelegate:

Public Member Functions

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

Private Types

typedef QMap< QWidget *, QtProperty * > EditorToPropertyMap
 
typedef QMap< QtProperty *, QWidget * > PropertyToEditorMap
 

Private Slots

void slotEditorDestroyed (QObject *object)
 

Private Member Functions

int indentation (const QModelIndex &index) const
 

Private Attributes

EditorToPropertyMap m_editorToProperty
 
PropertyToEditorMap m_propertyToEditor
 
QtTreePropertyBrowserPrivatem_editorPrivate
 
QTreeWidgetItem * m_editedItem
 
QWidget * m_editedWidget
 
bool m_disablePainting
 

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