MenuBar QML Type
Provides a horizontal menu bar. More...
Import Statement: | import QtQuick.Controls 1.3 |
Since: | Qt 5.1 |
Properties
Detailed Description
MenuBar can be added to an ApplicationWindow, providing menu options to access additional functionality of the application.
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 ApplicationWindow::menuBar.
Property Documentation
style : Component |
© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.