From: ouv Date: Wed, 22 Nov 2006 13:29:22 +0000 (+0000) Subject: minor changes X-Git-Tag: WP1_2_3_05-12-2006_cache_system~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0c2df97b037b531de9e5a2855118a7f58243649;p=modules%2Fvisu.git minor changes --- diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 442078e9..72b06314 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -181,7 +181,6 @@ VisuGUI_Slider::VisuGUI_Slider( VVTK_ViewWindow* theViewWindow, connect( myNextButton, SIGNAL( clicked() ), SLOT( onNext() ) ); connect( myLastButton, SIGNAL( clicked() ), SLOT( onLast() ) ); - connect( mySlider, SIGNAL( sliderMoved( int ) ), SLOT( onSliderMoved( int ) ) ); connect( mySlider, SIGNAL( valueChanged( int ) ), SLOT( onValueChanged( int ) ) ); connect( mySpeedBox, SIGNAL( valueChanged( int ) ), SLOT( onSpeedChanged( int ) ) ); @@ -289,7 +288,7 @@ void VisuGUI_Slider::onSelectionChanged() dynamic_cast( VISU::GetServant(aHolder->GetDevice()).in() ); if( aPrs && !aPrs->IsTimeStampFixed() ) { - cout << "ColoredPrs3d" << endl; + //cout << "ColoredPrs3d" << endl; myPrsList.resize(k+1); myPrsList[k] = aPrs; k++; @@ -355,14 +354,8 @@ void VisuGUI_Slider::onLast() mySlider->setValue( value ); } -void VisuGUI_Slider::onSliderMoved( int value ) -{ -} - void VisuGUI_Slider::onValueChanged( int value ) { - //cout << "VisuGUI_Slider::onValueChanged " << value << endl; - if( myPrsList.size() == 0 ) return; diff --git a/src/VISUGUI/VisuGUI_Slider.h b/src/VISUGUI/VisuGUI_Slider.h index cfc5d314..6075ecc5 100644 --- a/src/VISUGUI/VisuGUI_Slider.h +++ b/src/VISUGUI/VisuGUI_Slider.h @@ -75,7 +75,6 @@ public slots: virtual void onNext(); virtual void onLast(); - virtual void onSliderMoved( int ); virtual void onValueChanged( int ); virtual void onSpeedChanged( int );