Everything About PyQt6 Layouts! | PyQt6 Tutorial Part 2

Опубликовано: 31 Март 2025
на канале: TurbineThree
8,632
89

WATCH PART 3:    • Event handling with signals & slots i...  

In this video, I go over most of what you'll need to know to use layouts in your PyQt applications. I showcase how to make use of VBoxLayout, HBoxLayout as well as GridLayout.

Link to PyQt6 Documentation: https://www.riverbankcomputing.com/st...
For the code & Images: https://github.com/RoyChng/pyqt6-tuto...

Layouts allow you to create applications that scale proportionally when resized or maximized.

I also showcase some additional features of layouts, such as adding spacing and nesting them.

We'll then work on a simple login form and cover the differences between the different layouts and when to use them.

Chapters:
00:00 | Introduction to layouts in PyQt6
00:45 | Using QVBoxLayout (Vertical Layout)
02:40 | Using QHBoxLayout (Horizontal Layout)
03:33 | Using both QVBoxLayout & QHBoxLayout
07:55 | Using QGridLayout
11:45 | Challenge - Form Layout
17:35 | Quick Recap