From b7fb9280032bde10ab942d0f2eeae50366a3dfda Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 10 Apr 2018 16:19:58 +0200 Subject: Implement the EventTreeModel + move test data in that model --- views/calendar/qml/WeekView.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'views/calendar/qml/WeekView.qml') diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 8eef3a92..877500c5 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml @@ -212,12 +212,12 @@ FocusScope { right: parent.right rightMargin: Kube.Units.smallSpacing } - width: Kube.Units.gridUnit * 7 - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.indention - height: Kube.Units.gridUnit * model.duration - y: Kube.Units.gridUnit * model.starts - x: Kube.Units.gridUnit * model.indention + width: Kube.Units.gridUnit * 7 - Kube.Units.smallSpacing * 2 - Kube.Units.gridUnit * model.modelData.indention + height: Kube.Units.gridUnit * model.modelData.duration + y: Kube.Units.gridUnit * model.modelData.starts + x: Kube.Units.gridUnit * model.modelData.indention - color: model.color + color: model.modelData.color border.width: 1 border.color: Kube.Colors.viewBackgroundColor @@ -226,7 +226,7 @@ FocusScope { left: parent.left leftMargin: Kube.Units.smallSpacing } - text: model.text + text: model.modelData.text color: Kube.Colors.highlightedTextColor } -- cgit v1.2.3