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 : ""
12 property bool busy : true
23 visible: mouseArea.pressed
24 source: theme.inverted ? 'image://theme/meegotouch-list-inverted-background-pressed-vertical-center': 'image://theme/meegotouch-list-background-pressed-vertical-center'
29 anchors.margins: UIConstants.DEFAULT_MARGIN
35 anchors.verticalCenter: parent.verticalCenter
37 font.pixelSize: UIConstants.FONT_XLARGE
39 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
40 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
44 anchors.verticalCenter: parent.verticalCenter
48 text: station // <----
50 font.pixelSize: UIConstants.FONT_LARGE
51 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
52 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
57 text: destination // <----
58 color: !theme.inverted ? UIConstants.COLOR_SECONDARY_FOREGROUND : UIConstants.COLOR_INVERTED_SECONDARY_FOREGROUND
59 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
60 font.pixelSize: UIConstants.FONT_LSMALL
67 anchors.right: parent.right
68 anchors.verticalCenter: parent.verticalCenter
71 // FIXME strange int float transformation appears
73 anchors.right: parent.right
74 anchors.rightMargin: UIConstants.DEFAULT_MARGIN
76 font.pixelSize: UIConstants.FONT_XLARGE
77 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
78 color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
86 console.debug("clicked: " + l.text)
96 height: childrenRect.height + 2*UIConstants.DEFAULT_MARGIN
97 color: "lightsteelblue"
103 margins: UIConstants.DEFAULT_MARGIN
106 text: gstation + " [" + gline + "]"
108 font.family: ExtrasConstants.FONT_FAMILY_LIGHT
109 font.pixelSize: UIConstants.FONT_LSMALL
116 width: parent.width; height: parent.height
123 station: "Schottentor"
124 destination: "Maurer Hauptplatz"
129 station: "Schottentor"
130 destination: "Grinzing"
135 station: "Schottentor"
136 destination: "Großfeldsiedlung"
141 station: "Schottentor"
142 destination: "Pötzleinsdorf"
147 station: "Schottentor"
148 destination: "Neuwaldegg"
153 station: "Schottentor"
154 destination: "Liesing S"
159 station: "Schottentor"
160 destination: "Grinzing"
165 station: "Schottentor"
166 destination: "Großfeldsiedlung"
171 station: "Schottentor"
172 destination: "Maurer Hauptplatz"
177 station: "Schottentor"
178 destination: "Grinzing"
183 station: "Schottentor"
184 destination: "Pötzleinsdorf"
189 station: "Schottentor"
190 destination: "Neuwaldegg"
195 station: "Schottentor"
196 destination: "Liesing S"
201 station: "Schottentor"
202 destination: "Grinzing"
206 delegate: departureDelegate
212 platformStyle: ScrollDecoratorStyle {}
219 platformStyle: BusyIndicatorStyle { size: 'large' }
220 anchors.centerIn: parent