summaryrefslogtreecommitdiffstats
path: root/accounts/gmail/package/contents/ui/GmailSettings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gmail/package/contents/ui/GmailSettings.qml')
-rw-r--r--accounts/gmail/package/contents/ui/GmailSettings.qml24
1 files changed, 11 insertions, 13 deletions
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 @@
20import QtQuick 2.4 20import QtQuick 2.4
21import QtQuick.Controls 1.4 as Controls 21import QtQuick.Controls 1.4 as Controls
22import QtQuick.Layouts 1.1 22import QtQuick.Layouts 1.1
23 23import org.kube.framework 1.0 as Kube
24import org.kde.kirigami 1.0 as Kirigami
25
26import org.kube.accounts.gmail 1.0 as GmailAccount 24import org.kube.accounts.gmail 1.0 as GmailAccount
27 25
28Item { 26Item {
@@ -55,14 +53,14 @@ Item {
55 fill: parent 53 fill: parent
56 } 54 }
57 columns: 2 55 columns: 2
58 columnSpacing: Kirigami.Units.largeSpacing 56 columnSpacing: Kube.Units.largeSpacing
59 rowSpacing: Kirigami.Units.largeSpacing 57 rowSpacing: Kube.Units.largeSpacing
60 58
61 Controls.Label { 59 Kube.Label {
62 text: "Title of Account" 60 text: "Title of Account"
63 Layout.alignment: Qt.AlignRight 61 Layout.alignment: Qt.AlignRight
64 } 62 }
65 Controls.TextField { 63 Kube.TextField {
66 Layout.fillWidth: true 64 Layout.fillWidth: true
67 placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name" 65 placeholderText: "E.g. \"Work\", \"Home\" that will be displayed in Kube as name"
68 text: gmailSettings.accountName 66 text: gmailSettings.accountName
@@ -71,11 +69,11 @@ Item {
71 } 69 }
72 } 70 }
73 71
74 Controls.Label { 72 Kube.Label {
75 text: "Name" 73 text: "Name"
76 Layout.alignment: Qt.AlignRight 74 Layout.alignment: Qt.AlignRight
77 } 75 }
78 Controls.TextField { 76 Kube.TextField {
79 Layout.fillWidth: true 77 Layout.fillWidth: true
80 placeholderText: "Your name" 78 placeholderText: "Your name"
81 text: gmailSettings.userName 79 text: gmailSettings.userName
@@ -84,11 +82,11 @@ Item {
84 } 82 }
85 } 83 }
86 84
87 Controls.Label { 85 Kube.Label {
88 text: "Email address" 86 text: "Email address"
89 Layout.alignment: Qt.AlignRight 87 Layout.alignment: Qt.AlignRight
90 } 88 }
91 Controls.TextField { 89 Kube.TextField {
92 Layout.fillWidth: true 90 Layout.fillWidth: true
93 91
94 text: gmailSettings.emailAddress 92 text: gmailSettings.emailAddress
@@ -98,14 +96,14 @@ Item {
98 placeholderText: "Your email address" 96 placeholderText: "Your email address"
99 } 97 }
100 98
101 Controls.Label { 99 Kube.Label {
102 text: "Password" 100 text: "Password"
103 Layout.alignment: Qt.AlignRight 101 Layout.alignment: Qt.AlignRight
104 } 102 }
105 RowLayout { 103 RowLayout {
106 Layout.fillWidth: true 104 Layout.fillWidth: true
107 105
108 Controls.TextField { 106 Kube.TextField {
109 id: pwField 107 id: pwField
110 Layout.fillWidth: true 108 Layout.fillWidth: true
111 109