]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To improve layouting for "slider functionality"
authorapo <apo@opencascade.com>
Fri, 16 May 2008 18:09:02 +0000 (18:09 +0000)
committerapo <apo@opencascade.com>
Fri, 16 May 2008 18:09:02 +0000 (18:09 +0000)
src/VISUGUI/VISU_msg_en.ts
src/VISUGUI/VisuGUI_Slider.cxx
src/VISUGUI/VisuGUI_Sweep.cxx

index f75d2b1b454958a8761886d850c5c3741fe16395..ceacca2e80f7365aeeba9678efed93436e25f596 100644 (file)
@@ -2848,7 +2848,7 @@ Please, provide non-empty resulting presentation.</translation>
         <message><source>[ 0, +PI ]</source><translation>[ 0, +PI ]</translation></message>
         <message><source>[ -PI, +PI ]</source><translation>[ -PI, +PI ]</translation></message>
 
-        <message><source>DELAY_BETWEEN_STEPS</source><translation>Step Dealy [ sec ]:</translation></message>
+        <message><source>DELAY_BETWEEN_STEPS</source><translation>Step Delay [ sec ]:</translation></message>
     </context>
     <context>
         <name>VisuGUI_Slider</name>
index 7715195b51a332ca9a53c6fb6a31fda162d750a7..1c06a069942ca3f407acd06bf821601bf15132da 100644 (file)
@@ -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" ) );
     }
index f343ac84b35eaccef9a443f563bade451877568b..3ad6ac654b669423f23d2a781adcfdd6c595143d 100644 (file)
@@ -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" ) );
     }