#include <TaskDetail.h>
◆ TaskDetail() [1/2]
References draftgeoutils.intersections::connect(), Base::Console(), createDetail(), Base::ConsoleSingleton::Error(), TechDraw::DrawView::findParentPage(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), TechDrawGui::ViewProviderPage::getMDIViewPage(), App::DocumentObject::getNameInDocument(), TechDrawGui::MDIViewPage::getQGSPage(), TechDrawGui::MDIViewPage::getQGVPage(), Gui::Document::getViewProvider(), Gui::Application::Instance, onDraggerClicked(), onHighlightMoved(), onRadiusEdit(), onReferenceEdit(), onScaleEdit(), onScaleTypeEdit(), onXEdit(), onYEdit(), and setUiFromFeat().
◆ TaskDetail() [2/2]
References TechDraw::DrawViewDetail::BaseView, draftgeoutils.intersections::connect(), Base::Console(), Base::ConsoleSingleton::Error(), TechDraw::DrawView::findParentPage(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), TechDrawGui::ViewProviderPage::getMDIViewPage(), App::DocumentObject::getNameInDocument(), TechDrawGui::MDIViewPage::getQGSPage(), TechDrawGui::MDIViewPage::getQGVPage(), App::PropertyLink::getValue(), Gui::Document::getViewProvider(), Gui::Application::Instance, onDraggerClicked(), onHighlightMoved(), onRadiusEdit(), onReferenceEdit(), onScaleEdit(), onScaleTypeEdit(), onXEdit(), onYEdit(), saveDetailState(), and setUiFromFeat().
◆ ~TaskDetail()
TaskDetail::~TaskDetail |
( |
| ) |
|
◆ accept()
bool TaskDetail::accept |
( |
void |
| ) |
|
|
virtual |
References getBaseFeat(), getDetailFeat(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Command::Gui, Gui::Application::Instance, and TechDraw::DrawView::requestPaint().
Referenced by TechDrawGui::TaskDlgDetail::accept(), femexamples.examplesgui.FemExamples::clicked(), femexamples.examplesgui.FemExamples::double_clicked(), ArchComponent.ComponentTaskPanel::editObject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ blockButtons()
void TechDrawGui::TaskDetail::blockButtons |
( |
bool |
b | ) |
|
|
protected |
◆ changeEvent()
void TaskDetail::changeEvent |
( |
QEvent * |
e | ) |
|
|
protected |
◆ createDetail()
void TaskDetail::createDetail |
( |
| ) |
|
|
protected |
◆ editByHighlight()
void TaskDetail::editByHighlight |
( |
| ) |
|
|
protected |
◆ enableInputFields()
void TaskDetail::enableInputFields |
( |
bool |
b | ) |
|
|
protected |
◆ enableTaskButtons()
void TaskDetail::enableTaskButtons |
( |
bool |
b | ) |
|
◆ getAnchorScene()
QPointF TaskDetail::getAnchorScene |
( |
| ) |
|
|
protected |
References TechDraw::DrawViewDetail::AnchorPoint, Base::Console(), getBaseFeat(), getDetailFeat(), TechDraw::DrawProjGroupItem::getPGroup(), TechDraw::DrawView::getScale(), TechDraw::DrawProjGroupItem::getScale(), App::PropertyVector::getValue(), App::PropertyQuantity::getValue(), TechDrawGui::Rez::guiX(), Base::ConsoleSingleton::Message(), draftfunctions.scale::scale(), Base::Vector3< _Precision >::x, TechDraw::DrawView::X, Base::Vector3< _Precision >::y, and TechDraw::DrawView::Y.
Referenced by editByHighlight().
◆ getBaseFeat()
◆ getDetailFeat()
◆ onDraggerClicked
void TaskDetail::onDraggerClicked |
( |
bool |
b | ) |
|
|
slot |
◆ onHighlightMoved
void TaskDetail::onHighlightMoved |
( |
QPointF |
newPos | ) |
|
|
slot |
References TechDrawGui::Rez::appX(), Base::Console(), enableInputFields(), getBaseFeat(), TechDraw::DrawProjGroupItem::getPGroup(), TechDraw::DrawView::getScale(), App::PropertyQuantity::getValue(), TechDrawGui::Rez::guiX(), Base::ConsoleSingleton::Message(), updateDetail(), updateUi(), TechDraw::DrawView::X, and TechDraw::DrawView::Y.
Referenced by TaskDetail().
◆ onRadiusEdit
void TaskDetail::onRadiusEdit |
( |
| ) |
|
|
slot |
◆ onReferenceEdit
void TaskDetail::onReferenceEdit |
( |
| ) |
|
|
slot |
◆ onScaleEdit
void TaskDetail::onScaleEdit |
( |
| ) |
|
|
slot |
◆ onScaleTypeEdit
void TaskDetail::onScaleTypeEdit |
( |
| ) |
|
|
slot |
◆ onXEdit
void TaskDetail::onXEdit |
( |
| ) |
|
|
slot |
◆ onYEdit
void TaskDetail::onYEdit |
( |
| ) |
|
|
slot |
◆ reject()
bool TaskDetail::reject |
( |
void |
| ) |
|
|
virtual |
References getBaseFeat(), getDetailFeat(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Command::Gui, Gui::Application::Instance, App::DocumentObject::recomputeFeature(), TechDraw::DrawView::requestPaint(), and restoreDetailState().
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::TaskDlgDetail::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ restoreDetailState()
void TaskDetail::restoreDetailState |
( |
| ) |
|
|
protected |
◆ saveButtons()
◆ saveDetailState()
void TaskDetail::saveDetailState |
( |
| ) |
|
|
protected |
◆ setUiFromFeat()
void TaskDetail::setUiFromFeat |
( |
void |
| ) |
|
|
protected |
References TechDraw::DrawViewDetail::AnchorPoint, Base::Tools::fromStdString(), getBaseFeat(), Base::UnitsApi::getDecimals(), getDetailFeat(), App::DocumentObject::getNameInDocument(), App::PropertyVector::getValue(), App::PropertyEnumeration::getValue(), App::PropertyFloat::getValue(), App::PropertyString::getValue(), App::DocumentObject::Label, Base::Unit::Length, TechDraw::DrawViewDetail::Radius, TechDraw::DrawViewDetail::Reference, TechDraw::DrawView::Scale, TechDraw::DrawView::ScaleType, Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
Referenced by TaskDetail().
◆ startDragger()
void TechDrawGui::TaskDetail::startDragger |
( |
void |
| ) |
|
|
protected |
◆ updateDetail()
void TaskDetail::updateDetail |
( |
| ) |
|
|
protected |
References TechDraw::DrawViewDetail::AnchorPoint, Gui::Command::commitCommand(), Base::Console(), Base::ConsoleSingleton::Error(), getBaseFeat(), getDetailFeat(), Gui::Command::openCommand(), draftutils.translate::QT_TRANSLATE_NOOP, TechDraw::DrawViewDetail::Radius, App::DocumentObject::recomputeFeature(), TechDraw::DrawViewDetail::Reference, TechDraw::DrawView::requestPaint(), TechDraw::DrawView::Scale, App::PropertyVector::setValue(), App::PropertyString::setValue(), App::PropertyFloat::setValue(), Base::Tools::toStdString(), and Gui::Command::updateActive().
Referenced by onHighlightMoved(), onRadiusEdit(), onReferenceEdit(), onScaleEdit(), onScaleTypeEdit(), onXEdit(), and onYEdit().
◆ updateTask()
void TaskDetail::updateTask |
( |
| ) |
|
◆ updateUi()
void TaskDetail::updateUi |
( |
QPointF |
p | ) |
|
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/TaskDetail.h
- FreeCAD/src/Mod/TechDraw/Gui/TaskDetail.cpp