FEM: rename icon, Constraint Plane Rotation
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -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();
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user