KProperty
KPropertyEditorView.h
75 (see KProperty::groupCaption and KProperty::groupIconName) and properties as children of this node.
116 void changeSet(KPropertySet *set, const QByteArray& propertyToSelect, SetOptions options = SetOption::None);
121 @note Appearance of the existing child items is not altered. This method can be typically called
154 @note Appearance of the existing group items is not altered. This method can be typically called
209 void changeSetInternal(KPropertySet *set, SetOptions options, const QByteArray &propertyToSelect);
211 void drawBranches(QPainter *painter, const QRect &rect, const QModelIndex &index) const override;
214 void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
The KPropertyEditorItemEvent class describes request for handling a single property editor widget ite...
Definition KPropertyEditorItemEvent.h:59
void propertySetChanged(KPropertySet *set)
KPropertyEditorView(QWidget *parent=nullptr)
Definition KPropertyEditorView.cpp:320
static QColor defaultGridLineColor()
Definition KPropertyEditorView.h:54
void slotPropertyChanged(KPropertySet &set, KProperty &property)
Definition KPropertyEditorView.cpp:697
void handlePropertyEditorItemEvent(KPropertyEditorItemEvent *event)
Emitted when active property editor widget offers overriding of its editing behavior.
void slotSetWillBeDeleted()
Definition KPropertyEditorView.cpp:471
void slotPropertyReset(KPropertySet &set, KProperty &property)
Definition KPropertyEditorView.cpp:735
void slotSetWillBeCleared()
Definition KPropertyEditorView.cpp:466
@ PreservePreviousSelection
If used, previously selected editor item will be kept selected.
Definition KPropertyEditorView.h:44
@ AlphabeticalOrder
Alphabetical order of properties. The default is order of insertion.
Definition KPropertyEditorView.h:46
void slotReadOnlyFlagChanged()
Definition KPropertyEditorView.cpp:476
EditTrigger
virtual void commitData(QWidget *editor)
virtual bool edit(const QModelIndex &index, EditTrigger trigger, QEvent *event)
virtual bool event(QEvent *event) override
virtual QSize sizeHint() const const override
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
QVariant property(const char *name) const const
gray
QTreeView(QWidget *parent)
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override
virtual void drawBranches(QPainter *painter, const QRect &rect, const QModelIndex &index) const const
virtual void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const const
virtual void mousePressEvent(QMouseEvent *event) override
virtual bool viewportEvent(QEvent *event) override
rect
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:42 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:42 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.