title: What is the signal for when a widget loses focus?
body: <p>In a dialog, when the <kbd>tab</kbd> key is pressed, the focus changes to another widget. In Qt, is there any signal for when a widget loses its focus? Can I use it to check if the input is valid or not? If not, can I set the focus back and ask the user to re-input?</p>