41 #ifndef QTTREEPROPERTYBROWSER_H
42 #define QTTREEPROPERTYBROWSER_H
46 #if QT_VERSION >= 0x040400
50 class QTreeWidgetItem;
62 Q_PROPERTY(
int indentation READ indentation WRITE setIndentation)
63 Q_PROPERTY(
bool rootIsDecorated READ rootIsDecorated WRITE setRootIsDecorated)
64 Q_PROPERTY(
bool alternatingRowColors READ alternatingRowColors WRITE setAlternatingRowColors)
65 Q_PROPERTY(
bool headerVisible READ isHeaderVisible WRITE setHeaderVisible)
66 Q_PROPERTY(
ResizeMode resizeMode READ resizeMode WRITE setResizeMode)
67 Q_PROPERTY(
int splitterPosition READ splitterPosition WRITE setSplitterPosition)
68 Q_PROPERTY(
bool propertiesWithoutValueMarked READ propertiesWithoutValueMarked WRITE setPropertiesWithoutValueMarked)
82 int indentation()
const;
83 void setIndentation(
int i);
85 bool rootIsDecorated()
const;
86 void setRootIsDecorated(
bool show);
88 bool alternatingRowColors()
const;
89 void setAlternatingRowColors(
bool enable);
91 bool isHeaderVisible()
const;
92 void setHeaderVisible(
bool visible);
94 ResizeMode resizeMode()
const;
95 void setResizeMode(ResizeMode mode);
97 int splitterPosition()
const;
98 void setSplitterPosition(
int position);
110 void setPropertiesWithoutValueMarked(
bool mark);
111 bool propertiesWithoutValueMarked()
const;
129 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
135 Q_PRIVATE_SLOT(d_func(),
void slotCollapsed(
const QModelIndex&))
136 Q_PRIVATE_SLOT(d_func(),
void slotExpanded(
const QModelIndex&))
137 Q_PRIVATE_SLOT(d_func(),
void slotCurrentBrowserItemChanged(
QtBrowserItem*))
138 Q_PRIVATE_SLOT(d_func(),
void slotCurrentTreeItemChanged(QTreeWidgetItem*, QTreeWidgetItem*))
142 #if QT_VERSION >= 0x040400
QtAbstractPropertyBrowser provides a base class for implementing property browsers.
Definition: qtpropertybrowser.h:301
virtual void itemChanged(QtBrowserItem *item)=0
virtual void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem)=0
virtual void itemRemoved(QtBrowserItem *item)=0
The QtBrowserItem class represents a property in a property browser instance.
Definition: qtpropertybrowser.h:286
Definition: qttreepropertybrowser.cpp:60
The description of this class will come soon !
Definition: qttreepropertybrowser.h:60
void expanded(QtBrowserItem *item)
ResizeMode
Definition: qttreepropertybrowser.h:71
@ Stretch
Definition: qttreepropertybrowser.h:73
@ Fixed
Definition: qttreepropertybrowser.h:74
@ Interactive
Definition: qttreepropertybrowser.h:72
void collapsed(QtBrowserItem *item)
setBackgroundColor(0.0, 0.0, 0.0)
#define QT_QTPROPERTYBROWSER_EXPORT
Definition: qtpropertybrowser.h:59