#include <ThymioButtons.h>
Public Member Functions | |
QRectF | boundingRect () const |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
void | setUp (bool u) |
ThymioBody (QGraphicsItem *parent=0) | |
Public Attributes | |
QColor | bodyColor |
Private Attributes | |
bool | up |
Definition at line 94 of file ThymioButtons.h.
Aseba::ThymioButton::ThymioBody::ThymioBody | ( | QGraphicsItem * | parent = 0 | ) | [inline] |
Definition at line 97 of file ThymioButtons.h.
QRectF Aseba::ThymioButton::ThymioBody::boundingRect | ( | ) | const [inline] |
Definition at line 99 of file ThymioButtons.h.
void Aseba::ThymioButton::ThymioBody::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) | [virtual] |
Definition at line 135 of file ThymioButtons.cpp.
void Aseba::ThymioButton::ThymioBody::setUp | ( | bool | u | ) | [inline] |
Definition at line 100 of file ThymioButtons.h.
Definition at line 102 of file ThymioButtons.h.
bool Aseba::ThymioButton::ThymioBody::up [private] |
Definition at line 104 of file ThymioButtons.h.