From: nkv Date: Wed, 4 Jun 2008 08:42:16 +0000 (+0000) Subject: Move "View Parameters" toolbar button X-Git-Tag: TG_VISU_2008_2008-06-26~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57a42b4adc2165b0e02142bf1fbce9418e3cecb6;p=modules%2Fgui.git Move "View Parameters" toolbar button --- 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 ); } /*!