Widget Box - How is it made?
In QT Designer there is the Widget Box, which contains the various elements, organised into categories such as Layouts, Spacers, Buttons, etc...and those titles can be expanded / collapsed.
a) How is the widget box made? Has somebody created a standalone widget of that provides this functionality?
b) Is there a better way of making a widget, that has a set of "titles" that act like buttons, which expand / collapse a series of listed elements?
The most simple way to see how it's implemented is to look at Designer's source code.
You might also be interested by QToolBox
Hope it helps