[Interest] Proxy model prepending rows to model
Stephen Kelly
stephen.kelly at kdab.com
Mon Oct 28 13:39:34 CET 2013
On Monday, October 28, 2013 12:27:03 André Somers wrote:
> >> Am I missing something obvious here ?
> >
> > It's not really possible to add rows using a proxy model. Any attempt to
> > do so will inevitably be buggy. Rows/columns can only be filtered out.
>
> Do you care to explain that a bit more? I don't see why it would need to
> be buggy at all. It may tricky to do, but that's not the same.
When the base model updates its persistent indexes, the proxy can't know in
all cases how to update the persistent indexes of the extra stuff.
Thanks,
--
Join us in November at Qt Developer Days 2013 - https://devdays.kdab.com
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/interest/attachments/20131028/798e9b8e/attachment.sig>
More information about the Interest
mailing list