Default window for all MeeGo 1.2 Harmattan applications More...
Inherits Window
Inherited by ApplicationWindow.
This element was introduced in qt-components 4.7.
Applications are constructed using the MeeGo 1.2 Harmattan-specific PageStackWindow that brings the page navigation, toolbar, statusbar and platform common look and feel.
The developer achieves all the functionality of the PageStackWindow by separately using elements and placing them inside the Window element. However, it is recomended to use the PageStackWindow so that correct platform UI is achieved.
import QtQuick 1.1 import com.nokia.meego 1.1 PageStackWindow { showStatusBar: false initialPage: MainPage { } }
A good example how PageStackWindow is used is found from the MeeGo 1.2 Harmattan example QmlComponentGallery or the Simple tutorial application that is found from front page of API documentation.
Note that the PageStackWindow as it is now defined is a MeeGo 1.2 Harmattan-specific element.
initialPage : variant |
Initial page in the PageStack of the PageStackWindow. To ensure safe memory cleanup it is recommend to use Component here as opposed to Item.
Platform specific styling for the PageStackWindow. Currently only available option is PageStackWindowStyle that gives the platform look and feel. That is also the default value of the platformStyle property.
See also PageStackWindowStyle.
platformToolBarHeight : real |
This read-only property provides height of ToolBar. Can be used e.g. to set page's bottom margin, when toolbar is not shown, to prevent toolbar from hiding content (e.g. when unfocusing TextField in bottom of page).
showStatusBar : bool |
Defines whether the system status bar be shown or not. The default value is true.
showToolBar : bool |
Defines whether the tool bar be shown or not. The default value is true.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.