728x90
QApplication.setStyle("fusion")
app = QApplication(sys.argv)
# Load the splash screen image
splash_pix = QPixmap('0.png')
splash = QSplashScreen(splash_pix, Qt.WindowStaysOnTopHint)
splash.setMask(splash_pix.mask())
splash.show()
main_dialog = MainDialog()
main_dialog.show()
splash.finish(main_dialog)
sys.exit(app.exec_())
내가 원했던 건 exe 프로그램을 클릭하고 기다리는 동안의 로딩화면이 필요한거였는데
이건 그냥 기존과 동일하고
정말 gui 창이 뜨기 바로 직전에만 잠깐 떠서 결론적으로 의미가 없는 것 같다.
728x90
'나를 위한 코드' 카테고리의 다른 글
파이썬 이미지 다운로드 (0) | 2023.08.29 |
---|---|
qt designer 날짜 dateedit 설정 (0) | 2023.08.28 |
파이썬 파일 copy (0) | 2023.08.25 |
셀레니움 image 다운 안 받기 (0) | 2023.08.23 |
크롬 115 116 버전 업데이트 셀레니움 에러 (0) | 2023.08.18 |
댓글