QtDesigner tutorial for Complete Beginners - Overview of PyQt5 QtDesigner + 3 Ways to Load UI Files

QtDesigner tutorial for Complete Beginners - Overview of PyQt5 QtDesigner + 3 Ways to Load UI Files

Code First with Hala

2 года назад

27,373 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@cristianoltfs
@cristianoltfs - 04.09.2024 15:51

Amazing... Thank you so much!

Ответить
@wallypizza323
@wallypizza323 - 11.08.2024 17:56

You are brilliant and I can't thank you enough for making these videos!

Ответить
@midohany9
@midohany9 - 07.08.2024 17:11

Perfect!
I've been looking for a video like that for a while that brings all the ways together. I was confused from multiple separate tutorials but this one shows the difference clear between them & also your explanation is very simple & clear. Thanks
(one more thing; the point that we can refer to widgets classes directly from py file without using findChild() for each one is really helpful!)

Ответить
@digitalmachine0101
@digitalmachine0101 - 16.05.2024 10:40

good information

Ответить
@EunjonGloksrati
@EunjonGloksrati - 21.04.2024 05:14

your explanation is simple and clear. now I understand why most of tutorial using method #2. thanks!

Ответить
@wesleygfx5540
@wesleygfx5540 - 28.12.2023 19:47

First Tutorial came across explaining in Detail, Thankyou!

Ответить
@avcom11
@avcom11 - 20.11.2023 11:35

I receive this error when I try to convert the .ui file to .py file (first method): pyuic5 : The term 'pyuic5' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, v
erify that the path is correct and try again.

Ответить
@dipanjanjana9518
@dipanjanjana9518 - 13.09.2023 22:24

This is what I was looking for. Thanks.

Ответить
@hibachabane3147
@hibachabane3147 - 06.09.2023 23:48

J’ai un Error :DLL load failed :le module spécifié est introuvable
Aide moi 😢

Ответить
@user-ih7ot7vl8u
@user-ih7ot7vl8u - 29.07.2023 09:29

Many thanks for this tutorial, it was pretty helpful. 👏🏻
Please add more tutorials 🌹

Ответить
@ezadeenalqubati3815
@ezadeenalqubati3815 - 02.06.2023 23:17

Thanks alot

my problem is solve😊

Ответить
@user-go4kv4ez7f
@user-go4kv4ez7f - 15.02.2023 18:25

Даже без знания английского языка в этом видео я нашел ответ, который не мог найти в русском сегменте интернета. Все интуитивно понятно. Лайк и комментарий в поддержку канала!👍

Ответить
@jerryscde1
@jerryscde1 - 21.12.2022 08:25

Thanks very much I have learned a lot from your tutorials

Ответить
@omarmuhammed4932
@omarmuhammed4932 - 27.09.2022 18:43

Great qtdesigner content ,If you can speak arabic , arabic content will be great.

Ответить
@againstthegrain5914
@againstthegrain5914 - 31.08.2022 06:58

Hi thanks for the video! It helped me! I like method #2! lol Im alittle stuck with the resources file. when coding ' loadUi('main.ui', self) ' It works for me np. But when I try following the instructions in the documentation page, where it says ' loadUi('main.ui', resource_suffix='resource.qrc', self) ' I get a SyntaxError: positional argument follows keyword argument. VSCode doesnt like me using 'self' at the end like that. But If I remove it, with the resource_suffix added, my UI doesnt show up like its suppose too. When I remove it and just keep 'self' and the main.ui string, everything works.. Any suggestions or ideas how to solve that? Thanks again!!

Ответить
@josys363
@josys363 - 22.08.2022 03:47

As someone who has worked with PyQt for a while now, the load UI method is NOT the way to go. The best way to do this is to convert the UI file to a PY file, and then import that into another python file. the load UI method has overhead which when working with a larger application can be noticed, and also you have to have your UI files bundled in your application in order for it to even function. If you just import the generated py file created from the ui file you can put the ui files anywhere you want. This also has some cross platform implications. Also most IDEs are able to parse python files on the fly. If you import the generated py file then your IDE will have access to all the objects you have added to your interface. Autocomplete of text in your IDE should work just like any other variable or object. Again, loading the UI is not the best way to go and i don't even know why they have that ability built in. I'm sure there is a reason, but again I don't recommend it.

Ответить
@user-qu2ff6rg3i
@user-qu2ff6rg3i - 04.08.2022 13:59

If i changed the name of the button from PushButton to another name in the design file, why not take the new name for it in the Python file

Ответить
@arthurdeka
@arthurdeka - 30.06.2022 02:43

you saved me! thank you

Ответить
@davidv5388
@davidv5388 - 13.06.2022 07:39

🙋 🄿🅁🄾🄼🄾🅂🄼

Ответить
@kokebdese4787
@kokebdese4787 - 31.05.2022 07:07

Helpful, Thanks Hala

Ответить
@its_code
@its_code - 30.05.2022 17:55

I love 💕 this tool. Very helpful 😍

Ответить
@majdsaadeh6480
@majdsaadeh6480 - 30.05.2022 13:47

Helped a lot. Thanks.

Ответить