Skip to content

Commit

Permalink
FEM: rename icon, result show
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 6, 2020
1 parent 769bb52 commit 45259a6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Resources/Fem.qrc
Expand Up @@ -63,7 +63,7 @@
<file>icons/fem-post-geo-isosurface.svg</file>
<file>icons/fem-post-geo-plane.svg</file>
<file>icons/fem-post-geo-sphere.svg</file>
<file>icons/fem-post-result-show.svg</file>
<file>icons/FEM_ResultShow.svg</file>
<file>icons/fem-post-results-purge.svg</file>
<file>icons/fem-solver-analysis-frequency.svg</file>
<file>icons/fem-solver-analysis-static.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/TaskPostBoxes.cpp
Expand Up @@ -344,7 +344,7 @@ void TaskPostBox::updateEnumerationList(App::PropertyEnumeration& prop, QComboBo
// ***************************************************************************
// post pipeline results
TaskPostDisplay::TaskPostDisplay(Gui::ViewProviderDocumentObject* view, QWidget *parent)
: TaskPostBox(view, Gui::BitmapFactory().pixmap("fem-post-result-show"), tr("Result display options"), parent)
: TaskPostBox(view, Gui::BitmapFactory().pixmap("FEM_ResultShow"), tr("Result display options"), parent)
{
//we need a separate container widget to add all controls to
proxy = new QWidget(this);
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/ViewProviderResult.cpp
Expand Up @@ -37,7 +37,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderResult, Gui::ViewProviderDocumentObject)

ViewProviderResult::ViewProviderResult()
{
sPixmap = "fem-post-result-show";
sPixmap = "FEM_ResultShow";
}

ViewProviderResult::~ViewProviderResult()
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/femcommands/commands.py
Expand Up @@ -899,7 +899,7 @@ class _ResultShow(CommandManager):
def __init__(self):
super(_ResultShow, self).__init__()
self.resources = {
"Pixmap": "fem-post-result-show",
"Pixmap": "FEM_ResultShow",
"MenuText": QtCore.QT_TRANSLATE_NOOP(
"FEM_ResultShow",
"Show result"
Expand Down
Expand Up @@ -52,7 +52,7 @@ class _ViewProviderFemResultMechanical(ViewProviderFemConstraint.ViewProxy):

def getIcon(self):
"""after load from FCStd file, self.icon does not exist, return constant path instead"""
return ":/icons/fem-post-result-show.svg"
return ":/icons/FEM_ResultShow.svg"

def setEdit(self, vobj, mode=0):
ViewProviderFemConstraint.ViewProxy.setEdit(
Expand Down

0 comments on commit 45259a6

Please sign in to comment.