PyQt5 Tutorial #5 - Layout Management QFormLayout & QGridLayout

  Рет қаралды 394

Darlington Nkwaze

Darlington Nkwaze

Күн бұрын

Пікірлер: 2
@phamhuutri1996
@phamhuutri1996 9 ай бұрын
How come you don't need to use setLayout() method to add your grid layout to your widget? Can you please explain me this, I would appreciate it a lot. Thanks in advance
@darlingtonnkwaze
@darlingtonnkwaze 9 ай бұрын
Hi, thank you for your question. In this video, I already made the grid layout a child of the main widget. So, I just had to add the other children of the main widget and position them. Another approach would probably be to create the layout without a parent, then add child widgets to it before setting it as the layout of the main widget. I believe the second approach is what you were expecting. However, I think you won't lose or gain much if you use any of the two approaches. Although, the second approach could be useful when you want different widgets to have the same layout. I hope this helps.
PyQt5 Tutorial #6 - Working with QFrame
12:21
Darlington Nkwaze
Рет қаралды 3 М.
QtDesigner and PyQt5:  The right and wrong way to use them together
37:16
Alan D Moore Codes
Рет қаралды 108 М.
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,5 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 11 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 24 МЛН
How to use Qt Layouts
19:18
Velcode
Рет қаралды 95 М.
GridLayout in Qt Designer
11:06
KDAB
Рет қаралды 28 М.
PyQt5 Tutorial #8 - Signals & Slots
25:15
Darlington Nkwaze
Рет қаралды 351
Elon Musk fires employees in twitter meeting DUB
1:58
GeoMFilms
Рет қаралды 17 МЛН
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 196 М.
TCP/IP for Programmers
3:03:31
Eli the Computer Guy
Рет қаралды 199 М.
Qt Designer - Custom Scrollbar With Stylesheet [ Modern GUI ]
15:03
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,5 МЛН