[bindings] Code formatting
This commit is contained in:
@@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
from Base.Metadata import constmethod, export
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/CenterLine.h",
|
||||
Namespace="TechDraw",
|
||||
@@ -30,6 +31,7 @@ class CenterLine(PyObjectBase):
|
||||
def copy(self) -> Any:
|
||||
"""Create a copy of this centerline"""
|
||||
...
|
||||
|
||||
Tag: Final[str]
|
||||
"""Gives the tag of the CenterLine as string."""
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Final
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
from Base.Metadata import export
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/Cosmetic.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -6,6 +6,7 @@ from Base.Metadata import export
|
||||
|
||||
from App.DocumentObjectExtension import DocumentObjectExtension
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/CosmeticExtension.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
from Base.Metadata import constmethod, export
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/Cosmetic.h",
|
||||
Namespace="TechDraw",
|
||||
@@ -30,6 +31,7 @@ class CosmeticVertex(PyObjectBase):
|
||||
def copy(self) -> Any:
|
||||
"""Create a copy of this CosmeticVertex"""
|
||||
...
|
||||
|
||||
Tag: Final[str]
|
||||
"""Gives the tag of the CosmeticVertex as string."""
|
||||
|
||||
@@ -39,7 +41,7 @@ class CosmeticVertex(PyObjectBase):
|
||||
Show: bool
|
||||
"""Show/hide the vertex."""
|
||||
|
||||
Color: Any # type: tuple[float, float, float, float]]
|
||||
Color: Any # type: tuple[float, float, float, float]]
|
||||
"""set/return the vertex's colour using a tuple (rgba)."""
|
||||
|
||||
Size: Any
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawViewPart import DrawViewPart
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawBrokenView.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawGeomHatch.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -6,6 +6,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawHatch.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -5,6 +5,7 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawLeaderLine.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
from Base.Metadata import export
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawPage.h",
|
||||
Namespace="TechDraw",
|
||||
@@ -45,6 +46,7 @@ class DrawPage(DocumentObject):
|
||||
def requestPaint(self) -> Any:
|
||||
"""Ask the Gui to redraw this page"""
|
||||
...
|
||||
|
||||
PageWidth: Final[float]
|
||||
"""Returns the width of this page"""
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
from Base.Metadata import export
|
||||
from DrawTemplate import DrawTemplate
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawParametricTemplate.h",
|
||||
Namespace="TechDraw",
|
||||
@@ -23,5 +24,6 @@ class DrawParametricTemplate(DrawTemplate):
|
||||
def drawLine(self) -> Any:
|
||||
"""Draw a line"""
|
||||
...
|
||||
|
||||
GeometryCount: Final[int]
|
||||
"""Number of geometry in template"""
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawViewCollection import DrawViewCollection
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawProjGroup.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawViewPart import DrawViewPart
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawProjGroupItem.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -5,6 +5,7 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawRichAnno.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from DrawTemplate import DrawTemplate
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawSVGTemplate.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -6,6 +6,7 @@ from Base.Metadata import export
|
||||
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawTemplate.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -6,6 +6,7 @@ from Base.Metadata import export
|
||||
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawTile.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -5,6 +5,7 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawTile import DrawTile
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawTileWeld.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -8,6 +8,7 @@ from Base.Metadata import export
|
||||
|
||||
from App.DocumentObject import DocumentObject
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawView.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -5,6 +5,7 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from TechDraw.Drawview import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewAnnotation.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,10 +7,11 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewClip.h",
|
||||
Namespace="TechDraw",
|
||||
FatherInclude="Mod/TechDraw/App/DrawViewPy.h",
|
||||
FatherInclude="Mod/TechDraw/App/DrawViewPy.h",
|
||||
)
|
||||
class DrawViewClip(DrawView):
|
||||
"""
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewCollection.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawViewDimension import DrawViewDimension
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewDimExtent.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewDimension.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.rawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewPart.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawViewSymbol.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -5,6 +5,7 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from TechDraw.DrawView import DrawView
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/DrawWeldSymbol.h",
|
||||
Namespace="TechDraw",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Any, Final
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
from Base.Metadata import constmethod, export
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/TechDraw/App/Cosmetic.h",
|
||||
Namespace="TechDraw",
|
||||
@@ -30,5 +31,6 @@ class GeomFormat(PyObjectBase):
|
||||
def copy(self) -> Any:
|
||||
"""Create a copy of this geomformat"""
|
||||
...
|
||||
|
||||
Tag: Final[str]
|
||||
"""Gives the tag of the GeomFormat as string."""
|
||||
|
||||
Reference in New Issue
Block a user