Transfered code from mainWindow to Fenetre class and added "Edition" menuBar