Basic code to create a dialog box using qt creator