2 import com.nokia.meego 1.0
3 import com.nokia.extras 1.0
4 import "UIConstants.js" as UIConstants
5 import "ExtrasConstants.js" as ExtrasConstants
10 property string gline : ""
11 property string gstation : ""
22 visible: mouseArea.pressed
23 source: theme.inverted ? 'image://theme/meegotouch-list-inverted-background-pressed-vertical-center': 'image://theme/meegotouch-list-background-pressed-vertical-center'
28 anchors.margins: UIConstants.DEFAULT_MARGIN
34 anchors.verticalCenter: parent.verticalCenter
36 font.pixelSize: UIConstants.FONT_XLARGE
38 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
39 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
43 anchors.verticalCenter: parent.verticalCenter
47 text: station // <----
49 font.pixelSize: UIConstants.FONT_LARGE
50 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
51 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
56 text: destination // <----
57 color: !theme.inverted ? UIConstants.COLOR_SECONDARY_FOREGROUND : UIConstants.COLOR_INVERTED_SECONDARY_FOREGROUND
58 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
59 font.pixelSize: UIConstants.FONT_LSMALL
66 anchors.right: parent.right
67 anchors.verticalCenter: parent.verticalCenter
70 // FIXME strange int float transformation appears
72 anchors.right: parent.right
73 anchors.rightMargin: UIConstants.DEFAULT_MARGIN
75 font.pixelSize: UIConstants.FONT_XLARGE
76 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
77 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
85 console.debug("clicked: " + l.text)
95 height: childrenRect.height + 2*UIConstants.DEFAULT_MARGIN
96 color: "lightsteelblue"
102 margins: UIConstants.DEFAULT_MARGIN
105 text: gstation + " [" + gline + "]"
107 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
108 font.pixelSize: UIConstants.FONT_LSMALL
115 width: parent.width; height: parent.height
122 station: "Schottentor"
123 destination: "Maurer Hauptplatz"
128 station: "Schottentor"
129 destination: "Grinzing"
134 station: "Schottentor"
135 destination: "Großfeldsiedlung"
140 station: "Schottentor"
141 destination: "Pötzleinsdorf"
146 station: "Schottentor"
147 destination: "Neuwaldegg"
152 station: "Schottentor"
153 destination: "Liesing S"
158 station: "Schottentor"
159 destination: "Grinzing"
164 station: "Schottentor"
165 destination: "Großfeldsiedlung"
170 station: "Schottentor"
171 destination: "Maurer Hauptplatz"
176 station: "Schottentor"
177 destination: "Grinzing"
182 station: "Schottentor"
183 destination: "Pötzleinsdorf"
188 station: "Schottentor"
189 destination: "Neuwaldegg"
194 station: "Schottentor"
195 destination: "Liesing S"
200 station: "Schottentor"
201 destination: "Grinzing"
205 delegate: departureDelegate
211 platformStyle: ScrollDecoratorStyle {}
218 platformStyle: BusyIndicatorStyle { size: 'large' }
219 anchors.centerIn: parent