41 #ifndef QTTREEPROPERTYBROWSER_H 42 #define QTTREEPROPERTYBROWSER_H 46 #if QT_VERSION >= 0x040400 50 class QTreeWidgetItem;
63 Q_PROPERTY(
int indentation READ indentation WRITE setIndentation)
64 Q_PROPERTY(
bool rootIsDecorated READ rootIsDecorated WRITE setRootIsDecorated)
65 Q_PROPERTY(
bool alternatingRowColors READ alternatingRowColors WRITE setAlternatingRowColors)
66 Q_PROPERTY(
bool headerVisible READ isHeaderVisible WRITE setHeaderVisible)
67 Q_PROPERTY(
ResizeMode resizeMode READ resizeMode WRITE setResizeMode)
68 Q_PROPERTY(
int splitterPosition READ splitterPosition WRITE setSplitterPosition)
69 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);
97 int splitterPosition()
const;
98 void setSplitterPosition(
int position);
106 void setBackgroundColor(
QtBrowserItem* item,
const QColor& color);
110 void setPropertiesWithoutValueMarked(
bool mark);
111 bool propertiesWithoutValueMarked()
const;
134 Q_PRIVATE_SLOT(d_func(),
void slotCurrentTreeItemChanged(QTreeWidgetItem*, QTreeWidgetItem*))
138 #if QT_VERSION >= 0x040400 QtAbstractPropertyBrowser provides a base class for implementing property browsers.
Definition: qtpropertybrowser.h:297
The QtBrowserItem class represents a property in a property browser instance.
Definition: qtpropertybrowser.h:282
Q_PRIVATE_SLOT(d_func(), void slotPropertyInserted(QtProperty *, QtProperty *, QtProperty *)) Q_PRIVATE_SLOT(d_func()
virtual void itemRemoved(QtBrowserItem *item)=0
Definition: qttreepropertybrowser.h:73
The description of this class will come soon !
Definition: qttreepropertybrowser.h:60
Definition: qttreepropertybrowser.cpp:60
virtual void itemChanged(QtBrowserItem *item)=0
virtual void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem)=0
#define QT_QTPROPERTYBROWSER_EXPORT
Definition: qtpropertybrowser.h:59
ResizeMode
Definition: qttreepropertybrowser.h:72
Definition: qttreepropertybrowser.h:75
Definition: qttreepropertybrowser.h:74
QtTreePropertyBrowserPrivate * d_ptr
Definition: qttreepropertybrowser.h:127