PartDesign/Gui: make DressUp view providers use the common code.

This commit is contained in:
Alexander Golubev
2016-04-12 18:12:15 +02:00
committed by Stefan Tröger
parent 55f3f52f54
commit 1876c76f3c
11 changed files with 68 additions and 183 deletions
@@ -50,8 +50,8 @@ using namespace Gui;
TaskDressUpParameters::TaskDressUpParameters(ViewProviderDressUp *DressUpView, bool selectEdges, bool selectFaces, QWidget *parent)
: allowFaces(selectFaces), allowEdges(selectEdges),
TaskBox(Gui::BitmapFactory().pixmap((std::string("PartDesign_") + DressUpView->featureName).c_str()),
QString::fromAscii((DressUpView->featureName + " parameters").c_str()),
TaskBox(Gui::BitmapFactory().pixmap((std::string("PartDesign_") + DressUpView->featureName()).c_str()),
QString::fromAscii((DressUpView->featureName() + " parameters").c_str()),
true,
parent),
DressUpView(DressUpView)