Closed Wolfmyths closed 1 year ago
Update, this approach works only for methods without arguments like backUpMods()
A wrapper for the QThread
's run()
might work? I'm not familiar with QThreads
Worst case scenario we might have to rewrite the structure of FileMover()
It required a lot of restructuring, but it has been implemented and will show up in the next update.
The backing up mods function easily freezes the program
A possible solution is threading the backup mods function by making the class it belongs to,
FileMover()
, inheritQThread
A progress bar would be nice too, pyside has a widget called
QProgressBar
for this.Check out these sources for more info:
https://stackoverflow.com/questions/20657753/python-pyside-and-progress-bar-threading https://pythonassets.com/posts/download-file-with-progress-bar-pyqt-pyside/