Skip to content

Commit

Permalink
last stable commit before tentative of reorganization
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://orchestra.med.harvard.edu/svn/megason/Code/GoFigure2@1568 ef826fda-c0ae-4237-af8e-f8dcbcf7929c
  • Loading branch information
Arnaud Gelas committed Oct 5, 2009
1 parent 8776214 commit 10dac6e
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion branches/GoFigure2Beta/Code/GUI/src/QGoTabImageView3D.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,64 @@ QGoTabImageView3D::QGoTabImageView3D( QWidget* parent )

setupUi( this );

QActionGroup* group = new QActionGroup( this );

QAction* QuadViewAction = new QAction( tr("Quad-View"), this );
QuadViewAction->setCheckable( true );
QuadViewAction->setChecked( true );

group->addAction( QuadViewAction );

m_ViewActions.push_back( QuadViewAction );

QObject::connect( QuadViewAction, SIGNAL( triggered() ),
this, SLOT( Quadview() ) );

QAction* FullScreenXYAction = new QAction( tr( "Full-Screen XY" ), this );
FullScreenXYAction->setCheckable( true );

group->addAction( FullScreenXYAction );

m_ViewActions.push_back( FullScreenXYAction );

QObject::connect( FullScreenXYAction, SIGNAL( triggered() ),
this, SLOT( FullScreenViewXY() ) );

QAction* FullScreenXZAction = new QAction( tr( "Full-Screen XZ" ), this );
FullScreenXZAction->setCheckable( true );

group->addAction( FullScreenXZAction );

m_ViewActions.push_back( FullScreenXZAction );

QObject::connect( FullScreenXZAction, SIGNAL( triggered() ),
this, SLOT( FullScreenViewXZ() ) );

QAction* FullScreenYZAction = new QAction( tr( "Full-Screen YZ" ), this );
FullScreenYZAction->setCheckable( true );

group->addAction( FullScreenYZAction );

m_ViewActions.push_back( FullScreenYZAction );

QObject::connect( FullScreenYZAction, SIGNAL( triggered() ),
this, SLOT( FullScreenViewYZ() ) );

QAction* FullScreenXYZAction = new QAction( tr( "Full-Screen XYZ" ), this );
FullScreenXYZAction->setCheckable( true );

group->addAction( FullScreenXYZAction );

m_ViewActions.push_back( FullScreenXYZAction );

QObject::connect( FullScreenXYZAction, SIGNAL( triggered() ),
this, SLOT( FullScreenViewXYZ() ) );

QAction* separator = new QAction( this );
separator->setSeparator( true );

m_ViewActions.push_back( separator );

QAction* LookupTableAction = new QAction( tr( "Lookup Table" ), this );
LookupTableAction->setStatusTip( tr(" Change the associated lookup table" ) );

Expand All @@ -70,7 +98,6 @@ QGoTabImageView3D::QGoTabImageView3D( QWidget* parent )
this, SLOT( ChangeBackgroundColor() ) );

m_DockWidget = new QDockWidget( tr( "Slice" ) );
// m_DockWidget->setFloating( true );
m_DockWidget->resize( 120, 300 );

QWidget* temp = new QWidget();
Expand Down

0 comments on commit 10dac6e

Please sign in to comment.