Commit d930ffa6 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Move internal view of schedule view out into SwipeableMonthListView



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent a82927cb
This diff is collapsed.
This diff is collapsed.
......@@ -1034,12 +1034,11 @@ Kirigami.ApplicationWindow {
titleDateButton.date: scheduleView.startDate
titleDateButton.onClicked: dateChangeDrawer.active = !dateChangeDrawer.active
}
selectedDate: root.selectedDate
currentDate: root.selectedDate
openOccurrence: root.openOccurrence
onDayChanged: if(day !== root.selectedDate.getDate() && !initialMonth) root.selectedDate = new Date (year, month, day)
onMonthChanged: if(month !== root.selectedDate.getMonth() && !initialMonth) root.selectedDate = new Date (year, month, day)
onYearChanged: if(year !== root.selectedDate.getFullYear() && !initialMonth) root.selectedDate = new Date (year, month, day)
onMonthChanged: if(month !== root.selectedDate.getMonth() && !initialMonth) root.selectedDate = new Date (year, month, 1)
onYearChanged: if(year !== root.selectedDate.getFullYear() && !initialMonth) root.selectedDate = new Date (year, month, 1)
actions.contextualActions: createAction
}
......
......@@ -22,6 +22,7 @@ SPDX-License-Identifier: CC0-1.0
<file alias="SwipeableMonthGridView.qml">contents/ui/MainViews/SwipeableMonthGridView.qml</file>
<file alias="BasicMonthGridView.qml">contents/ui/MainViews/BasicMonthGridView.qml</file>
<file alias="MonthView.qml">contents/ui/MainViews/MonthView.qml</file>
<file alias="SwipeableMonthListView.qml">contents/ui/MainViews/SwipeableMonthListView.qml</file>
<file alias="ScheduleView.qml">contents/ui/MainViews/ScheduleView.qml</file>
<file alias="TodoTreeView.qml">contents/ui/MainViews/TodoTreeView.qml</file>
<file alias="TodoView.qml">contents/ui/MainViews/TodoView.qml</file>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment