+ Use new icons in Mesh workbench

This commit is contained in:
wmayer
2013-12-20 16:28:14 +01:00
parent 5224e9a2ba
commit 098f39e7c5
14 changed files with 3246 additions and 166 deletions

View File

@@ -59,6 +59,7 @@
#include <App/Document.h>
#include <App/DocumentObjectGroup.h>
#include <Gui/Application.h>
#include <Gui/BitmapFactory.h>
#include <Gui/Document.h>
#include <Gui/MainWindow.h>
#include <Gui/Selection.h>
@@ -365,32 +366,7 @@ void ViewProviderMeshCurvature::setVertexCurvatureMode(int mode)
QIcon ViewProviderMeshCurvature::getIcon() const
{
static const char * Mesh_Feature_xpm[] = {
"16 16 7 1",
". c None",
"# c #000000",
"s c #BEC2FC",
"g c #00FF00",
"y c #FFFF00",
"b c #0000FF",
"r c #FF0000",
".......##.......",
"....#######.....",
"..##ggg#yyy#....",
"##ggggg#yyyy##..",
"#b#ggg#yyyyyy##.",
"#bb#gg#yyyy###s.",
"#bb#gg#yy##yy#s.",
"#bbb#####rrr#ss.",
"#bbbb##rrrr#ss..",
".#b##b#rrrr#s...",
".##bbb#rrr#ss...",
".##bbb#r#ss.....",
"..s#####r#s.....",
"....sss##ss.....",
"........ss......",
"................"};
QPixmap px(Mesh_Feature_xpm);
static QPixmap px = Gui::BitmapFactory().pixmap(":/icons/Mesh_Tree_Curvature_Plot.svg");
return px;
}