]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[bos #32736][CEA] Threshold of criteria. Added Threshold checkbox to the Scalar Bar...
authorkosta <kleontev@Debian11.kleontev.virtualbox.org>
Tue, 28 Mar 2023 09:41:45 +0000 (11:41 +0200)
committerkosta <kleontev@Debian11.kleontev.virtualbox.org>
Tue, 28 Mar 2023 09:41:45 +0000 (11:41 +0200)
src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx
src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.h
src/SMESHGUI/SMESH_msg_en.ts
src/SMESHGUI/SMESH_msg_fr.ts
src/SMESHGUI/SMESH_msg_ja.ts

index ce5e3462cd3bc936f5e6a03119667749017ff343..25480624d78c745d83b67a1bffce87abe75912a7 100644 (file)
@@ -146,11 +146,16 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg( SMESHGUI*
   myLogarithmicCheck->setText(tr("SMESH_LOGARITHMIC_SCALARBAR"));
   myLogarithmicCheck->setChecked(false);
 
+  myThresholdCheck = new QCheckBox (myRangeGrp);
+  myThresholdCheck->setText(tr("SMESH_TRESHOLD_SCALARBAR"));
+  myThresholdCheck->setChecked(false);
+
   myRangeGrpLayout->addWidget( new QLabel( tr( "SMESH_RANGE_MIN" ), myRangeGrp ), 0, 0, 1, 1 );
   myRangeGrpLayout->addWidget( myMinEdit, 0, 1, 1, 1 );
   myRangeGrpLayout->addWidget( new QLabel( tr( "SMESH_RANGE_MAX" ), myRangeGrp ), 0, 2, 1, 1 );
   myRangeGrpLayout->addWidget( myMaxEdit, 0, 3, 1, 1 );
-  myRangeGrpLayout->addWidget( myLogarithmicCheck, 1, 0, 1, 4 );
+  myRangeGrpLayout->addWidget( myLogarithmicCheck, 1, 0, 1, 1 );
+  myRangeGrpLayout->addWidget( myThresholdCheck, 1, 1, 1, 1 );
 
   aTopLayout->addWidget( myRangeGrp );
 
index 297f84ee4af38cc5076e73be768c1831d85fe136..3345ad1f3c2c7fe3096a3d181c0896453b2e867c 100644 (file)
@@ -97,6 +97,7 @@ private:
   QLineEdit*               myMinEdit;
   QLineEdit*               myMaxEdit;
   QCheckBox*               myLogarithmicCheck;
+  QCheckBox*               myThresholdCheck;
 
   QGroupBox*               myFontGrp;
   QtxColorButton*          myTitleColorBtn;
index a627143dad79b0e67bf10faa84926739d872f699..0a0f69bc6d52138832bcdedd1495d87e1069296d 100644 (file)
@@ -2224,6 +2224,10 @@ Check algorithm documentation for supported geometry</translation>
         <source>SMESH_LOGARITHMIC_SCALARBAR</source>
         <translation>Logarithmic</translation>
     </message>
+    <message>
+        <source>SMESH_TRESHOLD_SCALARBAR</source>
+        <translation>Threshold</translation>
+    </message>
     <message>
         <source>SMESH_MAKE_GROUPS</source>
         <translation>Generate groups</translation>
index 726b2633b6f194c74b54e7dff84feead3c1dfbee..af8541f2d249b7c2c86c4b472c1a758b59a2e8b1 100644 (file)
@@ -2222,6 +2222,10 @@ Référez-vous à la documentation sur l'algorithme et la géométrie supportée
         <source>SMESH_LOGARITHMIC_SCALARBAR</source>
         <translation>Logarithmique</translation>
     </message>
+    <message>
+        <source>SMESH_TRESHOLD_SCALARBAR</source>
+        <translation>Seuil</translation>
+    </message>
     <message>
         <source>SMESH_MAKE_GROUPS</source>
         <translation>Générer les groupes</translation>
index 369b86a57a802ccc203fe9a2eccd3401ee0ade85..ba16e96d60d6ca9419b34172c37198cef0cfe5ea 100644 (file)
       <source>SMESH_LOGARITHMIC_SCALARBAR</source>
       <translation>対数</translation>
     </message>
+    <message>
+        <source>SMESH_TRESHOLD_SCALARBAR</source>
+        <translation>しきい値</translation>
+    </message>
     <message>
       <source>SMESH_MAKE_GROUPS</source>
       <translation>グループを生成します。</translation>