mobile/statistics: add a statistics page on mobile

This adds a reasonably flexibile mobile page that tries to do the right
thing for both portrait and landscape mode. In order to get the most out
of a mobile screen, it's implemented in a way that always gives it the
full screen (it does so by emptying out the page stack and being the
only page shown - brutal, but effective).

This commit also contains a bunch of other random cleanups that didn't
really justify being in separate commits.

Parts of this was written by Berthold, hence the double SOB.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Dirk Hohndel 2021-01-04 15:47:33 +01:00
parent d77f254328
commit eb2b0f0a3e
5 changed files with 229 additions and 3 deletions

View file

@ -37,6 +37,7 @@
<file>Log.qml</file>
<file>main.qml</file>
<file>MapPage.qml</file>
<file>StatisticsPage.qml</file>
<file>Settings.qml</file>
<file>CopySettings.qml</file>
<file>ThemeTest.qml</file>