#include <ThymioButtons.h>
Public Member Functions | |
virtual int | getNumButtons () |
virtual QPixmap | image (bool on=true) |
virtual int | isClicked (int i) |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
virtual void | setClicked (int i, int status) |
ThymioColorAction (QGraphicsItem *parent=0) | |
Private Slots | |
void | valueChangeDetected () |
Private Attributes | |
QList< QSlider * > | sliders |
QList< QGraphicsProxyWidget * > | widgets |
Definition at line 315 of file ThymioButtons.h.
Aseba::ThymioColorAction::ThymioColorAction | ( | QGraphicsItem * | parent = 0 | ) |
Definition at line 128 of file ThymioActionButtons.cpp.
virtual int Aseba::ThymioColorAction::getNumButtons | ( | ) | [inline, virtual] |
Reimplemented from Aseba::ThymioButton.
Definition at line 325 of file ThymioButtons.h.
QPixmap Aseba::ThymioColorAction::image | ( | bool | on = true | ) | [virtual] |
Reimplemented from Aseba::ThymioButton.
Definition at line 180 of file ThymioActionButtons.cpp.
int Aseba::ThymioColorAction::isClicked | ( | int | i | ) | [virtual] |
Reimplemented from Aseba::ThymioButton.
Definition at line 215 of file ThymioActionButtons.cpp.
void Aseba::ThymioColorAction::paint | ( | QPainter * | painter, |
const QStyleOptionGraphicsItem * | option, | ||
QWidget * | widget = 0 |
||
) | [virtual] |
Reimplemented from Aseba::ThymioButton.
Definition at line 166 of file ThymioActionButtons.cpp.
void Aseba::ThymioColorAction::setClicked | ( | int | i, |
int | status | ||
) | [virtual] |
Reimplemented from Aseba::ThymioButton.
Definition at line 209 of file ThymioActionButtons.cpp.
void Aseba::ThymioColorAction::valueChangeDetected | ( | ) | [private, slot] |
Definition at line 204 of file ThymioActionButtons.cpp.
QList<QSlider *> Aseba::ThymioColorAction::sliders [private] |
Definition at line 332 of file ThymioButtons.h.
QList<QGraphicsProxyWidget *> Aseba::ThymioColorAction::widgets [private] |
Definition at line 331 of file ThymioButtons.h.