Signals | Public Member Functions | Public Attributes | Protected Member Functions

SmallRobot Class Reference

#include <SmallRobot.h>

Collaboration diagram for SmallRobot:
Collaboration graph
[legend]

List of all members.

Signals

void robotMovedSignal ()

Public Member Functions

 SmallRobot ()
 SmallRobot (QColor color)
QRectF boundingRect () const
QPainterPath shape () const
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
void init ()
void move ()
void updateRobot ()
void setParent (QWidget *parent)

Public Attributes

struct mcl_laser_statemclPart
QColor color
QSize widgetSize
QSizeF playgroundSize
QWidget * parent

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)

Constructor & Destructor Documentation

SmallRobot::SmallRobot (  ) 
SmallRobot::SmallRobot ( QColor  color  ) 

Member Function Documentation

QRectF SmallRobot::boundingRect (  )  const
void SmallRobot::init (  ) 

Here is the call graph for this function:

void SmallRobot::mousePressEvent ( QGraphicsSceneMouseEvent *  event  )  [protected]
void SmallRobot::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event  )  [protected]

Here is the call graph for this function:

void SmallRobot::move (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void SmallRobot::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
void SmallRobot::robotMovedSignal (  )  [signal]

Here is the caller graph for this function:

void SmallRobot::setParent ( QWidget *  parent  ) 

Here is the call graph for this function:

QPainterPath SmallRobot::shape (  )  const
void SmallRobot::updateRobot (  ) 

Here is the caller graph for this function:


Member Data Documentation


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