This is the abstract base dialog class that defines the interface for specifying a direction vector by the user. More...
#include <InputVector.h>
Public Member Functions | |
virtual Base::Vector3d | getDirection () const =0 |
Base::Vector3d | getUserDirection (bool *ok=nullptr) const |
Protected Member Functions | |
virtual void | changeEvent (QEvent *e)=0 |
LocationDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
virtual | ~LocationDialog () |
This is the abstract base dialog class that defines the interface for specifying a direction vector by the user.
|
protected |
|
protectedvirtual |
|
protectedpure virtual |
|
pure virtual |
Base::Vector3d LocationDialog::getUserDirection | ( | bool * | ok = nullptr | ) | const |
References Base::UnitsApi::getDecimals(), Gui::Dialog::Ui_InputVector::setupUi(), Gui::Dialog::Ui_InputVector::vectorX, Gui::Dialog::Ui_InputVector::vectorY, Gui::Dialog::Ui_InputVector::vectorZ, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by Gui::LocationUi< Ui >::directionActivated(), and Gui::LocationImpUi< Ui >::directionActivated().