You picked the right tutorial fool!! Now all you have to do is follow the damn tutorial.
@radhikasudheer4 жыл бұрын
where's CJ?
@fbq4 жыл бұрын
@@radhikasudheer i killed 😂
@radhikasudheer4 жыл бұрын
@@fbq i want a no.9
@Stagedrengen4 жыл бұрын
I know I'm a little late to the party here, but I just wanted to let you know that you're doing God's work with these tutorials. You keep them short and simple, no mumbling or rambling, and one can easily understand what's going on. Super impressive :)
@davidgrove16005 жыл бұрын
YOU ROCK! Keep going with PyQt! May offer a suggestion? Plan your UI, name every object that you want to access using code as you go along. It should be the first thing you do. However, you do not need to name items that you will not be accessing codes (ex.: labels). Maybe a suggestion for a short video?
@ruslan.zhumabai4 жыл бұрын
You have opened my dream which I have thought for creating the App a long time ago. I just wanted to make a software which is able to connect with an Arduino board. Thank you it is so understandable. I will watch all your videos in the quarantine time. Sorry for my English if it is incorrect. I am from Kazakhstan.
@vxsniffer4 жыл бұрын
another way to pass arguments to assigned functions (without calling them instantly) is partial function (from functools import partial) example assignment would look like: self.actionNew.triggered.connect(partial(self.clicked, ‘New was clicked’)) for this purpose both methods work the same, but some advanced cases may favour partial function... it's not redundant to lambda ;-)
@CarlosGarcia-di3kn4 жыл бұрын
I am new to python and QT designer, your video is great help. Thanks Man
@rfresh10113 жыл бұрын
To clarify, once you generate the .py code and you start to make manual edits to it, you cannot go back and use the QTDesigner again and re-generate the .py file because it will wipe out all of your manual changes...correct?
@brunonkowalski3 ай бұрын
Yes, that's why you should never edit this file.
@kristypolymath13595 жыл бұрын
I have to say that you are very well spoken, and mild-mannered. Please keep the videos coming!
@TechWithTim5 жыл бұрын
Appreciate that!
@jimbaker30354 жыл бұрын
Thanks for the tutorial. It helped A LOT. Some other QT tutorials on YT are over 5 years old and cause newbs like me major confusion. This series is very helpful.
@ashish20992 жыл бұрын
God bless you brother. I love your tutorials so far. To think you're giving us such an amazing information for free at the expense of your own time, man you're simply amazing. Thank you brother, I'll be forever grateful
@egemenguney17154 жыл бұрын
Thx for lambda explanation!
@dr4kk0nnys65 жыл бұрын
Bro, you always make it look easy, that's awesome
@paccooper3019 Жыл бұрын
Thank you! I always find your tutorials to be really helpful, you explain everything really good
@mayureshgawai59514 жыл бұрын
Simple and easy to understand tutorials. Thanks Tim...
@peschebichsu3 жыл бұрын
Love that series! Is there also an easy ways to use shortcuts without the menu bar?
@dankusanovic4 жыл бұрын
Excellent tutorial and great explanation of the lambda function
@igorzukowicz38232 жыл бұрын
good job Tim!! everything is clear. Thank you
@bu14915 жыл бұрын
Having dyslexia and being completely new but obsessed with all of this is overwhelming. That and being the African American athlete all my life has me completely lost with programming. You give me hope bro and the comments, but I am lost, guys. Not too many look like me and I'm far behind. But since I can't create anything yet, I write my ideas and create the prototypes on Canva because I also can't design(learning figma now). I wish there be a platform where "idea guy", "developer", "investor", "salesperson" connect as one. I'll share my ideas via email with anyone just to know if they are possible. I think they can change a lot of things in the world.
@zjason75825 ай бұрын
Good job! Really helpful for beginners!
@alexisrdevitre4 жыл бұрын
This is the 3rd video I'm watching. Great videos man, I love the effort you put into making every step clear but not overwhelming for newbies! Keep up the good work :)
@zankacode13425 жыл бұрын
Thanks for your time and share the knowledge
@TechWithTim5 жыл бұрын
Np!
@maggiebiu46093 жыл бұрын
Your tutorial is so clear and so helpful!!! Thanks!!
@cptprice035 жыл бұрын
Awesome tutorials on qt. I was struggling to understand from other people on youtube and on web and I like your approach of going from basic and building up bit by bit. Keep them coming.
@vng4 жыл бұрын
Thank you... I finally understand lamba functions.
@wiloghby4 жыл бұрын
This guy is so freaking Canadian, it's wonderful
@thetrinitysolution9631 Жыл бұрын
Tim, your tutorial worked flawlessly on my dad's PC. But when I try to create the ".py" file using the Mac terminal, it says "Command not found." This is most likely because the path is wrong, and the ">" symbol is probably the issue. I've tried a number of substitutions without success. Would you know what the correct syntax is for the Mac or where I could go for that info? Thanks!
@a.sam.27142 жыл бұрын
Very nice tutorial, thank you. But in the code you do not import created gui file from QT, but rather create everything programmatically.
@javiliyo694 жыл бұрын
this tutorial help me a lot! Thank you so much!
@addictivelearning61535 жыл бұрын
Hey can you upload everything about qt rapidly pls and you are making best content so keep it up
@TechWithTim5 жыл бұрын
That’s kind of asking a lot, but I appreciate your compliment !
@fcmorena2463 жыл бұрын
amazing Tim, you the best
@medicencatalina4 жыл бұрын
The Best tutorials ever, keep doing it!!!
@vwarrier3 жыл бұрын
I'm (py)charmed by this tutorial
@etedali19754 жыл бұрын
Though You keep being effective sometimes You're unpatient and immediately after having typed the last letter then jumping to the next topic. Else You're diong a great support.
@dolevdo2 жыл бұрын
Thank u so much
@马奇欣2 жыл бұрын
Hello Tim. Thanks for your nice video but I have an issues that all the Menubar do not show up. I check by preview in QtDesigner and also by running the python code. could you please help me if you see this comment
@soeasysale4 жыл бұрын
thx,tim,very helpful
@briangreenberg1533 жыл бұрын
Tim, I'm just now looking at this video from 2019. So I don't know if you are monitoring for questions and comments. When I create menu items, they do not show up on the mainwindow as shown in your example. Instead, they show up at the top of the "Python" program that is running the code. Not sure how to explain it more clearly without providing you with a screenshot. The only thing that comes to mind as a possible cause is I am doing all this on a Mac using the very latest OS which is Big Sur. I know you do your work on a Windows PC. I wonder if you have seen this issue before and if you know what I need to do to make the code run properly. Thanks
@TheAmazingpower5 жыл бұрын
So happy to see some qt tutorials. Most of them are not that accurate or detailed. But why editing the generated ui. py file? If I will go to the creator again, and make changes there, convert it into a .py the changes made in the previous .py are gone. I usually define a class inheriting the Ui class and define all new properties there so I can change and reconvert the ui-file freely. Is there any reason not to do that?
@mohammadkarami89844 жыл бұрын
Great Video! Thanks a lot
@billelguechi58314 жыл бұрын
I am Always quite confused About where to put the Action triggerd when we press something is it in retranslateUi OR in SetupUI ??
@SkyFly198535 жыл бұрын
Getting interesting more and more... 💯💯💯💯
@moc21305 жыл бұрын
Hi, what if you wanted to attach to the events outside of the class? How would we do that? How do we raise events from outside of a class? I come from a .Net background. Very similar stuff i think.
@sebastianarrieta96784 жыл бұрын
Tim, kinda late but what if I wanna update my design? Will I lose all the methods that I made?
@anabelsa3 жыл бұрын
Hi, Tim. When I opened my .py file in Sublime, I found that I was missing the "if" from your lines 71-78. What can I have done wrong? Thanks.
@valigeorge91104 жыл бұрын
Thanks, Tim. Subscribed.
@jstro-hobbytech2 жыл бұрын
lambda is a compiler preprocessor directive isn't it?
@kayombo10013 жыл бұрын
Hi, how are u, thank you for sharing your knowledge, sorry how can I call a new grafic interface from another after converting it to py. Or I mean, a create an interface, I converted it from ui. file to py file, an after that I wanto to call ather interface x from interface y a created before? Sorry for my broken English, Iam typing from Angola and here we speak Portuguese, I hope you undnerstand.
@saadaor3 жыл бұрын
hey, can i use qt designer for free ? i build an app with pyqt5 code ( without the qt designer) what should be the right way to enable transition between the pages? now the app crash because i create new pages in other pages. should i do "manager" page which wrap the all pages ? thanks
@chinaguy1013 жыл бұрын
great videos
@davideettori32265 жыл бұрын
Amazing video
@efserevin3 жыл бұрын
Hello! I want to ask something. We have a "TextLabel" text in main window and when the programme ran, only half of the text was visible. So i wrote " def update(self): self.label.adjustSize()" after " font = QtGui.QFont() font.setPointSize(36) self.label.setFont(font) self.label.setObjectName("label")" to fix this problem, but it didn't work. What should i do to fix it?
@diagotorres40945 жыл бұрын
Thanks for the tutorial. My problem with this approach is that many of the pillars of what define good development are not followed here. Code readability, proper code abstraction, and code revision are non existent. By which I mean, the code generated is messy, the code generated is not defined in separate functions or classes, and any new update to the GUI would require a weird work around. Do you have any recommendations to my concerns. Thank you. Awesome tutorials.
@abhinavraj18854 жыл бұрын
The standard way to use is to import the GUI code in another python file and write the functional part there. That way when you change the GUI and regenerate code you don't lose the functionality of the app.
@sitadevimuthkhod25744 жыл бұрын
Can we pass a text file as an argument instead of string text?
@cunninghamb5055 жыл бұрын
This playlist is great, do you have any classes on udemy? or any other site
@TechWithTim5 жыл бұрын
I have a teachable course! Link in description
@chococookiesyuppie51774 жыл бұрын
can we just create the trigger in designer instead of coding?
@bitterbob303 жыл бұрын
This is a little bit easier than hand coding a GUI via Tkinter. Just a little bit. :-)
@xyaman4255 жыл бұрын
Thanks!
@plouf19694 жыл бұрын
How do you deal with the case where you go back to QTDesigner to make further changes, and pyuic5 overwriting your tutorial4.py that you modified manually? I think you probably want the manual changes made into a separate file with a class that derives from UIMainwindow, and to which you can make manual changes without worrying about UIMainwindow being erased?
@MiskoKatua4 жыл бұрын
You can separate the UI file from the Python file by importing the uic module and then load your .ui file with uic.loadUi('') In the window variable you can then address the different UI Components like e.g. window.button1.clicked.connect() import sys from PyQt5 import QtWidgets, uic app = QtWidgets.QApplication(sys.argv) window = uic.loadUi('test.ui') window.show() app.exec()
@yosrjouini9993 жыл бұрын
Merci infiniment
@sainco30365 жыл бұрын
thanks.
@fransflorenza97082 жыл бұрын
can anyone help me please? im kind a beginner. i want to use push button and detect whenever its have value true or false without toggled. i try to use set checkCheckable but it make the button toggled (not momentary)
@ChristopherBrown-bj4zl4 жыл бұрын
Anyone else seeing their program crash after clicking "new"? 'UI_MainWindow' Object has no attribute 'Clicked"
@sreejasitcvellanad4 жыл бұрын
I also gets it. Any fixes?
@sreejasitcvellanad4 жыл бұрын
I found it instead of self.clicked(-text-) use clicked(self,-text-)
@kristypolymath13595 жыл бұрын
Why do you need the Lambda keyword? Wouldn't calling --> self.actionNew.triggered.connect( self.clicked( 'foo'))
@TechWithTim5 жыл бұрын
Try it and see ;)
@glengub5 жыл бұрын
Keep it going!
@mdakash-ns7vq4 жыл бұрын
what power Full Softwer Kivy or qt5?
@mathsplug68003 жыл бұрын
Hello, when converting from .ui to .py code, then running the .py code in Jupyter notebook, the code will not run, and says "Not Responding" Why is this?
@mathsplug68003 жыл бұрын
Now running the code in Sublime Text as per the video and the response is: This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Available platform plugins are: minimal, offscreen, windows. Reinstalling the application may fix this problem. [Finished in 3.3s] Any help
@MediaGrizzly.3 жыл бұрын
If you click form and go down to view python code you can skip the cmd step
@zvalaz30143 жыл бұрын
you rock!!
@coldblaze56984 жыл бұрын
I thought it would be a PyQT 5 tutorial as it says on the title but it was more of a Qt Designer Tutorial with pyqt as a back end. :( I got confused between Menubars and Menus but i figured it out in the end after reading the API. Just got click baited I guess \O/
@surajnath42824 жыл бұрын
triggered.connect not working !!!!AttributeError: 'QPushButton' object has no attribute 'triggered'
@axh24 жыл бұрын
QPushButton.clicked.connect... Triggered is for the Menu item only
@chopinfanclub66725 жыл бұрын
I'm getting a TypeError too many arguments with the self.label.adjustSize
@matsolof79955 жыл бұрын
How to embed pyqtgraph to qtwidget? Video?
@MrDksmall9 ай бұрын
I didn't see anything about the status bar, did I miss something?
@unknownman52964 жыл бұрын
if you think Tim's video is not enough try reading the documentation, it have a lot more fun stuffs in it. www.riverbankcomputing.com/static/Docs/PyQt5/index.html
@158-i6z3 жыл бұрын
Note: if you're on macOS, you will not see menubar on the actual window, but on the top of the screen instead.
@poweruser602 жыл бұрын
Again on macOS, the status tip text is not displayed anywhere (that I've found yet)
@ilusions4 Жыл бұрын
LOL! Thank you so much. I've been making a cross-platform program and this has been driving me insane for 3 days. I've never used a mac in my life (only linux and windows), so I didn't think to look there.
@atomgutan80644 жыл бұрын
Why is there self before every single thing?
@sayanghosh69964 жыл бұрын
thats how OOP in python works, they pass around a reference of the object in the methods, its like 'this' in other languages
@sayanghosh69964 жыл бұрын
@Mr_Relaxing yeah thats what i said.
@Thmyris4 жыл бұрын
11:00 does anyone understand why the code errors out if you dont use "lambda:" ?
@davorm46344 жыл бұрын
Same question here...
@jonasgames54764 жыл бұрын
IDK but if you use lambda: without upper L it works for me
@KirtiDhruv3 жыл бұрын
Here is the reason: The connect method requires a name of the function to connect to. If you pass clicked('xyz') ---> It means you are calling the function 'clicked' with 'xyz' as argument and the 'return value' of clicked will be passed to connect. Hence the error!
@subzero92293 жыл бұрын
@@jonasgames5476 Thank you so much. You inadvertently helped me fix my code. self.actionNew.triggered.connect(Lambda: self.clicked("New was clicked")) was not working. However, when "Lambda" is lowercase "lambda," it works. Again, I appreciate it.
@Life-History2515 Жыл бұрын
@@jonasgames5476 THANK YOU!!
@codewithwasif35175 жыл бұрын
Finally!
@drumpf4all5 жыл бұрын
Why would anyone do dev work in windows? Doesn’t make sense. Also, you do know windows10 spies on you. Privacy is important to me.
@TechWithTim5 жыл бұрын
I’ve got nothing to hide!
@glengub5 жыл бұрын
Haha. Do you use mac or linux? What distro? I'm on w10 also i am considering to switch to linux.
@kristypolymath13595 жыл бұрын
Why would anyone do dev work in linux? Doesn't make sense. Also, do you know that IRC hates you, and Linux wants you to be unsocial? Health is important to me. :D
@drumpf4all5 жыл бұрын
Kristy Whalen I see what you did there. Not funny. Lol.