QDateEdit - Change the font color of the Date , if it is a Holiday?
-
Hi...
I have a QDateEdit. In that if the user enters a Date, which is of a holiday, then the color of the date should be changed to indicate that the mentioned date was a holiday... How can i specify the QDateEdit that these are the Holidays and only the color of these Dates should be changed.. Please post your suggestions....
Example: If the user enters, (12-25-yyyy) then color of the Date should be changed to indicate the user that this date is invalid.
and if he enters (02-27-2013) then it should display it as normal.Thanks & Regards...
-
Thanks utcenter for your suggestion...
Another thing, I am trying to create a custom calendar widget, in that the weekends are already shown in red color. Now i just want to change the color of the public holidays in red color. How can i do that in a QCalendar Widget.
Thanks & Regards...