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