Gui::LocationWidget Class Reference
#include <InputVector.h>
Public Member Functions | |
Base::Vector3d | getDirection () const |
Base::Vector3d | getPosition () const |
Base::Vector3d | getUserDirection (bool *ok=0) const |
LocationWidget (QWidget *parent=0) | |
void | setDirection (const Base::Vector3d &dir) |
void | setPosition (const Base::Vector3d &) |
QSize | sizeHint () const |
virtual | ~LocationWidget () |
Constructor & Destructor Documentation
◆ LocationWidget()
LocationWidget::LocationWidget | ( | QWidget * | parent = 0 | ) |
◆ ~LocationWidget()
|
virtual |
Member Function Documentation
◆ getDirection()
Base::Vector3d LocationWidget::getDirection | ( | ) | const |
◆ getPosition()
Base::Vector3d LocationWidget::getPosition | ( | ) | const |
References Base::Quantity::getValue(), and Gui::QuantitySpinBox::value.
◆ getUserDirection()
Base::Vector3d LocationWidget::getUserDirection | ( | bool * | ok = 0 | ) | const |
◆ setDirection()
void LocationWidget::setDirection | ( | const Base::Vector3d & | dir | ) |
◆ setPosition()
void LocationWidget::setPosition | ( | const Base::Vector3d & | v | ) |
References Gui::QuantitySpinBox::setValue().
◆ sizeHint()
QSize LocationWidget::sizeHint | ( | ) | const |
The documentation for this class was generated from the following files:
- src/Gui/InputVector.h
- src/Gui/InputVector.cpp