MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QSplashScreen/GifSplashScreen.py:27–31  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

25class GifSplashScreen(QSplashScreen):
26
27 def __init__(self, *args, **kwargs):
28 super(GifSplashScreen, self).__init__(*args, **kwargs)
29 self.movie = QMovie('Data/splash.gif')
30 self.movie.frameChanged.connect(self.onFrameChanged)
31 self.movie.start()
32
33 def onFrameChanged(self, _):
34 self.setPixmap(self.movie.currentPixmap())

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
startMethod · 0.45

Tested by

no test coverage detected