FEM: rename icon, Constraint Contact

This commit is contained in:
Bernd Hahnebach
2020-03-06 08:38:55 +01:00
parent 8a0833dd93
commit 4be60f06fa
5 changed files with 4 additions and 4 deletions

View File

@@ -338,7 +338,7 @@ CmdFemConstraintContact::CmdFemConstraintContact()
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for contact between faces");
sWhatsThis = "FEM_ConstraintContact";
sStatusTip = sToolTipText;
sPixmap = "fem-constraint-contact";
sPixmap = "FEM_ConstraintContact";
}
void CmdFemConstraintContact::activated(int)

View File

@@ -9,7 +9,7 @@
<file>icons/fem-clipping-plane-add.svg</file>
<file>icons/fem-clipping-plane-remove-all.svg</file>
<file>icons/FEM_ConstraintBearing.svg</file>
<file>icons/fem-constraint-contact.svg</file>
<file>icons/FEM_ConstraintContact.svg</file>
<file>icons/fem-constraint-displacement.svg</file>
<file>icons/fem-constraint-electrostatic-potential.svg</file>
<file>icons/fem-constraint-fixed.svg</file>

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -59,7 +59,7 @@ using namespace Gui;
/* TRANSLATOR FemGui::TaskFemConstraintContact */
TaskFemConstraintContact::TaskFemConstraintContact(ViewProviderFemConstraintContact *ConstraintView,QWidget *parent)
: TaskFemConstraint(ConstraintView, parent, "fem-constraint-contact")
: TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintContact")
{
proxy = new QWidget(this);
ui = new Ui_TaskFemConstraintContact();

View File

@@ -54,7 +54,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintContact, FemGui::ViewProviderFe
ViewProviderFemConstraintContact::ViewProviderFemConstraintContact()
{
sPixmap = "fem-constraint-contact";
sPixmap = "FEM_ConstraintContact";
//Note change "Contact" in line above to new constraint name, make sure it is the same as in taskFem* cpp file
ADD_PROPERTY(FaceColor,(0.2f,0.3f,0.2f));
}