diff options
Diffstat (limited to 'components/package/contents/ui/NewAccountDialog.qml')
-rw-r--r-- | components/package/contents/ui/NewAccountDialog.qml | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/components/package/contents/ui/NewAccountDialog.qml b/components/package/contents/ui/NewAccountDialog.qml index fd1eeaec..3be72a78 100644 --- a/components/package/contents/ui/NewAccountDialog.qml +++ b/components/package/contents/ui/NewAccountDialog.qml | |||
@@ -23,38 +23,19 @@ import org.kde.kirigami 1.0 as Kirigami | |||
23 | 23 | ||
24 | import org.kube.framework.settings 1.0 as KubeSettings | 24 | import org.kube.framework.settings 1.0 as KubeSettings |
25 | import org.kube.framework.domain 1.0 as KubeFramework | 25 | import org.kube.framework.domain 1.0 as KubeFramework |
26 | import org.kube.components 1.0 as KubeComponents | ||
26 | 27 | ||
27 | Item { | 28 | KubeComponents.OverlayDialog { |
28 | id: root | 29 | id: root |
29 | 30 | ||
30 | Rectangle { | 31 | Item { |
31 | id: background | ||
32 | anchors.fill: parent | ||
33 | |||
34 | color: "black" | ||
35 | opacity: 0.6 | ||
36 | } | ||
37 | |||
38 | MouseArea { | ||
39 | anchors.fill: parent | ||
40 | onClicked: { | ||
41 | root.destroy() | ||
42 | } | ||
43 | } | ||
44 | |||
45 | Rectangle { | ||
46 | id: dialog | 32 | id: dialog |
33 | |||
47 | anchors.centerIn: parent | 34 | anchors.centerIn: parent |
48 | 35 | ||
49 | height: root.height * 0.8 | 36 | height: root.height * 0.8 |
50 | width: root.width * 0.8 | 37 | width: root.width * 0.8 |
51 | 38 | ||
52 | color: Kirigami.Theme.backgroundColor | ||
53 | |||
54 | MouseArea { | ||
55 | anchors.fill: parent | ||
56 | } | ||
57 | |||
58 | ToolBar { | 39 | ToolBar { |
59 | id: toolBar | 40 | id: toolBar |
60 | anchors { | 41 | anchors { |