how to redraw certain items of a Calendar or just the selected one?
Unsolved
QML and Qt Quick
-
Hi,
I'm using the old Qt Quick Controls 1 - Calendar Example
I've added a listener on long press that opens a Menu where several action should trigger a refresh of the selected date.
How can I manage that? I've access tocalendar.selectedDate
but how how to force the redraw of only this delegate? Any tricks to achieve it?I've seen there is the non deprecated CalendarModel in
Qt.labs.calendar
that is using MonthGrid as delegate but I guess I'd have the same issue...
I could connect toMonthGrid::clicked(date date)
but then how to force the repaint of the corresponding delegate only?