Dialog box to ask user to pick a Part Design body to make active or make a new one. More...
#include <DlgActiveBody.h>
Public Member Functions | |
void | accept () override |
DlgActiveBody (QWidget *parent, App::Document *&doc, const QString &infoText=QString()) | |
PartDesign::Body * | getActiveBody () const |
~DlgActiveBody () | |
Dialog box to ask user to pick a Part Design body to make active or make a new one.
DlgActiveBody::DlgActiveBody | ( | QWidget * | parent, |
App::Document *& | doc, | ||
const QString & | infoText = QString() |
||
) |
DlgActiveBody::~DlgActiveBody | ( | ) |
|
override |
References App::Application::closeActiveTransaction(), App::GetApplication(), PartDesignGui::makeBody(), PartDesignGui::makeBodyActive(), draftutils.translate::QT_TRANSLATE_NOOP, and App::Application::setActiveTransaction().
Referenced by femexamples.examplesgui.FemExamples::clicked(), DlgActiveBody(), femexamples.examplesgui.FemExamples::double_clicked(), ArchComponent.ComponentTaskPanel::editObject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
PartDesign::Body * PartDesignGui::DlgActiveBody::getActiveBody | ( | ) | const |
Referenced by PartDesignGui::getBody().