Progress ... Finally

Involved development of the OpenMW construction set.
Posts: 52
Joined: 27 Nov 2011, 08:23

Re: Progress ... Finally

Post by Eli2 » 09 Sep 2012, 16:28

Zini wrote:Certainly you can have multiple view classes for a single model(-interface) in Qt, right.
Yes, i currently use the same viewmodel [model(-interface)] for the filtertree and the combobox in the idlist.
Zini wrote: I just don't see what such an all all-encompassing tree view would be good for.
It is a fast and easy way to test if the QAbstractItemModel works correctly.

User avatar
Posts: 5537
Joined: 06 Aug 2011, 15:16

Re: Progress ... Finally

Post by Zini » 09 Sep 2012, 16:40

So we are talking about a custom debugging tool here and not something that would actually be used in the editor. Sounds like overkill to me. You can check the correctness of the individual parts of the model onces the respective views are implemented.

But I don't know how much work such a custom debugging tool actually would be in Qt. Might be trivial after all. So if you really want to do it, go ahead. But you should make sure that it is properly separated from the real GUI, because there we definitely don't want any treeviews (individual filters and maybe one more case not related to ESX records being the only exceptions I can think of). We probably don't want to have this debugging treeview in the release build.

Post Reply