import QtQuick 2.0
-import QtLocation 5.0
import Sailfish.Silica 1.0
import net.cirulla.quandoparte 1.0
import "StationListPage.js" as Private
header: SearchField {
id: searchField
placeholderText: qsTr("Search station...")
+ inputMethodHints: Qt.ImhNoAutoUppercase
onTextChanged: stationListPage.searchPattern = searchField.text
width: stationListPage.width
}
delegate: BackgroundItem {
id: listItem
- height: Theme.itemSizeSmall
+ height: Theme.itemSizeExtraSmall
width: parent.width
Label {
id: mainText
anchors {
- verticalCenter: parent.Center
+ fill: parent
margins: Theme.paddingMedium
}
x: Theme.paddingLarge
textFormat: Text.StyledText
text: model.name ? Private.highlightSearch(model.name, Theme.highlightColor) : ""
+ verticalAlignment: Text.AlignVCenter
}
onClicked: Private.loadStation(model.name, model.code)
onPressAndHold: contextMenu.show(listItem)
Name: quandoparte
Summary: Quando Parte
-Version: 0.6.1
+Version: 0.6.2
Release: 0
Group: Qt/Qt
License: GPL v2 or above
Sources:
- '%{name}-%{version}.tar.bz2'
+SCM: git@github.com:mikelima/quandoparte.git
Description: |-
Virtual Arrivals and Departures board for Italian trains quandoparte
uses the Trenitalia data to show arrival and departure times of trains of a given station, with delay or suppression information.
- qt5-qtlocation
- sailfishsilica-qt5
- mapplauncherd-booster-silica-qt5
+- qt5-qtdeclarative-import-location
Files:
- '%{_datadir}/icons/hicolor/meegotouch/apps'
- '%{_datadir}/applications'