How to add a close and minimize button to a widget, that is embedded into another widget?
I want to embed some widgets into anothe Qt widget (into docking widget, for example). But I want to let user minimize or close them (just like the widgets on the right half of the picture)?
Can you tell me, how can it be done?
The easyest way is using QDockWidget or QMdiSubWindow (but the first is probably what you want)