From b0c2df97b037b531de9e5a2855118a7f58243649 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 22 Nov 2006 13:29:22 +0000 Subject: [PATCH] minor changes --- src/VISUGUI/VisuGUI_Slider.cxx | 9 +-------- src/VISUGUI/VisuGUI_Slider.h | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) 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 ); -- 2.39.2