mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
6eca1b3ead
commit
505ff4032a
1 changed files with 16 additions and 1 deletions
|
@ -451,7 +451,22 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
pageStack.push(logWindow)
|
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 {
|
Kirigami.Action {
|
||||||
text: qsTr("Theme information")
|
text: qsTr("Theme information")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue