#include <boatdef-panel.h>
Public Member Functions | |
| CVector3dWidget (QWidget *parent) | |
| CVector3d | getVector () |
| void | setVector (const CVector3d &v) |
Protected Attributes | |
| vector< QSpinBox * > | spinBox |
Definition at line 38 of file boatdef-panel.h.
| CVector3dWidget::CVector3dWidget | ( | QWidget * | parent | ) |
The constructor for a CVector3dWidget.
| parent | the parent widget |
Definition at line 39 of file boatdef-panel.cpp.
References spinBox.
| CVector3d CVector3dWidget::getVector | ( | ) |
Returns the vector corresponding to the user's input.
Definition at line 69 of file boatdef-panel.cpp.
References spinBox.
Referenced by CBoatElementWidget::slotUpdate().
| void CVector3dWidget::setVector | ( | const CVector3d & | v | ) |
Set the input boxes from a given vector.
| v | the new vector to display |
Definition at line 82 of file boatdef-panel.cpp.
References spinBox.
Referenced by CBoatElementWidget::setElement().
vector<QSpinBox *> CVector3dWidget::spinBox [protected] |
The spin boxes.
Definition at line 50 of file boatdef-panel.h.
Referenced by CVector3dWidget(), getVector(), and setVector().
1.5.6