from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import QFontDatabase from ui.main_window import MainWindow from business.project_manager import ProjectManager from storage.appdata_storage import AppDataStorage class EmberApplication(QApplication): def __init__(self, argv): super().__init__(argv) def start(self): QFontDatabase.addApplicationFont(":/FontAwesome-Solid.otf") QFontDatabase.addApplicationFont(":/FontAwesome-Regular.otf") # setup resources appDataStorage = AppDataStorage() projectManager = ProjectManager(appDataStorage) #projectManager.debug_populateRecentProjects() # show main window mainwindow = MainWindow(projectManager) mainwindow.show() exit(self.exec_())