#include <Placement.h>
Signals | |
void | directionChanged () |
void | placementChanged (const QVariant &, bool, bool) |
Public Member Functions | |
void | accept () |
void | bindObject () |
Base::Vector3d | getDirection () const |
Base::Placement | getPlacement () const |
Placement (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
void | reject () |
void | setPlacement (const Base::Placement &) |
void | showDefaultButtons (bool) |
~Placement () | |
Public Member Functions inherited from Gui::LocationDialog | |
virtual Base::Vector3d | getDirection () const =0 |
Base::Vector3d | getUserDirection (bool *ok=nullptr) const |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | keyPressEvent (QKeyEvent *) |
void | open () |
Protected Member Functions inherited from Gui::LocationDialog | |
virtual void | changeEvent (QEvent *e)=0 |
LocationDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
virtual | ~LocationDialog () |
Friends | |
class | TaskPlacement |
Placement::Placement | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
References Base::Unit::Angle, draftgeoutils.faces::bind(), draftgeoutils.intersections::connect(), directionChanged(), App::Application::getActiveDocument(), App::GetApplication(), Gui::WindowParameter::getDefaultParameter(), ParameterGrp::GetGroup(), ParameterGrp::GetInt(), App::Document::getName(), Gui::SelectionSingleton::getSelectionEx(), Gui::Application::Instance, Base::Unit::Length, Gui::Selection(), and Gui::Application::signalActiveDocument.
Placement::~Placement | ( | void | ) |
void Placement::accept | ( | void | ) |
Referenced by Gui::Dialog::DockablePlacement::accept(), Gui::Dialog::TaskPlacement::accept(), femexamples.examplesgui.FemExamples::clicked(), femexamples.examplesgui.FemExamples::double_clicked(), ArchComponent.ComponentTaskPanel::editObject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
void Placement::bindObject | ( | ) |
References App::ObjectIdentifier::parse().
Referenced by Gui::Dialog::TaskPlacement::bindObject().
|
protectedvirtual |
Implements Gui::LocationDialog.
References Gui::LocationUi< Ui >::retranslate().
|
signal |
Referenced by Placement().
|
virtual |
Implements Gui::LocationDialog.
References Gui::LocationUi< Ui >::getDirection().
Base::Placement Placement::getPlacement | ( | ) | const |
|
protected |
|
protected |
Referenced by Gui::Dialog::TaskPlacement::open().
Referenced by reject().
void Placement::reject | ( | void | ) |
References placementChanged().
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), Gui::Dialog::DockablePlacement::reject(), Gui::Dialog::TaskPlacement::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
void Placement::setPlacement | ( | const Base::Placement & | p | ) |
Referenced by Gui::Dialog::TaskPlacement::setPlacement().
void Placement::showDefaultButtons | ( | bool | ok | ) |
Referenced by Gui::Dialog::TaskPlacement::TaskPlacement().
|
friend |