#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=0, Qt::WindowFlags fl=0) | |
void | reject () |
void | setPlacement (const Base::Placement &) |
void | showDefaultButtons (bool) |
~Placement () | |
Public Member Functions inherited from Gui::LocationDialog | |
Base::Vector3d | getUserDirection (bool *ok=0) const |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | keyPressEvent (QKeyEvent *) |
void | open () |
Protected Member Functions inherited from Gui::LocationDialog | |
LocationDialog (QWidget *parent=0, Qt::WindowFlags fl=0) | |
virtual | ~LocationDialog () |
Friends | |
class | TaskPlacement |
Constructor & Destructor Documentation
◆ Placement()
Placement::Placement | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
References Base::Unit::Angle, 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::~Placement | ( | ) |
Member Function Documentation
◆ accept()
void Placement::accept | ( | ) |
◆ bindObject()
void Placement::bindObject | ( | ) |
References App::ObjectIdentifier::parse().
Referenced by Gui::Dialog::TaskPlacement::bindObject().
◆ changeEvent()
|
protectedvirtual |
Implements Gui::LocationDialog.
References Gui::LocationUi< Ui >::retranslate().
◆ directionChanged
|
signal |
Referenced by Placement().
◆ getDirection()
|
virtual |
Implements Gui::LocationDialog.
References Gui::LocationUi< Ui >::getDirection().
◆ getPlacement()
Base::Placement Placement::getPlacement | ( | ) | const |
◆ keyPressEvent()
|
protected |
◆ open()
|
protected |
Referenced by Gui::Dialog::TaskPlacement::open().
◆ placementChanged
Referenced by reject().
◆ reject()
void Placement::reject | ( | ) |
◆ setPlacement()
void Placement::setPlacement | ( | const Base::Placement & | p | ) |
Referenced by Gui::Dialog::TaskPlacement::setPlacement().
◆ showDefaultButtons()
void Placement::showDefaultButtons | ( | bool | ok | ) |
Referenced by Gui::Dialog::TaskPlacement::TaskPlacement().
Friends And Related Function Documentation
◆ TaskPlacement
|
friend |
The documentation for this class was generated from the following files:
- src/Gui/Placement.h
- src/Gui/Placement.cpp