summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2018-04-05 10:48:27 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2018-04-19 11:36:49 +0200
commite3dcf07d1f4fe97c3c4dab47ecb67901e1553d10 (patch)
tree2cfe0ea88954c0068191ebfa2783cf4bb9903a62 /views
parent925834d2f380dd85336f852795226e2ac6d8ec42 (diff)
downloadkube-e3dcf07d1f4fe97c3c4dab47ecb67901e1553d10.tar.gz
kube-e3dcf07d1f4fe97c3c4dab47ecb67901e1553d10.zip
initial event view
Diffstat (limited to 'views')
-rw-r--r--views/calendar/qml/EventView.qml94
1 files changed, 94 insertions, 0 deletions
diff --git a/views/calendar/qml/EventView.qml b/views/calendar/qml/EventView.qml
new file mode 100644
index 00000000..c2ba68f0
--- /dev/null
+++ b/views/calendar/qml/EventView.qml
@@ -0,0 +1,94 @@
1/*
2 * Copyright (C) 2018 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
19import QtQuick 2.4
20import QtQuick.Layouts 1.1
21import QtQuick.Controls 2.3
22import Qt.labs.calendar 1.0
23
24import org.kube.framework 1.0 as Kube
25
26FocusScope {
27 id: root
28
29 Rectangle {
30 anchors {
31 top: parent.top
32 topMargin: Kube.Units.largeSpacing
33 horizontalCenter: parent.horizontalCenter
34 }
35
36 width: Kube.Units.gridUnit * 7 * 7 + Kube.Units.gridUnit * 2
37 height: Kube.Units.gridUnit * 27
38
39 color: Kube.Colors.viewBackgroundColor
40
41 Column {
42
43 anchors {
44 fill: parent
45 margins: Kube.Units.smallSpacing
46 }
47
48 spacing: Kube.Units.largeSpacing
49
50 Kube.TextField {
51 width: parent.width
52 placeholderText: "Titel"
53 }
54 RowLayout {
55 spacing: Kube.Units.smallSpacing
56
57 Kube.ComboBox {
58
59 }
60
61 Kube.Label {
62 text: "till"
63 }
64
65 Kube.ComboBox {
66
67 }
68 }
69
70 RowLayout {
71 spacing: Kube.Units.largeSpacing
72
73 RowLayout {
74 Layout.fillHeight: true
75 Kube.CheckBox {
76 }
77
78 Kube.Label {
79 text: "daylong"
80 }
81 }
82
83 Kube.ComboBox {
84 model: ["once", "reoccuring"]
85 }
86 }
87
88 Kube.TextEditor {
89 width: parent.width
90 height: 200
91 }
92 }
93 }
94}