[SailfishDevel] Update previous page
Andrey Kozhevnikov
coderusinbox at gmail.com
Tue Mar 17 12:11:56 UTC 2015
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-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150317/7ae70255/attachment.html>
More information about the Devel
mailing list