Skip to content

Commit

Permalink
FEM: rename icon, post filter clip region
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 6, 2020
1 parent 5b37070 commit 46531ed
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Command.cpp
Expand Up @@ -1208,7 +1208,7 @@ CmdFemPostClipFilter::CmdFemPostClipFilter()
sToolTipText = QT_TR_NOOP("Define/create a clip filter which uses functions to define the cliped region");
sWhatsThis = "FEM_PostFilterClipRegion";
sStatusTip = sToolTipText;
sPixmap = "fem-post-filter-clip-region";
sPixmap = "FEM_PostFilterClipRegion";
}

void CmdFemPostClipFilter::activated(int)
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/Resources/Fem.qrc
Expand Up @@ -51,7 +51,7 @@
<file>icons/FEM_MaterialReinforced.svg</file>
<file>icons/FEM_MaterialSolid.svg</file>
<file>icons/fem-post-data-pipline.svg</file>
<file>icons/fem-post-filter-clip-region.svg</file>
<file>icons/FEM_PostFilterClipRegion.svg</file>
<file>icons/fem-post-filter-clip-scalar.svg</file>
<file>icons/fem-post-filter-cut-function.svg</file>
<file>icons/fem-post-filter-data-along-line.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/TaskPostBoxes.cpp
Expand Up @@ -424,7 +424,7 @@ void TaskPostFunction::applyPythonCode() {
// ***************************************************************************
// region clip filter
TaskPostClip::TaskPostClip(ViewProviderDocumentObject* view, App::PropertyLink* function, QWidget* parent)
: TaskPostBox(view,Gui::BitmapFactory().pixmap("fem-post-filter-clip-region"), tr("Clip region, choose implicit function"), parent) {
: TaskPostBox(view,Gui::BitmapFactory().pixmap("FEM_PostFilterClipRegion"), tr("Clip region, choose implicit function"), parent) {

assert(view->isDerivedFrom(ViewProviderFemPostClip::getClassTypeId()));
assert(function);
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/Gui/ViewProviderFemPostFilter.cpp
Expand Up @@ -34,7 +34,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemPostClip, FemGui::ViewProviderFemPostObje

ViewProviderFemPostClip::ViewProviderFemPostClip() {

sPixmap = "fem-post-filter-clip-region";
sPixmap = "FEM_PostFilterClipRegion";
}

ViewProviderFemPostClip::~ViewProviderFemPostClip() {
Expand Down

0 comments on commit 46531ed

Please sign in to comment.