diff options
Diffstat (limited to 'components/package/contents/ui/EditAccountDialog.qml')
-rw-r--r-- | components/package/contents/ui/EditAccountDialog.qml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/components/package/contents/ui/EditAccountDialog.qml b/components/package/contents/ui/EditAccountDialog.qml new file mode 100644 index 00000000..2fac4227 --- /dev/null +++ b/components/package/contents/ui/EditAccountDialog.qml | |||
@@ -0,0 +1,55 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 Michael Bohlender <michael.bohlender@kdemail.net> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 3 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | import QtQuick 2.4 | ||
19 | import QtQuick.Controls 1.4 | ||
20 | import QtQuick.Layouts 1.1 | ||
21 | |||
22 | import org.kde.kirigami 1.0 as Kirigami | ||
23 | |||
24 | import org.kube.framework.settings 1.0 as KubeSettings | ||
25 | import org.kube.framework.domain 1.0 as KubeFramework | ||
26 | import org.kube.framework.theme 1.0 | ||
27 | |||
28 | Rectangle { | ||
29 | id: root | ||
30 | |||
31 | color: ColorPalette.border | ||
32 | |||
33 | opacity: 0.9 | ||
34 | |||
35 | MouseArea { | ||
36 | anchors.fill: parent | ||
37 | onClicked: { | ||
38 | root.destroy() | ||
39 | } | ||
40 | } | ||
41 | |||
42 | Rectangle { | ||
43 | id: dialog | ||
44 | anchors.centerIn: parent | ||
45 | |||
46 | height: root.height * 0.8 | ||
47 | width: root.width * 0.8 | ||
48 | |||
49 | color: ColorPalette.background | ||
50 | |||
51 | MouseArea { | ||
52 | anchors.fill: parent | ||
53 | } | ||
54 | } | ||
55 | } | ||