Removed menubar and changed ApplicationWindow to Rectangle
Migrated to qt5