Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
Have a look. I cannot say that I like it :) You see also what I mean
by tiny title bar (which is admittedly aesthetics).
This depends on the QStyle in use apparently.
Appearance:
A QDockWidget consists of a title bar and the content area. The titlebar
displays the dock widgets window title, a float button and a close
button. Depending on the state of the QDockWidget, the float and close
buttons may be either disabled or not shown at all.
The visual appearance of the title bar and buttons is dependent on the
style in use.
I see... but look at mine. There is no much difference between a real
dialog and this one. This is on WinXP with Qt4.2.
There are two differences compared to a QDialog:
1) this floating dialog is semi-modal: you cannot put it behind the main
window but it does not keep the focus.
2) there is no window bar entry for it.
Another difference is that the undocked widget remember it's last size
and position which is very nice.
Abdel.