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
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.
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.
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.
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.)
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 👍
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.
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?
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
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.
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 :/
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?
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!
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.
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.
@@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.
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
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 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