FEM: rename icon, result show
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -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);
|
||||
|
||||
@@ -37,7 +37,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderResult, Gui::ViewProviderDocumentObject)
|
||||
|
||||
ViewProviderResult::ViewProviderResult()
|
||||
{
|
||||
sPixmap = "fem-post-result-show";
|
||||
sPixmap = "FEM_ResultShow";
|
||||
}
|
||||
|
||||
ViewProviderResult::~ViewProviderResult()
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user