Qt closeevent. When a widget accepts the close event, it is hidden (and destr...