diff options
author | Richard Moe Gustavsen <[email protected]> | 2024-06-18 12:51:10 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <[email protected]> | 2024-06-21 11:45:40 +0200 |
commit | 4c1174938c5f50e6f1db0db3670153fc15c5c81f (patch) | |
tree | 992afed42533a38820981c87cc3690cf1d175b50 /tests/manual/quickcontrols | |
parent | 96dbecc64f59589ed82040d36f7c85ea7a133434 (diff) |
menus manual test: add SubSub menus
Its nice to be able to test that you can still
e.g hover the root menu, even when a subsub menu
is the active popup.
Pick-to: 6.8
Change-Id: Ibf76770a13c41f4712187daeb793439c83730db9
Reviewed-by: Mitch Curtis <[email protected]>
Diffstat (limited to 'tests/manual/quickcontrols')
-rw-r--r-- | tests/manual/quickcontrols/menus/Main.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/menus/Main.qml b/tests/manual/quickcontrols/menus/Main.qml index 7862e49b73..2c066381a9 100644 --- a/tests/manual/quickcontrols/menus/Main.qml +++ b/tests/manual/quickcontrols/menus/Main.qml @@ -45,6 +45,11 @@ ApplicationWindow { title: qsTr("Sub...") ContextAction { text: qsTr("Sub action 1") } ContextAction { text: qsTr("Sub action 2") } + Menu { + title: qsTr("SubSub...") + ContextAction { text: qsTr("SubSub action 1") } + ContextAction { text: qsTr("SubSub action 2") } + } } MenuSeparator { } ContextAction { @@ -438,6 +443,11 @@ ApplicationWindow { enabled: false shortcut: "J" } + Menu { + title: qsTr("SubSub...") + ContextAction { text: qsTr("SubSub action 1") } + ContextAction { text: qsTr("SubSub action 2") } + } } } |