def closeEvent(self, QCloseEvent):
self.tabWidget.closeEvent(QCloseEvent)<EOL>
Delegates the close event to the tabWidget to be sure we do not quit
the application while there are some still some unsaved tabs.