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

#include <joint.h>

List of all members.

Public Types

enum  { Type = UserType + 1 }

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
int type () 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.


Member Enumeration Documentation

anonymous enum
Enumerator:
Type 

Definition at line 56 of file joint.h.


Constructor & Destructor Documentation

joint::joint ( ArmWidget graphWidget)

Definition at line 54 of file joint.cpp.

joint::joint ( ArmRotationWidget graphWidget)

Definition at line 64 of file joint.cpp.


Member Function Documentation

bool joint::advance ( )

Definition at line 75 of file joint.cpp.

QRectF joint::boundingRect ( ) const

Definition at line 85 of file joint.cpp.

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

Definition at line 122 of file joint.cpp.

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

Definition at line 140 of file joint.cpp.

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

Definition at line 146 of file joint.cpp.

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

Definition at line 99 of file joint.cpp.

QPainterPath joint::shape ( ) const

Definition at line 92 of file joint.cpp.

int joint::type ( ) const [inline]

Definition at line 57 of file joint.h.


Member Data Documentation

ArmWidget* joint::graph [private]

Definition at line 73 of file joint.h.

Definition at line 74 of file joint.h.

QPointF joint::newPos [private]

Definition at line 72 of file joint.h.


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


corobot_teleop
Author(s): Morgan Cormier/Gang Li/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:41