[Interest] QWidget style change and reverting it back

Thiago Macieira thiago.macieira at intel.com
Wed Feb 10 00:21:43 CET 2016


On terça-feira, 9 de fevereiro de 2016 21:48:26 PST Prav wrote:
> > The QStyleSheetStyle class is supposed to mimic the
> > platform's style, but it exists in the first place in order to do things
> > that are not possible with the platform's style.
> 
> OK ... how one can understand which properties of style-sheet language are
> "possible with the platform's style" (to be able to avoid this bad-mimic
> behaviour of QStyleSheetStyle class as much as possible)?

Assume that whenever you use stylesheets, your widgets may look completely 
different from what it would otherwise look.

As I said, you're using style sheets BECAUSE you want to have an alien (non-
native) look and feel. So accept they will look different.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list