Using Qt Designer .ui file instead of manually coding dialog