[Qt-interest] remove the focus frame of custom qpushbutton

Markus Franke markus.franke at informatik.tu-chemnitz.de
Fri Feb 20 11:50:11 CET 2009


Dear Qt Developers/Users,

I have a custom pushbutton class which is derived from QPushButton. I  
am manipulating the look&feel of the button by using stylesheets.  
However the only thing I am not able to remove is the default focus  
frame which is drawn by Qt when the pushbutton get's the focus. How  
can I achieve this?

With best regards,

Markus Franke




More information about the Qt-interest-old mailing list