[Qt-interest] Set background color of a QPushButton for Windows XP

Andre Somers andre at familiesomers.nl
Fri Sep 17 13:19:22 CEST 2010


  Op 17-9-2010 12:24, Valentina Masi schreef:
> It works well. Thank you.
> Now, I have a similar problem with QTableWidget header.
> I tried to set stylesheet:
>
> myTableWidget->horizontalHeader()->setStyleSheet("background-color: 
> rgb(255,0,0);");
>
> But it doesn't work in Windows XP.
> How can it fix the question?
>
Try the manual next time:
http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html#customizing-qheaderview

André

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100917/6d2150f7/attachment.html 


More information about the Qt-interest-old mailing list