Involved development of the OpenMW construction set.
- Posts: 51
- Joined: 27 Nov 2011, 08:23
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.
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.
- Posts: 5434
- Joined: 06 Aug 2011, 15:16
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.
Who is online
Users browsing this forum: No registered users and 2 guests