FEM: icons, rename plane icon
This commit is contained in:
@@ -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"));
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
@@ -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()));
|
||||
|
||||
|
||||
@@ -322,7 +322,7 @@ PROPERTY_SOURCE(FemGui::ViewProviderFemPostPlaneFunction, FemGui::ViewProviderFe
|
||||
|
||||
ViewProviderFemPostPlaneFunction::ViewProviderFemPostPlaneFunction() {
|
||||
|
||||
sPixmap = "fem-plane";
|
||||
sPixmap = "fem-post-geo-plane";
|
||||
|
||||
setAutoScale(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user