Files
create/src/Mod/TechDraw/App/DrawSVGTemplate.pyi
2025-09-01 21:50:59 -04:00

32 lines
1001 B
Python

from typing import Any
from Base.Metadata import export
from DrawTemplate import DrawTemplate
@export(
Include="Mod/TechDraw/App/DrawSVGTemplate.h",
Namespace="TechDraw",
FatherInclude="DrawTemplatePy.h",
)
class DrawSVGTemplate(DrawTemplate):
"""
Author: Luke Parry (l.parry@warwick.ac.uk)
License: LGPL-2.1-or-later
Feature for creating and manipulating Technical Drawing SVG Templates
"""
def getEditFieldContent(self) -> Any:
"""getEditFieldContent(EditFieldName) - returns the content of a specific Editable Text Field"""
...
def setEditFieldContent(self) -> Any:
"""setEditFieldContent(EditFieldName, NewContent) - sets a specific Editable Text Field to a new value"""
...
def translateLabel(self) -> Any:
"""
translateLabel(translationContext, objectBaseName, objectUniqueName).
No return value. Replace the current label with a translated version where possible.
"""
...