[Qt-interest] Issue with QDockWidget

Mark Pereira mark at softjin.com
Thu Mar 11 14:57:15 CET 2010


Hi,

I am developing an application which contains 6 QDockWidgets inside a
QMainWindow arranged in 3x2 matrix fashion, i.e. there are arranged in 3
columns and 2 rows manner as shown in image attached. The dockwidgets
are of fixed height and width. Now my issue is when I undock a
dockwidget from row1, the dockwidget below it moves up and takes up the
place of the former. I wanted to know if there is a way to avoid this
from happening. It seems that this a default property of dockwidgets in QT.

I am also attaching a sample program along with the mail.

Thanks,
Mark



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dockarrange.jpg
Type: image/jpeg
Size: 38638 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/ad1c0e7d/attachment.jpg 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: docktest.pro
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/ad1c0e7d/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cc
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/ad1c0e7d/attachment-0001.pl 


More information about the Qt-interest-old mailing list