#include <joint.h>
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 | |
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 |
ArmWidget* joint::graph [private] |
ArmRotationWidget* joint::graph_rotation [private] |
QPointF joint::newPos [private] |