From 57a42b4adc2165b0e02142bf1fbce9418e3cecb6 Mon Sep 17 00:00:00 2001 From: nkv Date: Wed, 4 Jun 2008 08:42:16 +0000 Subject: [PATCH] Move "View Parameters" toolbar button --- src/SVTK/SVTK_MainWindow.cxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/SVTK/SVTK_MainWindow.cxx b/src/SVTK/SVTK_MainWindow.cxx index f8a026ec2..6d10964f0 100644 --- a/src/SVTK/SVTK_MainWindow.cxx +++ b/src/SVTK/SVTK_MainWindow.cxx @@ -541,15 +541,6 @@ SVTK_MainWindow connect(anAction, SIGNAL(activated()), this, SLOT(onRightView())); mgr->registerAction( anAction, RightId ); - // View Parameters - anAction = new QtxAction(tr("MNU_VIEWPARAMETERS_VIEW"), - theResourceMgr->loadPixmap( "VTKViewer", tr( "ICON_SVTK_VIEW_PARAMETERS" ) ), - tr( "MNU_VIEWPARAMETERS_VIEW" ), 0, this); - anAction->setStatusTip(tr("DSC_VIEWPARAMETERS_VIEW")); - anAction->setCheckable(true); - connect(anAction, SIGNAL(toggled(bool)), this, SLOT(onViewParameters(bool))); - mgr->registerAction( anAction, ViewParametersId ); - // Reset anAction = new QtxAction(tr("MNU_RESET_VIEW"), theResourceMgr->loadPixmap( "VTKViewer", tr( "ICON_VTKVIEWER_VIEW_RESET" ) ), @@ -592,6 +583,15 @@ SVTK_MainWindow anAction->setCheckable(true); connect(anAction, SIGNAL(toggled(bool)), this, SLOT(onUpdateRate(bool))); mgr->registerAction( anAction, UpdateRate ); + + // View Parameters + anAction = new QtxAction(tr("MNU_VIEWPARAMETERS_VIEW"), + theResourceMgr->loadPixmap( "VTKViewer", tr( "ICON_SVTK_VIEW_PARAMETERS" ) ), + tr( "MNU_VIEWPARAMETERS_VIEW" ), 0, this); + anAction->setStatusTip(tr("DSC_VIEWPARAMETERS_VIEW")); + anAction->setCheckable(true); + connect(anAction, SIGNAL(toggled(bool)), this, SLOT(onViewParameters(bool))); + mgr->registerAction( anAction, ViewParametersId ); } #if defined(WIN32) && !defined(_DEBUG) @@ -636,11 +636,11 @@ SVTK_MainWindow mgr->append( ResetId, myToolBar ); - mgr->append( ViewParametersId, myToolBar ); - mgr->append( UpdateRate, myToolBar ); mgr->append( NonIsometric, myToolBar ); mgr->append( GraduatedAxes, myToolBar ); + + mgr->append( ViewParametersId, myToolBar ); } /*! -- 2.39.2