Mobile: add UI feature tests to Developer menu

Running Subsurface-mobile on iOS, the notification texts are sometimes very
hard to read, and in some situations the busy indicator isn't showing up at
all.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-11-03 05:46:40 -08:00
parent 6eca1b3ead
commit 505ff4032a

View file

@ -451,7 +451,22 @@ if you have network connectivity and want to sync your data to cloud storage."),
pageStack.push(logWindow)
}
}
Kirigami.Action {
text: qsTr("Test busy indicator (toggle)")
onTriggered: {
if (busy.running) {
hideBusy()
} else {
showBusy()
}
}
}
Kirigami.Action {
text: qsTr("Test notification text")
onTriggered: {
showPassiveNotification(qsTr("Test notification text"), 5000)
}
}
Kirigami.Action {
text: qsTr("Theme information")
onTriggered: {