[QGIS Commit] r8999 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Aug 5 20:25:38 EDT 2008


Author: timlinux
Date: 2008-08-05 20:25:38 -0400 (Tue, 05 Aug 2008)
New Revision: 8999

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
Added hints for docks so left and right use full height and top and bottom nest between left and right docks

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2008-08-06 00:24:31 UTC (rev 8998)
+++ trunk/qgis/src/app/qgisapp.cpp	2008-08-06 00:25:38 UTC (rev 8999)
@@ -321,6 +321,16 @@
 
   mSplash->showMessage(tr("Setting up the GUI"), Qt::AlignHCenter | Qt::AlignBottom);
   qApp->processEvents();
+
+  // Make the right and left docks consume all vertical space and top
+  // and bottom docks nest between them
+
+  setCorner(Qt::TopLeftCorner, Qt::LeftDockWidgetArea);
+  setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
+  setCorner(Qt::TopRightCorner, Qt::RightDockWidgetArea);
+  setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea);
+
+
   createActions();
   createActionGroups();
   createMenus();



More information about the QGIS-commit mailing list