[Qt-interest] Question about StyleSheets
Rob Simmermon
rob.simmermon at simmtechsolutions.com
Fri Jul 30 16:45:29 CEST 2010
I am setting teh stylesheet on the QApplication object. I have tried
using WgtLogViewer as you specified, but it still doesn't work.
Quoting André Fillipe <andref at syst.com.br>:
> On 29 July 2010 17:08, Rob Simmermon
> <rob.simmermon at simmtechsolutions.com> wrote:
>> I’m starting to use stylesheets now in my Qt Apps. I have a Widget called
>> WgtLogViewer that I call “setObjectName” in the constructor to set the
>> object name to “LogViewer”.
>>
>> Then in my stylesheet I have:
>
> Where do you set your stylesheet? Is it global (set on QApplication)?
> The class WgtLogViewer derives from gets properly styled in the same
> situation? Also, have you tried using
>
> WgtLogViewer {
> ...
> }
>
> instead?
>
> --
> André Fillipe
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
Rob Simmermon
SIMMTECH Solutions
411 N. Blanche Ave.
Madison, SD 57042
http://www.simmtechsolutions.com
E - rob.simmermon at simmtechsolutions.com
T - (605) 868-9404
F - (866) 260-2036
More information about the Qt-interest-old
mailing list