Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Simple Splash screen in pyqt5

import sys
from PyQt5.QtWidgets import QApplication, QLabel
from PyQt5.QtCore import Qt, QTimer

app = QApplication(sys.argv)

lbl = QLabel('<font color=Green size=12><b> Hello World </b></font>')
lbl.setWindowFlags(Qt.SplashScreen | Qt.FramelessWindowHint)
lbl.show()

QTimer.singleShot(4000, app.quit)

sys.exit(app.exec_())
Source by learndataanalysis.org #
 
PREVIOUS NEXT
Tagged: #Simple #Splash #screen
ADD COMMENT
Topic
Name
3+8 =