#include <TaskDetail.h>
◆ TaskDetail() [1/2]
References Base::Console(), createDetail(), Base::ConsoleSingleton::Error(), TechDraw::DrawView::findParentPage(), App::DocumentObject::getDocument(), Gui::Application::getDocument(), TechDrawGui::ViewProviderPage::getMDIViewPage(), App::DocumentObject::getNameInDocument(), TechDrawGui::MDIViewPage::getQGVPage(), Gui::Document::getViewProvider(), Gui::Application::Instance, TechDrawGui::MDIViewPage::m_scene, onDraggerClicked(), onHighlightMoved(), onRadiusEdit(), onReferenceEdit(), onScaleEdit(), onScaleTypeEdit(), onXEdit(), onYEdit(), and setUiFromFeat().
◆ TaskDetail() [2/2]
References TechDraw::DrawViewDetail::BaseView, Base::Console(), Base::ConsoleSingleton::Error(), TechDraw::DrawView::findParentPage(), App::DocumentObject::getDocument(), Gui::Application::getDocument(), TechDrawGui::ViewProviderPage::getMDIViewPage(), App::DocumentObject::getNameInDocument(), TechDrawGui::MDIViewPage::getQGVPage(), App::PropertyLink::getValue(), Gui::Document::getViewProvider(), Gui::Application::Instance, TechDrawGui::MDIViewPage::m_scene, onDraggerClicked(), onHighlightMoved(), onRadiusEdit(), onReferenceEdit(), onScaleEdit(), onScaleTypeEdit(), onXEdit(), onYEdit(), saveDetailState(), and setUiFromFeat().
◆ ~TaskDetail()
TaskDetail::~TaskDetail |
( |
| ) |
|
◆ accept()
bool TaskDetail::accept |
( |
| ) |
|
|
virtual |
◆ 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::DrawProjGroupItem::getScale(), TechDraw::DrawView::getScale(), App::PropertyQuantity::getValue(), App::PropertyVector::getValue(), TechDrawGui::Rez::guiX(), Base::ConsoleSingleton::Message(), DraftVecUtils::scale(), TechDraw::DrawView::X, Base::Vector3< _Precision >::x, TechDraw::DrawView::Y, and Base::Vector3< _Precision >::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 |
( |
| ) |
|
|
virtual |
◆ restoreDetailState()
void TaskDetail::restoreDetailState |
( |
| ) |
|
|
protected |
◆ saveButtons()
void TaskDetail::saveButtons |
( |
QPushButton * |
btnOK, |
|
|
QPushButton * |
btnCancel |
|
) |
| |
◆ 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(), TechDraw::DrawViewDetail::Radius, App::DocumentObject::recomputeFeature(), TechDraw::DrawViewDetail::Reference, TechDraw::DrawView::requestPaint(), TechDraw::DrawView::Scale, App::PropertyVector::setValue(), App::PropertyFloat::setValue(), App::PropertyString::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:
- src/Mod/TechDraw/Gui/TaskDetail.h
- src/Mod/TechDraw/Gui/TaskDetail.cpp