I have a QTreeWidget, and I want to populate it with a list of items. Each item would be just a standard one sort of like this:

Screen Shot 2013-08-25 at 10.25.37 AM.png

(Sorry that these came out so small)


Ideally, upon clicking on the label ("Node 0" in this case), the item would expand to give an array of QSliders with a little set button, like this:


Screen Shot 2013-08-25 at 10.25.49 AM.png

As you might have guessed, this QTreeWidget is part of an interface that lets the user move objects around a scene. All interpretations aside, though, is this sort of customization feasible with QTreeWidgetItems (e.g., with setItemWidget)? Or do I need to use something like QTreeView?

Alternatively, if anyone knows of a good example of some sort of list structure filled with custom, dynamic widgets, please provide a link.