summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/todo/qml/View.qml46
1 files changed, 37 insertions, 9 deletions
diff --git a/views/todo/qml/View.qml b/views/todo/qml/View.qml
index ef3cc0bd..e19e2fb0 100644
--- a/views/todo/qml/View.qml
+++ b/views/todo/qml/View.qml
@@ -16,18 +16,46 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.4 19import QtQuick 2.9
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.2
21import QtQuick.Controls 2.0 21
22import org.kube.framework 1.0 as Kube 22import org.kube.framework 1.0 as Kube
23 23
24
24FocusScope { 25FocusScope {
25 id: root 26 id: root
26 27
27 Kube.Label { 28 RowLayout {
28 anchors { 29 anchors.fill: parent
29 centerIn: parent 30
30 } 31 Rectangle {
31 text: "ToDo" 32 width: Kube.Units.gridUnit * 10
32 } 33 Layout.fillHeight: parent.height
34 color: Kube.Colors.textColor
35
36 Kube.PositiveButton {
37 id: newTaskButton
38 objectName: "newTaskButton"
39
40 anchors {
41 top: parent.top
42 left: parent.left
43 right: parent.right
44 margins: Kube.Units.largeSpacing
45 }
46 focus: true
47 text: qsTr("New Task")
48 onClicked: {}
49 }
50 }
51
52 Rectangle {
53 }
54 }
33} 55}
56
57
58
59
60
61