diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-03 05:46:40 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-08 20:50:05 +0100 |
commit | 505ff4032a9c936c74880aa7046c515b51b285c6 (patch) | |
tree | a6827f895e6f8b2bf3f38d2382bd9a08f67ebb42 /mobile-widgets/qml | |
parent | 6eca1b3ead670ad051e0a4825042f79c78930d1c (diff) | |
download | subsurface-505ff4032a9c936c74880aa7046c515b51b285c6.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 2ac521ec4..fbaba37d5 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -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: { |