facet_min_size and cell_min_size disabled by default in the dialog

This commit is contained in:
Jane Tournois 2023-10-05 13:36:52 +02:00
parent 2461ae3bba
commit 7727bb8364
1 changed files with 14 additions and 0 deletions

View File

@ -508,6 +508,11 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
ui.facetMinSizing,
SLOT(setEnabled(bool)));
connect(ui.noFacetMinSizing,
SIGNAL(toggled(bool)),
ui.sizingMinLabel,
SLOT(setEnabled(bool)));
connect(
ui.noAngle, SIGNAL(toggled(bool)), ui.facetAngle, SLOT(setEnabled(bool)));
@ -521,6 +526,11 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
ui.tetMinSizing,
SLOT(setEnabled(bool)));
connect(ui.noTetMinSizing,
SIGNAL(toggled(bool)),
ui.tetMinSizingLabel,
SLOT(setEnabled(bool)));
connect(ui.noTetShape,
SIGNAL(toggled(bool)),
ui.tetShape,
@ -602,6 +612,8 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
diag); // max
ui.facetSizing->setValue(facets_sizing);
ui.facetMinSizing->setValue(facets_min_sizing);
ui.facetMinSizing->setEnabled(false);
ui.noFacetMinSizing->setChecked(false);
ui.edgeSizing->setValue(edges_sizing);
ui.edgeMinSizing->setValue(edges_min_sizing);
@ -609,6 +621,8 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
diag); // max
ui.tetSizing->setValue(tets_sizing); // default value
ui.tetMinSizing->setValue(tets_min_sizing);
ui.tetMinSizing->setEnabled(false);
ui.noTetMinSizing->setChecked(false);
ui.approx->setRange(diag * 10e-7, // min
diag); // max