summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-05-03 19:15:01 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-05-03 19:15:01 +0200
commit76bfb7517b9060ed258b95d793d2933e786c6fc8 (patch)
tree509d619ccbf2f5087aac57bf5c77599c6a3216bf
parent8750ca2b3c5508381d3ef5f61ea14b2ea6e8d2f6 (diff)
downloadkube-76bfb7517b9060ed258b95d793d2933e786c6fc8.tar.gz
kube-76bfb7517b9060ed258b95d793d2933e786c6fc8.zip
port EditAccount to Kube controls
-rw-r--r--framework/qml/EditAccount.qml20
1 files changed, 9 insertions, 11 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml
index a9a8c1ad..d5e3379a 100644
--- a/framework/qml/EditAccount.qml
+++ b/framework/qml/EditAccount.qml
@@ -19,8 +19,6 @@
19 19
20import QtQuick 2.7 20import QtQuick 2.7
21import QtQuick.Layouts 1.1 21import QtQuick.Layouts 1.1
22import QtQuick.Controls 1.4 as Controls
23import QtQuick.Controls 2.0 as Controls2
24import org.kde.kirigami 1.0 as Kirigami 22import org.kde.kirigami 1.0 as Kirigami
25import org.kube.framework 1.0 as Kube 23import org.kube.framework 1.0 as Kube
26 24
@@ -38,7 +36,7 @@ Item {
38 36
39 anchors { 37 anchors {
40 fill: parent 38 fill: parent
41 margins: Kirigami.Units.largeSpacing * 2 39 margins: Kube.Units.largeSpacing * 2
42 } 40 }
43 41
44 Kirigami.Heading { 42 Kirigami.Heading {
@@ -47,7 +45,7 @@ Item {
47 color: Kube.Colors.highlightColor 45 color: Kube.Colors.highlightColor
48 } 46 }
49 47
50 Kirigami.Label { 48 Kube.Label {
51 id: subHeadline 49 id: subHeadline
52 50
53 anchors { 51 anchors {
@@ -67,7 +65,7 @@ Item {
67 top:subHeadline.bottom 65 top:subHeadline.bottom
68 left: parent.left 66 left: parent.left
69 right: parent.right 67 right: parent.right
70 topMargin: Kirigami.Units.largeSpacing * 2 68 topMargin: Kube.Units.largeSpacing * 2
71 } 69 }
72 70
73 Loader { 71 Loader {
@@ -96,25 +94,25 @@ Item {
96 bottom: parent.bottom 94 bottom: parent.bottom
97 left: parent.left 95 left: parent.left
98 right: parent.right 96 right: parent.right
99 topMargin: Kirigami.Units.largeSpacing * 2 97 topMargin: Kube.Units.largeSpacing * 2
100 } 98 }
101 99
102 columns: 2 100 columns: 2
103 columnSpacing: Kirigami.Units.largeSpacing 101 columnSpacing: Kube.Units.largeSpacing
104 rowSpacing: Kirigami.Units.largeSpacing 102 rowSpacing: Kube.Units.largeSpacing
105 103
106 Item { 104 Item {
107 Layout.fillHeight: true 105 Layout.fillHeight: true
108 } 106 }
109 107
110 Kirigami.Label { 108 Kube.Label {
111 text: "" 109 text: ""
112 } 110 }
113 111
114 Item { 112 Item {
115 Layout.fillWidth: true 113 Layout.fillWidth: true
116 114
117 Controls.Button { 115 Kube.Button {
118 text: "Discard" 116 text: "Discard"
119 117
120 onClicked: { 118 onClicked: {
@@ -123,7 +121,7 @@ Item {
123 } 121 }
124 } 122 }
125 123
126 Controls.Button { 124 Kube.Button {
127 anchors.right: parent.right 125 anchors.right: parent.right
128 text: "Save" 126 text: "Save"
129 onClicked: { 127 onClicked: {