Changeset View
Changeset View
Standalone View
Standalone View
src/KPropertyUtils.h
Show All 24 Lines | |||||
25 | #include <QWidget> | 25 | #include <QWidget> | ||
26 | 26 | | |||
27 | class KProperty; | 27 | class KProperty; | ||
28 | 28 | | |||
29 | //! @short A container widget that can be used to split information into hideable sections | 29 | //! @short A container widget that can be used to split information into hideable sections | ||
30 | //! for a property editor-like panes. | 30 | //! for a property editor-like panes. | ||
31 | class KPROPERTYWIDGETS_EXPORT KPropertyGroupWidget : public QWidget | 31 | class KPROPERTYWIDGETS_EXPORT KPropertyGroupWidget : public QWidget | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | ||||
33 | public: | 34 | public: | ||
34 | explicit KPropertyGroupWidget(const QString& title, QWidget* parent = 0); | 35 | explicit KPropertyGroupWidget(const QString& title, QWidget* parent = 0); | ||
35 | ~KPropertyGroupWidget(); | 36 | ~KPropertyGroupWidget(); | ||
36 | 37 | | |||
38 | public Q_SLOTS: | ||||
37 | void setContents(QWidget* contents); | 39 | void setContents(QWidget* contents); | ||
38 | 40 | | |||
39 | protected: | 41 | protected: | ||
40 | virtual bool event(QEvent * e); | 42 | virtual bool event(QEvent * e); | ||
41 | 43 | | |||
42 | class Private; | 44 | class Private; | ||
43 | Private * const d; | 45 | Private * const d; | ||
44 | }; | 46 | }; | ||
Show All 10 Lines |