[Qt-interest] How to make a QDockWidget behave more like a toplevel widget
Bo Thorsen
bo at fioniasoftware.dk
Fri Aug 27 08:18:46 CEST 2010
Hi David,
Den 26-08-2010 18:24, David Boosalis skrev:
> Sorry for the resend, I edited out the "not" in my second issue below
>
> On Thu, Aug 26, 2010 at 9:22 AM, David Boosalis
> <david.boosalis at gmail.com <mailto:david.boosalis at gmail.com>> wrote:
>
> When I drag a dock widget from its main window and place it on the
> screen and then click on another widget the doc window will
> disappear. I'd like to cancel this behaviour. Is there a flag I
> can set for this.
Have you tried setting the Qt::WindowStaysOnTopHint window flag on the
dock widget?
> Also in my main window I (edited not out) want my dock widgets to
> be tabbed only, but sometimes on startup I get nested dock widgets.
> Even though I explicitly set
> QMainWindow::setDockOptions(QMainWindow::ForceTabbedDocks). Anyone
> else seen this behavior ? Is it a bug ?
Sounds like it :( I hope you can find the time to make a small self
contained example application and enter a bug report.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list