From de8359e4f0f0560ff43b15af587d4c2865238adf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 8 Aug 2018 06:02:49 -0700 Subject: QML UI: expose vendor/product/connection index as properties Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 5cd407d95..6f7ac709e 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -20,6 +20,9 @@ Kirigami.Page { property bool divesDownloaded: false property bool btEnabled: manager.btEnabled property string btMessage: manager.btEnabled ? "" : qsTr("Bluetooth is not enabled") + property alias vendor: comboVendor.currentIndex + property alias product: comboProduct.currentIndex + property alias connection: comboConnection.currentIndex DCDownloadThread { id: downloadThread -- cgit v1.2.3-70-g09d2