Commit 7a878753 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - corrected creation order of animation dock and the others so that...

[CHANGE] - corrected creation order of animation dock and the others so that it does not appear on front by default
parent f12bfc23
......@@ -216,11 +216,6 @@ void WMainWindow::setupGUI()
tabifyDockWidget( m_controlPanel->getModuleDock(), m_controlPanel->getColormapperDock() );
tabifyDockWidget( m_controlPanel->getColormapperDock(), m_controlPanel->getRoiDock() );
// by default, the module editor should be in front
m_controlPanel->getModuleDock()->raise();
addDockWidget( Qt::RightDockWidgetArea, m_controlPanel );
m_glDock = new QMainWindow();
m_glDock->setObjectName( "GLDock" );
m_glDock->setDockOptions( QMainWindow::AnimatedDocks | QMainWindow::AllowNestedDocks | QMainWindow::AllowTabbedDocks );
......@@ -233,8 +228,14 @@ void WMainWindow::setupGUI()
m_mainGLWidgetScreenCapture = m_mainGLWidget->getScreenCapture( this );
m_glDock->addDockWidget( Qt::RightDockWidgetArea, mainGLDock );
addDockWidget( Qt::RightDockWidgetArea, m_mainGLWidgetScreenCapture );
tabifyDockWidget( m_controlPanel->getRoiDock(), m_mainGLWidgetScreenCapture );
connect( m_mainGLWidget.get(), SIGNAL( renderedFirstFrame() ), this, SLOT( handleGLVendor() ) );
addDockWidget( Qt::RightDockWidgetArea, m_controlPanel );
// by default, the module editor should be in front
m_controlPanel->getModuleDock()->raise();
// NOTE: we abuse the gl widgets first frame event to handle startup news.
connect( m_mainGLWidget.get(), SIGNAL( renderedFirstFrame() ), this, SLOT( handleStartMessages() ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment