#include <InputVector.h>
Public Member Functions | |
Base::Vector3d | getDirection () const |
Base::Vector3d | getPosition () const |
Base::Vector3d | getUserDirection (bool *ok=nullptr) const |
LocationWidget (QWidget *parent=nullptr) | |
void | setDirection (const Base::Vector3d &dir) |
void | setPosition (const Base::Vector3d &) |
QSize | sizeHint () const |
virtual | ~LocationWidget () |
LocationWidget::LocationWidget | ( | QWidget * | parent = nullptr | ) |
|
virtual |
Base::Vector3d LocationWidget::getDirection | ( | ) | const |
Base::Vector3d LocationWidget::getPosition | ( | ) | const |
References Base::Quantity::getValue(), and Gui::QuantitySpinBox::value.
Base::Vector3d LocationWidget::getUserDirection | ( | bool * | ok = nullptr | ) | const |
void LocationWidget::setDirection | ( | const Base::Vector3d & | dir | ) |
void LocationWidget::setPosition | ( | const Base::Vector3d & | v | ) |
References Gui::QuantitySpinBox::setValue().
QSize LocationWidget::sizeHint | ( | ) | const |