pageStack.push returning you page object, so you can interact with it. for example:

var dialog = pageStack.push(Qt.resolvedUrl("SomeDialog.qml"))
dialog.readPropertyChanged.connect(function() { markAsRead(dialog.readProperty) })

or you can use signal inside your page instead of property.

17.03.2015 17:01, Florian Desneux пишет:
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*


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to