diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:25:30 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-18 16:25:30 +0200 |
commit | 4b23da770d606e94ef07a95f726af036ac96a94e (patch) | |
tree | e8f19ef70c5293685cad123aff85143579319f6b | |
parent | 72e9b822a162d54e68e57ba40a3076892ab10caf (diff) | |
download | kube-4b23da770d606e94ef07a95f726af036ac96a94e.tar.gz kube-4b23da770d606e94ef07a95f726af036ac96a94e.zip |
load account config UI in account config dialog
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 20 | ||||
-rw-r--r-- | components/package/contents/ui/EditAccountDialog.qml | 7 |
2 files changed, 18 insertions, 9 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index da878acf..6a9d2deb 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -165,16 +165,20 @@ Button { | |||
165 | onClicked: { | 165 | onClicked: { |
166 | editAccountComponent.createObject(app) | 166 | editAccountComponent.createObject(app) |
167 | } | 167 | } |
168 | } | ||
169 | } | ||
170 | } | ||
171 | 168 | ||
172 | Component { | 169 | Component { |
173 | id: editAccountComponent | 170 | id: editAccountComponent |
171 | |||
172 | KubeComponents.EditAccountDialog { | ||
173 | id: editAccount | ||
174 | 174 | ||
175 | KubeComponents.EditAccountDialog { | 175 | anchors.fill: parent |
176 | id: editAccount | 176 | |
177 | anchors.fill: parent | 177 | //accountId: accountFactory.accountId |
178 | uiSource: accountFactory.uiPath | ||
179 | } | ||
180 | } | ||
181 | } | ||
178 | } | 182 | } |
179 | } | 183 | } |
180 | } | 184 | } |
diff --git a/components/package/contents/ui/EditAccountDialog.qml b/components/package/contents/ui/EditAccountDialog.qml index 2fac4227..24f8b5e2 100644 --- a/components/package/contents/ui/EditAccountDialog.qml +++ b/components/package/contents/ui/EditAccountDialog.qml | |||
@@ -28,8 +28,9 @@ import org.kube.framework.theme 1.0 | |||
28 | Rectangle { | 28 | Rectangle { |
29 | id: root | 29 | id: root |
30 | 30 | ||
31 | color: ColorPalette.border | 31 | property variant uiSource |
32 | 32 | ||
33 | color: ColorPalette.border | ||
33 | opacity: 0.9 | 34 | opacity: 0.9 |
34 | 35 | ||
35 | MouseArea { | 36 | MouseArea { |
@@ -51,5 +52,9 @@ Rectangle { | |||
51 | MouseArea { | 52 | MouseArea { |
52 | anchors.fill: parent | 53 | anchors.fill: parent |
53 | } | 54 | } |
55 | |||
56 | Loader { | ||
57 | source: uiSource | ||
58 | } | ||
54 | } | 59 | } |
55 | } | 60 | } |