renamed mainwindow to spqrMainWindow to avoid confusion in QtCreator