[Interest] QCommandLinkButton foreground color
andre at familiesomers.nl
Thu Sep 27 10:23:32 CEST 2012
Op 27-9-2012 1:06, Paolino Marmolaro schreef:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest