#include <joint.h>
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 | |
| ArmWidget * | graph | 
| ArmRotationWidget * | graph_rotation | 
| QPointF | newPos | 
| joint::joint | ( | ArmWidget * | graphWidget | ) | 
| joint::joint | ( | ArmRotationWidget * | graphWidget | ) | 
| bool joint::advance | ( | ) | 
| QRectF joint::boundingRect | ( | ) | const | 
| QVariant joint::itemChange | ( | GraphicsItemChange | change, | 
| const QVariant & | value | ||
| ) |  [protected] | 
        
| void joint::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) |  [protected] | 
        
| void joint::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | event | ) |  [protected] | 
        
| void joint::paint | ( | QPainter * | painter, | 
| const QStyleOptionGraphicsItem * | option, | ||
| QWidget * | widget | ||
| ) | 
| QPainterPath joint::shape | ( | ) | const | 
| int joint::type | ( | ) |  const [inline] | 
        
ArmWidget* joint::graph [private] | 
        
ArmRotationWidget* joint::graph_rotation [private] | 
        
QPointF joint::newPos [private] |