#include <TaskLinkDim.h>
Public Member Functions | |
bool | accept () |
bool | reject () |
TaskLinkDim (std::vector< App::DocumentObject * > parts, std::vector< std::string > &subs, TechDraw::DrawPage *page) | |
~TaskLinkDim () | |
Protected Slots | |
void | onCurrentItemChanged (QTreeWidgetItem *, QTreeWidgetItem *) |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
bool | dimReferencesSelection (const TechDraw::DrawViewDimension *dim) const |
does this dim already have a reference to the selection? More... | |
void | loadAvailDims () |
void | loadToTree (const TechDraw::DrawViewDimension *dim, const bool selected, Gui::Document *guiDoc) |
void | updateDims () |
Constructor & Destructor Documentation
◆ TaskLinkDim()
TaskLinkDim::TaskLinkDim | ( | std::vector< App::DocumentObject * > | parts, |
std::vector< std::string > & | subs, | ||
TechDraw::DrawPage * | page | ||
) |
References loadAvailDims(), and onCurrentItemChanged().
◆ ~TaskLinkDim()
TaskLinkDim::~TaskLinkDim | ( | ) |
Member Function Documentation
◆ accept()
bool TaskLinkDim::accept | ( | ) |
References updateDims().
Referenced by TechDrawGui::TaskDlgLinkDim::accept().
◆ changeEvent()
|
protected |
◆ dimReferencesSelection()
|
protected |
does this dim already have a reference to the selection?
References App::PropertyLinkSubList::getSubValues(), App::PropertyLinkSubList::getValues(), TechDraw::DrawViewDimension::has3DReferences(), and TechDraw::DrawViewDimension::References3D.
Referenced by loadAvailDims(), and updateDims().
◆ loadAvailDims()
|
protected |
References dimReferencesSelection(), Base::Persistence::getClassTypeId(), App::DocumentObject::getDocument(), Gui::Application::getDocument(), TechDraw::DrawViewDimension::getRefType(), TechDraw::DrawViewDimension::getRefType1(), TechDraw::DrawViewDimension::getRefType2(), App::PropertyListsT< T, ListT, ParentT >::getValues(), TechDraw::DrawViewDimension::has3DReferences(), Gui::Application::Instance, loadToTree(), and TechDraw::DrawPage::Views.
Referenced by TaskLinkDim().
◆ loadToTree()
|
protected |
◆ onCurrentItemChanged
|
protectedslot |
Referenced by TaskLinkDim().
◆ reject()
bool TaskLinkDim::reject | ( | ) |
Referenced by TechDrawGui::TaskDlgLinkDim::reject().
◆ updateDims()
|
protected |
References TechDraw::DrawViewDimension::clear3DMeasurements(), dimReferencesSelection(), App::DocumentObject::getDocument(), App::DocumentObject::getNameInDocument(), App::Document::getObject(), Gui::Command::Gui, TechDraw::DrawViewDimension::References3D, App::PropertyLinkSubList::setValue(), and App::PropertyLinkSubList::setValues().
Referenced by accept().
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/TaskLinkDim.h
- src/Mod/TechDraw/Gui/TaskLinkDim.cpp