PyQt5 Splash Screen tutorial [PyQt5 GUI tutorial]

preview_player
Показать описание
Create a loading screen / splash screen with PyQt5 and QSplashScreen. In this video, you will learn how to use QSplashScreen to create a loading screen for your PyQt5 application.

In this video, you will:
- Work with PyQt5 and QtDesigner
- Use QSplashScreen
- Use QProgressBar

For more info:

Contact/socials:

**Timestamps**
00:00 Intro and demo
00:36 UI Elements
02:07 Styling the UI
03:22 Creating the splash screen
06:10 Adding the progress bar
07:41 Closing the screen and going to main window

*************
**Tags**
PyQt5
PyQt5 tutorial
PyQt5 module
PyQt5 Designer
QtDesigner
Qt GUI tutorial
PyQt5 splash screen
PyQt5 loading screen
QSplashScreen
Рекомендации по теме
Комментарии
Автор

One of the only creators in this platform that covers some fundamental concepts from pyqt in a simple manner. Appreciate it!

progressivegod
Автор

Such a simple and to the point tutorial! Amazing!

Thank you.

NiranjanDixit
Автор

Nice. I love your PyQT tutorials, Hala. They helped me a lot.
Btw I thought the splash screen served other purpose, but it just make things start pretty lol but nice anyway

flavio
Автор

There is not Git repository in the video description as you mentioned at 2:22 :(

sabin_lovin
Автор

the progress bar isnt actually doing anything though... since its just `sleeping` instead of waiting for the program to load 😕
also, super does not require QSplashScreen as a parameter, python3 has been updated to know what to override without specifying the class inheritance

codyquist
Автор

🚨IMPORTANT🚨
ok so i faced the issue of
Type class error : wrong base class of top level widget

the solution is

While creating the ui in the QTdesigner you need select widget instead of Dialog

thats it.

Actually she didn't mentioned it explicitly in this video as she had in her previous video, if u are following the playlist..

p.s:- thanks Hala for making such videos..

ankitcaring
Автор

also i'm trying to get my QDialog to be frame less but when i put yore code in, it does not work.any ideas?

forextrading
Автор

Great tutorial ! Thank you very much. I have a question. Why my splash screen doesn't appear centered in my screen ? It appears at the bottom right.

JerickRodriguez-vueg
Автор

fam you are amazing
can make a video and explain how to set a backgrong image?
i did this in qt designer but when i execute the python code, it does not show the image
can you help me plz?
thank you so much

forextrading
Автор

My progress isn't changing using this method. Any suggestions for why?

matttucker
Автор

8:22
Thank you, but in my program the result is 'MainWindow' object has no attribute 'finish'

Can someone help me?

offsidemilyy
Автор

Which IDE and SDK you are using for this project, and can you tell me how can we build windows setup files for java applications?

debojitacharjee
Автор

could you please share the code and splash screen & background with us? i checked on Github but nothing for splash screen and i could not find any in the video description. thanks in advance

alielsheikh
Автор

code is not in the description as mentioned in the video :(

codyquist
Автор

Can u make next video on QScrollArea ? I am waiting for long time

amaulearyan
Автор

HI, when I run the code ( 5 min 55) I get TypeError: ('Wrong base class of toplevel widget', (<class '__main__.SplashScreen'>, 'QMainWindow')). I googled it and haven't find any usefull solution. Any Idea what I doing wrong. Thanks

wrangleroffroad