summaryrefslogtreecommitdiff
path: root/src/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2014-07-09 18:40:02 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-07-09 18:40:02 +0200
commit223ec0f7827fde5609d7d48237a95e9b7c9563e1 (patch)
treeaf8420daede7cd8208adda1c8cb6381b062bdc83 /src/controls/ApplicationWindow.qml
parenta25023d56f16d8d3c08cc60f7059cf10a3b8a5ba (diff)
parentf2a3019e4332b756b5b27092768bf4039dca7c7a (diff)
downloadqtquickcontrols-223ec0f7827fde5609d7d48237a95e9b7c9563e1.tar.gz
Merge remote-tracking branch 'origin/5.3' into dev
Conflicts: src/controls/ToolBar.qml Change-Id: I5510496219a4ebe8bfced4192307219238ca9bb6
Diffstat (limited to 'src/controls/ApplicationWindow.qml')
-rw-r--r--src/controls/ApplicationWindow.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 5ac73fbe..b4616363 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -51,6 +51,8 @@ import QtQuick.Controls.Private 1.0
\ingroup applicationwindow
\brief Provides a top-level application window.
+ \image applicationwindow.png
+
ApplicationWindow is a \l Window that adds convenience for positioning items,
such as \l MenuBar, \l ToolBar, and \l StatusBar in a platform independent
manner.
@@ -58,6 +60,8 @@ import QtQuick.Controls.Private 1.0
\code
ApplicationWindow {
id: window
+ visible: true
+
menuBar: MenuBar {
Menu { MenuItem {...} }
Menu { MenuItem {...} }
@@ -77,6 +81,11 @@ import QtQuick.Controls.Private 1.0
}
}
\endcode
+
+ \note By default, an ApplicationWindow is not visible.
+
+ The \l{Qt Quick Controls - Gallery} example is a good starting
+ point to explore this type.
*/
Window {