Introducing dialogs in QtMainWindow.

Interface setup fail will show the error dialog.

Signed-off-by: Tomasz CEDRO <CeDeROM@tlen.pl>