Qt World Summit: Submit your Presentation

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.


Log in to reply