summaryrefslogtreecommitdiffstats
path: root/framework/qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml')
-rw-r--r--framework/qml/MailListView.qml1
-rw-r--r--framework/qml/OverlayDialog.qml61
-rw-r--r--framework/qml/TreeView.qml4
-rw-r--r--framework/qml/View.qml1
4 files changed, 2 insertions, 65 deletions
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml
index ff72a59c..f5806d82 100644
--- a/framework/qml/MailListView.qml
+++ b/framework/qml/MailListView.qml
@@ -18,7 +18,6 @@
18 18
19import QtQuick 2.9 19import QtQuick 2.9
20import QtQuick.Controls 2.0 20import QtQuick.Controls 2.0
21import QtQuick.Controls 1.4 as Controls
22import QtQuick.Layouts 1.1 21import QtQuick.Layouts 1.1
23 22
24import org.kube.framework 1.0 as Kube 23import org.kube.framework 1.0 as Kube
diff --git a/framework/qml/OverlayDialog.qml b/framework/qml/OverlayDialog.qml
deleted file mode 100644
index 4334754f..00000000
--- a/framework/qml/OverlayDialog.qml
+++ /dev/null
@@ -1,61 +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
19import QtQuick 2.4
20import QtQuick.Controls 1.4
21import QtQuick.Layouts 1.1
22
23import org.kube.framework 1.0 as Kube
24
25
26Item {
27 id: root
28
29 function closeDialog() {
30 root.destroy();
31 }
32
33 Rectangle {
34 id: background
35 anchors.fill: parent
36
37 color: "black"
38 opacity: 0.6
39 }
40
41 MouseArea {
42 anchors.fill: parent
43 onClicked: {
44 root.closeDialog()
45 }
46 }
47
48 Rectangle {
49 id: dialog
50 anchors.centerIn: parent
51
52 height: root.height * 0.8
53 width: root.width * 0.8
54
55 color: Kube.Colors.backgroundColor
56
57 MouseArea {
58 anchors.fill: parent
59 }
60 }
61}
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml
index 7b9a1103..21345fb0 100644
--- a/framework/qml/TreeView.qml
+++ b/framework/qml/TreeView.qml
@@ -18,7 +18,7 @@
18*/ 18*/
19 19
20import QtQuick 2.4 20import QtQuick 2.4
21import QtQuick.Controls 1.4 21import QtQuick.Controls 1.4 as Controls1
22import QtQuick.Controls 2 as Controls2 22import QtQuick.Controls 2 as Controls2
23import QtQuick.Controls.Styles 1.4 23import QtQuick.Controls.Styles 1.4
24import QtQuick.Layouts 1.1 24import QtQuick.Layouts 1.1
@@ -60,7 +60,7 @@ FocusScope {
60 flickable: flickableItem 60 flickable: flickableItem
61 } 61 }
62 62
63 TreeView { 63 Controls1.TreeView {
64 id: treeView 64 id: treeView
65 65
66 anchors { 66 anchors {
diff --git a/framework/qml/View.qml b/framework/qml/View.qml
index e5a4c274..b0c108fc 100644
--- a/framework/qml/View.qml
+++ b/framework/qml/View.qml
@@ -19,7 +19,6 @@
19 19
20 20
21import QtQuick 2.7 21import QtQuick 2.7
22import QtQuick.Controls 1.3
23import QtQuick.Controls 2.0 as Controls2 22import QtQuick.Controls 2.0 as Controls2
24import QtQuick.Layouts 1.1 23import QtQuick.Layouts 1.1
25import org.kube.framework 1.0 as Kube 24import org.kube.framework 1.0 as Kube