From efb85628dabaf3ffad85fadde398067abfd726c0 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 18 Sep 2008 05:39:39 +0000 Subject: [PATCH] *** empty log message *** --- src/VISUGUI/VisuGUI_Slider.cxx | 7 ++++--- src/VISUGUI/VisuGUI_Slider.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) 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; -- 2.39.2