1. What is the difference between the btn = QtGui.QPushButton… and self.btn = QtGui.QPushButton, both under the method 'home'? Why doesnt the 'download' button influence the 'quit' button? I am a beginner at python and hence did not understand this.

  2. Is there a way to call the download method after the GUI is built but without having to press a button? When I call the method after the self.show() or seperately after the GUI object is created the method still gets executed first and the bar is at 100% when it's shown the first time. I need this because I want to create a fake progress bar.

  3. Hi Sentdex, your videos are amazingly helpful. Thank you. Just wondering: do you know of any good books for PyQt? Seems all the good books for Qt do it with C++ examples. I need to see explanations around and for Python. Thanks.

  4. I Think that your explanations are great, and I appreciate what you do for the noobs in the world. However, I think it would be better if you were to show us a practical application in which these concepts would be applied. Do you think you could show this to us?

  5. Not sure if this was asked in another video but was wondering what are the guidelines on when a widget should be an attribute of the class instance, e.g. self.progress, vs a standard variable, e.g. checkBox

  6. Why do some objects, such as the progress bar and the toolbar, require a "self.item" assignment, while others such as the Quit button and the checkbox do not?
    For example, to create this progress bar, he uses "self.progress = QtGui…", whereas for the checkbox he just uses "checkBox = QtGui… — no self at the assignment

  7. Thank you for wonderful tutorial, my issue is that the quit button closes the application. If you have a pop up window and you use the same method, the entire application is shut down, how can I only close the active window?

  8. First, thx so much for your tut series, you've pretty much (re)taught me python! Anyway, I have a module that takes 3-5 seconds to run and I don't want to just leave the user hanging and thought a progress bar would be the way to go. But, I don't know how to connect my process to a progress bar. Could you give a quick answer/example or direct me towards some help? Thx again.

  9. Hi, I have a question. I just wanna make a progress bar to indicate how the program or function goes. How to set the progress bar value? I do not know how long does the program and function take to finish its work. Thank you very much. Any suggestion?

  10. I tried keeping the close_application in a separate file and call it in the place using close.close_application, since it was saved in close.py but it doesn't work throws up errors, it was working earlier but not since I placed the QMessageBox thingy..previously I just used sys.exit and a print statement and it worked fine

  11. OK… Great videos! Everything happening as it supposed to, except that FROM TIME TO TIME when I close the app I get " ythonw.exe has stopped working … A problem caused the program to stop working correctly. Please close the program.
    I use python 2.7 32 bits with PyQt for 2.7 32 bits … Any Idea?

  12. Question: why do you use self.progress and and self.toolbar but the checkbox you don't? Is there any special reason to store these two in a way to be accessible from elsewhere in other methods?

  13. Thank you very much for the tutorials. But inside the method home you have defined two buttons. Previously you had defined one button without using self, and in this video, you have defined a button with self. And both of them have the same name 'btn'. I'm confused! Can you please explain it in a bit more details? Thank you.

  14. i need help about this situation

    let's say we have download button that download file from net

    how i can make progress bar linked to download ?
    when the download finish the progress bar finish
    iam using (pyqt)


  15. I just got the beauty of OOP. You can point to a variable from any of the functions because they are all in the same class, and assigned to the self object, not the function? That actually makes a lot of sense, now.

Leave a Reply

Your email address will not be published.