[Kmymoney-devel] porting the widgets to the qt model/view framework

Thomas Baumgart thb at net-bembel.de
Sat Jan 16 11:44:36 CET 2010


On Saturday 16 January 2010 00:52:46 Cristian Oneţ wrote:
> În data de Sîmbătă 16 Ianuarie 2010 01:50:01 Alvaro Soliverez a scris:
> > It was natural to happen. From what I have seen in the accountselector
> > class, you should have a model that loads the account list as-is, then
> > have a proxy model to sort/filter where you can move all the logic
> > that is now happening in the accountselector class itself. That way,
> > we can reuse the account model better.
> > Eventually, I think we'll have models for every object in mymoney,
> > plus proxy models for the specific logic of the views or widgets.
>
> You've read my thoughts :).

So I see, that we have a very good common understanding about the design of 
this area. One model that might become a bit tricky is that for 
transactions/splits. After all, we want to prevent loading all of the 
information from the backend into the model.


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
90 percent of all errors are sitting
60 cm in front of the display.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100116/1c2847f4/attachment.sig 


More information about the KMyMoney-devel mailing list