[SailfishDevel] Documentation on listview on cover
richard grooff
rgrnetalk at yahoo.com
Fri Nov 7 21:31:00 UTC 2014
Hi Jarmo,
Thanks for your swift response.
The listmodel is created on thirdpage. I would like the data of the listmodel on the coverpage (using listview with reference to thirdpage.listmodel).
Regards,
Richard
From: Jarmo Lahtiranta <jarmo.lahtiranta at iki.fi>
To: devel at lists.sailfishos.org
Sent: Friday, November 7, 2014 4:36 PM
Subject: Re: [SailfishDevel] Documentation on listview on cover
On 11/07/2014 04:08 PM, Richard Grooff wrote:
> Hi, I have tried to get a listview on the cover of my app, but
> haven't succeeded so far. Is there any documentation how to do this.
> The silica reference is very short on covers (and has no information
> on listview on the cover)?
ListView is pretty well documented on the Qt side.
http://qt-project.org/doc/qt-5/qml-qtquick-listview.html
I don't think using it in the cover is that different from using it in
the main app. Getting data from app to the cover might be another issue
though, so I suggest trying to get it to work with dummy data first.
Maybe this example will help you:
https://github.com/naranek/routeskipper/blob/master/qml/pages/CoverPage.qml
It's from my app and there's a big ListView in the center of the cover
page. It shows just one delegate at a time and swiping left and right
changes the ListView index.
-Jarmo
_______________________________________________
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/20141107/db54b586/attachment.html>
More information about the Devel
mailing list