[SOLVED]close form(QDialog) when moved to background



  • I wan't to close a form when another form on the background is clicked (or focussed), so that form isn't really active anymore.
    I tried a focusOutEvent, but it doesn't seme to work?



  • Use @setWindowFlags(Qt::Popup);@ for your dialog


Log in to reply
 

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