Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
This commit is contained in:
@@ -190,7 +190,7 @@ PROPERTY_SOURCE_TEMPLATE(PathGui::ViewProviderAreaViewPython, PathGui::ViewProvi
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PathGuiExport ViewProviderPythonFeatureT<PathGui::ViewProviderArea>;
|
||||
template class PathGuiExport ViewProviderPythonFeatureT<PathGui::ViewProviderAreaView>;
|
||||
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderArea>;
|
||||
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderAreaView>;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef PATH_ViewProviderArea_H
|
||||
#define PATH_ViewProviderArea_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Part/Gui/ViewProviderPlaneParametric.h>
|
||||
#include <Mod/CAM/PathGlobal.h>
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
void dropObject(App::DocumentObject*) override;
|
||||
};
|
||||
|
||||
using ViewProviderAreaPython = Gui::ViewProviderPythonFeatureT<ViewProviderArea>;
|
||||
using ViewProviderAreaPython = Gui::ViewProviderFeaturePythonT<ViewProviderArea>;
|
||||
|
||||
|
||||
class PathGuiExport ViewProviderAreaView : public PartGui::ViewProviderPlaneParametric
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
void dropObject(App::DocumentObject*) override;
|
||||
};
|
||||
|
||||
using ViewProviderAreaViewPython = Gui::ViewProviderPythonFeatureT<ViewProviderAreaView>;
|
||||
using ViewProviderAreaViewPython = Gui::ViewProviderFeaturePythonT<ViewProviderAreaView>;
|
||||
|
||||
} //namespace PathGui
|
||||
|
||||
|
||||
@@ -727,5 +727,5 @@ PROPERTY_SOURCE_TEMPLATE(PathGui::ViewProviderPathPython, PathGui::ViewProviderP
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PathGuiExport ViewProviderPythonFeatureT<PathGui::ViewProviderPath>;
|
||||
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderPath>;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <App/PropertyGeo.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Part/Gui/SoBrepEdgeSet.h>
|
||||
#include <Mod/CAM/PathGlobal.h>
|
||||
|
||||
@@ -117,7 +117,7 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
using ViewProviderPathPython = Gui::ViewProviderPythonFeatureT<ViewProviderPath>;
|
||||
using ViewProviderPathPython = Gui::ViewProviderFeaturePythonT<ViewProviderPath>;
|
||||
|
||||
} //namespace PathGui
|
||||
|
||||
|
||||
@@ -87,5 +87,5 @@ PROPERTY_SOURCE_TEMPLATE(PathGui::ViewProviderPathCompoundPython, PathGui::ViewP
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PathGuiExport ViewProviderPythonFeatureT<PathGui::ViewProviderPathCompound>;
|
||||
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderPathCompound>;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
using ViewProviderPathCompoundPython = Gui::ViewProviderPythonFeatureT<ViewProviderPathCompound>;
|
||||
using ViewProviderPathCompoundPython = Gui::ViewProviderFeaturePythonT<ViewProviderPathCompound>;
|
||||
|
||||
} //namespace PathGui
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ class ViewProviderDraft(object):
|
||||
vobj : a base C++ view provider
|
||||
The view provider of the scripted object (`obj.ViewObject`),
|
||||
which commonly may be of types `PartGui::ViewProvider2DObjectPython`,
|
||||
`PartGui::ViewProviderPython`, or `Gui::ViewProviderPythonFeature`.
|
||||
`PartGui::ViewProviderPython`, or `Gui::ViewProviderFeaturePython`.
|
||||
|
||||
A basic view provider is instantiated during the creation
|
||||
of the base C++ object, for example,
|
||||
|
||||
@@ -127,7 +127,7 @@ PROPERTY_SOURCE_TEMPLATE(DrawingGui::ViewProviderDrawingViewPython,
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class DrawingGuiExport ViewProviderPythonFeatureT<DrawingGui::ViewProviderDrawingView>;
|
||||
template class DrawingGuiExport ViewProviderFeaturePythonT<DrawingGui::ViewProviderDrawingView>;
|
||||
} // namespace Gui
|
||||
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#define DRAWINGGUI_VIEWPROVIDERVIEW_H
|
||||
|
||||
#include <Gui/ViewProviderDocumentObjectGroup.h>
|
||||
#include <Mod/Drawing/DrawingGlobal.h>
|
||||
|
||||
|
||||
namespace DrawingGui
|
||||
@@ -63,7 +64,7 @@ public:
|
||||
//@}
|
||||
};
|
||||
|
||||
using ViewProviderDrawingViewPython = Gui::ViewProviderPythonFeatureT<ViewProviderDrawingView>;
|
||||
using ViewProviderDrawingViewPython = Gui::ViewProviderFeaturePythonT<ViewProviderDrawingView>;
|
||||
|
||||
class DrawingGuiExport ViewProviderDrawingClip: public Gui::ViewProviderDocumentObjectGroup
|
||||
{
|
||||
|
||||
@@ -97,7 +97,7 @@ PROPERTY_SOURCE_TEMPLATE(Fem::FeaturePython, Fem::DocumentObject)
|
||||
template<>
|
||||
const char* Fem::FeaturePython::getViewProviderName() const
|
||||
{
|
||||
return "Gui::ViewProviderPythonFeature";
|
||||
return "Gui::ViewProviderFeaturePython";
|
||||
}
|
||||
template<>
|
||||
PyObject* Fem::FeaturePython::getPyObject()
|
||||
|
||||
@@ -367,5 +367,5 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderFemAnalysisPython, FemGui::ViewProv
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderFemAnalysis>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderFemAnalysis>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#define FEM_ViewProviderAnalysis_H
|
||||
|
||||
#include <Gui/ViewProviderDocumentObjectGroup.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
#include <QCoreApplication>
|
||||
|
||||
@@ -115,7 +115,7 @@ private:
|
||||
ViewProviderFemHighlighter extension;
|
||||
};
|
||||
|
||||
using ViewProviderFemAnalysisPython = Gui::ViewProviderPythonFeatureT<ViewProviderFemAnalysis>;
|
||||
using ViewProviderFemAnalysisPython = Gui::ViewProviderFeaturePythonT<ViewProviderFemAnalysis>;
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
|
||||
@@ -305,5 +305,5 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderFemConstraintPython, FemGui::ViewPr
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderFemConstraint>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderFemConstraint>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#define GUI_VIEWPROVIDERFEMCONSTRAINT_H
|
||||
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
#include <Gui/ViewProviderSuppressibleExtension.h>
|
||||
@@ -136,7 +136,7 @@ inline void ViewProviderFemConstraint::setRotateSymbol(bool rotate)
|
||||
rotateSymbol = rotate;
|
||||
}
|
||||
|
||||
using ViewProviderFemConstraintPython = Gui::ViewProviderPythonFeatureT<ViewProviderFemConstraint>;
|
||||
using ViewProviderFemConstraintPython = Gui::ViewProviderFeaturePythonT<ViewProviderFemConstraint>;
|
||||
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
@@ -3170,5 +3170,5 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderFemMeshPython, FemGui::ViewProvider
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderFemMesh>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderFemMesh>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <Gui/ViewProviderBuilder.h>
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
class SoCoordinate3;
|
||||
@@ -185,7 +185,7 @@ private:
|
||||
class Private;
|
||||
};
|
||||
|
||||
using ViewProviderFemMeshPython = Gui::ViewProviderPythonFeatureT<ViewProviderFemMesh>;
|
||||
using ViewProviderFemMeshPython = Gui::ViewProviderFeaturePythonT<ViewProviderFemMesh>;
|
||||
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
@@ -51,6 +51,6 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderFemMeshShapeBasePython,
|
||||
FemGui::ViewProviderFemMeshShapeBase)
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderFemMeshShapeBase>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderFemMeshShapeBase>;
|
||||
|
||||
} // namespace Gui
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef FEM_ViewProviderFemMeshShape_H
|
||||
#define FEM_ViewProviderFemMeshShape_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
|
||||
#include "ViewProviderFemMesh.h"
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
};
|
||||
|
||||
using ViewProviderFemMeshShapeBasePython =
|
||||
Gui::ViewProviderPythonFeatureT<ViewProviderFemMeshShapeBase>;
|
||||
Gui::ViewProviderFeaturePythonT<ViewProviderFemMeshShapeBase>;
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef FEM_VIEWPROVIDERFEMPOSTPIPELINE_H
|
||||
#define FEM_VIEWPROVIDERFEMPOSTPIPELINE_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
#include "ViewProviderFemPostObject.h"
|
||||
|
||||
@@ -46,5 +46,5 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderResultPython, FemGui::ViewProviderR
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderResult>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderResult>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define FEM_ViewProviderResult_H
|
||||
|
||||
#include <Gui/ViewProviderDocumentObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
namespace FemGui
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
using ViewProviderResultPython = Gui::ViewProviderPythonFeatureT<ViewProviderResult>;
|
||||
using ViewProviderResultPython = Gui::ViewProviderFeaturePythonT<ViewProviderResult>;
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
|
||||
@@ -77,5 +77,5 @@ PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderSolverPython, FemGui::ViewProviderS
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderSolver>;
|
||||
template class FemGuiExport ViewProviderFeaturePythonT<ViewProviderSolver>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef FEM_ViewProviderSolver_H
|
||||
#define FEM_ViewProviderSolver_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Fem/FemGlobal.h>
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
bool canDelete(App::DocumentObject* obj) const override;
|
||||
};
|
||||
|
||||
using ViewProviderSolverPython = Gui::ViewProviderPythonFeatureT<ViewProviderSolver>;
|
||||
using ViewProviderSolverPython = Gui::ViewProviderFeaturePythonT<ViewProviderSolver>;
|
||||
|
||||
} // namespace FemGui
|
||||
|
||||
|
||||
@@ -33,5 +33,5 @@ PROPERTY_SOURCE_TEMPLATE(MeshGui::ViewProviderPython, MeshGui::ViewProviderMeshF
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class MeshGuiExport ViewProviderPythonFeatureT<MeshGui::ViewProviderMeshFaceSet>;
|
||||
template class MeshGuiExport ViewProviderFeaturePythonT<MeshGui::ViewProviderMeshFaceSet>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
#ifndef MESHGUI_VIEWPROVIDERPYTHON_H
|
||||
#define MESHGUI_VIEWPROVIDERPYTHON_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Mesh/Gui/ViewProviderMeshFaceSet.h>
|
||||
|
||||
namespace MeshGui
|
||||
{
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderPythonFeatureT<ViewProviderMeshFaceSet>;
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProviderMeshFaceSet>;
|
||||
|
||||
} // namespace MeshGui
|
||||
|
||||
|
||||
@@ -346,5 +346,5 @@ PROPERTY_SOURCE_TEMPLATE(PartGui::ViewProvider2DObjectPython, PartGui::ViewProvi
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PartGuiExport ViewProviderPythonFeatureT<PartGui::ViewProvider2DObject>;
|
||||
template class PartGuiExport ViewProviderFeaturePythonT<PartGui::ViewProvider2DObject>;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "ViewProvider.h"
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
|
||||
class TopoDS_Shape;
|
||||
class TopoDS_Face;
|
||||
@@ -98,7 +98,7 @@ private:
|
||||
float MaxY;
|
||||
};
|
||||
|
||||
using ViewProvider2DObjectPython = Gui::ViewProviderPythonFeatureT<ViewProvider2DObject>;
|
||||
using ViewProvider2DObjectPython = Gui::ViewProviderFeaturePythonT<ViewProvider2DObject>;
|
||||
|
||||
} // namespace PartGui
|
||||
|
||||
|
||||
@@ -84,13 +84,13 @@ PROPERTY_SOURCE_TEMPLATE(PartGui::ViewProviderPython, PartGui::ViewProviderPart)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PartGuiExport ViewProviderPythonFeatureT<PartGui::ViewProviderPart>;
|
||||
template class PartGuiExport ViewProviderFeaturePythonT<PartGui::ViewProviderPart>;
|
||||
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(PartGui::ViewProviderCustomPython, PartGui::ViewProviderCustom)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PartGuiExport ViewProviderPythonFeatureT<PartGui::ViewProviderCustom>;
|
||||
template class PartGuiExport ViewProviderFeaturePythonT<PartGui::ViewProviderCustom>;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef PARTGUI_VIEWPROVIDERPYTHON_H
|
||||
#define PARTGUI_VIEWPROVIDERPYTHON_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Part/Gui/ViewProvider.h>
|
||||
|
||||
namespace PartGui {
|
||||
@@ -45,8 +45,8 @@ protected:
|
||||
std::map<const App::Property*, Gui::ViewProvider*> propView;
|
||||
};
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderPythonFeatureT<ViewProviderPart>;
|
||||
using ViewProviderCustomPython = Gui::ViewProviderPythonFeatureT<ViewProviderCustom>;
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProviderPart>;
|
||||
using ViewProviderCustomPython = Gui::ViewProviderFeaturePythonT<ViewProviderCustom>;
|
||||
|
||||
} // namespace PartGui
|
||||
|
||||
|
||||
@@ -314,6 +314,6 @@ PROPERTY_SOURCE_TEMPLATE(PartDesignGui::ViewProviderPython, PartDesignGui::ViewP
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PartDesignGuiExport ViewProviderPythonFeatureT<PartDesignGui::ViewProvider>;
|
||||
template class PartDesignGuiExport ViewProviderFeaturePythonT<PartDesignGui::ViewProvider>;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <Mod/Part/Gui/ViewProvider.h>
|
||||
#include "ViewProviderBody.h"
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include "Gui/ViewProviderSuppressibleExtension.h"
|
||||
|
||||
#include <Mod/Part/Gui/ViewProviderAttachExtension.h>
|
||||
@@ -93,7 +93,7 @@ protected:
|
||||
bool isSetTipIcon{false};
|
||||
};
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderPythonFeatureT<ViewProvider>;
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProvider>;
|
||||
|
||||
} // namespace PartDesignGui
|
||||
|
||||
|
||||
@@ -440,5 +440,5 @@ std::vector<App::DocumentObject*> ViewProviderSubShapeBinder::claimChildren() co
|
||||
namespace Gui {
|
||||
PROPERTY_SOURCE_TEMPLATE(PartDesignGui::ViewProviderSubShapeBinderPython,
|
||||
PartDesignGui::ViewProviderSubShapeBinder)
|
||||
template class PartDesignGuiExport ViewProviderPythonFeatureT<ViewProviderSubShapeBinder>;
|
||||
template class PartDesignGuiExport ViewProviderFeaturePythonT<ViewProviderSubShapeBinder>;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef PARTGUI_ViewProviderShapeBinder_H
|
||||
#define PARTGUI_ViewProviderShapeBinder_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Part/Gui/ViewProvider.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
@@ -84,7 +84,7 @@ private:
|
||||
void updatePlacement(bool transaction);
|
||||
};
|
||||
|
||||
using ViewProviderSubShapeBinderPython = Gui::ViewProviderPythonFeatureT<ViewProviderSubShapeBinder>;
|
||||
using ViewProviderSubShapeBinderPython = Gui::ViewProviderFeaturePythonT<ViewProviderSubShapeBinder>;
|
||||
|
||||
} // namespace PartDesignGui
|
||||
|
||||
|
||||
@@ -670,7 +670,7 @@ PROPERTY_SOURCE_TEMPLATE(PointsGui::ViewProviderPython, PointsGui::ViewProviderS
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PointsGuiExport ViewProviderPythonFeatureT<PointsGui::ViewProviderScattered>;
|
||||
template class PointsGuiExport ViewProviderFeaturePythonT<PointsGui::ViewProviderScattered>;
|
||||
} // namespace Gui
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <Gui/ViewProviderBuilder.h>
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Points/PointsGlobal.h>
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ protected:
|
||||
SoIndexedPointSet* pcPoints;
|
||||
};
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderPythonFeatureT<ViewProviderScattered>;
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProviderScattered>;
|
||||
|
||||
} // namespace PointsGui
|
||||
|
||||
|
||||
@@ -88,12 +88,12 @@ PROPERTY_SOURCE_TEMPLATE(SketcherGui::ViewProviderPython, SketcherGui::ViewProvi
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class SketcherGuiExport ViewProviderPythonFeatureT<SketcherGui::ViewProviderSketch>;
|
||||
template class SketcherGuiExport ViewProviderFeaturePythonT<SketcherGui::ViewProviderSketch>;
|
||||
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(SketcherGui::ViewProviderCustomPython, SketcherGui::ViewProviderCustom)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class SketcherGuiExport ViewProviderPythonFeatureT<SketcherGui::ViewProviderCustom>;
|
||||
template class SketcherGuiExport ViewProviderFeaturePythonT<SketcherGui::ViewProviderCustom>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifndef SketcherGui_VIEWPROVIDERPYTHON_H
|
||||
#define SketcherGui_VIEWPROVIDERPYTHON_H
|
||||
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Sketcher/Gui/ViewProviderSketch.h>
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@ protected:
|
||||
std::map<const App::Property*, Gui::ViewProvider*> propView;
|
||||
};
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderPythonFeatureT<ViewProviderSketch>;
|
||||
using ViewProviderCustomPython = Gui::ViewProviderPythonFeatureT<ViewProviderCustom>;
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProviderSketch>;
|
||||
using ViewProviderCustomPython = Gui::ViewProviderFeaturePythonT<ViewProviderCustom>;
|
||||
|
||||
} // namespace SketcherGui
|
||||
|
||||
|
||||
@@ -230,5 +230,5 @@ PROPERTY_SOURCE_TEMPLATE(SpreadsheetGui::ViewProviderSheetPython, SpreadsheetGui
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class SpreadsheetGuiExport ViewProviderPythonFeatureT<ViewProviderSheet>;
|
||||
template class SpreadsheetGuiExport ViewProviderFeaturePythonT<ViewProviderSheet>;
|
||||
} // namespace Gui
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <QPointer>
|
||||
|
||||
#include <Gui/ViewProviderDocumentObject.h>
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Spreadsheet/SpreadsheetGlobal.h>
|
||||
#include <Mod/Spreadsheet/Gui/SpreadsheetView.h>
|
||||
|
||||
@@ -90,7 +90,7 @@ private:
|
||||
QPointer<SheetView> view;
|
||||
};
|
||||
|
||||
using ViewProviderSheetPython = Gui::ViewProviderPythonFeatureT<ViewProviderSheet>;
|
||||
using ViewProviderSheetPython = Gui::ViewProviderFeaturePythonT<ViewProviderSheet>;
|
||||
|
||||
} // namespace SpreadsheetGui
|
||||
|
||||
|
||||
Reference in New Issue
Block a user