summaryrefslogtreecommitdiffstats
path: root/components/package
diff options
context:
space:
mode:
Diffstat (limited to 'components/package')
-rw-r--r--components/package/contents/ui/AutocompleteLineEdit.qml6
-rw-r--r--components/package/contents/ui/FocusComposer.qml29
2 files changed, 17 insertions, 18 deletions
diff --git a/components/package/contents/ui/AutocompleteLineEdit.qml b/components/package/contents/ui/AutocompleteLineEdit.qml
index 173a006c..cb6e4fcb 100644
--- a/components/package/contents/ui/AutocompleteLineEdit.qml
+++ b/components/package/contents/ui/AutocompleteLineEdit.qml
@@ -17,14 +17,14 @@
17*/ 17*/
18 18
19import QtQuick 2.7 19import QtQuick 2.7
20import QtQuick.Controls 1.4 20import QtQuick.Controls 1.4 as Controls1
21import QtQuick.Controls 2.0 as Controls2 21import QtQuick.Controls 2.0 as Controls2
22import QtQuick.Layouts 1.1 22import QtQuick.Layouts 1.1
23import QtQuick.Dialogs 1.0 23import QtQuick.Dialogs 1.0
24 24
25import org.kde.kirigami 1.0 as Kirigami 25import org.kde.kirigami 1.0 as Kirigami
26 26
27TextField { 27Controls2.TextField {
28 id: textField 28 id: textField
29 29
30 property string searchTerm 30 property string searchTerm
@@ -94,7 +94,7 @@ TextField {
94 width: textField.width 94 width: textField.width
95 border.color: "Black" 95 border.color: "Black"
96 radius: 5 96 radius: 5
97 ScrollView { 97 Controls1.ScrollView {
98 id: scrollView 98 id: scrollView
99 anchors.fill: parent 99 anchors.fill: parent
100 ListView { 100 ListView {
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml
index 0a6c08bd..b5bb5c35 100644
--- a/components/package/contents/ui/FocusComposer.qml
+++ b/components/package/contents/ui/FocusComposer.qml
@@ -18,7 +18,6 @@
18 18
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21import QtQuick.Controls 1.4 as Controls
22import QtQuick.Controls 2.0 as Controls2 21import QtQuick.Controls 2.0 as Controls2
23 22
24import org.kde.kirigami 1.0 as Kirigami 23import org.kde.kirigami 1.0 as Kirigami
@@ -71,7 +70,7 @@ Controls2.Popup {
71 70
72 anchors.fill: parent 71 anchors.fill: parent
73 72
74 Controls.TextField { 73 Controls2.TextField {
75 id: subject 74 id: subject
76 75
77 Layout.fillWidth: true 76 Layout.fillWidth: true
@@ -89,7 +88,7 @@ Controls2.Popup {
89 88
90 columns: 2 89 columns: 2
91 90
92 Kirigami.Label { 91 Controls2.Label {
93 text: "To" 92 text: "To"
94 } 93 }
95 94
@@ -110,7 +109,7 @@ Controls2.Popup {
110 } 109 }
111 110
112 111
113 Kirigami.Label { 112 Controls2.Label {
114 text: "Cc" 113 text: "Cc"
115 114
116 visible: cc.visible 115 visible: cc.visible
@@ -135,7 +134,7 @@ Controls2.Popup {
135 } 134 }
136 } 135 }
137 136
138 Kirigami.Label { 137 Controls2.Label {
139 text: "Bcc" 138 text: "Bcc"
140 139
141 visible: bcc.visible 140 visible: bcc.visible
@@ -162,11 +161,11 @@ Controls2.Popup {
162 } 161 }
163 162
164 RowLayout { 163 RowLayout {
165 Kirigami.Label { 164 Controls2.Label {
166 text: "Sending as" 165 text: "Sending as"
167 } 166 }
168 167
169 Controls.ComboBox { 168 Controls2.ComboBox {
170 id: identityCombo 169 id: identityCombo
171 model: composer.identityModel 170 model: composer.identityModel
172 textRole: "displayName" 171 textRole: "displayName"
@@ -178,7 +177,7 @@ Controls2.Popup {
178 } 177 }
179 } 178 }
180 179
181 Controls.Button { 180 Controls2.Button {
182 id: ccButton 181 id: ccButton
183 182
184 text: "Cc" 183 text: "Cc"
@@ -189,7 +188,7 @@ Controls2.Popup {
189 } 188 }
190 } 189 }
191 190
192 Controls.Button { 191 Controls2.Button {
193 id: bccButton 192 id: bccButton
194 193
195 text: "Bcc" 194 text: "Bcc"
@@ -208,7 +207,7 @@ Controls2.Popup {
208 207
209 height: subject.height * 1.5 208 height: subject.height * 1.5
210 209
211 Controls.Button { 210 Controls2.Button {
212 211
213 anchors { 212 anchors {
214 bottom: parent.bottom 213 bottom: parent.bottom
@@ -231,7 +230,7 @@ Controls2.Popup {
231 230
232 model: composer.attachments 231 model: composer.attachments
233 232
234 delegate: Kirigami.Label { 233 delegate: Controls2.Label {
235 id: name 234 id: name
236 235
237 text: modelData 236 text: modelData
@@ -247,7 +246,7 @@ Controls2.Popup {
247 } 246 }
248 */ 247 */
249 248
250 Controls.TextArea { 249 Controls2.TextArea {
251 id: content 250 id: content
252 251
253 text: composer.body 252 text: composer.body
@@ -265,7 +264,7 @@ Controls2.Popup {
265 264
266 width: parent.width 265 width: parent.width
267 266
268 Controls.Button { 267 Controls2.Button {
269 268
270 text: "Discard" 269 text: "Discard"
271 270
@@ -279,7 +278,7 @@ Controls2.Popup {
279 } 278 }
280 279
281 280
282 Controls.Button { 281 Controls2.Button {
283 282
284 text: "Save as Draft" 283 text: "Save as Draft"
285 284
@@ -289,7 +288,7 @@ Controls2.Popup {
289 } 288 }
290 } 289 }
291 290
292 Controls.Button { 291 Controls2.Button {
293 text: "Send" 292 text: "Send"
294 293
295 onClicked: { 294 onClicked: {