40 #pragma GCC system_header
42 #ifndef QTGROUPBOXPROPERTYBROWSER_H
43 #define QTGROUPBOXPROPERTYBROWSER_H
45 #include <QtGui/QGridLayout>
46 #include <QtGui/QLabel>
47 #include <QtGui/QGroupBox>
51 #if QT_VERSION >= 0x040400
77 Q_PRIVATE_SLOT(d_func(),
void slotUpdate())
78 Q_PRIVATE_SLOT(d_func(),
void slotEditorDestroyed())
88 void init(QWidget *parent);
93 QWidget *createEditor(
QtProperty *property, QWidget *parent)
const
96 void slotEditorDestroyed();
101 WidgetItem() : widget(0), label(0), widgetLabel(0),
102 groupBox(0), layout(0), line(0), parent(0)
111 QList<WidgetItem *> children;
115 void updateItem(WidgetItem *item);
116 void insertRow(QGridLayout *layout,
int row)
const;
117 void removeRow(QGridLayout *layout,
int row)
const;
119 bool hasHeader(WidgetItem *item)
const;
121 QMap<QtBrowserItem *, WidgetItem *> m_indexToItem;
122 QMap<WidgetItem *, QtBrowserItem *> m_itemToIndex;
123 QMap<QWidget *, WidgetItem *> m_widgetToItem;
124 QGridLayout *m_mainLayout;
125 QList<WidgetItem *> m_children;
126 QList<WidgetItem *> m_recreateQueue;
129 #if QT_VERSION >= 0x040400
Definition: qtpropertybrowser.h:384
virtual void itemChanged(QtBrowserItem *item)=0
Definition: qtpropertybrowser.h:311
virtual void itemRemoved(QtBrowserItem *item)=0
Definition: qtgroupboxpropertybrowser.h:81
#define NULL
Definition: CommonTypes.hh:31
virtual QWidget * createEditor(QtProperty *property, QWidget *parent)
#define QT_QTPROPERTYBROWSER_EXPORT
Definition: qtpropertybrowser.h:68
virtual void itemInserted(QtBrowserItem *item, QtBrowserItem *afterItem)=0
Definition: qtgroupboxpropertybrowser.h:58
Definition: qtpropertybrowser.h:77