Did you define the appropriate section properties in your ListView?

http://doc.qt.nokia.com/4.7/qml-listview.html#section.property-prop


On Aug 24, 2011, at 7:39 PM, ext Todd Rose wrote:

> Thanks for the info Chris,
> 
> I think SectionScroller might be what I'm looking for...unfortunately
> it doesn't work for me.  I get the following error:
> 
> SectionScroller.js:69 : TypeError: Result of expression
> '_sectionData[_sections.indexOf(sectionName)]' [undefined] is not an
> object.
> 
> My ListViews use C++ models that are QList<QObject*> ... is this not 
> supported?
> 
> -Todd
> 
> 
> 
> On Fri, Aug 12, 2011 at 11:17 AM,  <[email protected]> wrote:
>> Hi Todd,
>> 
>> Two things to check out:
>> 
>> 1. Flickable.maximumFlickVelocity: 
>> http://doc.qt.nokia.com/4.7-snapshot/qml-flickable.html#maximumFlickVelocity-prop
>> 2. SectionScroller from Qt Components*: 
>> http://doc.qt.nokia.com/qt-components-symbian-1.0/qml-sectionscroller.html
>> 
>> Chris
>> 
>> * Also available on MeeGo, but the docs aren't yet online
>> 
>> On Aug 11, 2011, at 11:54 PM, ext Todd Rose wrote:
>> 
>>> Let's say I have a ListView with 500 or 1000 elements.  The model is
>>> fast and the delegates are small.  Scrolling is relatively smooth, but
>>> it takes an eternity to flick scroll from the top of the list to the
>>> bottom.  Is there any way to increase the vertical scroll speed?
>>> Ideally I would like to add a scroll bar item on the right side and
>>> allow the user to drag that up/down in order to quickly zoom to
>>> locations in the list.  Is this currently possible?
>>> 
>>> The native address book application on Symbian^3 would be a good
>>> example of what I'm looking for.  The floating 'A', 'B', 'C', etc.
>>> indicators would be nice to have but aren't necessary.  Fast scrolling
>>> through a large list is really all I need.
>>> 
>>> Thanks in advance,
>>> TC
>>> _______________________________________________
>>> 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