Master PyQt5 part3: Hand-coding a GUI

preview_player
Показать описание
Author Alan D Moore demonstrates how to hand-code a PyQt5 GUI using our app template.

Thanks for watching!
Рекомендации по теме
Комментарии
Автор

After stumbling around hours of other YT channels tutorials, finding this gem of a video actually explaining not just how to do things but most importantly why you would do those things really helped me understand the basics.

spartacus
Автор

Cheap thrills: I find that using QTDesigner to create layouts, widgets, fonts, etc, then copying the pertinent sections into my code (discard the .ui file after copying), greatly speeds up coding GUI's. Also, finding out the syntax, for example hiding the password, can be found quicker by simply doing it in QTD, and then checking the ui code. Good presentation.

FZ
Автор

A bountiful booty indeed! This is by FAR the best presentation of PyQt5 available.
It educates the viewer with 'Why' and 'How' while everyone else just says 'type this mysterious code, don't worry why it works'

Now I can actually create my own GUI the way I want. Awesome.

Factory
Автор

Great Job Alan, your tutorials should me taught at schools Man

Linuxovert
Автор

Thank you for teaching us to read the C++ docs and about using enums with the setter methods. PyQt5 makes much more sense now! Everyone: I have the book and it's fantastic. After trying to learn PyQt5 a couple times (videos, books) I am now 100% confident that by the end of the book, I'll be able to build solid, decent looking interfaces. Thanks again!

thatguy
Автор

You are right.... I AM a smart person!

Soljarag
Автор

Thanks for a great video! I seem to have one issue though: on my mac the input fields don't expand to match the width of the buttons below; i.e. the 'Login' button protrudes beyond the edges of the input fields above...

marcowisse
Автор

Great tutorial. As a result, I ordered you book. Thanks.

samirasamilan
Автор

The reason the button wasn't visible the first time is not because you didn't have a layout; That was incidental. The button didn't show because you didn't pass its parent in the constructor. I.e. QPushButton("text", self) .

angel_machariel
Автор

This was an awesome series of videos Alan. Well done.
I just got your book, may I ask how you can also change the value of your qtw.QTableWidgetItem
into a integer in stead of a string? (otherwise it's hard to sort the numbers.)

rpdacosta
Автор

Alan - Thanks so much for the effort invested in the tutorials. I'm here to tell you it was worth it, since I just bought your GUI book!

I had an error here that's probably related to my combination of PyQT5 (v5.14.1) and Python 3 (3.8). Apparently its no longer possible to apply a layout directly to the MainWindow as you'll get an error that a layout already exists. For more info, I would refer folks to this response on StackFlow

Thanks again
Bob

bobbryce
visit shbcf.ru