* [TD]allow DrawViewAnno to be attached to another view * [TD]allow image and spreadsheet attach to view * [TD]ensure correct parent in scene * [TD]refactor command helpers to separate file - gathering the helpers in one place - helper redundancy to be address in another change * [TD]create symbol, spreadsheet, image with parent * [TD]fix claimChildren for some views - also includes many lint fixes
This commit is contained in:
@@ -51,6 +51,7 @@ public:
|
||||
App::PropertyInteger LineSpace;
|
||||
App::PropertyEnumeration TextStyle; // Plain, Bold, Italic, Bold-Italic
|
||||
App::PropertyFloat MaxWidth;
|
||||
App::PropertyLink Owner;
|
||||
|
||||
QRectF getRect() const override;
|
||||
|
||||
@@ -65,6 +66,11 @@ public:
|
||||
return "TechDrawGui::ViewProviderAnnotation";
|
||||
}
|
||||
|
||||
short mustExecute() const override;
|
||||
|
||||
bool checkFit() const override {return true;}
|
||||
App::PropertyLink *getOwnerProperty() override { return &Owner; }
|
||||
|
||||
protected:
|
||||
void onChanged(const App::Property* prop) override;
|
||||
void handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property * prop) override;
|
||||
|
||||
Reference in New Issue
Block a user