QDialog not centering when showEvent() implemented

Printable View