summaryrefslogtreecommitdiffstats
path: root/src/controls/GroupBox.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@digia.com>2013-06-10 15:24:16 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-10 19:26:39 +0200
commit5d037b17300e814e0e287edfe849badd4e253c1b (patch)
treeb1650088a2d5d5fbfbcfee10cb1c886e09b4321c /src/controls/GroupBox.qml
parentb22c5fb19a01c20d576bd7f25334cdf612f0f86a (diff)
GroupBox: fix the activeFocusOnTab behavior
* change GroupBox to FocusScope * update the autotest Task-number: QTBUG-31306 Change-Id: I72d24b8eb71aa72798e01925691dbb3570518aed Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/GroupBox.qml')
-rw-r--r--src/controls/GroupBox.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/GroupBox.qml b/src/controls/GroupBox.qml
index 4aa6a50f4..b30c4f8f6 100644
--- a/src/controls/GroupBox.qml
+++ b/src/controls/GroupBox.qml
@@ -87,7 +87,7 @@ import QtQuick.Layouts 1.0
*/
-Item {
+FocusScope {
id: groupbox
/*!
@@ -191,6 +191,7 @@ Item {
},
CheckBox {
id: check
+ objectName: "check"
checked: true
text: groupbox.title
visible: checkable
@@ -203,6 +204,7 @@ Item {
},
Item {
id: container
+ objectName: "container"
z: 1
focus: true
anchors.fill: parent