+ // Hide all widgets
+ this->m_UI->Q1->hide( );
+ this->m_UI->Q2->hide( );
+ this->m_UI->Q3->hide( );
+ this->m_UI->Q4->hide( );
+ this->m_UI->Q1->close( );
+ this->m_UI->Q2->close( );
+ this->m_UI->Q3->close( );
+ this->m_UI->Q4->close( );
+
+ // Reorder them
+ if ( q1 == 'x' ) this->m_UI->Top->addWidget( this->m_XImage );
+ else if( q1 == 'y' ) this->m_UI->Top->addWidget( this->m_YImage );
+ else if( q1 == 'z' ) this->m_UI->Top->addWidget( this->m_ZImage );
+ else if( q1 == 'w' ) this->m_UI->Top->addWidget( this->m_3DView );
+ if ( q2 == 'x' ) this->m_UI->Top->addWidget( this->m_XImage );
+ else if( q2 == 'y' ) this->m_UI->Top->addWidget( this->m_YImage );
+ else if( q2 == 'z' ) this->m_UI->Top->addWidget( this->m_ZImage );
+ else if( q2 == 'w' ) this->m_UI->Top->addWidget( this->m_3DView );
+ this->m_UI->Top->update( );
+ if ( q4 == 'x' ) this->m_UI->Bottom->addWidget( this->m_XImage );
+ else if( q4 == 'y' ) this->m_UI->Bottom->addWidget( this->m_YImage );
+ else if( q4 == 'z' ) this->m_UI->Bottom->addWidget( this->m_ZImage );
+ else if( q4 == 'w' ) this->m_UI->Bottom->addWidget( this->m_3DView );
+ if ( q3 == 'x' ) this->m_UI->Bottom->addWidget( this->m_XImage );
+ else if( q3 == 'y' ) this->m_UI->Bottom->addWidget( this->m_YImage );
+ else if( q3 == 'z' ) this->m_UI->Bottom->addWidget( this->m_ZImage );
+ else if( q3 == 'w' ) this->m_UI->Bottom->addWidget( this->m_3DView );
+ this->m_UI->Bottom->update( );
+
+ // Keep track
+ if ( q1 == 'x' ) this->m_UI->Q1 = this->m_XImage;
+ else if( q1 == 'y' ) this->m_UI->Q1 = this->m_YImage;
+ else if( q1 == 'z' ) this->m_UI->Q1 = this->m_ZImage;
+ else if( q1 == 'w' ) this->m_UI->Q1 = this->m_3DView;
+ if ( q2 == 'x' ) this->m_UI->Q2 = this->m_XImage;
+ else if( q2 == 'y' ) this->m_UI->Q2 = this->m_YImage;
+ else if( q2 == 'z' ) this->m_UI->Q2 = this->m_ZImage;
+ else if( q2 == 'w' ) this->m_UI->Q2 = this->m_3DView;
+ if ( q3 == 'x' ) this->m_UI->Q3 = this->m_XImage;
+ else if( q3 == 'y' ) this->m_UI->Q3 = this->m_YImage;
+ else if( q3 == 'z' ) this->m_UI->Q3 = this->m_ZImage;
+ else if( q3 == 'w' ) this->m_UI->Q3 = this->m_3DView;
+ if ( q4 == 'x' ) this->m_UI->Q4 = this->m_XImage;
+ else if( q4 == 'y' ) this->m_UI->Q4 = this->m_YImage;
+ else if( q4 == 'z' ) this->m_UI->Q4 = this->m_ZImage;
+ else if( q4 == 'w' ) this->m_UI->Q4 = this->m_3DView;
+
+ // Draw all
+ this->m_UI->Q1->show( );
+ this->m_UI->Q2->show( );
+ this->m_UI->Q3->show( );
+ this->m_UI->Q4->show( );
+ dynamic_cast< RendererWidget* >( this->m_UI->Q1 )->SetQuadrant( 1 );
+ dynamic_cast< RendererWidget* >( this->m_UI->Q2 )->SetQuadrant( 2 );
+ dynamic_cast< RendererWidget* >( this->m_UI->Q3 )->SetQuadrant( 3 );
+ dynamic_cast< RendererWidget* >( this->m_UI->Q4 )->SetQuadrant( 4 );