How to disable Qt dialog default button changing with tab navigation

Posted by WilliamKF on Stack Overflow See other posts from Stack Overflow or by WilliamKF
Published on 2010-05-11T22:08:03Z Indexed on 2010/05/11 22:14 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

In Qt 4, by default, tabbing through a dialog changes the default button to be the button tabbed to. This makes tabbing look a bit ugly and distracting as extra redraws take place during tab navigation which distract from point of user focus.

Is there a way to disable this Qt functionality and leave the default button unmodified by tab navigation?

© Stack Overflow or respective owner

Related posts about qt

Related posts about tab