#include <TaskSectionView.h>
◆ TaskSectionView() [1/2]
◆ TaskSectionView() [2/2]
References TechDraw::DrawViewSection::BaseView, draftgeoutils.intersections::connect(), TechDraw::DrawView::findParentPage(), App::DocumentObject::getDocument(), App::DocumentObject::getNameInDocument(), App::PropertyLink::getValue(), App::PropertyEnumeration::getValueAsString(), onDownClicked(), onLeftClicked(), onRightClicked(), onUpClicked(), saveSectionState(), TechDraw::DrawViewSection::SectionDirection, and setUiEdit().
◆ ~TaskSectionView()
TaskSectionView::~TaskSectionView |
( |
| ) |
|
◆ accept()
bool TaskSectionView::accept |
( |
void |
| ) |
|
|
virtual |
◆ apply()
bool TaskSectionView::apply |
( |
void |
| ) |
|
|
protected |
◆ applyAligned()
void TaskSectionView::applyAligned |
( |
void |
| ) |
|
|
protected |
◆ applyQuick()
void TaskSectionView::applyQuick |
( |
std::string |
dir | ) |
|
|
protected |
References createSectionView(), enableAll(), failNoObject(), isBaseValid(), isSectionValid(), App::DocumentObject::recomputeFeature(), TechDraw::DrawView::requestPaint(), and updateSectionView().
Referenced by apply(), onDownClicked(), onLeftClicked(), onRightClicked(), and onUpClicked().
◆ changeEvent()
void TaskSectionView::changeEvent |
( |
QEvent * |
e | ) |
|
|
protected |
◆ checkAll()
void TaskSectionView::checkAll |
( |
bool |
b | ) |
|
|
protected |
◆ createSectionView()
void TaskSectionView::createSectionView |
( |
void |
| ) |
|
|
protected |
◆ enableAll()
void TaskSectionView::enableAll |
( |
bool |
b | ) |
|
|
protected |
◆ failNoObject()
void TaskSectionView::failNoObject |
( |
std::string |
objName | ) |
|
|
protected |
◆ isBaseValid()
bool TaskSectionView::isBaseValid |
( |
void |
| ) |
|
|
protected |
◆ isSectionValid()
bool TaskSectionView::isSectionValid |
( |
void |
| ) |
|
|
protected |
◆ onDownClicked
void TaskSectionView::onDownClicked |
( |
| ) |
|
|
protectedslot |
◆ onIdentifierChanged
void TaskSectionView::onIdentifierChanged |
( |
| ) |
|
|
protectedslot |
◆ onLeftClicked
void TaskSectionView::onLeftClicked |
( |
| ) |
|
|
protectedslot |
◆ onRightClicked
void TaskSectionView::onRightClicked |
( |
| ) |
|
|
protectedslot |
◆ onScaleChanged
void TaskSectionView::onScaleChanged |
( |
| ) |
|
|
protectedslot |
◆ onUpClicked
void TaskSectionView::onUpClicked |
( |
| ) |
|
|
protectedslot |
◆ onXChanged
void TaskSectionView::onXChanged |
( |
| ) |
|
|
protectedslot |
◆ onYChanged
void TaskSectionView::onYChanged |
( |
| ) |
|
|
protectedslot |
◆ onZChanged
void TaskSectionView::onZChanged |
( |
| ) |
|
|
protectedslot |
◆ reject()
bool TaskSectionView::reject |
( |
void |
| ) |
|
|
virtual |
References App::DocumentObject::getNameInDocument(), Gui::Command::Gui, isBaseValid(), isSectionValid(), App::DocumentObject::recomputeFeature(), TechDraw::DrawView::requestPaint(), restoreSectionState(), and Gui::Command::updateActive().
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::TaskDlgSectionView::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ restoreSectionState()
void TaskSectionView::restoreSectionState |
( |
| ) |
|
|
protected |
References TechDraw::DrawViewPart::Direction, TechDraw::DrawView::Scale, TechDraw::DrawView::ScaleType, TechDraw::DrawViewSection::SectionDirection, TechDraw::DrawViewSection::SectionNormal, TechDraw::DrawViewSection::SectionOrigin, TechDraw::DrawViewSection::SectionSymbol, App::PropertyVector::setValue(), App::PropertyString::setValue(), App::PropertyEnumeration::setValue(), and App::PropertyFloat::setValue().
Referenced by reject().
◆ saveSectionState()
void TaskSectionView::saveSectionState |
( |
| ) |
|
|
protected |
References TechDraw::DrawViewPart::Direction, TechDraw::DrawView::getScale(), App::PropertyVector::getValue(), App::PropertyEnumeration::getValue(), App::PropertyString::getValue(), App::PropertyEnumeration::getValueAsString(), TechDraw::DrawView::ScaleType, TechDraw::DrawViewSection::SectionDirection, TechDraw::DrawViewSection::SectionNormal, TechDraw::DrawViewSection::SectionOrigin, and TechDraw::DrawViewSection::SectionSymbol.
Referenced by TaskSectionView().
◆ scaleTypeChanged
void TaskSectionView::scaleTypeChanged |
( |
int |
index | ) |
|
|
protectedslot |
◆ setUiEdit()
void TaskSectionView::setUiEdit |
( |
void |
| ) |
|
|
protected |
References draftgeoutils.intersections::connect(), Base::Tools::fromStdString(), App::DocumentObject::getNameInDocument(), TechDraw::DrawView::getScale(), App::PropertyVector::getValue(), App::PropertyEnumeration::getValue(), App::PropertyString::getValue(), Base::Unit::Length, onIdentifierChanged(), onScaleChanged(), onXChanged(), onYChanged(), onZChanged(), TechDraw::DrawView::ScaleType, scaleTypeChanged(), TechDraw::DrawViewSection::SectionOrigin, TechDraw::DrawViewSection::SectionSymbol, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TaskSectionView().
◆ setUiPrimary()
void TaskSectionView::setUiPrimary |
( |
void |
| ) |
|
|
protected |
References draftgeoutils.intersections::connect(), enableAll(), Base::Tools::fromStdString(), App::DocumentObject::getNameInDocument(), TechDraw::DrawViewPart::getOriginalCentroid(), TechDraw::DrawView::getScale(), App::PropertyEnumeration::getValue(), Base::Unit::Length, onIdentifierChanged(), onScaleChanged(), onXChanged(), onYChanged(), onZChanged(), TechDraw::DrawView::ScaleType, scaleTypeChanged(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TaskSectionView().
◆ updateSectionView()
void TaskSectionView::updateSectionView |
( |
void |
| ) |
|
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/TaskSectionView.h
- FreeCAD/src/Mod/TechDraw/Gui/TaskSectionView.cpp