+ Add new SVG icons

This commit is contained in:
wmayer
2013-11-08 14:36:34 +01:00
parent ce9041aa95
commit 11c6b429b2
7 changed files with 613 additions and 4 deletions

View File

@@ -38,10 +38,10 @@ using namespace std;
PROPERTY_SOURCE(PartGui::ViewProviderPrism, PartGui::ViewProviderPart)
ViewProviderPrism::ViewProviderPrism()
{
//sPixmap = "Tree_Part_Cone_Parametric.svg";
sPixmap = "Tree_Part_Prism.svg";
}
ViewProviderPrism::~ViewProviderPrism()
@@ -49,8 +49,6 @@ ViewProviderPrism::~ViewProviderPrism()
}
// **********************************************************************************
std::vector<std::string> ViewProviderPrism::getDisplayModes(void) const
@@ -66,3 +64,35 @@ std::vector<std::string> ViewProviderPrism::getDisplayModes(void) const
return StrList;
}
//**************************************************************************
// Construction/Destruction
PROPERTY_SOURCE(PartGui::ViewProviderWedge, PartGui::ViewProviderPart)
ViewProviderWedge::ViewProviderWedge()
{
sPixmap = "Tree_Part_Wedge.svg";
}
ViewProviderWedge::~ViewProviderWedge()
{
}
// **********************************************************************************
std::vector<std::string> ViewProviderWedge::getDisplayModes(void) const
{
// get the modes of the father
std::vector<std::string> StrList;
// add your own modes
StrList.push_back("Flat Lines");
StrList.push_back("Shaded");
StrList.push_back("Wireframe");
StrList.push_back("Points");
return StrList;
}