[TechDraw] Reimplement Rich Annotation parent linking
This commit is contained in:
@@ -118,7 +118,10 @@ public:
|
||||
|
||||
void translateLabel(std::string context, std::string baseName, std::string uniqueName);
|
||||
|
||||
virtual App::PropertyLink *getOwnerProperty() { return nullptr; }
|
||||
|
||||
protected:
|
||||
void onBeforeChange(const App::Property *prop) override;
|
||||
void onChanged(const App::Property* prop) override;
|
||||
virtual void validateScale();
|
||||
std::string pageFeatName;
|
||||
@@ -128,6 +131,8 @@ protected:
|
||||
int prefScaleType();
|
||||
double prefScale();
|
||||
|
||||
void touchTreeOwner(App::DocumentObject *owner) const;
|
||||
|
||||
private:
|
||||
static const char* ScaleTypeEnums[];
|
||||
static App::PropertyFloatConstraint::Constraints scaleRange;
|
||||
|
||||
Reference in New Issue
Block a user