[Qt-interest] get rid if focus rect of widgets on mac
Andrei Cimpean
andreiamenta at gmail.com
Mon May 10 20:57:46 CEST 2010
Hello everybody. I am having some interface problems with a program on macs. Don't know why but it always draws a blue border when a widget gets focus and I have no idea how to get rid of that.
I searched for fixes using the power of google but kind off failed to achieve something. I found a few moments ago this post http://stackoverflow.com/questions/1987546/qt4-stylesheets-and-focus-rect but the working tip is unusable -> ( tree.setAttribute(Qt.WA_MacShowFocusRect, 0) ) and the other suggestion, a long one with delegates seems really dumb and long. Isn't there a simple way to achieve what i'm searching for?
Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-05-10 at 9.47.35 PM.png
Type: image/png
Size: 21616 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100510/934576a7/attachment.png
More information about the Qt-interest-old
mailing list