#include <DlgFilletEdges.h>
Classes | |
class | Private |
Public Types | |
enum | FilletType { FILLET, CHAMFER } |
Public Member Functions | |
bool | accept () |
DlgFilletEdges (FilletType type, Part::FilletBase *, QWidget *parent=0, Qt::WindowFlags fl=0) | |
~DlgFilletEdges () | |
Public Member Functions inherited from Gui::SelectionObserver | |
void | attachSelection () |
Attaches to the selection. More... | |
bool | blockConnection (bool block) |
void | detachSelection () |
Detaches from the selection. More... | |
bool | isConnectionAttached () const |
bool | isConnectionBlocked () const |
SelectionObserver (bool attach=true, int resolve=1) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1) | |
Constructor. More... | |
virtual | ~SelectionObserver () |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Sets the strings of the subwidgets using the current language. More... | |
void | findShapes () |
virtual const char * | getFilletType () const |
void | setupFillet (const std::vector< App::DocumentObject * > &) |
Member Enumeration Documentation
◆ FilletType
Constructor & Destructor Documentation
◆ DlgFilletEdges()
DlgFilletEdges::DlgFilletEdges | ( | FilletType | type, |
Part::FilletBase * | fillet, | ||
QWidget * | parent = 0 , |
||
Qt::WindowFlags | fl = 0 |
||
) |
◆ ~DlgFilletEdges()
DlgFilletEdges::~DlgFilletEdges | ( | ) |
References Gui::SelectionSingleton::rmvSelectionGate(), and Gui::Selection().
Member Function Documentation
◆ accept()
bool DlgFilletEdges::accept | ( | ) |
References Gui::Command::App, App::Document::commitTransaction(), App::Application::getActiveDocument(), App::GetApplication(), Base::UnitsApi::getDecimals(), getFilletType(), App::Document::getUniqueObjectName(), Base::Quantity::getValue(), Gui::Application::getViewProvider(), Gui::Application::Instance, App::Document::openTransaction(), App::Document::recompute(), and Gui::ViewProvider::show().
Referenced by PartGui::FilletEdgesDialog::accept(), PartGui::TaskFilletEdges::accept(), and PartGui::TaskChamferEdges::accept().
◆ changeEvent()
|
protected |
Sets the strings of the subwidgets using the current language.
◆ findShapes()
|
protected |
◆ getFilletType()
|
protectedvirtual |
Reimplemented in PartGui::DlgChamferEdges.
Referenced by accept().
◆ setupFillet()
|
protected |
References Gui::SelectionSingleton::addSelections(), Gui::SelectionSingleton::clearSelection(), DraftVecUtils::find(), Gui::Application::getViewProvider(), Gui::ViewProvider::hide(), Gui::Application::Instance, Base::Unit::Length, Gui::Selection(), and Gui::ViewProvider::show().
Referenced by findShapes().
The documentation for this class was generated from the following files:
- src/Mod/Part/Gui/DlgFilletEdges.h
- src/Mod/Part/Gui/DlgFilletEdges.cpp