PDA

View Full Version : Load images in a sequence in QML



anupama
29th November 2010, 08:10
Hi,

I am trying to create a photos viewer application. I need to scroll the images list one after the other in a loop.
I used the Image as a delegate of Repeater component. And set the model.modelData as the source element of Image.
But all the images are getting loaded on top of each other. How can i access individual elements of the model ?
Could someone provide the list of parameters available for "model" component ?
Also please suggest if can use any other component other than Repeater to create a images scrolling view.

Thanks,
Anupama

bezstellar
1st December 2010, 09:24
you can draw on the example "Photo Viewer" in Qt example: Demos/declarative/photoviewer
that's what you want!