You may also pass a reference to your previous page to the page being pushed
property Page previousPage Then when pushing, give the second param as {previousPage: pageId}. You may pass reference to any other object too. Then call respective functions to act. Note that the model-view approach is most likely better in the design point of view though.. On Thu Mar 19 10:18:45 2015 GMT+0200, Gabriel Böhme <m.gabrielboe...@googlemail.com> wrote: > Depending on your implementation (pure QML, or C++ backend), it could also > possible to work with a C++ model (if you have a C++ backend), shown in a QML > view, so your backend will do all the work and update your views. Have a look > for Model-View in doc. > > With pure QML it could be also a solution to "create" (insert your page and > give it a id) your 2nd/3rd page already in the main QML file, so you could > "talk" to them with there id everywhere. But it's not the best solution, > better is loading in the moment you need it, due to longer loading times and > memory usage in case of preloading them. But maybe creating your model there, > to get access, could be a way too. > > Am Di. Mär. 17 14:07:07 2015 GMT+0100 schrieb Florian Desneux: > > I'm afraid I don't understand or I'm doing my stuff in the wrong way... > > > > I think I must read some documentation about signal... > > > > Andrey: Your example suggests that I need a property readProperty on my 3th > > page and connect it to a signal still on my 3th page so my second page is > > aware if the change? No clue on how to do this but I will have a read :) > > > > Thanks > > > > 2015-03-17 13:23 GMT+01:00 François <daithe...@free.fr>: > > > > > Hi Florian, > > > > > > When you mark a file as read, your model should be updated and the list on > > > the previous page should be updated accordingly (this is done > > > automatically). > > > > > > Hope this can help you. > > > > > > À mar. mars 17 13:01:04 2015 GMT+0100, Florian Desneux a écrit : > > > > Hello, > > > > > > > > I'm wondering how can I refresh the page when the little white round in > > > the > > > > corner is clicked or a swipe left to right from the corner is triggered? > > > > > > > > Meaning: I'm on my 3th app page, I trigger an action (i.e. mark as read > > > the > > > > file), I go back to my 2th page on which there is a list of files. How > > > can > > > > I update the list's item (the file) so it's displayed as 'read' (i.e. > > > with > > > > an eye icon)? > > > > > > > > Summary: How can I pass back some properties? (Those three questions are > > > > the same ;) ). > > > > > > > > Regards, > > > > -- > > > > *Florian Desneux* > > > > > > > > > > -- > > > François > > > Envoyé depuis mon Jolla > > > _______________________________________________ > > > SailfishOS.org Devel mailing list > > > To unsubscribe, please send a mail to > > > devel-unsubscr...@lists.sailfishos.org > > > > > > > > > > > -- > > *Florian Desneux* > > > > -- > Gesendet von meinem Jolla > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org