[Qt-interest] Question about StyleSheets
André Fillipe
andref at syst.com.br
Thu Jul 29 23:41:32 CEST 2010
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
More information about the Qt-interest-old
mailing list