Hi Mathias,

I tried ListView with the properties you said, that's what I want.
Thanks.

Best Regards
Shawn

On Wed, 2011-08-10 at 11:45 +0000, [email protected] wrote:
> Hi Shawn, 
> 
> If your main aim is to keep the highlight in a fixed position (and that's 
> why you thought PathView was the best option) then perhaps you've
> overlooked the ListView's preferredHighlightBegin/preferredHighlightEnd
> and highlightRangeMode properties. Using these you can restrict the 
> movements of the list's highlight.
> 
> See
> http://doc.qt.nokia.com/4.7-snapshot/qml-listview.html
> 
> 
> Cheers
> Mathias
> 
> ________________________________________
> From: [email protected] 
> [[email protected]] on behalf of ext 
> Shawn [[email protected]]
> Sent: Wednesday, August 10, 2011 4:06 AM
> To: [email protected]
> Subject: [Qt-qml] How to make PathView stop when it reach the last elemnt of  
>   model
> 
> Hi,
> 
> I want to make a list that keep highlight in fixed position.
> After investigation, PathView seems the choice, but it automatically
> rotate all the elements in the model.
> How to make PathView stop when it reach the last elemnt of model?
> or am I in the right direction?
> 
> Best Regards,
> Shawn
> 
> _______________________________________________
> 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