From: apo Date: Fri, 16 May 2008 18:09:02 +0000 (+0000) Subject: To improve layouting for "slider functionality" X-Git-Tag: TG_VISU_2008_2008-06-26~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6fd63ec80729130cb11a3f94cbd66233fb0e3b16;p=modules%2Fvisu.git To improve layouting for "slider functionality" --- diff --git a/src/VISUGUI/VISU_msg_en.ts b/src/VISUGUI/VISU_msg_en.ts index f75d2b1b..ceacca2e 100644 --- a/src/VISUGUI/VISU_msg_en.ts +++ b/src/VISUGUI/VISU_msg_en.ts @@ -2848,7 +2848,7 @@ Please, provide non-empty resulting presentation. [ 0, +PI ][ 0, +PI ] [ -PI, +PI ][ -PI, +PI ] - DELAY_BETWEEN_STEPSStep Dealy [ sec ]: + DELAY_BETWEEN_STEPSStep Delay [ sec ]: VisuGUI_Slider diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 7715195b..1c06a069 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -157,10 +157,10 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI* theModule, myTimeStampStrings->setFocusPolicy( Qt::StrongFocus ); aGridLayout->addWidget( myTimeStampStrings, 2, 3, 1, 2 ); } - { - QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - aGridLayout->addItem( aSpacerItem, 3, 0 ); - } + //{ + // QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); + // aGridLayout->addItem( aSpacerItem, 3, 0 ); + //} } aTabWidget->addTab( aParent, tr( "NAVIGATION_TAB" ) ); @@ -237,10 +237,10 @@ VisuGUI_Slider::VisuGUI_Slider( VisuGUI* theModule, aVBoxLayout->addLayout( aHBoxLayout ); } - { - QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - aVBoxLayout->addItem( aSpacerItem ); - } + //{ + // QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); + // aVBoxLayout->addItem( aSpacerItem ); + //} aTabWidget->addTab( aParent, tr( "PROPERTIES_TAB" ) ); } diff --git a/src/VISUGUI/VisuGUI_Sweep.cxx b/src/VISUGUI/VisuGUI_Sweep.cxx index f343ac84..3ad6ac65 100644 --- a/src/VISUGUI/VisuGUI_Sweep.cxx +++ b/src/VISUGUI/VisuGUI_Sweep.cxx @@ -154,10 +154,10 @@ VisuGUI_Sweep::VisuGUI_Sweep( VisuGUI* theModule, aVBoxLayout->addLayout( aHBoxLayout ); } - { - QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - aVBoxLayout->addItem( aSpacerItem ); - } + //{ + // QSpacerItem* aSpacerItem = new QSpacerItem( 16, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); + // aVBoxLayout->addItem( aSpacerItem ); + //} aTabWidget->addTab( aNavigationTab, tr( "NAVIGATION_TAB" ) ); }