Progress ... Finally

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

Re: Progress ... Finally

Post by Eli2 »

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
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Progress ... Finally

Post by Zini »

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