Calendar Widget - Change cell colour
I would like to change individual cells of the calendar widget to match values stored in a DB, I.e the cell of days matching a certain event are a certain colour.
I cannot find anything directly relating to this issue in the documentation.
I am otherwise entirely satisfied with the Calendar widget implemented in my application so if I can change this directly as opposed to build a calendar from a table widget, I'd like that.
Thank you
Re: Calendar Widget - Change cell colour
Hi, maybe you can overload QCalendarwidget::paintCell() and paint the cell in the color of your choice.
Ginsengelf