Public Member Functions | |
ViewProviderIndex * clone () const | |
QVariant data (int role) const | |
void findViewProviders (const ViewProviderDocumentObject &, QList< ViewProviderIndex * > &) const | |
ViewProviderIndex (const Gui::ViewProviderDocumentObject &v, DocumentIndex *d) | |
~ViewProviderIndex () | |
![]() | |
void appendChild (DocumentModelIndex *child) | |
DocumentModelIndex * child (int row) | |
int childCount () const | |
virtual Qt::ItemFlags flags () const | |
DocumentModelIndex * parent () const | |
QList< DocumentModelIndex * > removeAll () | |
void removeChild (int row) | |
int row () const | |
virtual bool setData (const QVariant &value, int role) | |
void setParent (DocumentModelIndex *parent) | |
virtual ~DocumentModelIndex () | |
![]() | |
BaseClass () | |
Construction. More... | |
virtual PyObject * getPyObject (void) | |
This method returns the Python wrapper for a C++ object. More... | |
virtual Type getTypeId (void) const | |
bool isDerivedFrom (const Type type) const | |
virtual void setPyObject (PyObject *) | |
virtual ~BaseClass () | |
Destruction. More... | |
Public Attributes | |
const Gui::ViewProviderDocumentObject & v | |
Additional Inherited Members | |
![]() | |
static void * create (void) | |
static Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
DocumentModelIndex () | |
void reset () | |
![]() | |
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) | |
![]() | |
QList< DocumentModelIndex * > childItems | |
DocumentModelIndex * parentItem | |
Constructor & Destructor Documentation
◆ ViewProviderIndex()
Gui::ViewProviderIndex::ViewProviderIndex | ( | const Gui::ViewProviderDocumentObject & | v, |
DocumentIndex * | d | ||
) |
Referenced by clone().
◆ ~ViewProviderIndex()
Gui::ViewProviderIndex::~ViewProviderIndex | ( | ) |
Member Function Documentation
◆ clone()
ViewProviderIndex * Gui::ViewProviderIndex::clone | ( | ) | const |
References Gui::DocumentModelIndex::childItems, clone(), and ViewProviderIndex().
Referenced by ArchPanel.CommandPanelSheet::Activated(), clone(), ArchTruss.Truss::execute(), ArchComponent.Component::execute(), ArchCurtainWall.CurtainWall::execute(), and Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::integrated().
◆ data()
|
virtual |
Reimplemented from Gui::DocumentModelIndex.
References App::Document::getActiveObject(), and App::DocumentObject::getDocument().
Referenced by ArchSchedule.CommandArchSchedule::IsActive().
◆ findViewProviders()
void Gui::ViewProviderIndex::findViewProviders | ( | const ViewProviderDocumentObject & | vp, |
QList< ViewProviderIndex * > & | index | ||
) | const |
References Gui::DocumentModelIndex::childItems, and findViewProviders().
Referenced by Gui::DocumentIndex::findViewProviders(), and findViewProviders().
Member Data Documentation
◆ v
const Gui::ViewProviderDocumentObject& Gui::ViewProviderIndex::v |
Referenced by WorkingPlane.Plane::alignToEdges(), WorkingPlane.Plane::alignToFace(), WorkingPlane.Plane::alignToPointAndAxis(), WorkingPlane.Plane::alignToPointAndAxis_SVG(), WorkingPlane.Plane::copy(), WorkingPlane.Plane::getClosestAxis(), WorkingPlane.Plane::getGlobalCoords(), WorkingPlane.Plane::getGlobalRot(), WorkingPlane.Plane::getLocalCoords(), WorkingPlane.Plane::getLocalRot(), draftguitools.gui_trackers.rectangleTracker::getNormal(), WorkingPlane.Plane::getPlacement(), WorkingPlane.Plane::getRotation(), draftguitools.gui_trackers.rectangleTracker::getSize(), WorkingPlane.Plane::isGlobal(), WorkingPlane.Plane::isOrtho(), WorkingPlane.Plane::restore(), WorkingPlane.Plane::save(), WorkingPlane.Plane::setFromPlacement(), draftguitools.gui_trackers.rectangleTracker::setPlane(), and draftguitools.gui_trackers.rectangleTracker::update().
The documentation for this class was generated from the following file:
- src/Gui/DocumentModel.cpp