Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. General Treeview questions
Qt 6.11 is out! See what's new in the release blog

General Treeview questions

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 683 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _6__
    wrote on last edited by
    #1

    Hi everyone,

    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:

    1. 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.

    2. 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?

    3. 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?

    Thanks
    6

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved