diff options
author | Mitch Curtis <[email protected]> | 2024-01-17 15:44:00 +0800 |
---|---|---|
committer | Mitch Curtis <[email protected]> | 2024-01-22 12:52:11 +0800 |
commit | c48ef8428c3607e63f329bff78c3e1176e515d45 (patch) | |
tree | c2161d6414fb86d0818b9061aad7edb6703c56ee /tests/manual/quickcontrols/menus | |
parent | 9563db876387d2c4248ed1d6a2a846d31fdf40be (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.qml | 20 |
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 + } } } |