[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:       John Tapsell <johnflux () gmail ! com>
Date:       2009-12-30 21:01:33
Message-ID: 43d8ce650912301301q59702478l4dac653cf8bea493 () mail ! gmail ! com
[Download RAW message or body]

2009/12/30 Aaron J. Seigo <aseigo@kde.org>:
> 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.

I'm sorry, I should have qualified that as "for us mortals" :-)

John
 
>> 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