diff options
author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2014-01-15 18:24:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-17 12:27:26 +0100 |
commit | d3c935f52c48e2eb1440cd329eaa152c42d03c6f (patch) | |
tree | 2c5513db0ed513021b5bb2811a54b603312272b1 /src/controls/plugin.cpp | |
parent | 77b1d3c6be090eebffa09c78af75eb6770bfb280 (diff) | |
download | qtquickcontrols-d3c935f52c48e2eb1440cd329eaa152c42d03c6f.tar.gz |
Expose PopupWindow type privately
Still needs some API refinement.
Includes manual test for key event handling. It did not work
as expected on Mac, hence this test. Patch pending in integration
in qtdeclarative.
Change-Id: Id88f5f84d2534cf9b9d93f9224207e661894189d
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/controls/plugin.cpp')
-rw-r--r-- | src/controls/plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/plugin.cpp b/src/controls/plugin.cpp index 8113d01f..aba18659 100644 --- a/src/controls/plugin.cpp +++ b/src/controls/plugin.cpp @@ -45,6 +45,7 @@ #include "qquickexclusivegroup_p.h" #include "qquickmenu_p.h" #include "qquickmenubar_p.h" +#include "qquickpopupwindow_p.h" #include "qquickstack_p.h" #include "qquickdesktopiconprovider_p.h" #include "qquickselectionmode_p.h" @@ -139,6 +140,7 @@ void QtQuickControlsPlugin::initializeEngine(QQmlEngine *engine, const char *uri qmlRegisterType<QQuickMenu>(private_uri, 1, 0, "MenuPrivate"); qmlRegisterType<QQuickMenuBar>(private_uri, 1, 0, "MenuBarPrivate"); + qmlRegisterType<QQuickPopupWindow>(private_uri, 1, 0, "PopupWindow"); #ifdef QT_WIDGETS_LIB qmlRegisterType<QQuickStyleItem>(private_uri, 1, 0, "StyleItem"); |