Ressources added and basic structure in code of mainwindow class