[FEM] use std::unique_ptr for all dialog objects

- also fix too long line
- also further clang automatic code style changes
This commit is contained in:
Uwe
2023-03-22 19:13:24 +01:00
parent 48a921d2b7
commit 97103b3bf3
42 changed files with 1463 additions and 831 deletions

View File

@@ -46,10 +46,10 @@ using namespace Gui;
TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(
ViewProviderFemConstraintDisplacement* ConstraintView, QWidget* parent)
: TaskFemConstraintOnBoundary(ConstraintView, parent, "FEM_ConstraintDisplacement")
: TaskFemConstraintOnBoundary(ConstraintView, parent, "FEM_ConstraintDisplacement"),
ui(new Ui_TaskFemConstraintDisplacement)
{
proxy = new QWidget(this);
ui = new Ui_TaskFemConstraintDisplacement();
ui->setupUi(proxy);
QMetaObject::connectSlotsByName(this);
@@ -174,9 +174,7 @@ TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(
}
TaskFemConstraintDisplacement::~TaskFemConstraintDisplacement()
{
delete ui;
}
{}
void TaskFemConstraintDisplacement::updateUI()
{