[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How I refresh a QTreeView if the model data changes?
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2009-12-30 20:57:11
Message-ID: 200912301257.12152.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On December 30, 2009, John Tapsell wrote:
> Making a custom model is difficult - expect it to take half a year to get
> right.
really depends on the complexity of the model and one's familiarity with the
concepts. there are also some nice tools in the Qt Labs site somewhere that
help test models. 6 months is a really pessimistic view; i've hacked up models
that work quite nicely in an hour or two and others that i've spent quite a
bit of time debugging. as with most things, the trick is to keep it simple and
don't do anything too silly. treating a model as an interface to an existing
data store and nothing more really helps ime.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic