#include <DlgExtrusion.h>
◆ DlgExtrusion()
DlgExtrusion::DlgExtrusion |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
fl = Qt::WindowFlags() |
|
) |
| |
◆ ~DlgExtrusion()
DlgExtrusion::~DlgExtrusion |
( |
| ) |
|
◆ accept()
void DlgExtrusion::accept |
( |
void |
| ) |
|
◆ apply()
void DlgExtrusion::apply |
( |
| ) |
|
References App::Document::commitTransaction(), App::GetApplication(), ParameterGrp::GetBool(), App::Application::getDocument(), ParameterGrp::GetGroup(), getShapesToExtrude(), Part::Feature::getTopoShape(), App::Application::GetUserParameter(), draftgeoutils.general::isNull(), 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(), Gui::Application::getDocument(), Gui::ViewProvider::getIcon(), App::Document::getName(), App::Document::getObjectsOfType(), Part::TopoShape::getShape(), Part::Feature::getTopoShape(), App::PropertyString::getValue(), Gui::Document::getViewProvider(), Gui::Application::Instance, Part::TopoShape::isNull(), and App::Document::Label.
Referenced by DlgExtrusion().
◆ getAxisLink()
◆ getDir()
◆ getDirMode()
◆ getShapesToExtrude()
◆ keyPressEvent()
void DlgExtrusion::keyPressEvent |
( |
QKeyEvent * |
ke | ) |
|
|
protected |
◆ reject()
void DlgExtrusion::reject |
( |
void |
| ) |
|
◆ setAxisLink() [1/2]
◆ setAxisLink() [2/2]
void DlgExtrusion::setAxisLink |
( |
const char * |
objname, |
|
|
const char * |
subname |
|
) |
| |
◆ setDir()
◆ setDirMode()
◆ validate()
bool DlgExtrusion::validate |
( |
| ) |
|
References Part::Extrusion::calculateShapeNormal(), Part::Extrusion::dmCustom, Part::Extrusion::dmEdge, Part::Extrusion::dmNormal, Part::Extrusion::fetchAxisLink(), getAxisLink(), getDir(), getDirMode(), App::PropertyLink::setValue(), and Base::Exception::what().
Referenced by apply(), and AddonManager.CommandAddonManager::startup().
◆ 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:
- FreeCAD/src/Mod/Part/Gui/DlgExtrusion.h
- FreeCAD/src/Mod/Part/Gui/DlgExtrusion.cpp