diff options
Diffstat (limited to 'components/package/contents/ui/OverlayDialog.qml')
-rw-r--r-- | components/package/contents/ui/OverlayDialog.qml | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/components/package/contents/ui/OverlayDialog.qml b/components/package/contents/ui/OverlayDialog.qml deleted file mode 100644 index 760fb12e..00000000 --- a/components/package/contents/ui/OverlayDialog.qml +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
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 2 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 along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | import QtQuick 2.4 | ||
20 | import QtQuick.Controls 1.4 | ||
21 | import QtQuick.Layouts 1.1 | ||
22 | |||
23 | import org.kde.kirigami 1.0 as Kirigami | ||
24 | |||
25 | import org.kube.framework.settings 1.0 as KubeSettings | ||
26 | import org.kube.framework.domain 1.0 as KubeFramework | ||
27 | import org.kube.components.theme 1.0 as KubeTheme | ||
28 | |||
29 | Item { | ||
30 | id: root | ||
31 | |||
32 | function closeDialog() { | ||
33 | root.destroy(); | ||
34 | } | ||
35 | |||
36 | Rectangle { | ||
37 | id: background | ||
38 | anchors.fill: parent | ||
39 | |||
40 | color: "black" | ||
41 | opacity: 0.6 | ||
42 | } | ||
43 | |||
44 | MouseArea { | ||
45 | anchors.fill: parent | ||
46 | onClicked: { | ||
47 | root.closeDialog() | ||
48 | } | ||
49 | } | ||
50 | |||
51 | Rectangle { | ||
52 | id: dialog | ||
53 | anchors.centerIn: parent | ||
54 | |||
55 | height: root.height * 0.8 | ||
56 | width: root.width * 0.8 | ||
57 | |||
58 | color: KubeTheme.Colors.backgroundColor | ||
59 | |||
60 | MouseArea { | ||
61 | anchors.fill: parent | ||
62 | } | ||
63 | } | ||
64 | } | ||