ApplicationWindow
Provides a top-level application window. More...
Import Statement: | import QtQuick.Controls 1.1 |
Since: | Qt 5.1 |
Properties
Detailed Description
ApplicationWindow is a Window that adds convenience for positioning items, such as MenuBar, ToolBar, and StatusBar in a platform independent manner.
ApplicationWindow { id: window menuBar: MenuBar { Menu { MenuItem {...} } Menu { MenuItem {...} } } toolBar: ToolBar { RowLayout { anchors.fill: parent ToolButton {...} } } TabView { id: myContent anchors.fill: parent ... } }
Property Documentation
This property holds the status bar Item.
It can be set to any Item type, but is generally used with StatusBar.
By default, this value is not set. When you set the status bar item, it will be anchored automatically into the application window.
This property holds the toolbar Item.
It can be set to any Item type, but is generally used with ToolBar.
By default, this value is not set. When you set the toolbar item, it will be anchored automatically into the application window.