I am glad that it helped, Diego :)
When testing PathView I made many different pathviews with the different amount 
of rectangles to see how it behaves - unfortunately PathView layouting logic is 
hard to understand [to me]. You may still have some "snaps" on very short 
finger moves, but only on real minor ones.

As for saving the memory and cutting the picture in pieces, it may be possible 
to use just a single in-memory picture and make your delegates show different 
pieces of it. 

Cheers,
Artem.


On Jul 18, 2011, at 4:59 PM, Diego Dotta wrote:

> You're right Artem, 
> 
> Flicking works fine with a few pixels if you have many elements compared to 
> the size of pathline.
> 
> But in this example, I have only two elements (mode:2 using the same image) 
> and I needed to use the 'NoHighlightRange' in highlightRangeMode, so the 
> pathview behaves differently. the next element, which is the image itself, 
> does not snap automatically, everything depends on the drag of the mouse.
> 
> If I increase the model, I also have to increase the size of pathline, what 
> proportion does not change anything. But you gave me an idea, if I cut the 
> panorama image into small pieces, is not the best practice but might work.
> 
> Thanks Artem!!
> Diego
> 
> 
> 
> 2011/7/18 Artem Marchenko <[email protected]>
> Hi
> 
> I had a lot of headache with PathView when implementing endless scroll for 
> simulating a roller (you can see from screenshot at 
> http://store.ovi.com/content/135126 ).
> 
> Have you tried placing many elements to PathView? If you use lots of them, 
> even a few pixels drag may be enough for a move to the next element.
> 
> Best regards,
> Artem.
> 
> On Jul 18, 2011, at 3:40 PM, Diego Dotta wrote:
> 
>> Hi Guys
>> 
>> Im working in a project who need a 360 degrees panorama, i make a experiment 
>> with PathView, if someone had the same challenge, I made a video of the 
>> result of this experiment.
>> 
>> I had some problems, but I think they are PathView features, such as not 
>> flicking when I drag a few pixels. :(
>> 
>> http://www.youtube.com/user/diegodotta?feature=mhee#p/c/CFBC1AA7FB138753/0/Ws7nrpgkkD4
>> 
>> Diego
>> _______________________________________________
>> Qt-qml mailing list
>> [email protected]
>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
> 
> 
> 
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to