FEM: rename icon, Constraint Heatflux

This commit is contained in:
Bernd Hahnebach
2020-03-06 08:39:13 +01:00
parent 7034467911
commit 990ba344a3
7 changed files with 6 additions and 6 deletions

View File

@@ -596,7 +596,7 @@ CmdFemConstraintHeatflux::CmdFemConstraintHeatflux()
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a heatflux acting on a face");
sWhatsThis = "FEM_ConstraintHeatflux";
sStatusTip = sToolTipText;
sPixmap = "fem-constraint-heatflux";
sPixmap = "FEM_ConstraintHeatflux";
}
void CmdFemConstraintHeatflux::activated(int)

View File

@@ -17,7 +17,7 @@
<file>icons/FEM_ConstraintFluidBoundary.svg</file>
<file>icons/FEM_ConstraintForce.svg</file>
<file>icons/FEM_ConstraintGear.svg</file>
<file>icons/fem-constraint-heatflux.svg</file>
<file>icons/FEM_ConstraintHeatflux.svg</file>
<file>icons/fem-constraint-initial-flow-velocity.svg</file>
<file>icons/fem-constraint-initial-temperature.svg</file>
<file>icons/fem-constraint-planerotation.svg</file>

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -59,7 +59,7 @@ using namespace Gui;
/* TRANSLATOR FemGui::TaskFemConstraintHeatflux */
TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(ViewProviderFemConstraintHeatflux *ConstraintView,QWidget *parent)
: TaskFemConstraint(ConstraintView, parent, "fem-constraint-heatflux")
: TaskFemConstraint(ConstraintView, parent, "FEM_ConstraintHeatflux")
{
proxy = new QWidget(this);
ui = new Ui_TaskFemConstraintHeatflux();

View File

@@ -54,7 +54,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemConstraintHeatflux, FemGui::ViewProviderF
ViewProviderFemConstraintHeatflux::ViewProviderFemConstraintHeatflux()
{
sPixmap = "fem-constraint-heatflux";
sPixmap = "FEM_ConstraintHeatflux";
ADD_PROPERTY(FaceColor,(0.2f,0.3f,0.2f));
}

View File

@@ -156,7 +156,7 @@ class _ConstraintBodyHeatSource(CommandManager):
def __init__(self):
super(_ConstraintBodyHeatSource, self).__init__()
self.resources = {
"Pixmap": "fem-constraint-heatflux", # the heatflux icon is used
"Pixmap": "FEM_ConstraintHeatflux", # the heatflux icon is used
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ConstraintBodyHeatSource",
"Constraint body heat source"

View File

@@ -34,6 +34,6 @@ from . import ViewProviderFemConstraint
class ViewProxy(ViewProviderFemConstraint.ViewProxy):
def getIcon(self):
return ":/icons/fem-constraint-heatflux.svg"
return ":/icons/FEM_ConstraintHeatflux.svg"
## @}