Commit c439503e authored by Nicolas Fella's avatar Nicolas Fella

Implement next/previous query

parent 65d1935d
...@@ -39,6 +39,13 @@ Kirigami.Page ...@@ -39,6 +39,13 @@ Kirigami.Page
manager: _manager manager: _manager
} }
header: Button {
text: i18n("Earlier")
width: parent.width
visible: theModel.canQueryPrevious
onClicked: theModel.queryPrevious()
}
delegate: Kirigami.AbstractListItem { delegate: Kirigami.AbstractListItem {
onClicked: pageStack.push(Qt.resolvedUrl("ConnectionDetailsPage.qml"), {journey: journey}) onClicked: pageStack.push(Qt.resolvedUrl("ConnectionDetailsPage.qml"), {journey: journey})
...@@ -63,6 +70,13 @@ Kirigami.Page ...@@ -63,6 +70,13 @@ Kirigami.Page
} }
} }
} }
footer: Button {
text: i18n("Later")
width: parent.width
visible: theModel.canQueryNext
onClicked: theModel.queryNext()
}
} }
BusyIndicator { BusyIndicator {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment