Change model in different QML file

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

gabriel9 gravatar image

updated 2017-04-16 08:49:38 +0200

pawel gravatar image

Hi,

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?

Best

edit retag flag offensive close delete

Comments

1

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 +0200 )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 +0200 )edit