Remove obs property & code
This commit is contained in:
@@ -33,11 +33,11 @@ namespace TechDrawGeometry
|
||||
class BaseGeom;
|
||||
}
|
||||
|
||||
//TODO: DrawParametricTemplate class is obsolete
|
||||
|
||||
namespace TechDraw
|
||||
{
|
||||
|
||||
/** Base class of all View Features in the drawing module
|
||||
*/
|
||||
class TechDrawExport DrawParametricTemplate: public TechDraw::DrawTemplate
|
||||
{
|
||||
PROPERTY_HEADER(TechDraw::DrawParametricTemplate);
|
||||
|
||||
@@ -76,16 +76,6 @@ DrawSVGTemplate::~DrawSVGTemplate()
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
std::string DrawSVGTemplate::getSvgIdForEditable(const std::string &editableName)
|
||||
{
|
||||
if (editableSvgIds.count(editableName)) {
|
||||
return editableSvgIds[editableName];
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}*/
|
||||
|
||||
PyObject *DrawSVGTemplate::getPyObject(void)
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
|
||||
@@ -33,14 +33,12 @@
|
||||
namespace TechDraw
|
||||
{
|
||||
|
||||
/** Base class of all View Features in the drawing module
|
||||
*/
|
||||
class TechDrawExport DrawSVGTemplate: public TechDraw::DrawTemplate
|
||||
{
|
||||
PROPERTY_HEADER(TechDraw::DrawSVGTemplate);
|
||||
|
||||
public:
|
||||
DrawSVGTemplate(); /// Constructor
|
||||
DrawSVGTemplate();
|
||||
~DrawSVGTemplate();
|
||||
|
||||
App::PropertyFileIncluded PageResult;
|
||||
@@ -59,13 +57,6 @@ public:
|
||||
return "TechDrawGui::ViewProviderTemplate";
|
||||
}
|
||||
|
||||
/// Returns the SVG ID for editable field with name editableName
|
||||
/*!
|
||||
* If editableName isn't known, returns an empty string
|
||||
*/
|
||||
// std::string getSvgIdForEditable(const std::string &editableName);
|
||||
|
||||
// from base class
|
||||
virtual PyObject *getPyObject(void);
|
||||
virtual unsigned int getMemSize(void) const;
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ DrawTemplate::DrawTemplate(void)
|
||||
// Physical Properties inherent to every template class
|
||||
ADD_PROPERTY_TYPE(Width, (0), group, (App::PropertyType)(App::Prop_None), "Width of page");
|
||||
ADD_PROPERTY_TYPE(Height, (0), group, (App::PropertyType)(App::Prop_None), "Height of page");
|
||||
ADD_PROPERTY_TYPE(PaperSize, (""), group, (App::PropertyType)(App::Prop_None), "Paper Format");
|
||||
//ADD_PROPERTY_TYPE(PaperSize, (""), group, (App::PropertyType)(App::Prop_None), "Paper Format"); //obs?
|
||||
|
||||
ADD_PROPERTY_TYPE(EditableTexts, (), group, (App::PropertyType)(App::Prop_None),
|
||||
"Editable strings in the template");
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
App::PropertyLength Width;
|
||||
App::PropertyLength Height;
|
||||
App::PropertyEnumeration Orientation;
|
||||
App::PropertyString PaperSize;
|
||||
//App::PropertyString PaperSize;
|
||||
|
||||
App::PropertyMap EditableTexts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user