PDA

View Full Version : Disable OS's focus highlight



Oleg
19th February 2010, 13:35
Trying to style my app with style sheets I got stuck with element's focus attributes that are inherited from OS's theme.
For example this QCheckBox:
http://img694.imageshack.us/img694/91/mediaget002.th.png (http://img694.imageshack.us/img694/91/mediaget002.png)
I cannot remove brown frame. How can I do it?
Thanks.

Oleg
19th February 2010, 15:10
Fixed setting FocusPolicy to Qt::NoFocus.
Sorry :(