diff options
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index b249a333a..00ab008d3 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -6,6 +6,8 @@ import QtQuick.Dialogs 1.2 import QtQuick.Layouts 1.1 import QtQuick.Window 2.2 import org.subsurfacedivelog.mobile 1.0 +import "qrc:/qml/theme" as Theme + ApplicationWindow { title: qsTr("Subsurface mobile") @@ -13,6 +15,14 @@ ApplicationWindow { property alias messageText: message.text visible: true + Theme.Units { + id: units + } + + Theme.Theme { + id: theme + } + Menu { id: prefsMenu title: "Menu" @@ -181,4 +191,10 @@ ApplicationWindow { id: logWindow visible: false } + + Component.onCompleted: { + print("main.qml laoded."); + print("gridUnit is: " + units.gridUnit); + print("hightlight : " + theme.highlightColor); + } } |