FEM: icons, rename show result icon
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
<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-purge-results.svg</file>
|
||||
<file>icons/fem-result.svg</file>
|
||||
<file>icons/fem-run-solver.svg</file>
|
||||
<file>icons/fem-shell-thickness.svg</file>
|
||||
<file>icons/fem-solver.svg</file>
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -338,7 +338,7 @@ void TaskPostBox::updateEnumerationList(App::PropertyEnumeration& prop, QComboBo
|
||||
//###########################################################################################################
|
||||
// post pipeline results
|
||||
TaskPostDisplay::TaskPostDisplay(Gui::ViewProviderDocumentObject* view, QWidget *parent)
|
||||
: TaskPostBox(view, Gui::BitmapFactory().pixmap("fem-result"), tr("Result display options"), parent)
|
||||
: TaskPostBox(view, Gui::BitmapFactory().pixmap("fem-post-result-show"), 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-result";
|
||||
sPixmap = "fem-post-result-show";
|
||||
}
|
||||
|
||||
ViewProviderResult::~ViewProviderResult()
|
||||
|
||||
@@ -645,7 +645,7 @@ class _CommandFemResultShow(CommandManager):
|
||||
"The FEM_ResultShow command definition"
|
||||
def __init__(self):
|
||||
super(_CommandFemResultShow, self).__init__()
|
||||
self.resources = {'Pixmap': 'fem-result',
|
||||
self.resources = {'Pixmap': 'fem-post-result-show',
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("FEM_ResultShow", "Show result"),
|
||||
'Accel': "S, R",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("FEM_ResultShow", "Shows and visualizes selected result data")}
|
||||
|
||||
@@ -51,7 +51,7 @@ class _ViewProviderFemResultMechanical:
|
||||
|
||||
def getIcon(self):
|
||||
"""after load from FCStd file, self.icon does not exist, return constant path instead"""
|
||||
return ":/icons/fem-result.svg"
|
||||
return ":/icons/fem-post-result-show.svg"
|
||||
|
||||
def attach(self, vobj):
|
||||
self.ViewObject = vobj
|
||||
|
||||
Reference in New Issue
Block a user