FEM: rename icon, Constraint Plane Rotation

This commit is contained in:
Bernd Hahnebach
2020-03-06 08:39:19 +01:00
parent 34cbca72ca
commit 41133faade
5 changed files with 4 additions and 4 deletions

View File

@@ -684,7 +684,7 @@ CmdFemConstraintPlaneRotation::CmdFemConstraintPlaneRotation()
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for plane rotation face");
sWhatsThis = "FEM_ConstraintPlaneRotation";
sStatusTip = sToolTipText;
sPixmap = "fem-constraint-planerotation";
sPixmap = "FEM_ConstraintPlaneRotation";
}
void CmdFemConstraintPlaneRotation::activated(int)

View File

@@ -20,7 +20,7 @@
<file>icons/FEM_ConstraintHeatflux.svg</file>
<file>icons/FEM_ConstraintInitialFlowVelocity.svg</file>
<file>icons/FEM_ConstraintInitialTemperature.svg</file>
<file>icons/fem-constraint-planerotation.svg</file>
<file>icons/FEM_ConstraintPlaneRotation.svg</file>
<file>icons/fem-constraint-pressure.svg</file>
<file>icons/fem-constraint-pulley.svg</file>
<file>icons/fem-constraint-selfweight.svg</file>

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -70,7 +70,7 @@ using namespace Gui;
/* TRANSLATOR FemGui::TaskFemConstraintPlaneRotation */
TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(ViewProviderFemConstraintPlaneRotation *ConstraintView,QWidget *parent)
: TaskFemConstraint(ConstraintView, parent, "fem-constraint-planerotation")
: TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintPlaneRotation")
{ //Note change "planerotation" in line above to new constraint name
proxy = new QWidget(this);
ui = new Ui_TaskFemConstraintPlaneRotation();

View File

@@ -55,7 +55,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintPlaneRotation, FemGui::ViewProv
ViewProviderFemConstraintPlaneRotation::ViewProviderFemConstraintPlaneRotation()
{
sPixmap = "fem-constraint-planerotation";
sPixmap = "FEM_ConstraintPlaneRotation";
//Note change "planerotation" 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));
}