Python GUI Development Using PyQt5
Vložit
- čas přidán 26. 07. 2024
- In this video we learn how to develop graphical user interfaces in Python, by using PyQt5.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/
Timestamps:
(0:00) Intro
(0:55) Coding The GUI
(10:10) QtDesigner
(21:36) Outro - Věda a technologie
Creating UI using Qt designer is so simple, it blew my mind!
Wish I knew it before. Nice video!
Love your speed. You can put so much stuff into 20 minutes. Thank you
INDEED, I LOVE EVERYTHING IN THIS CHANNEL, THAT'S WHY I NEVER MISS.
THANKS SO MUCH.
Always a pleasure!
For those who are having problems with the GUI closing by itself, you should check your code because instead of raising an exception the GUI will just terminates itself whenever there is an error
Amazing and easy to follow video!
I love it!
I avoided implementing GUI in my python projects as much as possible because how horrible it is to work with tkinter.
After watching this, it blew my mind how easy it is to create an awesome GUI using PyQt5. I will probably end up adding GUI to my client projects more than I should from now on.
My situation exactly!
I recommend pyside2 because it is practically just pyqt but with a better licence.
PyQt5 is GPL licensed, PySide2 is LGPL
This means that with PyQt5 you would have to provide your source code to your client, whereas with PySide2 you don't have to.
I used to use ttk but i moved to customtkinter
Thanks for your video! It's really useful
Great video, thank you!
Thanks for this video 😄
OMG. I didn't know you wrote the Python Bible. I just got it yesterday on Amazon.
thnx for this video, it was so helpful for my school project
I needed this. (Hot tip: Never use the word "what" unless you are asking a question. You can train yourself and never say "what I'm gonna do is I'm gonna" and its relatives again.)
That intro is fire
Awesome !
Thank you so much!
Thank you very much for the great video :)
Just amazing!!! 😇😇😲😲🤩🤩🤩
finally a non qt-designer tutorial why did it take me so long to find this lol
super helpful thank you
brr i love all your videos thxxx!
pure gold!
Thankyou very much
Very useful
this guy is so underrated
Could you make a video on how to use PyQt5/Designer in order to make a scientific GUI? ie a GUI in which you can upload data, graph data etc.? This would be super useful! I cannot find any resources on this specific application of GUIS in Python online.
Maybe you should use for this DearPyGui that includes a plotting API (ImPlot Wrapping).
🔥🔥🔥
hi there, any idea why after 2 or 3 Designer sessions, the Designer's own [ File Edit View Tools.... ] menu bar stopped working? i uninstalled, re-installed rebooted.
Thank you, Good Instructions. I am running VS Professional 2022. Is there a way to not display console when I run program?
Reminds of visual basic :)
thanks u for this
Super. Like.
What pycharm theme do you use? It looks sick
what about threading ?
im trying to connect to eCAT devices using PYSOEM and its hard to understand how to work properly with signals and QThreads.
Thank you
Nice🤙
Thank you so much. the design part remind me the visual basic which we had in school time. also the question that I have is that can we use this framework and Qt design to build a mobile Apps ?. thank you.
Thanks
how do you know exactly what I need????
I am a medium
why do you need this? i want to know.
I was thinking the same thing!
I thought it was hard but it's actually pretty easy
I have a question?
How does 1 convert these files to .apk in order to run my own code on my mobile for testing
Why might it be that on my PyCharm I get unresolved attribute reference warnings for the buttons and textboxes within the class definition? It bothers me quite a bit.
Im bumping this question up. Im wondering how to fix this? I see you are using tabnine, is it why you are not receiving warnings? Do suggestions what methods that unresolved objects have is caused by that extension?
PS. Great video 👍
Can a android app be built using PyQt5 and the designer?
Make a video explaining DeepFake please!
For once, the software is actually really useful
Can we create here one console and execute python or any language script on this gui?
I built a gui desktop app in java as a school project. It fetched information from a radio website about different timetables and programs. It was actually quite easy and fun. We used the MVC design pattern and put the GUI on its own thread so it wouldn't hang. Would you recommend the same strategy for python programs that are a bit beyond basic beginner level?
@D R Yes, thanks! Sounds like something I'm gonna try!
i installed pyqt5 (via cmd) but when i try to code something it still shows me that ModuleNotFoundError: No module named 'PyQt5', even when i check in cm if its installed it shows me that it is :/
Im using Visual Studio for my editor and every time i run the file it opens a box for a second but instantly closes it
anyone when they type from PyQt5.QtWidgets import * I am getting an error saying No Module named PyQt5. I have checked it is installed what else could be in the way?
This video has captured my interest, and I am wondering if pyQt5 scores over tkinter with things like validating input, binds, variables and the things that tkinter is not so brilliant at
you mean events right?
how do you get the designer? when I look up the designer its just a website that offers it for $300 a month
10:23 reminder ;)
Your name is Flowers? :D
gtk+ vs qt5 ??
20:28 I was sooo triggered
Great vid! I am learning Python, is there a reason for line# 3? What does it do? at 2:00
Also the Discord link is not working! :)
Thanks again for the awesome vids!
if you import that script from another script and call main or other functions of the same script,it just won't work
That line tells the python script to execute only if it is the main program (either double clicked on or ran from a CMD or Terminal prompt) and not if it's an imported python script. If this script was imported by another Python program, it would not auto-execute after importing. This is best practice. Typically, imported Python scripts are not meant to execute when imported. Only executed when made calls to.
what is the use of a lambda function?
it helps to call the function provided in it with parameters.
Give me 1 reason not to using tkinter or customtkinger over PyQt5
they dont have designers
@@gr3gtf2 who want designers?
me using ursian and in 2 line i have window
tkinter or pyqt5 which is best
You can find gozillions of websites that compare this or that.
pyqt5
it has a literal designer unlike tkinter
6th comment!
first 🙂
Why use PyQt instead of PySide ? Licensing is better with PySide, otherwise more or less identical. Only a few changes in syntax. So why is anyone using PyQt I wonder.
Because PyQt is older and more mature, better supported, better documentation. PySide is a wrapper to PyQt, yes?
@@atlantic_love Qt itself is developed as part of the Qt Project and Pyside is made by The Qt Company.
The Qt Company is responsible for Qt development, productization and licensing under commercial and open-source licenses. It oversees the development of its Qt application framework within the Qt Project.
PyQt was developed by Riverbank Computing Limited.
How efficient is this?
what do you mean by efficient?
@@NeuralNine i mean if it is memory hungry or leaks memory
@@blitzpark1250 it will be on python you dont have to worry about that but you want to convert it to exe it loads the gui really slow
@@fus3n makes sense
like 10
there was 68 comments i had to...
i wonder why programmers are making it hard for themselves, having to code a GUI instead of drag and drop, PyQt5 saved me tones of hours and better GUI, i think it is time to move away from hard coding GUI to using Designer Studios for your GUI, in the years to come, TKinter and the like will be like looking at cobol or pascal code now. thank you for the video very informative by the way
History has shown us that WYSIWYG's are far more trouble than they're worth.
Actually there is something called Proxlight designer.
You can design interface in figma by drag and drop and then proxlight converts it to tkinter code
the problem is those drag and drop programs are bloated and produce too much unnecessary code lines
The problem with drag and drop programs is they produce way tooo much lines of code. For example if you drag a button and it is colored white by default the drag and drop will just do something like "Button.Color = white" even though it's already defaulted to white
No vedio 🙂🙂🙂🙂🙂🙂