Inherits QItemDelegate.
|
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=nullptr) |
|
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 override |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
|
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 |
|
◆ EditorToPropertyMap
◆ PropertyToEditorMap
◆ QtPropertyEditorDelegate()
QtPropertyEditorDelegate::QtPropertyEditorDelegate |
( |
QObject * |
parent = nullptr | ) |
|
|
inline |
◆ closeEditor()
void QtPropertyEditorDelegate::closeEditor |
( |
QtProperty * |
property | ) |
|
◆ createEditor()
QWidget * QtPropertyEditorDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ drawDecoration()
void QtPropertyEditorDelegate::drawDecoration |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QRect & |
rect, |
|
|
const QPixmap & |
pixmap |
|
) |
| const |
|
overrideprotected |
◆ drawDisplay()
void QtPropertyEditorDelegate::drawDisplay |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QRect & |
rect, |
|
|
const QString & |
text |
|
) |
| const |
|
overrideprotected |
◆ editedItem()
QTreeWidgetItem* QtPropertyEditorDelegate::editedItem |
( |
| ) |
const |
|
inline |
◆ eventFilter()
bool QtPropertyEditorDelegate::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
|
override |
◆ indentation()
int QtPropertyEditorDelegate::indentation |
( |
const QModelIndex & |
index | ) |
const |
|
private |
◆ paint()
void QtPropertyEditorDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ setEditorData()
void QtPropertyEditorDelegate::setEditorData |
( |
QWidget * |
, |
|
|
const QModelIndex & |
|
|
) |
| const |
|
inline |
◆ setEditorPrivate()
◆ setModelData()
void QtPropertyEditorDelegate::setModelData |
( |
QWidget * |
, |
|
|
QAbstractItemModel * |
, |
|
|
const QModelIndex & |
|
|
) |
| const |
|
inline |
◆ sizeHint()
QSize QtPropertyEditorDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ slotEditorDestroyed
void QtPropertyEditorDelegate::slotEditorDestroyed |
( |
QObject * |
object | ) |
|
|
privateslot |
◆ updateEditorGeometry()
void QtPropertyEditorDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ m_disablePainting
bool QtPropertyEditorDelegate::m_disablePainting {false} |
|
mutableprivate |
◆ m_editedItem
QTreeWidgetItem* QtPropertyEditorDelegate::m_editedItem {nullptr} |
|
mutableprivate |
◆ m_editedWidget
QWidget* QtPropertyEditorDelegate::m_editedWidget {nullptr} |
|
mutableprivate |
◆ m_editorPrivate
◆ m_editorToProperty
◆ m_propertyToEditor
The documentation for this class was generated from the following file: