FEM: move to new style connect()

This commit is contained in:
wmayer
2023-01-15 22:23:53 +01:00
parent a9b9899846
commit 32bbdb0ab2
5 changed files with 14 additions and 12 deletions

View File

@@ -63,14 +63,16 @@ TaskTetParameter::TaskTetParameter(Fem::FemMeshShapeNetgenObject *pcObject,QWidg
this, &TaskTetParameter::maxSizeValueChanged);
QObject::connect(ui->comboBox_Fineness, qOverload<int>(&QComboBox::activated),
this, &TaskTetParameter::SwitchMethod);
QObject::connect(ui->checkBox_SecondOrder,SIGNAL(stateChanged (int)),this,SLOT(setQuadric(int)));
QObject::connect(ui->checkBox_SecondOrder, &QCheckBox::stateChanged,
this, &TaskTetParameter::setQuadric);
QObject::connect(ui->doubleSpinBox_GrowthRate, qOverload<double>(&QDoubleSpinBox::valueChanged),
this, &TaskTetParameter::setGrowthRate);
QObject::connect(ui->spinBox_SegsPerEdge, qOverload<int>(&QSpinBox::valueChanged),
this, &TaskTetParameter::setSegsPerEdge);
QObject::connect(ui->spinBox_SegsPerRadius, qOverload<int>(&QSpinBox::valueChanged),
this, &TaskTetParameter::setSegsPerRadius);
QObject::connect(ui->checkBox_Optimize,SIGNAL(stateChanged (int)),this,SLOT(setOptimize(int)));
QObject::connect(ui->checkBox_Optimize, &QCheckBox::stateChanged,
this, &TaskTetParameter::setOptimize);
if(pcObject->FemMesh.getValue().getInfo().numNode == 0)
touched = true;