Start to use Qt designer to design dialog.
Remove the old hand write window class.