Skip to content

Commit cf93cc2

Browse files
author
timlinux
committedAug 6, 2008
Added hints for docks so left and right use full height and top and bottom nest between left and right docks
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8999 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,16 @@ static void customSrsValidation_(QgsSpatialRefSys* srs)
321321

322322
mSplash->showMessage(tr("Setting up the GUI"), Qt::AlignHCenter | Qt::AlignBottom);
323323
qApp->processEvents();
324+
325+
// Make the right and left docks consume all vertical space and top
326+
// and bottom docks nest between them
327+
328+
setCorner(Qt::TopLeftCorner, Qt::LeftDockWidgetArea);
329+
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
330+
setCorner(Qt::TopRightCorner, Qt::RightDockWidgetArea);
331+
setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea);
332+
333+
324334
createActions();
325335
createActionGroups();
326336
createMenus();

0 commit comments

Comments
 (0)
Please sign in to comment.