#include <TaskGeomHatch.h>
Public Member Functions | |
virtual bool | accept () |
bool | getCreateMode () |
virtual bool | reject () |
void | setCreateMode (bool b) |
TaskGeomHatch (TechDraw::DrawGeomHatch *inHatch, TechDrawGui::ViewProviderGeomHatch *inVp, bool mode) | |
~TaskGeomHatch () | |
Protected Slots | |
void | onFileChanged (void) |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | getParameters () |
void | initUi () |
QStringList | listToQ (std::vector< std::string > in) |
void | updateValues () |
Constructor & Destructor Documentation
◆ TaskGeomHatch()
TaskGeomHatch::TaskGeomHatch | ( | TechDraw::DrawGeomHatch * | inHatch, |
TechDrawGui::ViewProviderGeomHatch * | inVp, | ||
bool | mode | ||
) |
◆ ~TaskGeomHatch()
TaskGeomHatch::~TaskGeomHatch | ( | ) |
Member Function Documentation
◆ accept()
|
virtual |
References App::DocumentObject::getDocument(), Gui::Command::Gui, App::Document::recompute(), App::DocumentObject::touch(), and updateValues().
Referenced by TechDrawGui::TaskDlgGeomHatch::accept().
◆ changeEvent()
|
protected |
◆ getCreateMode()
bool TechDrawGui::TaskGeomHatch::getCreateMode | ( | ) |
Referenced by getParameters(), and reject().
◆ getParameters()
|
protected |
References TechDrawGui::ViewProviderGeomHatch::ColorPattern, TechDraw::DrawGeomHatch::FilePattern, getCreateMode(), App::PropertyFloat::getValue(), App::PropertyString::getValue(), App::PropertyColor::getValue(), TechDraw::DrawGeomHatch::NamePattern, TechDraw::DrawGeomHatch::ScalePattern, and TechDrawGui::ViewProviderGeomHatch::WeightPattern.
Referenced by TaskGeomHatch().
◆ initUi()
|
protected |
References App::Color::asValue(), Base::Console(), listToQ(), and Base::ConsoleSingleton::Warning().
Referenced by TaskGeomHatch().
◆ listToQ()
|
protected |
Referenced by initUi(), and onFileChanged().
◆ onFileChanged
|
protectedslot |
References listToQ().
Referenced by TaskGeomHatch().
◆ reject()
|
virtual |
References TechDrawGui::ViewProviderGeomHatch::ColorPattern, TechDraw::DrawGeomHatch::FilePattern, getCreateMode(), App::DocumentObject::getDocument(), App::DocumentObject::getNameInDocument(), Gui::Command::Gui, TechDraw::DrawGeomHatch::NamePattern, App::Document::recompute(), TechDraw::DrawGeomHatch::ScalePattern, App::PropertyFloat::setValue(), App::PropertyString::setValue(), App::PropertyColor::setValue(), App::DocumentObject::touch(), and TechDrawGui::ViewProviderGeomHatch::WeightPattern.
Referenced by TechDrawGui::TaskDlgGeomHatch::reject().
◆ setCreateMode()
void TechDrawGui::TaskGeomHatch::setCreateMode | ( | bool | b | ) |
Referenced by TechDrawGui::TaskDlgGeomHatch::setCreateMode().
◆ updateValues()
|
protected |
References TechDrawGui::ViewProviderGeomHatch::ColorPattern, TechDraw::DrawGeomHatch::FilePattern, TechDraw::DrawGeomHatch::NamePattern, TechDraw::DrawGeomHatch::ScalePattern, App::Color::setValue(), App::PropertyFloat::setValue(), App::PropertyString::setValue(), App::PropertyColor::setValue(), and TechDrawGui::ViewProviderGeomHatch::WeightPattern.
Referenced by accept().
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/TaskGeomHatch.h
- src/Mod/TechDraw/Gui/TaskGeomHatch.cpp