#include <DlgExtrusion.h>
◆ DlgExtrusion()
DlgExtrusion::DlgExtrusion |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
fl = 0 |
|
) |
| |
◆ ~DlgExtrusion()
DlgExtrusion::~DlgExtrusion |
( |
| ) |
|
◆ accept()
void DlgExtrusion::accept |
( |
| ) |
|
◆ apply()
void DlgExtrusion::apply |
( |
| ) |
|
References App::Document::commitTransaction(), App::GetApplication(), ParameterGrp::GetBool(), Base::Persistence::getClassTypeId(), App::Application::getDocument(), ParameterGrp::GetGroup(), getShapesToExtrude(), App::Application::GetUserParameter(), App::Document::openTransaction(), Gui::Command::updateActive(), validate(), Base::Exception::what(), and writeParametersToFeature().
Referenced by accept(), and PartGui::TaskExtrusion::clicked().
◆ canExtrude()
bool DlgExtrusion::canExtrude |
( |
const TopoDS_Shape & |
shape | ) |
const |
|
protected |
◆ changeEvent()
void DlgExtrusion::changeEvent |
( |
QEvent * |
e | ) |
|
|
protected |
◆ findShapes()
void DlgExtrusion::findShapes |
( |
| ) |
|
|
protected |
References canExtrude(), App::Application::getActiveDocument(), App::GetApplication(), Base::Persistence::getClassTypeId(), Gui::Application::getDocument(), Gui::ViewProvider::getIcon(), App::Document::getName(), App::Document::getObjectsOfType(), Part::PropertyPartShape::getValue(), App::PropertyString::getValue(), Gui::Document::getViewProvider(), Gui::Application::Instance, App::Document::Label, and Part::Feature::Shape.
Referenced by DlgExtrusion().
◆ getAxisLink()
◆ getDir()
◆ getDirMode()
◆ getShapesToExtrude()
◆ keyPressEvent()
void DlgExtrusion::keyPressEvent |
( |
QKeyEvent * |
ke | ) |
|
|
protected |
◆ reject()
void DlgExtrusion::reject |
( |
| ) |
|
◆ setAxisLink() [1/2]
◆ setAxisLink() [2/2]
void DlgExtrusion::setAxisLink |
( |
const char * |
objname, |
|
|
const char * |
subname |
|
) |
| |
◆ setDir()
◆ setDirMode()
◆ validate()
bool DlgExtrusion::validate |
( |
| ) |
|
◆ writeParametersToFeature()
References Part::Extrusion::dmCustom, Gui::Command::Doc, Part::Extrusion::eDirModeStrings, getAxisLink(), getDir(), getDirMode(), App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), App::PropertyLinkSub::getSubValues(), App::PropertyLinkSub::getValue(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by apply().
The documentation for this class was generated from the following files:
- src/Mod/Part/Gui/DlgExtrusion.h
- src/Mod/Part/Gui/DlgExtrusion.cpp