#include <TaskCenterLine.h>
◆ TaskCenterLine() [1/2]
◆ TaskCenterLine() [2/2]
◆ ~TaskCenterLine()
TaskCenterLine::~TaskCenterLine |
( |
| ) |
|
◆ accept()
bool TaskCenterLine::accept |
( |
void |
| ) |
|
|
virtual |
◆ changeEvent()
void TaskCenterLine::changeEvent |
( |
QEvent * |
e | ) |
|
|
protected |
◆ createCenterLine()
void TaskCenterLine::createCenterLine |
( |
void |
| ) |
|
|
protected |
References Gui::Command::abortCommand(), TechDraw::CosmeticExtension::addCenterLine(), Gui::Command::commitCommand(), Base::Console(), Base::ConsoleSingleton::Log(), TechDraw::LineFormat::m_color, TechDraw::CenterLine::m_flip2Line, TechDraw::CenterLine::m_format, TechDraw::LineFormat::m_style, TechDraw::LineFormat::m_visible, TechDraw::LineFormat::m_weight, Gui::Command::openCommand(), draftutils.translate::QT_TRANSLATE_NOOP, App::DocumentObject::recomputeFeature(), TechDraw::CenterLine::setExtend(), TechDraw::CenterLine::setRotate(), TechDraw::CenterLine::setShifts(), App::Color::setValue(), and Gui::Command::updateActive().
Referenced by TaskCenterLine().
◆ enableTaskButtons()
void TaskCenterLine::enableTaskButtons |
( |
bool |
b | ) |
|
◆ getCenterColor()
QColor TaskCenterLine::getCenterColor |
( |
| ) |
|
|
protected |
◆ getCenterStyle()
Qt::PenStyle TaskCenterLine::getCenterStyle |
( |
| ) |
|
|
protected |
◆ getCenterWidth()
double TaskCenterLine::getCenterWidth |
( |
| ) |
|
|
protected |
◆ getCreateMode()
virtual bool TechDrawGui::TaskCenterLine::getCreateMode |
( |
void |
| ) |
|
|
virtual |
◆ getExtendBy()
double TaskCenterLine::getExtendBy |
( |
void |
| ) |
|
|
protected |
◆ reject()
bool TaskCenterLine::reject |
( |
void |
| ) |
|
|
virtual |
References getCreateMode(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Command::Gui, Gui::Application::Instance, TechDraw::LineFormat::m_color, TechDraw::CenterLine::m_extendBy, TechDraw::CenterLine::m_format, TechDraw::CenterLine::m_hShift, TechDraw::CenterLine::m_mode, TechDraw::CenterLine::m_rotate, TechDraw::LineFormat::m_style, TechDraw::CenterLine::m_type, TechDraw::LineFormat::m_visible, TechDraw::CenterLine::m_vShift, TechDraw::LineFormat::m_weight, and App::DocumentObject::recomputeFeature().
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::TaskDlgCenterLine::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ saveButtons()
◆ setCreateMode()
virtual void TechDrawGui::TaskCenterLine::setCreateMode |
( |
bool |
b | ) |
|
|
virtual |
◆ setUiConnect()
void TaskCenterLine::setUiConnect |
( |
void |
| ) |
|
|
protected |
◆ setUiEdit()
void TaskCenterLine::setUiEdit |
( |
void |
| ) |
|
|
protected |
References Base::Unit::Angle, App::Color::asValue(), Base::Tools::fromStdString(), Base::UnitsApi::getDecimals(), App::DocumentObject::getNameInDocument(), Base::Unit::Length, TechDraw::LineFormat::m_color, TechDraw::CenterLine::m_extendBy, TechDraw::CenterLine::m_format, TechDraw::CenterLine::m_hShift, TechDraw::CenterLine::m_mode, TechDraw::CenterLine::m_rotate, TechDraw::LineFormat::m_style, TechDraw::CenterLine::m_vShift, TechDraw::LineFormat::m_weight, Base::Quantity::setUnit(), and Base::Quantity::setValue().
Referenced by TaskCenterLine().
◆ setUiPrimary()
void TaskCenterLine::setUiPrimary |
( |
void |
| ) |
|
|
protected |
References Base::Unit::Angle, Base::Tools::fromStdString(), getCenterColor(), getCenterStyle(), getCenterWidth(), Base::UnitsApi::getDecimals(), getExtendBy(), App::DocumentObject::getNameInDocument(), Base::Unit::Length, Base::Quantity::setUnit(), and Base::Quantity::setValue().
Referenced by TaskCenterLine().
◆ updateOrientation()
void TaskCenterLine::updateOrientation |
( |
void |
| ) |
|
|
protected |
◆ updateTask()
void TaskCenterLine::updateTask |
( |
| ) |
|
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/TaskCenterLine.h
- FreeCAD/src/Mod/TechDraw/Gui/TaskCenterLine.cpp