From 926da003aa8dd5382fe714d020b1ce55ae550e8e Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 19 Apr 2017 14:25:43 +0200 Subject: use kube controls in account --- .../gmail/package/contents/ui/GmailSettings.qml | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'accounts/gmail/package/contents/ui/GmailSettings.qml') diff --git a/accounts/gmail/package/contents/ui/GmailSettings.qml b/accounts/gmail/package/contents/ui/GmailSettings.qml index ea6ac9e3..39e1b307 100644 --- a/accounts/gmail/package/contents/ui/GmailSettings.qml +++ b/accounts/gmail/package/contents/ui/GmailSettings.qml @@ -20,9 +20,7 @@ import QtQuick 2.4 import QtQuick.Controls 1.4 as Controls import QtQuick.Layouts 1.1 - -import org.kde.kirigami 1.0 as Kirigami - +import org.kube.framework 1.0 as Kube import org.kube.accounts.gmail 1.0 as GmailAccount Item { @@ -55,14 +53,14 @@ Item { fill: parent } columns: 2 - columnSpacing: Kirigami.Units.largeSpacing - rowSpacing: Kirigami.Units.largeSpacing + columnSpacing: Kube.Units.largeSpacing + rowSpacing: Kube.Units.largeSpacing - Controls.Label { + Kube.Label { text: "Title of Account" Layout.alignment: Qt.AlignRight } - Controls.TextField { + Kube.TextField { Layout.fillWidth: true placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" text: gmailSettings.accountName @@ -71,11 +69,11 @@ Item { } } - Controls.Label { + Kube.Label { text: "Name" Layout.alignment: Qt.AlignRight } - Controls.TextField { + Kube.TextField { Layout.fillWidth: true placeholderText: "Your name" text: gmailSettings.userName @@ -84,11 +82,11 @@ Item { } } - Controls.Label { + Kube.Label { text: "Email address" Layout.alignment: Qt.AlignRight } - Controls.TextField { + Kube.TextField { Layout.fillWidth: true text: gmailSettings.emailAddress @@ -98,14 +96,14 @@ Item { placeholderText: "Your email address" } - Controls.Label { + Kube.Label { text: "Password" Layout.alignment: Qt.AlignRight } RowLayout { Layout.fillWidth: true - Controls.TextField { + Kube.TextField { id: pwField Layout.fillWidth: true -- cgit v1.2.3