[Development] Access lazy Models from within QML
Stephen Kelly
stephen.kelly at kdab.com
Mon Mar 11 11:53:26 CET 2013
On Monday, March 04, 2013 16:51:32 Alan Alpert wrote:
> > This is not a bug, ListView does not currently support canFetchMore
> > (which only claims to be used by QAbstractItemView, so the docs are
> > accurate already).
What a strange justification to not support canFetchMore. It boggles the mind
that that would be the justification for you.
It should be obvious that any view should support canFetchMore. The mention of
QAbstractItemView is obviously historical. Other mentions of canFetchMore in
the QAIM docs do not mention it:
To create models that populate incrementally, you can reimplement fetchMore()
and canFetchMore().
I've uploaded a patch to try to clarify the docs.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130311/70cd7826/attachment.sig>
More information about the Development
mailing list