MenuBar

Provides a horizontal menu bar. More...

Import Statement: import QtQuick.Controls 1.1
Since: Qt 5.1

Properties

Detailed Description

MenuBar {
    Menu {
        title: "File"
        MenuItem { text: "Open..." }
        MenuItem { text: "Close" }
    }

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

See also ApplicationWindow::menuBar.

Property Documentation

defaultmenus : list<Menu>

The list of menus in the menubar.

See also Menu.


style : Component