Commit 804aac28 authored by Volker Krause's avatar Volker Krause
Browse files

Persist settings in the other two test apps too

Much more convenient when doing repeated tests.
parent 18f260fd
Pipeline #52371 passed with stage
in 23 seconds
......@@ -104,6 +104,7 @@ ListModel {
ListElement { label: "Hamburg Altona"; lat: 53.55284; lon: 9.93569 }
ListElement { label: "Bremen Hauptbahnhof"; lat: 53.08307; lon: 8.81384 }
ListElement { label: "Köln Hauptbahnhof"; lat: 50.94328; lon: 6.95870 }
ListElement { label: "Aachen Hauptbahnhof"; lat: 50.76788; lon: 6.09135 }
ListElement { label: "Saarbrücken Hauptbahnhof"; lat: 49.24133; lon: 6.99032 }
......
......@@ -213,6 +213,13 @@ Kirigami.ApplicationWindow {
Component {
id: departureQueryPage
Kirigami.Page {
Settings {
id: settings
property alias queryArrivals: arrivalBox.checked
property alias singleBackend: backendBox.checked
property alias backend: backendSelector.currentIndex
}
ColumnLayout {
anchors.fill: parent
......
......@@ -166,6 +166,17 @@ Kirigami.ApplicationWindow {
Component {
id: locationQueryPage
Kirigami.Page {
Settings {
id: settings
property alias singleBackend: backendBox.checked
property alias backend: backendSelector.currentIndex
property alias maxResults: maxResults.text
property alias maxDistance: maxDist.text
property alias includeStops: includeStops.checked
property alias includeRentals: includeRentals.checked
property alias includeEquipment: includeEquipment.checked
}
ColumnLayout {
anchors.fill: parent
......
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