From f1b297ab2f0fde8beb28413ec88877cf4c958cdf Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 4 Mar 2013 14:41:16 +0100 Subject: ApplicationWindow: minor cleanup & spelling fixes Change-Id: Ib80c3b6c5591da0760ef40840bbda5c6efc37b42 Reviewed-by: Caroline Chao --- src/controls/ApplicationWindow.qml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src/controls/ApplicationWindow.qml') 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 -- cgit v1.2.1