summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-29 22:02:37 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-31 08:56:16 +0100
commitbbd2a1ffbe1408d21e7980880796f99d98aa23de (patch)
treea3c26d77d52254026fb942cfb89a87f0c8c25b91 /components
parent6d2699c73a27078343037235b9bdcd7112320ab2 (diff)
downloadkube-bbd2a1ffbe1408d21e7980880796f99d98aa23de.tar.gz
kube-bbd2a1ffbe1408d21e7980880796f99d98aa23de.zip
Upgrade screen
Diffstat (limited to 'components')
-rw-r--r--components/kube/qml/upgrade.qml47
1 files changed, 47 insertions, 0 deletions
diff --git a/components/kube/qml/upgrade.qml b/components/kube/qml/upgrade.qml
new file mode 100644
index 00000000..8548b54d
--- /dev/null
+++ b/components/kube/qml/upgrade.qml
@@ -0,0 +1,47 @@
1/*
2 * Copyright (C) 2017 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.7
20import QtQuick 2.7
21import QtQuick.Layouts 1.3
22import QtQuick.Window 2.0
23
24import QtQuick.Controls 2.0 as Controls2
25import org.kube.framework 1.0 as Kube
26
27Controls2.ApplicationWindow {
28 id: app
29 height: Screen.desktopAvailableHeight * 0.4
30 width: Screen.desktopAvailableWidth * 0.4
31 visible: true
32 font.family: Kube.Font.fontFamily
33 ColumnLayout {
34 anchors {
35 centerIn: parent
36 margins: Kube.Units.largeSpacing
37 }
38 spacing: 0
39 Kube.Heading {
40 text: qsTr("Please wait while Kube is upgrading...")
41 color: Kube.Colors.highlightColor
42 }
43 Kube.Label {
44 text: qsTr("This might take a while.")
45 }
46 }
47}