summaryrefslogtreecommitdiffstats
path: root/accounts/imap/package/contents/ui/ImapAccountSettings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/imap/package/contents/ui/ImapAccountSettings.qml')
-rw-r--r--accounts/imap/package/contents/ui/ImapAccountSettings.qml32
1 files changed, 15 insertions, 17 deletions
diff --git a/accounts/imap/package/contents/ui/ImapAccountSettings.qml b/accounts/imap/package/contents/ui/ImapAccountSettings.qml
index b448ac3c..a69e5af6 100644
--- a/accounts/imap/package/contents/ui/ImapAccountSettings.qml
+++ b/accounts/imap/package/contents/ui/ImapAccountSettings.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.imap 1.0 as ImapAccount 24import org.kube.accounts.imap 1.0 as ImapAccount
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: imapSettings.accountName 66 text: imapSettings.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: imapSettings.userName 79 text: imapSettings.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: imapSettings.emailAddress 92 text: imapSettings.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
@@ -131,11 +129,11 @@ Item {
131 } 129 }
132 } 130 }
133 131
134 Controls.Label { 132 Kube.Label {
135 text: "IMAP server address" 133 text: "IMAP server address"
136 Layout.alignment: Qt.AlignRight 134 Layout.alignment: Qt.AlignRight
137 } 135 }
138 Controls.TextField { 136 Kube.TextField {
139 id: imapServer 137 id: imapServer
140 138
141 Layout.fillWidth: true 139 Layout.fillWidth: true
@@ -155,11 +153,11 @@ Item {
155 } 153 }
156 } 154 }
157 155
158 Controls.Label { 156 Kube.Label {
159 text: "Smtp address" 157 text: "Smtp address"
160 Layout.alignment: Qt.AlignRight 158 Layout.alignment: Qt.AlignRight
161 } 159 }
162 Controls.TextField { 160 Kube.TextField {
163 id: smtpServer 161 id: smtpServer
164 Layout.fillWidth: true 162 Layout.fillWidth: true
165 163