Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] How correct using MenuBar, Menu and MenuItem from QML Desktop Component

$
0
0
The correct using of code for click to item menu:     menuBar: MenuBar {         Menu {             text: "File"               MenuItem {text: "Open Log..."}         }         Menu {             text: "Preferences"         }         Menu {             text: "Help"               MenuItem {                 text: "About..."                 onTriggered: {                     console.log("Clicked!!!!");                 }             }         }     }

Viewing all articles
Browse latest Browse all 4972

Trending Articles