#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 () |
TaskLinkDim::TaskLinkDim | ( | std::vector< App::DocumentObject * > | parts, |
std::vector< std::string > & | subs, | ||
TechDraw::DrawPage * | page | ||
) |
References draftgeoutils.intersections::connect(), loadAvailDims(), and onCurrentItemChanged().
TaskLinkDim::~TaskLinkDim | ( | ) |
bool TaskLinkDim::accept | ( | void | ) |
|
protected |
|
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().
|
protected |
References dimReferencesSelection(), Base::Persistence::getClassTypeId(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), TechDraw::DrawViewDimension::getRefType(), TechDraw::DrawViewDimension::getRefTypeSubElements(), App::PropertyListsT< T, ListT, ParentT >::getValues(), TechDraw::DrawViewDimension::has3DReferences(), Gui::Application::Instance, loadToTree(), and TechDraw::DrawPage::Views.
Referenced by TaskLinkDim().
|
protected |
|
protectedslot |
Referenced by TaskLinkDim().
bool TaskLinkDim::reject | ( | void | ) |
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), TechDrawGui::TaskDlgLinkDim::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
|
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().