aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml')
-rw-r--r--tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml b/tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml
index 4dab387fcf..e182cae8ad 100644
--- a/tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml
+++ b/tests/manual/quickcontrols/testbench/controls/RadioDelegate.qml
@@ -1,5 +1,5 @@
// Copyright (C) 2017 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick.Controls
@@ -11,7 +11,10 @@ QtObject {
["pressed"],
["checked"],
["checked", "disabled"],
- ["checked", "pressed"]
+ ["checked", "pressed"],
+ ["highlighted"],
+ ["highlighted", "pressed"],
+ ["mirrored"]
]
property Component component: Component {
@@ -21,7 +24,10 @@ QtObject {
checked: is("checked")
// Only set it if it's pressed, or the non-pressed examples will have no press effects
down: is("pressed") ? true : undefined
+ highlighted: is("highlighted")
focusPolicy: Qt.StrongFocus
+
+ LayoutMirroring.enabled: is("mirrored")
}
}