Changeset View
Changeset View
Standalone View
Standalone View
src/KPropertyUtils.h
Show All 14 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KPROPERTY_UTILS_H | 20 | #ifndef KPROPERTY_UTILS_H | ||
21 | #define KPROPERTY_UTILS_H | 21 | #define KPROPERTY_UTILS_H | ||
22 | 22 | | |||
23 | #include "kproperty_export.h" | 23 | #include "kpropertywidgets_export.h" | ||
24 | 24 | | |||
25 | #include <QWidget> | 25 | #include <QWidget> | ||
26 | 26 | | |||
27 | //! @short A container widget that can be used to split information into hideable sections | 27 | //! @short A container widget that can be used to split information into hideable sections | ||
28 | //! for a property editor-like panes. | 28 | //! for a property editor-like panes. | ||
29 | class KPROPERTY_EXPORT KPropertyGroupWidget : public QWidget | 29 | class KPROPERTYWIDGETS_EXPORT KPropertyGroupWidget : public QWidget | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | KPropertyGroupWidget(const QString& title, QWidget* parent); | 32 | KPropertyGroupWidget(const QString& title, QWidget* parent); | ||
33 | ~KPropertyGroupWidget(); | 33 | ~KPropertyGroupWidget(); | ||
34 | 34 | | |||
35 | void setContents(QWidget* contents); | 35 | void setContents(QWidget* contents); | ||
36 | 36 | | |||
37 | protected: | 37 | protected: | ||
38 | virtual bool event(QEvent * e); | 38 | virtual bool event(QEvent * e); | ||
39 | 39 | | |||
40 | class Private; | 40 | class Private; | ||
41 | Private * const d; | 41 | Private * const d; | ||
42 | }; | 42 | }; | ||
43 | 43 | | |||
44 | #endif | 44 | #endif |