[Qt-interest] Avoid widget/button hightlight and dot-line on mouse focus

Miguel Cardenas mfcardenas at gmail.com
Thu Jan 15 03:31:38 CET 2009


Hello list

I have a doubt on mouse focus over widgets, buttons etc. Inside my Qt4
application, when the mouse goes over a button or clicks on a widget inside
a window, buttons get highlighted around and widgets (such as a QTextEdit or
some other object) gets a line around like a "frame" to show the focus is on
it.

My questions are:

1) How can I disable the button/object highlight when the mouse moves over
it?

2) How can I disable the dot-lined "frame" around the text when a button is
clicked to indicate it has the focus?

I really don't need nor want them, am using small buttons and the icons
don't show fine on the button that has the focus because the dot-line covers
part of the icon...

Thanks a lot

-- 
Miguel Cardenas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090114/f70ad697/attachment.html 


More information about the Qt-interest-old mailing list