ouekah
24th April 2010, 15:07
Hi,
is there a way to modify the text format of a single date in the QCalendarWidget ?
I'm looking for a function which looks like:
setDateTextFormat(QDate date, const QTextCharFormat & format )
I have found:
void QCalendarWidget::setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format )
But this is not flexible enough for what I want to do...
Any ideas ?
is there a way to modify the text format of a single date in the QCalendarWidget ?
I'm looking for a function which looks like:
setDateTextFormat(QDate date, const QTextCharFormat & format )
I have found:
void QCalendarWidget::setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format )
But this is not flexible enough for what I want to do...
Any ideas ?