Public Member Functions | Protected Member Functions | Private Attributes
joint Class Reference

#include <joint.h>

List of all members.

Public Member Functions

bool advance ()
QRectF boundingRect () const
 joint (ArmWidget *graphWidget)
 joint (ArmRotationWidget *graphWidget)
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
QPainterPath shape () const

Protected Member Functions

QVariant itemChange (GraphicsItemChange change, const QVariant &value)
void mousePressEvent (QGraphicsSceneMouseEvent *event)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)

Private Attributes

ArmWidgetgraph
ArmRotationWidgetgraph_rotation
QPointF newPos

Detailed Description

Definition at line 50 of file joint.h.


Constructor & Destructor Documentation

joint::joint ( ArmWidget graphWidget)

Definition at line 43 of file joint.cpp.

joint::joint ( ArmRotationWidget graphWidget)

Definition at line 53 of file joint.cpp.


Member Function Documentation

bool joint::advance ( )

Definition at line 64 of file joint.cpp.

QRectF joint::boundingRect ( ) const

Definition at line 74 of file joint.cpp.

QVariant joint::itemChange ( GraphicsItemChange  change,
const QVariant &  value 
) [protected]

Definition at line 111 of file joint.cpp.

void joint::mousePressEvent ( QGraphicsSceneMouseEvent *  event) [protected]

Definition at line 127 of file joint.cpp.

void joint::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event) [protected]

Definition at line 133 of file joint.cpp.

void joint::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

Definition at line 88 of file joint.cpp.

QPainterPath joint::shape ( ) const

Definition at line 81 of file joint.cpp.


Member Data Documentation

ArmWidget* joint::graph [private]

Definition at line 69 of file joint.h.

Definition at line 70 of file joint.h.

QPointF joint::newPos [private]

Definition at line 68 of file joint.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