[SailfishDevel] How to flick horizontally and vertically inoneview?

Gabriel Böhme m.gabrielboehme at googlemail.com
Thu Jan 30 10:11:24 UTC 2014


Hi Tobi,

maybe a PathView allows you to do what you want. Should be possible to tune
it to work like the Jolla calendar app. But it's a good idea to look in the
official Jolla files, as well. Maybe there is a much better solution. :)

Gabriel.


2014-01-30 sailfishmail <sailfishmail at denden.pw>

> Hi,
>
> You can have a peek at the calendar qml files in /usr/share/jolla-calendar/
>
> Hope you find some hints there,
>
> Br,
> Asser
>
>
>
> Tobi D. kirjoitti Thu Jan 30 2014 00:53:08 GMT+0200 (EET):
> >
> >
> >
> >Hi there,
> >
> >I've got another question on how to develop apps for SailfishOS.
> >
> >Please have a look at Jolla Calendar app. There you can flick
> horizontally between months and you can flick down pulley menu, also from
> the month part on top of the view. If there are many events in a day, the
> whole view is vertically scrollable.
> >
> >I want to implement a similar behavior in my app. Content of the view may
> be scrollable vertically and there shall be a pulley menu. By pushing left
> and right, the content shall flick to the content of the next respective
> previous week.
> >
> >I wonder how this works. I tried several things, but I don't know which
> components to combine to get this behavior. One possible solution is to use
> push buttons to go to previous/next week, but that's not very SailfishOS
> like.
> >
> >Maybe you can give me a clue. Or is it possible to have a look at the
> source code of Jolla Calendar app?
> >
> >Best regards,
> >Tobi
> >
> >
> >
> _______________________________________________
> SailfishOS.org Devel mailing list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140130/2dabf68a/attachment.html>


More information about the Devel mailing list