Add and display PartDesign Tree icons

created Partdesign_Hole, Tree_PartDesign_Pad, and
Tree_PartDesign_Revolution SVG icons
Referenced the above in the PartDesign.qrc file
Modified the ViewProviders to display the Tree_icons
for Chamfer, Fillet, Draft, Groove, Hole, LinearPattern,
Mirrored, MultiTransform, PolarTransform, Revolution,
Scaled, Pad and Pocket.
PartDesign_Hole has not been implemented yet however
the ViewProvider has been, so I added the icon
This commit is contained in:
jmaustpc
2013-03-17 04:43:56 +11:00
committed by Yorik van Havre
parent 5fff0f0fb8
commit 9da66cbb02
17 changed files with 1595 additions and 5 deletions

View File

@@ -33,7 +33,8 @@ class PartDesignGuiExport ViewProviderLinearPattern : public ViewProviderTransfo
PROPERTY_HEADER(PartGui::ViewProviderLinearPattern);
public:
ViewProviderLinearPattern()
{ featureName = std::string("LinearPattern"); }
{ featureName = std::string("LinearPattern");
sPixmap = "PartDesign_LinearPattern.svg"; }
protected:
virtual bool setEdit(int ModNum);