Gui::LinkView::Element Class Reference
Public Member Functions | |
Element (LinkView &handle) | |
bool | isLinked () const |
void | link (App::DocumentObject *obj) |
virtual void | unlink (LinkInfoPtr info=LinkInfoPtr()) override |
~Element () | |
Public Member Functions inherited from Gui::LinkOwner | |
virtual void | onLinkedIconChange (LinkInfoPtr) |
virtual void | onLinkedUpdateData (LinkInfoPtr, const App::Property *) |
Public Attributes | |
int | groupIndex = -1 |
LinkView & | handle |
bool | isGroup = false |
LinkInfoPtr | linkInfo |
friend | LinkView |
CoinPtr< SoFCSelectionRoot > | pcRoot |
CoinPtr< SoSwitch > | pcSwitch |
CoinPtr< SoTransform > | pcTransform |
Additional Inherited Members | |
Protected Member Functions inherited from Gui::LinkOwner | |
virtual | ~LinkOwner () |
Constructor & Destructor Documentation
◆ Element()
Gui::LinkView::Element::Element | ( | LinkView & | handle | ) |
◆ ~Element()
Gui::LinkView::Element::~Element | ( | ) |
Member Function Documentation
◆ isLinked()
bool Gui::LinkView::Element::isLinked | ( | ) | const |
References Gui::LinkView::Element::linkInfo.
Referenced by Gui::LinkView::Element::link().
◆ link()
void Gui::LinkView::Element::link | ( | App::DocumentObject * | obj | ) |
◆ unlink()
|
overridevirtual |
Reimplemented from Gui::LinkOwner.
References Gui::coinRemoveAllChildren(), Gui::LinkView::Element::linkInfo, and Gui::LinkView::Element::pcRoot.
Referenced by Gui::LinkView::Element::link(), and Gui::LinkView::Element::~Element().
Member Data Documentation
◆ groupIndex
int Gui::LinkView::Element::groupIndex = -1 |
◆ handle
LinkView& Gui::LinkView::Element::handle |
◆ isGroup
bool Gui::LinkView::Element::isGroup = false |
◆ linkInfo
LinkInfoPtr Gui::LinkView::Element::linkInfo |
◆ LinkView
friend Gui::LinkView::Element::LinkView |
◆ pcRoot
CoinPtr<SoFCSelectionRoot> Gui::LinkView::Element::pcRoot |
◆ pcSwitch
CoinPtr<SoSwitch> Gui::LinkView::Element::pcSwitch |
Referenced by Gui::LinkView::Element::Element().
◆ pcTransform
CoinPtr<SoTransform> Gui::LinkView::Element::pcTransform |
Referenced by Gui::LinkView::Element::Element().
The documentation for this class was generated from the following file:
- src/Gui/ViewProviderLink.cpp