You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
id: page
// The effective value will be restricted by ApplicationWindow.allowedOrientations
allowedOrientations: Orientation.All
SilicaFlickable {
anchors.fill: parent
PullDownMenu {
MenuItem {
text: qsTr("Show Page 2")
onClicked: pageStack.animatorPush(Qt.resolvedUrl("SecondPage.qml"))
}
}
contentHeight: column.height
Rectangle {
id: baseRect
color: "red"
anchors.fill: parent
}
PageHeader {
title: qsTr("UI Template")
}
Label {
id: firstLabel
anchors {
horizontalCenter: parent.horizontalCenter
top: parent.top
}
text: qsTr("Argh")
color: Theme.secondaryHighlightColor
font.pixelSize: Theme.fontSizeExtraLarge
}
TextField {
id: secondField
width: parent.width
anchors {
horizontalCenter: parent.horizontalCenter
verticalCenter: parent.verticalCenter
}
placeholderText: "Enter text"
font.pixelSize: Theme.fontSizeLarge
font.bold: true
}
}
}