Computer Assited Medical Intervention Tool Kit  version 5.0
qttreepropertybrowser.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 **
6 ** Contact: Nokia Corporation (qt-info@nokia.com)
7 **
8 ** This file is part of a Qt Solutions component.
9 **
10 ** You may use this file under the terms of the BSD license as follows:
11 **
12 ** "Redistribution and use in source and binary forms, with or without
13 ** modification, are permitted provided that the following conditions are
14 ** met:
15 ** * Redistributions of source code must retain the above copyright
16 ** notice, this list of conditions and the following disclaimer.
17 ** * Redistributions in binary form must reproduce the above copyright
18 ** notice, this list of conditions and the following disclaimer in
19 ** the documentation and/or other materials provided with the
20 ** distribution.
21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
22 ** the names of its contributors may be used to endorse or promote
23 ** products derived from this software without specific prior written
24 ** permission.
25 **
26 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27 ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29 ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30 ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31 ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32 ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
37 **
38 ****************************************************************************/
39 
40 
41 #ifndef QTTREEPROPERTYBROWSER_H
42 #define QTTREEPROPERTYBROWSER_H
43 
44 #include "qtpropertybrowser.h"
45 
46 #if QT_VERSION >= 0x040400
47 QT_BEGIN_NAMESPACE
48 #endif
49 
50 class QTreeWidgetItem;
52 
61  Q_OBJECT
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)
69 public:
70 
71  enum ResizeMode {
75  ResizeToContents
76  };
77  Q_ENUMS(ResizeMode)
78 
79  QtTreePropertyBrowser(QWidget* parent = nullptr);
80  ~QtTreePropertyBrowser() override;
81 
82  int indentation() const;
83  void setIndentation(int i);
84 
85  bool rootIsDecorated() const;
86  void setRootIsDecorated(bool show);
87 
88  bool alternatingRowColors() const;
89  void setAlternatingRowColors(bool enable);
90 
91  bool isHeaderVisible() const;
92  void setHeaderVisible(bool visible);
93 
94  ResizeMode resizeMode() const;
95  void setResizeMode(ResizeMode mode);
96 
97  int splitterPosition() const;
98  void setSplitterPosition(int position);
99 
100  void setExpanded(QtBrowserItem* item, bool expanded);
101  bool isExpanded(QtBrowserItem* item) const;
102 
103  bool isItemVisible(QtBrowserItem* item) const;
104  void setItemVisible(QtBrowserItem* item, bool visible);
105 
106  void setBackgroundColor(QtBrowserItem* item, const QColor& color);
107  QColor backgroundColor(QtBrowserItem* item) const;
108  QColor calculatedBackgroundColor(QtBrowserItem* item) const;
109 
110  void setPropertiesWithoutValueMarked(bool mark);
111  bool propertiesWithoutValueMarked() const;
112 
113  void editItem(QtBrowserItem* item);
114 
115 Q_SIGNALS:
116 
117  void collapsed(QtBrowserItem* item);
118  void expanded(QtBrowserItem* item);
119 
120 protected:
121  void itemInserted(QtBrowserItem* item, QtBrowserItem* afterItem) override;
122  void itemRemoved(QtBrowserItem* item) override;
123  void itemChanged(QtBrowserItem* item) override;
124 
125 private:
126 
128  Q_DECLARE_PRIVATE(QtTreePropertyBrowser)
129 #if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
130  Q_DISABLE_COPY_MOVE(QtTreePropertyBrowser)
131 #else
132  Q_DISABLE_COPY(QtTreePropertyBrowser)
133 #endif
134 
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*))
139 
140 };
141 
142 #if QT_VERSION >= 0x040400
143 QT_END_NAMESPACE
144 #endif
145 
146 #endif
QtProperty::hasValue
bool hasValue() const
Definition: qtpropertybrowser.cpp:259
QtBrowserItem::parent
QtBrowserItem * parent() const
Definition: qtpropertybrowser.cpp:1143
QtPropertyEditorView
Definition: qttreepropertybrowser.cpp:124
QtTreePropertyBrowser::resizeMode
ResizeMode resizeMode
the resize mode of setions in the header.
Definition: qttreepropertybrowser.h:66
QtTreePropertyBrowserPrivate::propertyChanged
void propertyChanged(QtBrowserItem *index)
Definition: qttreepropertybrowser.cpp:595
QtPropertyEditorDelegate::m_editorToProperty
EditorToPropertyMap m_editorToProperty
Definition: qttreepropertybrowser.cpp:272
QtTreePropertyBrowser::expanded
void expanded(QtBrowserItem *item)
QtPropertyEditorDelegate::setEditorPrivate
void setEditorPrivate(QtTreePropertyBrowserPrivate *editorPrivate)
Definition: qttreepropertybrowser.cpp:231
QtPropertyEditorView::indexToItem
QTreeWidgetItem * indexToItem(const QModelIndex &index) const
Definition: qttreepropertybrowser.cpp:133
QtTreePropertyBrowser
The description of this class will come soon !
Definition: qttreepropertybrowser.h:60
QtPropertyEditorView::setEditorPrivate
void setEditorPrivate(QtTreePropertyBrowserPrivate *editorPrivate)
Definition: qttreepropertybrowser.cpp:129
QtAbstractPropertyBrowser::Q_PRIVATE_SLOT
Q_PRIVATE_SLOT(d_func(), void slotPropertyInserted(QtProperty *, QtProperty *, QtProperty *)) Q_PRIVATE_SLOT(d_func()
QtTreePropertyBrowserPrivate::indexToBrowserItem
QtBrowserItem * indexToBrowserItem(const QModelIndex &index) const
Definition: qttreepropertybrowser.cpp:512
QtTreePropertyBrowserPrivate::indexToProperty
QtProperty * indexToProperty(const QModelIndex &index) const
Definition: qttreepropertybrowser.cpp:503
QtTreePropertyBrowserPrivate::m_itemToIndex
QMap< QTreeWidgetItem *, QtBrowserItem * > m_itemToIndex
Definition: qttreepropertybrowser.cpp:107
QtTreePropertyBrowser::setResizeMode
void setResizeMode(ResizeMode mode)
Definition: qttreepropertybrowser.cpp:861
QtTreePropertyBrowser::rootIsDecorated
bool rootIsDecorated
whether to show controls for expanding and collapsing root items.
Definition: qttreepropertybrowser.h:63
QtTreePropertyBrowser::setAlternatingRowColors
void setAlternatingRowColors(bool enable)
Definition: qttreepropertybrowser.cpp:809
QtPropertyEditorDelegate::editedItem
QTreeWidgetItem * editedItem() const
Definition: qttreepropertybrowser.cpp:254
QtTreePropertyBrowser::editItem
void editItem(QtBrowserItem *item)
Definition: qttreepropertybrowser.cpp:1031
QtTreePropertyBrowser::setHeaderVisible
void setHeaderVisible(bool visible)
Definition: qttreepropertybrowser.cpp:822
QtPropertyEditorDelegate::PropertyToEditorMap
QMap< QtProperty *, QWidget * > PropertyToEditorMap
Definition: qttreepropertybrowser.cpp:274
QtTreePropertyBrowserPrivate::slotCurrentTreeItemChanged
void slotCurrentTreeItemChanged(QTreeWidgetItem *newItem, QTreeWidgetItem *)
Definition: qttreepropertybrowser.cpp:682
QtTreePropertyBrowserPrivate
Definition: qttreepropertybrowser.cpp:60
QtTreePropertyBrowser::setRootIsDecorated
void setRootIsDecorated(bool show)
Definition: qttreepropertybrowser.cpp:789
QtTreePropertyBrowserPrivate::m_headerVisible
bool m_headerVisible
Definition: qttreepropertybrowser.cpp:113
QtPropertyEditorDelegate::setEditorData
void setEditorData(QWidget *, const QModelIndex &) const override
Definition: qttreepropertybrowser.cpp:249
QtAbstractPropertyBrowser
QtAbstractPropertyBrowser provides a base class for implementing property browsers.
Definition: qtpropertybrowser.h:301
QT_QTPROPERTYBROWSER_EXPORT
#define QT_QTPROPERTYBROWSER_EXPORT
Definition: qtpropertybrowser.h:59
QtTreePropertyBrowserPrivate::enableItem
void enableItem(QTreeWidgetItem *item) const
Definition: qttreepropertybrowser.cpp:539
QtTreePropertyBrowserPrivate::m_resizeMode
QtTreePropertyBrowser::ResizeMode m_resizeMode
Definition: qttreepropertybrowser.cpp:114
camitk::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
mouse press handler overriden to manage different version of VTK
QtTreePropertyBrowserPrivate::setCurrentItem
void setCurrentItem(QtBrowserItem *browserItem, bool block)
Definition: qttreepropertybrowser.cpp:490
QtTreePropertyBrowser::d_ptr
QtTreePropertyBrowserPrivate * d_ptr
Definition: qttreepropertybrowser.h:127
QtPropertyEditorView::mousePressEvent
void mousePressEvent(QMouseEvent *event) override
Definition: qttreepropertybrowser.cpp:205
QtTreePropertyBrowser::setPropertiesWithoutValueMarked
void setPropertiesWithoutValueMarked(bool mark)
Definition: qttreepropertybrowser.cpp:987
QtTreePropertyBrowserPrivate::editedItem
QTreeWidgetItem * editedItem() const
Definition: qttreepropertybrowser.cpp:689
QtTreePropertyBrowser::setItemVisible
void setItemVisible(QtBrowserItem *item, bool visible)
Definition: qttreepropertybrowser.cpp:930
QtBrowserItem
The QtBrowserItem class represents a property in a property browser instance.
Definition: qtpropertybrowser.h:286
QtTreePropertyBrowser::splitterPosition
int splitterPosition
the position of the splitter between the colunms.
Definition: qttreepropertybrowser.h:67
QtTreePropertyBrowser::QtTreePropertyBrowser
QtTreePropertyBrowser(QWidget *parent=nullptr)
Definition: qttreepropertybrowser.cpp:746
QtTreePropertyBrowser::slotCurrentBrowserItemChanged
void void slotCurrentBrowserItemChanged(QtBrowserItem *)) Q_PRIVATE_SLOT(d_func()
QtTreePropertyBrowser::propertiesWithoutValueMarked
bool propertiesWithoutValueMarked
whether to enable or disable marking properties without value.
Definition: qttreepropertybrowser.h:68
QtPropertyEditorView::m_editorPrivate
QtTreePropertyBrowserPrivate * m_editorPrivate
Definition: qttreepropertybrowser.cpp:143
QtProperty
The QtProperty class encapsulates an instance of a property.
Definition: qtpropertybrowser.h:113
QtTreePropertyBrowser::setExpanded
void setExpanded(QtBrowserItem *item, bool expanded)
Definition: qttreepropertybrowser.cpp:888
QtTreePropertyBrowser::setBackgroundColor
void setBackgroundColor(QtBrowserItem *item, const QColor &color)
Definition: qttreepropertybrowser.cpp:943
QtTreePropertyBrowser::Fixed
@ Fixed
Definition: qttreepropertybrowser.h:74
QtTreePropertyBrowser::~QtTreePropertyBrowser
~QtTreePropertyBrowser() override
Definition: qttreepropertybrowser.cpp:765
QtAbstractPropertyBrowser::setCurrentItem
void setCurrentItem(QtBrowserItem *)
Definition: qtpropertybrowser.cpp:1963
qtpropertybrowser.h
QtTreePropertyBrowserPrivate::treeWidget
QtPropertyEditorView * treeWidget() const
Definition: qttreepropertybrowser.cpp:87
QtTreePropertyBrowserPrivate::updateItem
void updateItem(QTreeWidgetItem *item)
Definition: qttreepropertybrowser.cpp:601
QtTreePropertyBrowser::calculatedBackgroundColor
QColor calculatedBackgroundColor(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:974
QtTreePropertyBrowserPrivate::lastColumn
bool lastColumn(int column) const
Definition: qttreepropertybrowser.cpp:521
QtPropertyEditorDelegate::m_editedItem
QTreeWidgetItem * m_editedItem
Definition: qttreepropertybrowser.cpp:277
QtPropertyEditorView::keyPressEvent
void keyPressEvent(QKeyEvent *event) override
Definition: qttreepropertybrowser.cpp:180
QtTreePropertyBrowser::indentation
int indentation
indentation of the items in the tree view.
Definition: qttreepropertybrowser.h:62
QtPropertyEditorDelegate::setModelData
void setModelData(QWidget *, QAbstractItemModel *, const QModelIndex &) const override
Definition: qttreepropertybrowser.cpp:246
QtTreePropertyBrowserPrivate::calculatedBackgroundColor
QColor calculatedBackgroundColor(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:647
QtTreePropertyBrowserPrivate::currentItem
QtBrowserItem * currentItem() const
Definition: qttreepropertybrowser.cpp:483
QtPropertyEditorDelegate::drawDisplay
void drawDisplay(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const override
Definition: qttreepropertybrowser.cpp:401
QtPropertyEditorDelegate::updateEditorGeometry
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: qttreepropertybrowser.cpp:341
QtTreePropertyBrowser::itemRemoved
void itemRemoved(QtBrowserItem *item) override
Definition: qttreepropertybrowser.cpp:1017
QtTreePropertyBrowserPrivate::m_delegate
class QtPropertyEditorDelegate * m_delegate
Definition: qttreepropertybrowser.cpp:115
QtTreePropertyBrowserPrivate::q_ptr
QtTreePropertyBrowser * q_ptr
Definition: qttreepropertybrowser.cpp:61
QtTreePropertyBrowserPrivate::createEditor
QWidget * createEditor(QtProperty *property, QWidget *parent) const
Definition: qttreepropertybrowser.cpp:71
QtPropertyEditorView::QtPropertyEditorView
QtPropertyEditorView(QWidget *parent=nullptr)
Definition: qttreepropertybrowser.cpp:146
QtBrowserItem::property
QtProperty * property() const
Definition: qtpropertybrowser.cpp:1132
QtAbstractPropertyBrowser::itemChanged
virtual void itemChanged(QtBrowserItem *item)=0
QtPropertyEditorView::drawRow
void drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: qttreepropertybrowser.cpp:151
QtTreePropertyBrowser::setSplitterPosition
void setSplitterPosition(int position)
Definition: qttreepropertybrowser.cpp:878
QtTreePropertyBrowser::isExpanded
bool isExpanded(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:901
QtTreePropertyBrowser::isHeaderVisible
bool isHeaderVisible() const
Definition: qttreepropertybrowser.cpp:818
QtPropertyEditorDelegate::paint
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: qttreepropertybrowser.cpp:347
QtPropertyEditorDelegate::EditorToPropertyMap
QMap< QWidget *, QtProperty * > EditorToPropertyMap
Definition: qttreepropertybrowser.cpp:271
QtPropertyEditorDelegate::indentation
int indentation(const QModelIndex &index) const
Definition: qttreepropertybrowser.cpp:282
QtTreePropertyBrowser::ResizeMode
ResizeMode
Definition: qttreepropertybrowser.h:71
QtPropertyEditorDelegate::slotEditorDestroyed
void slotEditorDestroyed(QObject *object)
Definition: qttreepropertybrowser.cpp:299
camitk::setBackgroundColor
setBackgroundColor(0.0, 0.0, 0.0)
QtTreePropertyBrowserPrivate::m_indexToItem
QMap< QtBrowserItem *, QTreeWidgetItem * > m_indexToItem
Definition: qttreepropertybrowser.cpp:106
QtTreePropertyBrowserPrivate::init
void init(QWidget *parent)
Definition: qttreepropertybrowser.cpp:457
QtPropertyEditorDelegate
Definition: qttreepropertybrowser.cpp:224
QtAbstractPropertyBrowser::itemInserted
virtual void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem)=0
QtTreePropertyBrowserPrivate::m_browserChangedBlocked
bool m_browserChangedBlocked
Definition: qttreepropertybrowser.cpp:119
QtTreePropertyBrowser::isItemVisible
bool isItemVisible(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:916
QtTreePropertyBrowserPrivate::slotCurrentBrowserItemChanged
void slotCurrentBrowserItemChanged(QtBrowserItem *item)
Definition: qttreepropertybrowser.cpp:676
QtPropertyEditorDelegate::sizeHint
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: qttreepropertybrowser.cpp:410
QtAbstractPropertyBrowser::currentItemChanged
void currentItemChanged(QtBrowserItem *)
camitk::keyPressEvent
void keyPressEvent(QKeyEvent *e) override
key events (do nothing but pass on e to the parent widget), please do not add any shortcut management...
QtTreePropertyBrowser::Interactive
@ Interactive
Definition: qttreepropertybrowser.h:72
QtPropertyEditorDelegate::createEditor
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition: qttreepropertybrowser.cpp:319
QtTreePropertyBrowserPrivate::indexToItem
QTreeWidgetItem * indexToItem(const QModelIndex &index) const
Definition: qttreepropertybrowser.cpp:517
QtPropertyEditorDelegate::QtPropertyEditorDelegate
QtPropertyEditorDelegate(QObject *parent=nullptr)
Definition: qttreepropertybrowser.cpp:227
QtTreePropertyBrowserPrivate::markPropertiesWithoutValue
bool markPropertiesWithoutValue() const
Definition: qttreepropertybrowser.cpp:90
qttreepropertybrowser.h
QtAbstractPropertyBrowser::createEditor
virtual QWidget * createEditor(QtProperty *property, QWidget *parent)
Definition: qtpropertybrowser.cpp:1880
QtTreePropertyBrowserPrivate::QtTreePropertyBrowserPrivate
QtTreePropertyBrowserPrivate()
Definition: qttreepropertybrowser.cpp:426
QtPropertyEditorDelegate::closeEditor
void closeEditor(QtProperty *property)
Definition: qttreepropertybrowser.cpp:313
QtTreePropertyBrowserPrivate::m_markPropertiesWithoutValue
bool m_markPropertiesWithoutValue
Definition: qttreepropertybrowser.cpp:118
QtTreePropertyBrowserPrivate::m_treeWidget
QtPropertyEditorView * m_treeWidget
Definition: qttreepropertybrowser.cpp:111
QtPropertyEditorDelegate::m_disablePainting
bool m_disablePainting
Definition: qttreepropertybrowser.cpp:279
QtPropertyEditorDelegate::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Definition: qttreepropertybrowser.cpp:415
QtPropertyEditorDelegate::m_editedWidget
QWidget * m_editedWidget
Definition: qttreepropertybrowser.cpp:278
QtTreePropertyBrowser::itemChanged
void itemChanged(QtBrowserItem *item) override
Definition: qttreepropertybrowser.cpp:1024
QtTreePropertyBrowser::itemInserted
void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem) override
Definition: qttreepropertybrowser.cpp:1010
QtTreePropertyBrowserPrivate::editItem
void editItem(QtBrowserItem *browserItem)
Definition: qttreepropertybrowser.cpp:693
QtTreePropertyBrowser::alternatingRowColors
bool alternatingRowColors
whether to draw the background using alternating colors. By default this property is set to true.
Definition: qttreepropertybrowser.h:64
QtTreePropertyBrowserPrivate::slotExpanded
void slotExpanded(const QModelIndex &index)
Definition: qttreepropertybrowser.cpp:668
QtPropertyEditorDelegate::drawDecoration
void drawDecoration(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QPixmap &pixmap) const override
Definition: qttreepropertybrowser.cpp:392
QtTreePropertyBrowserPrivate::propertyRemoved
void propertyRemoved(QtBrowserItem *index)
Definition: qttreepropertybrowser.cpp:581
QtTreePropertyBrowserPrivate::slotCollapsed
void slotCollapsed(const QModelIndex &index)
Definition: qttreepropertybrowser.cpp:660
QtTreePropertyBrowser::setIndentation
void setIndentation(int i)
Definition: qttreepropertybrowser.cpp:777
QtTreePropertyBrowser::Stretch
@ Stretch
Definition: qttreepropertybrowser.h:73
QtPropertyEditorDelegate::m_editorPrivate
QtTreePropertyBrowserPrivate * m_editorPrivate
Definition: qttreepropertybrowser.cpp:276
QtTreePropertyBrowser::backgroundColor
QColor backgroundColor(QtBrowserItem *item) const
Definition: qttreepropertybrowser.cpp:962
drawIndicatorIcon
static QIcon drawIndicatorIcon(const QPalette &palette, QStyle *style)
Definition: qttreepropertybrowser.cpp:430
QtTreePropertyBrowserPrivate::hasValue
bool hasValue(QTreeWidgetItem *item) const
Definition: qttreepropertybrowser.cpp:553
QtTreePropertyBrowserPrivate::disableItem
void disableItem(QTreeWidgetItem *item) const
Definition: qttreepropertybrowser.cpp:525
QtTreePropertyBrowserPrivate::propertyInserted
void propertyInserted(QtBrowserItem *index, QtBrowserItem *afterIndex)
Definition: qttreepropertybrowser.cpp:561
QtTreePropertyBrowserPrivate::m_expandIcon
QIcon m_expandIcon
Definition: qttreepropertybrowser.cpp:120
QtPropertyEditorDelegate::m_propertyToEditor
PropertyToEditorMap m_propertyToEditor
Definition: qttreepropertybrowser.cpp:275
QtTreePropertyBrowserPrivate::m_indexToBackgroundColor
QMap< QtBrowserItem *, QColor > m_indexToBackgroundColor
Definition: qttreepropertybrowser.cpp:109
QtAbstractPropertyBrowser::itemRemoved
virtual void itemRemoved(QtBrowserItem *item)=0
QtTreePropertyBrowser::collapsed
void collapsed(QtBrowserItem *item)