anchors.margins: UIConstants.DEFAULT_MARGIN
Row {
+ spacing: 10
Text {
id: l
text: line // <----
Text {
id: s
text: station // <----
- width: 75
+ width: parent.parent.parent.width - l.width - dep.width - 10
+ elide: Text.ElideRight
font.pixelSize: UIConstants.FONT_LARGE
font.family: ExtrasConstants.FONT_FAMILY_LIGHT
color: !theme.inverted ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
width: parent.width
height: childrenRect.height + 2*UIConstants.DEFAULT_MARGIN
color: "lightsteelblue"
+ radius: 5.0
+ smooth: true
Text {
anchors {
margins: UIConstants.DEFAULT_MARGIN
}
- text: 'Abfahrten Richtung ' + gdirection
+ text: 'Richtung ' + gdirection
elide: Text.ElideRight
font.bold: true
font.family: ExtrasConstants.FONT_FAMILY_LIGHT
model: ListModel {
id: departuresModel
-/*
- ListElement {
- line: "N60"
- station: "Schottentor"
- destination: "Maurer Hauptplatz"
- departure: 5
- }
- ListElement {
- line: "N38"
- station: "Schottentor"
- destination: "Grinzing"
- departure: 7
- }*/
}
delegate: departureDelegate