PD: harmonize API of view provider classes

* add virtual method featureName() to ViewProviderTransformed
* add featureIcon() to ViewProviderTransformed and ViewProviderDressUp
This commit is contained in:
wmayer
2023-04-24 12:25:04 +02:00
parent 217f3c22f2
commit fa8bdfd550
16 changed files with 65 additions and 13 deletions

View File

@@ -33,3 +33,9 @@ PROPERTY_SOURCE(PartDesignGui::ViewProviderScaled,PartDesignGui::ViewProviderTra
TaskDlgFeatureParameters *ViewProviderScaled::getEditDialog() {
return new TaskDlgScaledParameters (this);
}
const std::string & ViewProviderScaled::featureName() const
{
static const std::string name = "Scaled";
return name;
}