added cmake for qt4
also added not yet implemented dialogs