[PyQt] PYQT Style Sheet Syntax for ID Selector
Albert Cervera i Areny
albert at nan-tic.com
Sun Feb 13 21:08:18 GMT 2011
A Diumenge, 13 de febrer de 2011 21:36:41, Mike Osborne va escriure:
> I'm taking my first foray into pyqt style sheets. The Trolltech QT Style
> Sheet reference guide discusses ways to limit the scope of a style sheet
> property to a particular instance of a class by using the '#' delimiter
> (e.g. QListView#mylistview). But when I use this within the style sheet
> string, it doesn't appear to work.
>
> I either am not naming my object correctly or pyqt needs some other syntax
> to accomplish this. Pointers?
I assume you're using setObjectName(), aren't you?
>
> Thanks,
>
> Mike
--
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partners
Tel: +34 93 553 18 03
skype: nan-oficina
http://twitter.com/albertnan
http://www.nan-tic.com/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110213/3bd064d7/attachment.html>
More information about the PyQt
mailing list