diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-05-23 17:57:37 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-24 18:04:44 +0200 |
| commit | a0857d28e01e3a5769ac8f106d088fde648161e8 (patch) | |
| tree | 43a618a92f4813f3d163db02253cb89e0b56f901 /src/private/plugin.cpp | |
| parent | 7adbdc017982aec8645e152c7891ea51f84ff8ee (diff) | |
Enable padding as a grouped property
We want padding to be a grouped property as the
existing Margins property looks rather odd and
insconsistent.
Change-Id: I9e614f9161aaf01af200b19a1fb46a51beec6fb4
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/private/plugin.cpp')
| -rw-r--r-- | src/private/plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/private/plugin.cpp b/src/private/plugin.cpp index 0392a2494..17bfed07f 100644 --- a/src/private/plugin.cpp +++ b/src/private/plugin.cpp @@ -45,6 +45,7 @@ #include "qquicktooltip_p.h" #include "qquickcontrolsettings_p.h" #include "qquickspinboxvalidator_p.h" +#include "qquickpaddedstyle_p.h" #ifndef QT_NO_WIDGETS #include "qquickstyleitem_p.h" @@ -80,6 +81,8 @@ public: void QtQuickControlsPrivatePlugin::registerTypes(const char *uri) { + qmlRegisterType<QQuickPaddedStyle>(uri, 1, 0, "PaddedStyle"); + qmlRegisterType<QQuickPadding>(); qmlRegisterType<QQuickRangeModel>(uri, 1, 0, "RangeModel"); qmlRegisterType<QQuickWheelArea>(uri, 1, 0, "WheelArea"); qmlRegisterType<QQuickSpinBoxValidator>(uri, 1, 0, "SpinBoxValidator"); |
