[Qt-interest] Expandable-Collapsable Frame using Designer ?

Sean Harmer sean.harmer at maps-technology.com
Thu Jun 10 08:21:41 CEST 2010


Hi,

On Thursday 10 June 2010 07:02:31 Santhosh Y wrote:
> Hi,
> 
> Can anybody suggest Qt-element for having such a feature shown in the
> attached figure(element.JPG).
> I have a header element with expand/collapse icon, and a list of
> elements under the header element.
> 
> Is there any ready-made Qt-element, which supports this?
> How Qt-Designer developed this feature? Can somebody point to the code
> used for developing this?

You want WidgetBoxCategoryListView which can be found in the source of 
designer. Look in your Qt source dir under:

tools/designer/src/components/widgetbox/

Not sure how closely tied in to designer it is. With any luck you can just use 
it. If not, then you can certainly get some hints from it on how to implement 
such a view.

Good luck,

Sean



More information about the Qt-interest-old mailing list