Qt Components Hildon  0.20
QML components for Maemo5 with Hildon styling.
 All Classes Functions Properties Groups Pages
Properties | List of all members
ApplicationWindow Class Reference

A Window with a WindowStack. More...

Inherits Window.

Properties

WindowStack windowStack
 The WindowStack belonging to the window.
- Properties inherited from Window
list< QDeclarativeItem > children
 The visual children of the window.
Item contentItem
 The window's content item.
list< object > data
 The children of the window.
int orientationLock
 The current orientation lock of the window.
bool showProgressIndicator
 Whether the progress indicator should be visible.
enumeration status
 The current status of the window.

Additional Inherited Members

- Public Slots inherited from Window
void activate ()
 Activates the window.

Detailed Description

A Window with a WindowStack.

The ApplicationWindow component is a Window component that has a WindowStack. ApplicationWindow is typically used as the main window of the application.

import QtQuick 1.0
import org.hildon.components 1.0
ApplicationWindow {
id: window
title: qsTr("Window Example")
visible: true
id: button
anchors.centerIn: parent
text: "Push window"
onClicked: windowStack.pushWindow(Qt.resolvedUrl("SecondWindow.qml"))
}
}
See Also
WindowStack