Menu is a menu container. It holds a list of menu Items or decendants (Action, Section, Submenu, CheckBox).
Item
Action
Section
Submenu
CheckBox
A set of menus:¶
Menu { title: "Menu0" Section { text: "Subcategories" } Submenu { target: menu1 } Submenu { target: menu2 } Section { text: "Actions" } Action { text: "Unavailable"; enabled: false; } Menu { text: "Close"; onClicked: close(); } } Menu { id: menu1 title: "Menu1" // ... } Menu { id: menu2 title: "Menu2" // ... }
Text string printed on top of menu. It is also used for Submenu links.
Entry