[calendar] Fix some missing properties and property settings
This commit is contained in:
parent
89d79f9127
commit
f746db2878
@ -47,9 +47,12 @@ PinchArea {
|
||||
property Item selectedItem
|
||||
property int week;
|
||||
property int firstDay: new Date(showDate.getFullYear(), showDate.getMonth(), 1).getDay()
|
||||
property date today
|
||||
property alias today: calendarBackend.today
|
||||
property bool showWeekNumbers: false
|
||||
|
||||
property alias cellHeight: mainDaysCalendar.cellHeight
|
||||
property QtObject daysModel: calendarBackend.daysModel
|
||||
|
||||
onPinchStarted: stack.currentItem.transformOrigin = pinch.center
|
||||
onPinchUpdated: {
|
||||
var item = stack.currentItem
|
||||
@ -292,4 +295,8 @@ PinchArea {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
root.currentDate = calendarBackend.today
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user