IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

MenuBar QML Type

Provides a horizontal menu bar.

This type was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

MenuBar QML Type

Detailed Description

Image non disponible

MenuBar can be added to an ApplicationWindow, providing menu options to access additional functionality of the application.

 
Sélectionnez
ApplicationWindow {
    ...
    menuBar: MenuBar {
        Menu {
            title: "File"
            MenuItem { text: "Open..." }
            MenuItem { text: "Close" }
        }

        Menu {
            title: "Edit"
            MenuItem { text: "Cut" }
            MenuItem { text: "Copy" }
            MenuItem { text: "Paste" }
        }
    }
}

See Also

Property Documentation

 

menus : list<Menu>

See Also

See also Menu

[since QtQuick.Controls.Styles 1.2] style : Component

The style Component for this control.

This property was introduced in QtQuick.Controls.Styles 1.2.

See Also

See also MenuBarStyle

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+