#include <LineGroup.h>
Public Member Functions | |
void dump (const char *title) | |
std::string getName (void) | |
double getWeight (std::string s) | |
LineGroup () | |
LineGroup (std::string groupName) | |
void setName (std::string s) | |
void setWeight (std::string s, double weight) | |
~LineGroup () | |
Static Public Member Functions | |
static double getDefaultWidth (std::string weightName, std::string groupName=std::string()) | |
static std::string getRecordFromFile (std::string parmFile, std::string groupName) | |
static LineGroup * lineGroupFactory (std::string groupName) | |
static std::vector< double > split (std::string line) | |
Protected Member Functions | |
void init (void) | |
Protected Attributes | |
double m_extra | |
double m_graphic | |
std::string m_name | |
double m_thick | |
double m_thin | |
Constructor & Destructor Documentation
◆ LineGroup() [1/2]
LineGroup::LineGroup | ( | ) |
References init().
Referenced by lineGroupFactory().
◆ LineGroup() [2/2]
◆ ~LineGroup()
LineGroup::~LineGroup | ( | ) |
Member Function Documentation
◆ dump()
void LineGroup::dump | ( | const char * | title | ) |
References Base::Console(), m_extra, m_graphic, m_name, m_thick, m_thin, and Base::ConsoleSingleton::Message().
◆ getDefaultWidth()
|
static |
References TechDraw::Preferences::lineGroup(), and lineGroupFactory().
◆ getName()
std::string TechDraw::LineGroup::getName | ( | void | ) |
◆ getRecordFromFile()
|
static |
References Base::Console(), and Base::ConsoleSingleton::Message().
Referenced by lineGroupFactory().
◆ getWeight()
◆ init()
|
protected |
References m_extra, m_graphic, m_name, m_thick, and m_thin.
Referenced by LineGroup(), and DocumentObject.DocumentObject::onChanged().
◆ lineGroupFactory()
|
static |
References Base::Console(), getRecordFromFile(), LineGroup(), TechDraw::Preferences::lineGroupFile(), Base::ConsoleSingleton::Message(), setWeight(), and split().
Referenced by TechDrawGui::TaskCenterLine::getCenterWidth(), TechDraw::DrawUtil::getDefaultLineWeight(), getDefaultWidth(), TechDraw::LineFormat::getDefEdgeWidth(), TechDrawGui::ViewProviderRichAnno::getDefLineWeight(), TechDrawGui::ViewProviderLeader::getDefLineWeight(), TechDrawGui::ViewProviderGeomHatch::getParameters(), TechDrawGui::TaskRichAnno::prefWeight(), TechDrawGui::TaskLeaderLine::prefWeight(), TechDrawGui::ViewProviderDimension::prefWeight(), TechDrawGui::ViewProviderBalloon::ViewProviderBalloon(), and TechDrawGui::ViewProviderViewPart::ViewProviderViewPart().
◆ setName()
void TechDraw::LineGroup::setName | ( | std::string | s | ) |
◆ setWeight()
void LineGroup::setWeight | ( | std::string | s, |
double | weight | ||
) |
References m_extra, m_graphic, m_thick, and m_thin.
Referenced by lineGroupFactory().
◆ split()
|
static |
References Base::Console(), and Base::ConsoleSingleton::Warning().
Referenced by lineGroupFactory().
Member Data Documentation
◆ m_extra
|
protected |
Referenced by dump(), getWeight(), init(), and setWeight().
◆ m_graphic
|
protected |
Referenced by dump(), getWeight(), init(), and setWeight().
◆ m_name
|
protected |
Referenced by dump(), init(), and LineGroup().
◆ m_thick
|
protected |
Referenced by dump(), getWeight(), init(), and setWeight().
◆ m_thin
|
protected |
Referenced by dump(), getWeight(), init(), and setWeight().
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/App/LineGroup.h
- src/Mod/TechDraw/App/LineGroup.cpp