From 6fd63ec80729130cb11a3f94cbd66233fb0e3b16 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 16 May 2008 18:09:02 +0000 Subject: [PATCH] To improve layouting for "slider functionality" --- src/VISUGUI/VISU_msg_en.ts | 2 +- src/VISUGUI/VisuGUI_Slider.cxx | 16 ++++++++-------- src/VISUGUI/VisuGUI_Sweep.cxx | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) 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" ) ); } -- 2.39.2