Partial homogenization of FEM dialogs for constraints (#21538)

* FEM: Add context menu entry for clearing the reference list in constraints

See #6085

* FEM: Add 'Remove' button to python based dialogs for adding geometry references

See #6085
This commit is contained in:
Ralf Habacker
2025-06-09 17:51:36 +02:00
committed by GitHub
parent a46d84aa2e
commit 719ee20ba4
15 changed files with 50 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ TaskFemConstraintFixed::TaskFemConstraintFixed(ViewProviderFemConstraintFixed* C
QMetaObject::connectSlotsByName(this);
// create a context menu for the listview of the references
createDeleteAction(ui->lw_references);
createActions(ui->lw_references);
connect(deleteAction, &QAction::triggered, this, &TaskFemConstraintFixed::onReferenceDeleted);
connect(ui->lw_references,
&QListWidget::currentItemChanged,