diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-06-29 10:53:01 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-06-29 13:22:48 +0000 |
commit | a07606a56b1bc8d277ef5cfc394178b660a0c30c (patch) | |
tree | d0c567613ec0149f09ef77662144b2e72b2472fb /src/imports/templates/qtquicktemplates2plugin.cpp | |
parent | f379e58bf51f1b32782a54f455401b86c83c3ee4 (diff) |
Add hover support to TextArea & TextField
Task-number: QTBUG-50003
Change-Id: Ie101ba8840fba2a7503da8de77d9cf2a3c91d562
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/templates/qtquicktemplates2plugin.cpp')
-rw-r--r-- | src/imports/templates/qtquicktemplates2plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index 1903d52c..300cc2fa 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -183,6 +183,8 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickSpinBox, 1>(uri, 2, 1, "SpinBox"); qmlRegisterType<QQuickStackView, 1>(uri, 2, 1, "StackView"); qmlRegisterType<QQuickSwipeView, 1>(uri, 2, 1, "SwipeView"); + qmlRegisterType<QQuickTextArea, 1>(uri, 2, 1, "TextArea"); + qmlRegisterType<QQuickTextField, 1>(uri, 2, 1, "TextField"); qmlRegisterType<QQuickTumbler, 1>(uri, 2, 1, "Tumbler"); } |