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

This commit is contained in:
Alexander Golubev
2015-07-26 10:30:58 +03:00
committed by Stefan Tröger
parent af385f1c57
commit 6134952a46
11 changed files with 68 additions and 183 deletions

View File

@@ -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)