PySide + PyQt | Layouts in 4 Minutes

preview_player
Показать описание
Learn how to create and modify QLayouts in PySide and PyQt. This tutorial covers how to instance QBoxLayout, QVBoxLayout, QHBoxLayout, Form and Grid layouts. We also touch on stack layouts as well.

=============================

➤ FULL Transcript + Excercises:

➤ Tool Development Series!

➤ Qt.Py file (needed to run code!):

➤ Impatient Programmer:

➤ Exercises:

--- FOLLOW ME! ---

=============================
PLAYLISTS:

➤ Impatient PySide / PyQt
XXX

➤ Impatient Python

➤ Let's Learn C++: INTERMEDIATE

➤ Let's Learn C++: BASICS

➤ Let's Learn PYTHON: BASICS

➤ Let's Learn PYTHON: OOP

=============================

Music by Juto:

=======================================

New Episode (nearly) Every Friday

=============================
☁♡ Keep the Dream Alive! ♡☁

My comments and words are my own and do not represent the views or opinions of my employer in anyway.
Рекомендации по теме
Комментарии
Автор

A super informative presentation that covered all (I think) the important fundamentals of layout management inPyQt. A second note: I'm glad I could pause or slow down the presentation. Many, most of the points are spot on but require a second or two to digest. But a very useful colection of concepts.😀

thebuggser
Автор

To programmatically add widgets to an existing GUI (opened via loadUi()), is using Layouts the only/preferred way?

For example, my .ui doesn't already have a layout, it's just a Main Window with a QtWidget, so the following throws an error:
the_layout = self.findChild(QtWidgets.QHBoxLayout, 'The_layout_name')
the_layout.addWidget(stuff)

can a layout itself be added to it programmatically after loadUi()? Or should a new layout be created, and the gui (loadUi()) then added to it? Can you give an example how to do that?

bennguyen
Автор

It is a very useful demonstration. I have subscribed to the channel. Thanx.

ArmanMulkaidarov
Автор

Thanks bro, easy explanation, your amazing

fcmorena