setFocus() on the QMainWindow of A?