[Kmymoney-devel] KMyMoneyMVCCombo and KMyMoneyCombo

Cristian Oneț onet.cristian at gmail.com
Wed Sep 17 04:50:15 UTC 2014


2014-09-16 21:19 GMT+03:00 Christian Dávid <christian-david at web.de>:
> Hi all,
>
> I just found KMyMoneyMVCCombo. The docu says I should use them as it is the
> successor of KMyMoneyCombo. I guess the MVC in the name means Model-View-
> Controler. But I cannot see any usage of a real model or controller pattern.
> What did I get wrong? What is better with KMyMoneyMVCCombo?

KMyMoneyCombo is the old editable combobox based on kMyMoneyCompletion
and KMyMoneySelector. KMyMoneyMVCCombo the new combobox using Qt4
completion. It is better because it can be used with a model.
Unfortunately the Qt4 completion mechanism is not sufficiently
flexible to implement the kind of completion that we have in the
category editor. That's why the old mechanism was preserved (we failed
to port it).

Anyway the recommendation is to use KMyMoneyMVCCombo on top of a model
if it can be used to implement the desired behavior.

Regards,
Cristian

>
> Greetings
> Christian
>
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel


More information about the KMyMoney-devel mailing list