FEM: icons, rename plane icon

This commit is contained in:
Bernd Hahnebach
2018-08-07 08:06:08 +02:00
committed by wmayer
parent eba0a6a6f8
commit 1a1ce36f93
5 changed files with 5 additions and 5 deletions

View File

@@ -1446,7 +1446,7 @@ Gui::Action * CmdFemPostFunctions::createAction(void)
applyCommandData(this->className(), pcAction);
QAction* cmd0 = pcAction->addAction(QString());
cmd0->setIcon(Gui::BitmapFactory().pixmap("fem-plane"));
cmd0->setIcon(Gui::BitmapFactory().pixmap("fem-post-geo-plane"));
QAction* cmd1 = pcAction->addAction(QString());
cmd1->setIcon(Gui::BitmapFactory().pixmap("fem-sphere"));

View File

@@ -66,7 +66,7 @@
<file>icons/fem-post-geo-box.svg</file>
<file>icons/fem-post-geo-cylinder.svg</file>
<file>icons/fem-post-geo-isosurface.svg</file>
<file>icons/fem-plane.svg</file>
<file>icons/fem-post-geo-plane.svg</file>
<file>icons/fem-purge-results.svg</file>
<file>icons/fem-result.svg</file>
<file>icons/fem-run-solver.svg</file>

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -388,8 +388,8 @@ void TaskPostDisplay::applyPythonCode() {
//############################################################################################
// ?
// the icon fem-plane might be wrong but I do not know any better since the plane is one of the implicit functions
TaskPostFunction::TaskPostFunction(ViewProviderDocumentObject* view, QWidget* parent): TaskPostBox(view, Gui::BitmapFactory().pixmap("fem-plane"), tr("Implicit function"), parent) {
// the icon fem-post-geo-plane might be wrong but I do not know any better since the plane is one of the implicit functions
TaskPostFunction::TaskPostFunction(ViewProviderDocumentObject* view, QWidget* parent): TaskPostBox(view, Gui::BitmapFactory().pixmap("fem-post-geo-plane"), tr("Implicit function"), parent) {
assert(view->isDerivedFrom(ViewProviderFemPostFunction::getClassTypeId()));

View File

@@ -322,7 +322,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemPostPlaneFunction, FemGui::ViewProviderFe
ViewProviderFemPostPlaneFunction::ViewProviderFemPostPlaneFunction() {
sPixmap = "fem-plane";
sPixmap = "fem-post-geo-plane";
setAutoScale(true);