2 import Sailfish.Silica 1.0
7 // The effective value will be restricted by ApplicationWindow.allowedOrientations
8 allowedOrientations: Orientation.All
10 // To enable PullDownMenu, place our content in a SilicaFlickable
14 // PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView
17 text: qsTr("Show Page 2")
18 onClicked: pageStack.push(Qt.resolvedUrl("SecondPage.qml"))
22 // Tell SilicaFlickable the height of its content.
23 contentHeight: column.height
25 // Place our content in a Column. The PageHeader is always placed at the top
26 // of the page, followed by our content.
31 spacing: Theme.paddingLarge
33 title: qsTr("UI Template")
36 x: Theme.horizontalPageMargin
37 text: qsTr("Hello Sailors")
38 color: Theme.secondaryHighlightColor
39 font.pixelSize: Theme.fontSizeExtraLarge