[TD]harmonize Arrow enums

This commit is contained in:
wandererfan
2020-03-10 13:23:05 -04:00
committed by WandererFan
parent c7d3ae2d83
commit dcef41782e
19 changed files with 335 additions and 72 deletions

View File

@@ -44,8 +44,12 @@ public:
App::PropertyLink LeaderParent;
App::PropertyVectorList WayPoints;
App::PropertyInteger StartSymbol; //see Gui/QGIArrow for values
App::PropertyInteger EndSymbol;
App::PropertyEnumeration StartSymbol;
App::PropertyEnumeration EndSymbol;
/* App::PropertyInteger StartSymbol; //see Gui/QGIArrow for values*/
/* App::PropertyInteger EndSymbol;*/
App::PropertyBool Scalable;
App::PropertyBool AutoHorizontal;
@@ -71,11 +75,15 @@ public:
Base::Vector3d getKinkPoint(void) const;
Base::Vector3d getTailPoint(void) const;
protected:
virtual void onChanged(const App::Property* prop) override;
private:
/* static const char* ArrowTypeEnums[];*/
/* static const int ArrowCount;*/
/* static const std::vector<std::string> ArrowTypeIcons;*/
};
typedef App::FeaturePythonT<DrawLeaderLine> DrawLeaderLinePython;