From 751626eec574363ef694e1301744704915e6b2ea Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 31 Mar 2017 16:15:14 +0200 Subject: QML UI: Fully port dive edit to Kirigami2 Completely adapt to the api changes of OverlaySheet in Kirigami2 in order to achieve the same look and behavior for the dive edits that had with kirigami1 Port most components to QtQuickContrls2, except comboboxes in the dive edit sheet that will need a new control type Signed-off-by: Marco Martin --- mobile-widgets/qml/CloudCredentials.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mobile-widgets/qml/CloudCredentials.qml') diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 7f1e0d986..e1d2e047e 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -1,9 +1,9 @@ import QtQuick 2.3 -import QtQuick.Controls 1.2 +import QtQuick.Controls 2.0 import QtQuick.Window 2.2 import QtQuick.Dialogs 1.2 import QtQuick.Layouts 1.1 -import org.kde.kirigami 1.0 as Kirigami +import org.kde.kirigami 2.0 as Kirigami import org.subsurfacedivelog.mobile 1.0 Item { @@ -56,7 +56,7 @@ Item { text: qsTr("Email") } - StyledTextField { + TextField { id: login text: manager.cloudUserName Layout.fillWidth: true @@ -68,7 +68,7 @@ Item { text: qsTr("Password") } - StyledTextField { + TextField { id: password text: manager.cloudPassword echoMode: TextInput.Password @@ -97,7 +97,7 @@ Item { text: qsTr("PIN") visible: rootItem.showPin } - StyledTextField { + TextField { id: pin text: "" Layout.fillWidth: true -- cgit v1.2.3-70-g09d2