Master PyQt5 part 2: Using our template with QtDesigner

preview_player
Показать описание
Author Alan D Moore demonstrates using QtDesigner .ui files with the template from the previous video, both with and without a compiling step.

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

This is the best tutorial ever on PyQt! Am gonna get the book. I'll probably use it as a reference book as I plan on building many things with this. Please stay safe and keep giving us this awesome content.

NphiniT
Автор

Amazing sir! One stop solution for learning PyQt5. Thank you very much for sharing.

paramteraiya
Автор

What exactly are the advantages of this (loading it directly) vs overwriting and using python code?

nikolastesla
Автор

Great videos - love the pace and level of detail!
Seems like a bit of a jump from the first video though - is there another one that should be watched in between?

rupertthomas
Автор

Ok Alan, good one. I have a question though. Two methods, one import the Ui_LoginForm from our loginbox.py file, or import uic and load the .ui file. Why would I choose one over the other? Also, does using the .ui file add any overhead to our program? Just curious where/when I'd implement one over the other. Thanks!

TheJacklwilliams
Автор

Thanks for the very clear tutorials!
Quick question: from the coverage devoted to each, it would appear as though you have a preference for using the "compile .ui file, then import compiled python code" workflow over using the "loadUi()" or "loadUiType()" function(s). Apart from the fact that the former gives you direct access to the python code which defines the widgets, is there any other reason for the apparent preference?

alexstremme
Автор

How do you pass variables between classes? I have a mainwindow with line edits that have to be passed to the second window which opens when you click a button.

calinapascu
Автор

Hi Alan, thanks for the video. Trying to get your login box working with your template. Do I assume that login_box.ui is in the same directory as your template? I say that because I have anaconda installed and when I create files in QT Designer, the GUI creator, files save to by default.

johntobin