PDA

View Full Version : Focus Frame only visible on MacOS X



Markus
12th August 2010, 22:54
Dear all,

I have a simple custom class derived from QWidget. On Mac OS X it gets a blue focus frame drawn as soon as it get the focus. This frame does no show on Windows. I use:



setFocusPolicy(Qt::StrongFocus);
setAttribute( Qt::WA_MacShowFocusRect);

Any suggestion on how to get that or a similar focus frame shown on windows?

Thanks
Markus