Everything About PyQt6 Layouts! | PyQt6 Tutorial Part 2

preview_player
Показать описание

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.

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
Рекомендации по теме
Комментарии
Автор

Great video to get started, simple and straight to the point. good steps to help you get familiar

anthonyughanze
Автор

This is correct, but I believe that using a class is the better way since the code becomes a bit more scalable. Anyway, great tutorial!

bazooka
visit shbcf.ru