PDA

View Full Version : Redesigning a DockWidget



Dr. Norbert Prang
30th May 2006, 15:12
Hello,

does anybody know, how I can change the view and the special behavior of a DockWidget? When the widget is closed, it should show only the TitleBar with its text and a special internal value. A doubleclick on the TitleBar should maximize (as requested for complete view) or minimize (only the TitleBar is visible) the widget. Two colored round buttons (Mac-like look) should close/hide or dock/float the widget? Is it possible to make such a widget with Qt? If so, what are the essentiell steps to get such a behavior. I hope, that there's anyone who can help me.

Preliminary thanks.
Norbert

wysota
2nd June 2006, 12:18
It depends if by "closing" you mean "minimizing". If so, then I guess it could be possible, the rule is the same as for "expanding dialogs" (there is an example about it in Qt docs).

sandyam
10th August 2011, 12:55
I am also looking for similar features what you mentioned for dockwidget ,can you please help me out in this , are we able to customize the dockwidgets like this?