Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
General Treeview questions
_6__ last edited by
I've been using Gtk+ for a couple of years now and while most of the API works well, I've just about run out of patience with it's treeview widget. So before I start trying to install, learn and run some Qt tests, I'd like to just check if the following is possible:
I see that the QTreeWidgetItem can be dragged/dropped, but just to clarify, what are the limits of this feature? For example if I drag a node which has a hierarchy of child nodes, will the whole hierarchy be dropped into the destination node? Or if I just select a random selection of nodes in a hierarchy, can they be dragged to a new node. I guess I'm looking for the ability to drag/drop nodes like you would in a 3D modelling tool like StudioMax or Cinema4D, if anyone has used these.
Can I also just confirm that the QTreeWidgetItem object is a constant pointer? Gtk+ has this wierd changing 'Iter' concept which doesn't allow me to store a list of node pointers in array for when, say, I want to temporarily copy part of a Tree or when I want to associate a 3D Object with a Node. I presume Qt will allow this?
Not related to the Treeview, but I can't seem to find a description of an 'IconView' in Qt 5.2. Has this ability been implemented by a different set of Classes? I'd like to create a View which will display a model that contains lots of clickable Icons. Is this possible?