summaryrefslogtreecommitdiff
path: root/src/controls/ApplicationWindow.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-03-04 14:41:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-04 14:46:25 +0100
commitf1b297ab2f0fde8beb28413ec88877cf4c958cdf (patch)
treecaa4c380713dca610146264751e860c5f296cce5 /src/controls/ApplicationWindow.qml
parentba3b1116a03906e710c39eee8dd99ecfe61a7c7b (diff)
downloadqtquickcontrols-f1b297ab2f0fde8beb28413ec88877cf4c958cdf.tar.gz
ApplicationWindow: minor cleanup & spelling fixes
Change-Id: Ib80c3b6c5591da0760ef40840bbda5c6efc37b42 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/ApplicationWindow.qml')
-rw-r--r--src/controls/ApplicationWindow.qml22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index 35f44f31..d483a075 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -41,7 +41,6 @@
import QtQuick 2.0
import QtQuick.Window 2.0
import QtQuick.Controls 1.0
-import QtQuick.Controls.Private 1.0
/*!
\qmltype ApplicationWindow
@@ -49,7 +48,7 @@ import QtQuick.Controls.Private 1.0
\ingroup applicationwindow
\brief ApplicationWindow provides a top-level application window.
- AppliactionWindow is a \l Window, but adds convenience
+ ApplicationWindow is a \l Window, but adds convenience
for positioning items such as \l MenuBar, \l ToolBar and \l StatusBar in a platform
independent manner.
@@ -57,15 +56,14 @@ import QtQuick.Controls.Private 1.0
ApplicationWindow {
id: window
menuBar: MenuBar {
- Menu { MenuItem {...} }
- Menu { MenuItem {...} }
- }
+ Menu { MenuItem {...} }
+ Menu { MenuItem {...} }
+ }
toolBar: ToolBar {
- RowLayout {
- anchors.fill: parent
- ToolButton{}
- }
+ RowLayout {
+ anchors.fill: parent
+ ToolButton {...}
}
}
@@ -101,7 +99,7 @@ Window {
It can be set to any Item type but is generally used with \l ToolBar.
By default this value is not set. When you set the toolBar Item, it will
- be anchored automatically into the AppliacationWindow.
+ be anchored automatically into the ApplicationWindow.
*/
property Item toolBar
@@ -112,8 +110,8 @@ Window {
It can be set to any Item type but is generally used with \l StatusBar.
- By default this value is not set. When you set the toolBar Item, it will
- be anchored automatically into the AppliacationWindow.
+ By default this value is not set. When you set the statusBar Item, it will
+ be anchored automatically into the ApplicationWindow.
*/
property Item statusBar