aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/menus
diff options
context:
space:
mode:
authorMitch Curtis <[email protected]>2024-01-17 15:44:00 +0800
committerMitch Curtis <[email protected]>2024-01-22 12:52:11 +0800
commitc48ef8428c3607e63f329bff78c3e1176e515d45 (patch)
treec2161d6414fb86d0818b9061aad7edb6703c56ee /tests/manual/quickcontrols/menus
parent9563db876387d2c4248ed1d6a2a846d31fdf40be (diff)
Add disabled Actions to menus manual test
Task-number: QTBUG-69558 Change-Id: I6517a679a3fb80cda577971425e582c8bab5eba6 Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'tests/manual/quickcontrols/menus')
-rw-r--r--tests/manual/quickcontrols/menus/main.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/menus/main.qml b/tests/manual/quickcontrols/menus/main.qml
index 31a3a1b970..14a197ab30 100644
--- a/tests/manual/quickcontrols/menus/main.qml
+++ b/tests/manual/quickcontrols/menus/main.qml
@@ -173,6 +173,16 @@ ApplicationWindow {
checkable: true
checked: true
}
+ ContextAction {
+ text: qsTr("Disabled context menu item")
+ enabled: false
+ }
+ ContextAction {
+ text: qsTr("Checked and disabled context menu item")
+ checkable: true
+ checked: true
+ enabled: false
+ }
// TODO: separator
@@ -201,6 +211,16 @@ ApplicationWindow {
checkable: true
checked: true
}
+ ContextAction {
+ text: qsTr("Disabled sub-menu item")
+ enabled: false
+ }
+ ContextAction {
+ text: qsTr("Checked and disabled sub-menu item")
+ checkable: true
+ checked: true
+ enabled: false
+ }
}
}