Creating PyQt Layouts for GUI Python Applications
ฝัง
- เผยแพร่เมื่อ 24 ก.ย. 2024
- PyQt’s layout managers provide a user-friendly and productive way of arranging graphical components, or widgets, on a GUI. Laying out widgets properly will make your GUI applications look polished and professional. Learning to do so efficiently and effectively is a fundamental skill for you to get up and running with GUI application development using Python and PyQt.
Note: For a better understanding of how to use layout managers, some previous knowledge of how to create PyQt GUI applications and how to work with PyQt widgets would be helpful.
Click here to learn more: realpython.com...
Please keep this coming! I'm still pretty new to pyqt/pyside and i really want to know how to properly make a flexible UI
Excellent video. Cristal clear instructions.
I can't find the playlist on you're profile, what's the name
Man, I really loved your video and the way you explain it. Please, keep it going.
pls complete the series !
a link to this playlist should have been in description... or create a seperate playlist for pyqt5
Thank you so much for this tutorial!
Hi...is PYQT good for a whiteboard desktop app?
Christian hello! this voice I can recognize!
Very nice, thanks.
I've been experimenting with improving the performance of PyQtGraph.. specifically I'd like to instantiate my Widget, and pass it it a pipe.
Is there a way to do that without creating a custom class that extends both a pyqt widget and multiprocessing?
For example, this inherits from ONLY Qt,
class MainWindowReceiver(QtWidgets.QMainWindow):
def __init__(self, *args, **kwargs):
super(MainWindowReceiver, self).__init__(*args, **kwargs)
And can be instantiated without passing any argument:
main = MainWindowReceiver()
main.show()
However, if I create a class that inherits from both PyQt AND multiprocessing,
class MainWindowReceiver(QtWidgets.QMainWindow , mp.Process):
#super(Process, self).__init__(*args, **kwargs)
then NONE of these work:
out_pipe = mp.Pipe()
p1 = MainWindowReceiver(out_pipe) #doesn't work
p1 = MainWindowReceiver(pipe=out_pipe) #doesn't work
p1 = MainWindowReceiver(,pipe=out_pipe) #doesn't work
p1.show()
How would the class be constructed, such that instantiation only requires the pipe argument?
Alternatively, how would you pass a pipe WITHOUT multiple inheritance?
Hello, I suggest you to ask these types of questions on Stackoverflow
Please I'm looking for the next video after this
where is vertical layout video
in his course
Yeah, but PyQt wants you to pay at least $550 to get their GPL license to distribute their software as well as sharing your code.