summaryrefslogtreecommitdiffstats
path: root/qt-mobile/main.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-11-06 21:53:26 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-06 14:05:45 -0800
commit6d3a5e6bd4e0c449eca65fa832752452cc2b92f5 (patch)
tree3297dda3515cfba3b65ab52999e61434720b9117 /qt-mobile/main.qml
parent9dc8f13a0ab2f2c0f2804b2dcaf602c2964fdddb (diff)
downloadsubsurface-6d3a5e6bd4e0c449eca65fa832752452cc2b92f5.tar.gz
Theme tweaks
- gridUnits is dynamic again, using FontMetrics now - Add a page to display some sizing-relevant details, so we can debug dpi problems a bit better on Android Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r--qt-mobile/main.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml
index f45ab9b60..f75476537 100644
--- a/qt-mobile/main.qml
+++ b/qt-mobile/main.qml
@@ -72,6 +72,13 @@ ApplicationWindow {
stackView.push(logWindow)
}
}
+
+ MenuItem {
+ text: "Theme Information"
+ onTriggered: {
+ stackView.push(themetest)
+ }
+ }
}
StackView {
@@ -201,6 +208,11 @@ ApplicationWindow {
visible: false
}
+ ThemeTest {
+ id: themetest
+ visible: false
+ }
+
Component.onCompleted: {
print("units.gridUnit is: " + units.gridUnit);
}