This repository has been archived on 2025-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
SwissTrains/qml/pages/DeparturesInputPage.qml

28 lines
633 B
QML

import QtQuick 2.0
import Sailfish.Silica 1.0
Dialog {
id: page
SilicaListView {
id: departureInput
model: 20
anchors.fill: parent
header: PageHeader {
title: "Departures"
}
delegate: BackgroundItem {
id: delegate
Label {
x: Theme.paddingLarge
text: "Item " + index
color: delegate.highlighted ? Theme.highlightColor : Theme.primaryColor
}
onClicked: console.log("Clicked " + index)
}
}
acceptDestination: Qt.resolvedUrl("ScheduleInputPage.qml")
}