Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes
WristWidget Class Reference

#include <WristWidget.h>

List of all members.

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

Detailed Description

Definition at line 48 of file WristWidget.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 116 of file WristWidget.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


corobot_teleop
Author(s):
autogenerated on Sun Oct 5 2014 23:18:16