Yes, I know.
But since it was mentioned that I can't fill my model in a different
thread from the UI this doesn't quite apply. If I filled my model in the
main thread, I wouldn't be able to update it during the processing.
However, since I am creating a tree model, I guess I can just add the
root item to the model in the main thread after the worker thread is
finished creating and linking all items (and sending signals for the UI
updates during the heavy lifting).
On 3/05/17 4:40 AM, Tim Roberts wrote:
Frank Rueter | OHUfx wrote:
Oh, damn.
How do I show progress bars and counters etc. while scanning the file
tree then?
You use slots and signals to send update messages back to the main
thread. This is a standard practice in every current user interface
framework.
_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside