Qt Designer Menu Format Similar to 3D Slicer

305 views Asked by At

I need to re-create a section of a GUI used in 3D Slicer in Qt Designer, but I can't exactly pin down what I need to use to make this:

enter image description here

which turns into:

enter image description here

I think that it's a drop-down menu that holds or acts as a container. This looks similar to a combo box, however the combo box cannot contain selection buttons that I would need in my application (at least to my knowledge). I think that it could possibly utilize a Tree Widget or List Widget, but I've looked through the Qt Design documentation and it doesn't mention anything similar, other than a combo box.

Do you have any suggestions on this?

1

There are 1 answers

2
deW1 On BEST ANSWER

In Qt this would be called a ToolBox.
It has the behavior that you're looking for.
In there you can place a TreeView to get the same look.

To be more specific: QToolBox