[SailfishDevel] Update previous page
Florian Desneux
florian.desneux at gmail.com
Tue Mar 17 14:11:42 UTC 2015
Great news: I succeed it :) Thanks Andrey!
Side note: dialog.readPropertyChanged should be dialog.*on*ReadPropertyChanged
(see http://doc.qt.io/qt-5/qtqml-syntax-signals.html) for people who want
to achieve this in the future.
2015-03-17 14:07 GMT+01:00 Florian Desneux <florian.desneux at gmail.com>:
> 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 <daitheflu at 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-unsubscribe at lists.sailfishos.org
>>
>
>
>
> --
> *Florian Desneux*
>
--
*Florian Desneux*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150317/3aeb44e8/attachment.html>
More information about the Devel
mailing list