#include <WristWidget.h>
Public Slots | |
| void | angleReceived (double value) |
| void | degree (bool value) |
| void | turnClockwise () |
| void | turnCounterClockwise () |
Signals | |
| void | angle (double value) |
| void | angle_rad (float value) |
Public Member Functions | |
| WristWidget (QWidget *parent=0) | |
Protected Member Functions | |
| void | drawBackground (QPainter *painter, const QRectF &rect) |
| void | timerEvent (QTimerEvent *event) |
Private Attributes | |
| bool | angle_type |
| int | timerId |
| double | wristAngle |
Definition at line 48 of file WristWidget.h.
| WristWidget::WristWidget | ( | QWidget * | parent = 0 | ) |
Display the wrist orientation by a pair of red lines. The lines can be moved to change the orientation of the wrist
Definition at line 38 of file WristWidget.cpp.
| void WristWidget::angle | ( | double | value | ) | [signal] |
| void WristWidget::angle_rad | ( | float | value | ) | [signal] |
| void WristWidget::angleReceived | ( | double | value | ) | [slot] |
Definition at line 93 of file WristWidget.cpp.
| void WristWidget::degree | ( | bool | value | ) | [slot] |
Definition at line 86 of file WristWidget.cpp.
| void WristWidget::drawBackground | ( | QPainter * | painter, |
| const QRectF & | rect | ||
| ) | [protected] |
Definition at line 162 of file WristWidget.cpp.
| void WristWidget::timerEvent | ( | QTimerEvent * | event | ) | [protected] |
Definition at line 127 of file WristWidget.cpp.
| void WristWidget::turnClockwise | ( | ) | [slot] |
Definition at line 105 of file WristWidget.cpp.
| void WristWidget::turnCounterClockwise | ( | ) | [slot] |
Definition at line 116 of file WristWidget.cpp.
bool WristWidget::angle_type [private] |
Definition at line 68 of file WristWidget.h.
int WristWidget::timerId [private] |
Definition at line 66 of file WristWidget.h.
double WristWidget::wristAngle [private] |
Definition at line 67 of file WristWidget.h.