Commit 934e7678 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 229afccf
......@@ -75,22 +75,22 @@ void WMainWindow::setupGUI()
setCentralWidget( m_mainGLWidget.get() );
// initially 3 views
/*m_navAxial = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "axial", 160, "axialPos" ) );
m_navAxial->getGLWidget()->initialize();
addDockWidget( Qt::LeftDockWidgetArea, m_navAxial.get() );
m_navCoronal = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "coronal", 200, "coronalPos" ) );
m_navCoronal->getGLWidget()->initialize();
addDockWidget( Qt::LeftDockWidgetArea, m_navCoronal.get() );
m_navSagittal = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "sagittal", 160, "sagittalPos" ) );
m_navSagittal->getGLWidget()->initialize();
addDockWidget( Qt::LeftDockWidgetArea, m_navSagittal.get() );
connect( m_navAxial.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
connect( m_navCoronal.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
connect( m_navSagittal.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
*/
//m_navAxial = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "axial", 160, "axialPos" ) );
//m_navAxial->getGLWidget()->initialize();
//addDockWidget( Qt::LeftDockWidgetArea, m_navAxial.get() );
//m_navCoronal = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "coronal", 200, "coronalPos" ) );
//m_navCoronal->getGLWidget()->initialize();
//addDockWidget( Qt::LeftDockWidgetArea, m_navCoronal.get() );
//m_navSagittal = boost::shared_ptr< WQtNavGLWidget >( new WQtNavGLWidget( "sagittal", 160, "sagittalPos" ) );
//m_navSagittal->getGLWidget()->initialize();
//addDockWidget( Qt::LeftDockWidgetArea, m_navSagittal.get() );
//connect( m_navAxial.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
//connect( m_navCoronal.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
//connect( m_navSagittal.get(), SIGNAL( navSliderValueChanged( QString, int ) ), &m_propertyManager, SLOT( slotIntChanged( QString, int ) ) );
m_datasetBrowser = new WQtDatasetBrowser();
addDockWidget( Qt::RightDockWidgetArea, m_datasetBrowser );
m_datasetBrowser->addSubject( "subject1" );
......@@ -224,14 +224,14 @@ void WMainWindow::closeEvent( QCloseEvent* e )
m_mainGLWidget->close();
m_mainGLWidget.reset();
/*m_navAxial->close();
m_navAxial.reset();
// m_navAxial->close();
//m_navAxial.reset();
m_navCoronal->close();
m_navCoronal.reset();
//m_navCoronal->close();
//m_navCoronal.reset();
m_navSagittal->close();
m_navSagittal.reset();*/
//m_navSagittal->close();
//m_navSagittal.reset();
// finally close
e->accept();
......
......@@ -62,7 +62,7 @@ public:
* Since the widget is not visible during construction, the OSG thread may cause errors, so we use a post constructor.
*/
virtual void initialize();
/**
* returns the recommended size for the widget to allow
* parent widgets to give it a proper initial layout
......@@ -206,7 +206,6 @@ private:
* True when initialized.
*/
bool m_isInitialized;
};
#endif // WQTGLWIDGET_H
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