From: vsv Date: Thu, 18 Sep 2008 05:39:39 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TG_VISU_2008_Development_Finished~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=efb85628dabaf3ffad85fadde398067abfd726c0;p=modules%2Fvisu.git *** empty log message *** --- diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 229b91b4..52684c1b 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -165,6 +165,7 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI* theModule, } aTabWidget->addTab( aParent, tr( "NAVIGATION_TAB" ) ); + myPlayTab = aParent; } { @@ -204,7 +205,7 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI* theModule, myUsedMemory = new QLineEdit( aParent ); myUsedMemory->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed ); - myUsedMemory->setEnabled( false ); + //myUsedMemory->setEnabled( false ); aHBoxLayout->addWidget( myUsedMemory ); QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); @@ -215,7 +216,7 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI* theModule, myFreeMemory = new QLineEdit( aParent ); myFreeMemory->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Fixed ); - myFreeMemory->setEnabled( false ); + //myFreeMemory->setEnabled( false ); aHBoxLayout->addWidget( myFreeMemory ); aVBoxLayout->addLayout( aHBoxLayout ); @@ -371,7 +372,7 @@ bool VisuGUI_Slider::checkHolderList() //---------------------------------------------------------------------------- void VisuGUI_Slider::enableControls( bool on ) { - setEnabled( on ); + myPlayTab->setEnabled( on ); if( on ) { diff --git a/src/VISUGUI/VisuGUI_Slider.h b/src/VISUGUI/VisuGUI_Slider.h index 5adc197f..9bf08483 100644 --- a/src/VISUGUI/VisuGUI_Slider.h +++ b/src/VISUGUI/VisuGUI_Slider.h @@ -110,6 +110,8 @@ private: QLabel* myFirstTimeStamp; QLabel* myLastTimeStamp; + QWidget* myPlayTab; + QToolButton* myIsCycled; QToolButton* myFirstButton; QToolButton* myPreviousButton;