subsurface/mobile-widgets/qml
Jan Mulder c2c751c164 mobile, QML: introduce basePointSize in subsurfaceTheme
By manipulation the used font pointSize property, we can dynamically
scale fonts and derived UI objects. At the same time, we have
some logic to determine the default font, its size, etc, for example
depending on screen properties. The scaling of the UI (and its font)
does not need to interfere with those defaults.

However, when we want to reset the pointSize, we alter the default, so
a backup of the default is needed. Ok, not al full backup, as the only
thing we like to manipulate is the pointSize, to which we want to be
able to return.

All this leads to this commit. A basePointSize property is added, that
is initialized from the default. Due to the binding logic of the QML
engine, it is not a classic initialization, but a binding between the
2 properties. We need to break that binding explicitly, so that
the original PointSize is always preserved.

In addition, a display of the new font property is added to the
developers theme test.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-09-25 16:01:39 +02:00
..
icons Move DC download icons used by mobile app to mobile-widgets/qml/icons/ 2018-08-07 09:49:20 -07:00
About.qml mobile: Adjust About.qml to fit small screens. 2018-05-27 08:07:52 -07:00
CloudCredentials.qml core,tests: change qml register function 2018-09-11 17:22:58 -07:00
DiveDetails.qml Mobile: fix adding new dive 2018-08-11 11:19:07 -07:00
DiveDetailsEdit.qml Mobile: fix saving new dive 2018-08-11 11:19:07 -07:00
DiveDetailsView.qml Mobile: display all used cylinders 2018-08-11 11:19:07 -07:00
DiveList.qml core,tests: change qml register function 2018-09-11 17:22:58 -07:00
DownloadedDiveDelegate.qml QML: remove unused property 2018-04-15 08:16:59 -07:00
DownloadFromDiveComputer.qml Mobile/download DC: disable selected DC button 2018-09-25 15:35:43 +02:00
GpsList.qml mobile: use full icon path. 2018-06-18 06:54:40 +09:00
HintsTextEdit.qml mobile: silence warnings in the app log 2018-01-03 14:04:08 +01:00
Log.qml QML UI Mobile: correct margins on log page 2018-02-24 11:39:49 -08:00
main.qml mobile, QML: introduce basePointSize in subsurfaceTheme 2018-09-25 16:01:39 +02:00
MapPage.qml mapwidget-mobile: initialize the map to [0,0] 2018-04-02 13:47:43 -07:00
mobile-resources.qrc Move DC download icons used by mobile app to mobile-widgets/qml/icons/ 2018-08-07 09:49:20 -07:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml QML UI: add settings for scale factor 2018-09-25 15:58:17 +02:00
SsrfButton.qml QML UI: QtQuick to 2.6 2017-11-19 12:20:43 -08:00
SsrfCheckBox.qml QML UI: Fix checkbox color 2018-03-19 12:03:06 -07:00
SsrfSwitch.qml QML UI: QtQuick to 2.6 2017-11-19 12:20:43 -08:00
StartPage.qml QML UIL: fix more problems with members moving from manager to prefs 2018-06-20 09:34:27 +09:00
ThemeTest.qml mobile, QML: introduce basePointSize in subsurfaceTheme 2018-09-25 16:01:39 +02:00