Search
 
SCRIPT & CODE EXAMPLE
 

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_())
Comment

PREVIOUS NEXT
Code Example
Python :: How to calculate distance without numpy 
Python :: subprocess.popen no output 
Python :: set and tuple in python 
Python :: accessing items of tuple in python 
Python :: if condition dataframe python 
Python :: reset index in pandas 
Python :: python reference parent module 
Python :: inser elemts into a set in python 
Python :: driver find element with multiple classes python 
Python :: Using Python, getting the name of files in a zip archive 
Python :: plotly color specific color 
Python :: prime number checking algorithm 
Python :: Django how to get url path for a view 
Python :: variable in regex python 
Python :: Python code to find Area of Rectangle 
Python :: floating point python 
Python :: how to detect the reaction to a message discord.py 
Python :: dropna pandas 
Python :: basic string functions in python 
Python :: image.open no such file or directory 
Python :: python create dataframe by row 
Python :: four digit representation python 
Python :: update xls file using python 
Python :: pip install opencv 
Python :: image resize in python 
Python :: (models.W042) Auto-created primary key 
Python :: scrapy shell 
Python :: pytest logcli to write to file 
Python :: valid parentheses 
Python :: check type of variable in python 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =