Finalizing Python interface bindings for Import, Measure, Mesh, Points.
This commit is contained in:
@@ -28,8 +28,7 @@ SET(MeasureGui_UIC_SRCS
|
||||
DlgPrefsMeasureAppearanceImp.ui
|
||||
)
|
||||
|
||||
generate_from_xml(QuickMeasurePy)
|
||||
generate_from_py_(QuickMeasurePy)
|
||||
generate_from_py(QuickMeasure)
|
||||
|
||||
SET(MeasureGui_SRCS
|
||||
${CMAKE_SOURCE_DIR}/src/Mod/Measure/InitGui.py
|
||||
@@ -39,7 +38,7 @@ SET(MeasureGui_SRCS
|
||||
Resources/Measure.qrc
|
||||
PreCompiled.cpp
|
||||
PreCompiled.h
|
||||
QuickMeasurePy.xml
|
||||
QuickMeasure.pyi
|
||||
QuickMeasurePyImp.cpp
|
||||
QuickMeasure.cpp
|
||||
QuickMeasure.h
|
||||
|
||||
@@ -2,18 +2,12 @@ from Base.Metadata import export
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
|
||||
@export(
|
||||
Father="PyObjectBase",
|
||||
Name="QuickMeasurePy",
|
||||
Twin="QuickMeasure",
|
||||
TwinPointer="QuickMeasure",
|
||||
Include="Mod/Measure/Gui/QuickMeasure.h",
|
||||
Namespace="MeasureGui",
|
||||
FatherInclude="Base/PyObjectBase.h",
|
||||
FatherNamespace="Base",
|
||||
Constructor=True,
|
||||
Delete=True,
|
||||
)
|
||||
class QuickMeasurePy(PyObjectBase):
|
||||
class QuickMeasure(PyObjectBase):
|
||||
"""
|
||||
Selection Observer for the QuickMeasure label.
|
||||
"""
|
||||
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="PyObjectBase"
|
||||
Name="QuickMeasurePy"
|
||||
Twin="QuickMeasure"
|
||||
TwinPointer="QuickMeasure"
|
||||
Include="Mod/Measure/Gui/QuickMeasure.h"
|
||||
Namespace="MeasureGui"
|
||||
FatherInclude="Base/PyObjectBase.h"
|
||||
Constructor="true"
|
||||
Delete="true"
|
||||
FatherNamespace="Base">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Ondsel" EMail="development@ondsel.com" />
|
||||
<UserDocu>Selection Observer for the QuickMeasure label.</UserDocu>
|
||||
</Documentation>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
Reference in New Issue
Block a user