Change model in different QML file

asked 2017-04-16 02:29:37 +0300

gabriel9 gravatar image

updated 2018-12-03 19:56:25 +0300

Tanghus gravatar image


I have SlideshowView with page A and B. And every page have it's own ListModel. How can i change(remove item) model in B from page A?


edit retag flag offensive close delete



js callbacks, qml connections from signals to slots, sharing pointer as variable

you have a lot of options :)

coderus ( 2017-04-16 03:02:52 +0300 )edit

I used Signal/Slots in Qt C++ code. I am not familiar with them in QML. I will check them out. Thanks.

gabriel9 ( 2017-04-16 13:23:09 +0300 )edit