FEM: icons, rename show result icon

This commit is contained in:
Bernd Hahnebach
2018-08-07 08:36:54 +02:00
committed by wmayer
parent 4019cc3466
commit af61ca6698
6 changed files with 5 additions and 5 deletions

View File

@@ -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>

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -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);

View File

@@ -37,7 +37,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderResult, Gui::ViewProviderDocumentObject)
ViewProviderResult::ViewProviderResult()
{
sPixmap = "fem-result";
sPixmap = "fem-post-result-show";
}
ViewProviderResult::~ViewProviderResult()

View File

@@ -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")}

View File

@@ -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