Disable Focus for all widgets



  • How do I disable focus for all widgets in my application? When I set focus policy for my parent widget, the child widgets still have their own default focus policies. Is it possible to set the focus policy to none for all widgets in one shot?

    What I want is to disable the light-dotted rectangle that appears around my pushbuttons, whenever my application is fired up.

    Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.