#include <ThymioButtons.h>
Public Member Functions | |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
ThymioFaceButton (QRectF rect, ThymioSmileType type, QGraphicsItem *parent=0) | |
Private Attributes | |
qreal | arcEnd |
qreal | arcStart |
QRectF | leftEye |
QRectF | mouth |
QRectF | rightEye |
Definition at line 75 of file ThymioButtons.h.
Aseba::ThymioFaceButton::ThymioFaceButton | ( | QRectF | rect, |
ThymioSmileType | type, | ||
QGraphicsItem * | parent = 0 |
||
) |
Definition at line 84 of file ThymioButtons.cpp.
void Aseba::ThymioFaceButton::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) |
Reimplemented from Aseba::ThymioClickableButton.
Definition at line 116 of file ThymioButtons.cpp.
qreal Aseba::ThymioFaceButton::arcEnd [private] |
Definition at line 85 of file ThymioButtons.h.
qreal Aseba::ThymioFaceButton::arcStart [private] |
Definition at line 84 of file ThymioButtons.h.
QRectF Aseba::ThymioFaceButton::leftEye [private] |
Definition at line 81 of file ThymioButtons.h.
QRectF Aseba::ThymioFaceButton::mouth [private] |
Definition at line 83 of file ThymioButtons.h.
QRectF Aseba::ThymioFaceButton::rightEye [private] |
Definition at line 82 of file ThymioButtons.h.