FEM: move to new style connect()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user