[Qt-interest] Style sheet mistakes
David Ching
dc at remove-this.dcsoft.com
Sun Sep 27 06:22:57 CEST 2009
"David Walthall" <walthall at wavefun.com> wrote in message
news:4ABCF742.4090002 at wavefun.com...
> if you want to check your
> sytlesheet, you can do so in Designer. Open designer, create a QWidget.
> In the property editor, click on styleSheet, then click the "..."
> button to bring up the Edit Style Sheet dialog. While it does not give
> an indication of why the style sheet is wrong, it will at least tell you
> if it is valid.
>
I believe the checking is a basic syntax check and nothing else. It doesn't
tell you if you specify properties that don't exist on the widget, for
example. So this offers very limited help to me, although some is better
than none.
What I have problems with is there is no way to query WHY e.g. a font
appears bold. It doesn't let you browse the CSS tree to tell where the
property was set that way, leaving you trial and error.
-- David
More information about the Qt-interest-old
mailing list