[SailfishDevel] pagestack signals for eg pageback

Wim de Vries wsvries at xs4all.nl
Fri Aug 9 22:52:59 UTC 2013


Hi Matt
Benoît Hervier pointed me to the status property.
The scenario is simple.
I am rounding up a checklist app (for in a aircraft cockpit).
If the user navigates back, the complete list has to be reset (security 
rule).
btw: the checklists are displayed in non-salfish colors (need max 
contrast because of light), rest (editing 'done on the ground') is in 
sailfish colors.
This simple app is part of an existing navigation (and more) system and 
is an opportunity (for me) to learn and test C++<>QML within Sailfish.
Of course, all open source ;-)

r
wim

On 08/09/2013 11:36 PM, Matthew Vogt wrote:
> Hi Wim.
>
> There are no signals for PageBack or PageForward in the Silica PageStack.  What are you trying to do?  From within a Page element, you can observe changes to the 'pageContainer' property (when added and removed from the PageStack), or the 'status' property (which reflects the page's state with respect to entering/leaving the top-of-stack condition).  You can also observe changes to the '_navigation' property, which is set to either PageNavigation.Back or PageNavigation.Forward for a page, when that page is navigated away from, as the previous stack top.
>
> If you need something else, please describe your use case so we can support it better.
>
> Thanks,
> Matt
>
> ________________________________________
> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Wim de Vries [wsvries at xs4all.nl]
> Sent: Friday, August 09, 2013 10:35 PM
> To: devel at lists.sailfishos.org
> Subject: [SailfishDevel] pagestack signals for eg pageback
>
> Hi,
> I cannot find the signals/functions of the pagestack (eg onPageBack) in
> the documentation.
> (the same goes for other silica elements as well).
> Am I over looking sth?
> Thanks.
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>



More information about the Devel mailing list