3 import com.nokia.meego 1.0
4 import net.cirulla.quandoparte 1.0
5 import "uiconstants.js" as UiConstants
8 property alias name: schedule.name
9 property alias html: webView.html
10 property alias url: webView.url
13 tools: ToolBarLayout {
15 ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: pageStack.pop(); }
16 ToolIcon { iconId: "icon-m-toolbar-view-menu"; }
20 anchors.top: parent.top
21 selectedIndex: settings.showArrivalsPreferred ? 1 : 0
25 name: QT_TR_NOOP("Departures")
28 name: QT_TR_NOOP("Arrivals")
34 anchors.top: header.bottom
43 GradientStop {color: "#aa000000"; position: 0.0}
44 GradientStop {color: "#00000000"; position: 1.0}
49 property: "showArrivalsPreferred"
50 value: header.selectedIndex === 1 ? true : false
59 bottom: parent.bottom;
68 settings.defaultFontSize: labelStyle.fontPixelSize
69 settings.defaultFixedFontSize: labelStyle.fontPixelSize
70 settings.standardFontFamily: labelStyle.fontFamily
74 StationScheduleModel {
78 Component.onCompleted: {