python – I am trying to load the homescreen after the splashscreen

I am trying to load my homescreen after the splashscreen. Upon running the code, the splashscreen manages to load but it stops there. How do I fix this? This is my SplashScreen class class SplashScreen(QWidget): def __init__(self): super().__init__() self.setFixedSize(700, 350) self.setWindowFlag(Qt.FramelessWindowHint) self.setAttribute(Qt.WA_TranslucentBackground) self.counter = 0 self.n = 100 self.initUI() self.timer = QTimer() self.timer.timeout.connect(self.loading) self.timer.start(30) def … Read more