I've followed your and wysota way. I subclassed QNetworkAccessManager and now the model calls it with url and index; this new class downloads the image and emits a signal intercepted by the model that in turn emits dataChanged(), as you recommend. Now images are self-updated, as expected. I only encountered a small bug: seems that the model calls the download class 4 times per item and when items are a lot the program crashes with this message:
Is there a way to limit model's calls? Or is it best to implement a download manager with queue support?GLib-ERROR **: Creating pipes for GWakeup: Too many open files
Thank you both for the valuable help.
Bookmarks