shblsh
shblsh

Reputation: 81

Adding dynamic content underneath a qt tree widget item

I'm trying to implement the functionality detailed in this image, but I'm running into some trouble because it seems that tree widget items don't support this kind of content:

enter image description here

As you can see, I would like to be able to add dynamic content underneath a tree widget item...content such as radio buttons and sliders. Any leads?

Upvotes: 1

Views: 612

Answers (1)

Pavel Strakhov
Pavel Strakhov

Reputation: 40512

You could use item delegates to implement such items properly. But I think QTreeWidget is an overkill. You should use something like QToolBox.

Upvotes: 2

Related Questions