[Interest] QCommandLinkButton foreground color

Paolino Marmolaro paolino.marmolaro at gmail.com
Thu Sep 27 22:28:54 CEST 2012


The style sheet works fine.
thanks.
Paolino

2012/9/27 André Somers <andre at familiesomers.nl>

>  Op 27-9-2012 1:06, Paolino Marmolaro schreef:
>
> Hi,
> I'm trying to change the foreground color to a QCommandLinkButton, but it
> seems to have a fixed RGB in the paintEvent method.
>
>
> The button is renderend through the QStyle API. The style you use probably
> doesn't use the palette, as many of the modern desktop styles. They use
> platform definitions or even the actual drawing routines of the platform to
> render widgets. However, they will respond to style sheets.
>
> André
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120927/78cf627c/attachment.html>


More information about the Interest mailing list