#include <TaskCenterLine.h>
◆ TaskCenterLine() [1/2]
◆ TaskCenterLine() [2/2]
◆ ~TaskCenterLine()
TaskCenterLine::~TaskCenterLine |
( |
| ) |
|
◆ accept()
bool TaskCenterLine::accept |
( |
| ) |
|
|
virtual |
◆ blockButtons()
void TechDrawGui::TaskCenterLine::blockButtons |
( |
bool |
b | ) |
|
|
protected |
◆ changeEvent()
void TaskCenterLine::changeEvent |
( |
QEvent * |
e | ) |
|
|
protected |
◆ create2Lines()
void TechDrawGui::TaskCenterLine::create2Lines |
( |
void |
| ) |
|
|
protected |
◆ create2Points()
void TechDrawGui::TaskCenterLine::create2Points |
( |
void |
| ) |
|
|
protected |
◆ createCenterLine()
void TaskCenterLine::createCenterLine |
( |
void |
| ) |
|
|
protected |
References 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(), App::DocumentObject::recomputeFeature(), TechDraw::CenterLine::setExtend(), TechDraw::CenterLine::setRotate(), TechDraw::CenterLine::setShifts(), App::Color::setValue(), and Gui::Command::updateActive().
Referenced by accept().
◆ 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 |
( |
| ) |
|
|
protected |
◆ reject()
bool TaskCenterLine::reject |
( |
| ) |
|
|
virtual |
◆ saveButtons()
void TaskCenterLine::saveButtons |
( |
QPushButton * |
btnOK, |
|
|
QPushButton * |
btnCancel |
|
) |
| |
◆ setCreateMode()
virtual void TechDrawGui::TaskCenterLine::setCreateMode |
( |
bool |
b | ) |
|
|
virtual |
◆ setFlipped()
void TechDrawGui::TaskCenterLine::setFlipped |
( |
bool |
b | ) |
|
◆ 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_flip2Line, 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::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().
◆ update2Lines()
void TechDrawGui::TaskCenterLine::update2Lines |
( |
void |
| ) |
|
|
protected |
◆ update2Points()
void TechDrawGui::TaskCenterLine::update2Points |
( |
void |
| ) |
|
|
protected |
◆ updateCenterLine()
void TaskCenterLine::updateCenterLine |
( |
void |
| ) |
|
|
protected |
References Gui::Command::commitCommand(), TechDraw::LineFormat::m_color, TechDraw::CenterLine::m_extendBy, TechDraw::CenterLine::m_flip2Line, 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, Gui::Command::openCommand(), TechDraw::DrawViewPart::refreshCLGeoms(), TechDraw::DrawView::requestPaint(), App::Color::setValue(), and Gui::Command::updateActive().
Referenced by accept().
◆ updateTask()
void TaskCenterLine::updateTask |
( |
| ) |
|
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/TaskCenterLine.h
- src/Mod/TechDraw/Gui/TaskCenterLine.cpp