QML Dynamically add/remove from GridView
Unsolved
QML and Qt Quick
-
I've search the QML Book, searched online, in forums, looked at the examples, read the documentation, etc.
I know it's done somewhere, but can't find a clear answer. I'd just like to add/remove to the GridView when the Cpp backend completes a task.
For example, I can select a file for data parsing. After the parsing is completed, I'd like to notify QML that it is done and then it will add a box in the GridView. I don't need the C++ backend code. Just an example of adding to the GridView when it is notified. And also removed.
I've seen 'Loader', and this may be what I need, but I'm unsure of the use case.
Thanks for any help