def __init__(self, min_splash_time=2):
"""
Initialize the B3 splash screen.
:param min_splash_time: the minimum amount of seconds the splash screen should be drawn.
"""
self.splash_pix = QPixmap(B3_SPLASH)
self.min_splash_time = time() + min_splash_time
QSplashScreen.__init__(self, self.splash_pix, Qt.WindowStaysOnTopHint)
self.setMask(self.splash_pix.mask())
评论列表
文章目录