id: menu
content: MenuLayout {
MenuItem {
+ text: qsTr("Update Periodically")
+ Switch {
+ id: periodicCheckSwitch
+ anchors {
+ verticalCenter: parent.verticalCenter
+ right: parent.right
+ rightMargin: UiConstants.DefaultMargin
+ }
+ }
+ }
+ MenuItem {
text: qsTr("About Quando Parte")
onClicked: Private.showAboutPage()
}
left: parent.left
right: parent.right
}
- Rectangle {
+ DroppedShadow {
id: shadow
- width: parent.width
anchors.top: mainView.top
- height: 5
- gradient: Gradient {
- GradientStop {color: "#aa000000"; position: 0.0}
- GradientStop {color: "#00000000"; position: 1.0}
- }
}
ListView {
id: stationListView
anchors.fill: parent
// Fill page borders
visible: mouseArea.pressed
- source: "image://theme/meegotouch-list-background-pressed-center"
+ source: "image://theme/meegotouch-list-fullwidth-background-pressed"
}
Row {
anchors.fill: parent
}
}
}
+ Image {
+ anchors {
+ left: parent.left
+ right: parent.right
+ }
+ source: "image://theme/meegotouch-separator-background-horizontal"
+ }
MouseArea {
id: mouseArea
anchors.fill: background
anchors.right: parent.right
}
}
- Item {
- height: 40
- anchors.leftMargin: UiConstants.DefaultMargin
- anchors.left: parent.left
- anchors.right: parent.right
- Label {
- font.bold: true
- text: qsTr("Update Display Periodically")
- anchors.verticalCenter: parent.verticalCenter
- }
- Switch {
- anchors.verticalCenter: parent.verticalCenter
- anchors.right: parent.right
- id: periodicCheckSwitch
- }
- }
}
}
}
anchors.top: header.bottom
text: parent.name
}
- Rectangle {
+ DroppedShadow {
id: shadow
- width: parent.width
anchors.top: view.top
- height: 5
- gradient: Gradient {
- GradientStop {color: "#aa000000"; position: 0.0}
- GradientStop {color: "#00000000"; position: 1.0}
- }
}
Binding {
target: settings
}
}
}
- SectionScroller {
- listView: stationScheduleView
+ ScrollDecorator {
+ id: decorator
+ flickableItem: stationScheduleView
}
BusyIndicator {
id: busyIndicator