[bos #32736][CEA] Threshold of criteria. Added Threshold checkbox to the Scalar Bar Properties dialog.

This commit is contained in:
kosta 2023-03-28 11:41:45 +02:00
parent b5ad174931
commit 326bd24286
5 changed files with 19 additions and 1 deletions

View 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 );

View File

@ -97,6 +97,7 @@ private:
QLineEdit* myMinEdit;
QLineEdit* myMaxEdit;
QCheckBox* myLogarithmicCheck;
QCheckBox* myThresholdCheck;
QGroupBox* myFontGrp;
QtxColorButton* myTitleColorBtn;

View 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>

View 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>

View File

@ -1979,6 +1979,10 @@
<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>