diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-06 13:20:47 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-06 13:20:47 +0200 |
commit | d549f1ba32c391490abe34251ef60bb59df39f98 (patch) | |
tree | 78dd7815df8675a9ba97d96425323dafcfff41fd /framework/qml/Popup.qml | |
parent | 872bb7b30eeba9147f7b029fd88456679eb9f854 (diff) | |
download | kube-d549f1ba32c391490abe34251ef60bb59df39f98.tar.gz kube-d549f1ba32c391490abe34251ef60bb59df39f98.zip |
introduce Kube.Popup
Diffstat (limited to 'framework/qml/Popup.qml')
-rw-r--r-- | framework/qml/Popup.qml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/framework/qml/Popup.qml b/framework/qml/Popup.qml new file mode 100644 index 00000000..6a74fd12 --- /dev/null +++ b/framework/qml/Popup.qml | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2017 Michael Bohlender, <bohlender@kolabsys.com> | ||
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.8 | ||
20 | import QtQuick.Templates 2.1 as T | ||
21 | import org.kube.framework 1.0 | ||
22 | |||
23 | T.Popup { | ||
24 | id: root | ||
25 | |||
26 | padding: Units.largeSpacing | ||
27 | |||
28 | background: Rectangle { | ||
29 | color: Colors.backgroundColor | ||
30 | } | ||
31 | } | ||