Hi All

I wish to create a widget which does everything QGroupBox does except is does not have 'Checkable' but has a button (+/-) in the the title area that when clicked on collapses/shrinks the widget to show just the title hiding any child widgets. What is the best approach? Looking at the QGroupBox code I need to derived my new widget direct from QWidget, not QGroupBox. However do I need to use QWidgetPrivate derived class too (private to me for a reason?)? What is the purpose of this class exactly? If a do use it what kind of functionality should it hold that would not be suitable to be containing in class QGroupBoxCollapsible : public QWidget?

Thanks
Cya Illya