But i thought that i used Signals and Slots...Isn't the declaration "def on_start_clicked(self):" just an alternative way to the usual "QtCore.QObject.connect" call ?
I mean, the Signals and Slots mechanism is underneath of both ways, isn't ??
Ok, i will try right know this and i let you know. Should i implement a QThread instead of a Python one ??In run() method of the thread create an object that inherits QObject and there declare a signal which you then have to emit each time you want to change the progress bar value. Then connect the signal to the setValue slot in the progress bar and start the thread.
Ok, i just did (forgot)And forget about processEvents() - you don't need it.![]()






Reply With Quote


Bookmarks