[solved] QML Submenu
-
Hi,
there is a widget example for menus see here and
in the first picture you can see a submenu from Edit -> Format.How can i create a submenu using QML?
Thx
-
Hi,
yes, it's simple. For example:menuBar: MenuBar { Menu { title: "1" Menu { title: "1.1" MenuItem { text: "1.1.1" } MenuItem { text: "1.1.2" } } } Menu { title: "2" Menu { title: "2.1" MenuItem { text: "2.1.1" } MenuItem { text: "2.1.2" } } } }
-
It's working fine, i was nesting the MenuItem entrys and that didn't work
Stefan