[Qt-interest] Stylesheet styling for QCalendarWidget
Efan...
efanharris at gmail.com
Fri Feb 27 19:56:59 CET 2009
Hi Moonen,
Well QCalaendarWidget is not supported with sylesheet officially as you can
not see about it in Assistant.
so what I can think as an ulternate is to get the pointer of the tableview
and model which is being used inside and use your own delegate to change the
color of these cells.
( I have not tried though)
Efan..
On Fri, Feb 27, 2009 at 6:29 AM, Guido Moonen <gmoonen at nr34.nl> wrote:
> Hi All,
>
> I would like to style the QCalendarWidget from the QT 4.4.3
>
> Some of the styles from the stylesheet are used in the widget like
> "Color" and "Background-color", but some styles like the color of the
> sun/sat dates and the background of the weekday names don't react to
> those settings.
>
> When I'm looking in the source code of the QCalendarWidget I can see it
> uses the QPalette alternate-base as color for some of the parts in the
> widget, is it possible to set that color from a stylesheet?
>
> Anybody any advice of where to look?
>
> Thanks in advance,
> Guido Moonen
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090227/a5fc6770/attachment.html
More information about the Qt-interest-old
mailing list