Classes | Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes
Aseba::ThymioButtonSet Class Reference

#include <ThymioButtons.h>

List of all members.

Classes

class  ThymioAddButton
class  ThymioRemoveButton

Public Slots

void stateChanged ()

Signals

void buttonUpdated ()

Public Member Functions

bool actionExists ()
void addActionButton (ThymioButton *action)
void addEventButton (ThymioButton *event)
QRectF boundingRect () const
bool eventExists ()
ThymioButtongetActionButton ()
ThymioButtongetEventButton ()
ThymioIRButtonSetgetIRButtonSet ()
int getRow ()
virtual QPixmap image ()
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
void setAdvanced (bool advanced)
void setColorScheme (QColor eventColor, QColor actionColor)
void setErrorStatus (bool flag)
void setRow (int row)
void setScale (qreal factor)
 ThymioButtonSet (int row, bool advanced, QGraphicsItem *parent=0)

Private Member Functions

virtual void dragEnterEvent (QGraphicsSceneDragDropEvent *event)
virtual void dragLeaveEvent (QGraphicsSceneDragDropEvent *event)
virtual void dragMoveEvent (QGraphicsSceneDragDropEvent *event)
virtual void dropEvent (QGraphicsSceneDragDropEvent *event)
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)

Private Attributes

ThymioButtonactionButton
QColor actionButtonColor
ThymioAddButtonaddButton
bool advancedMode
ThymioIRButtonSet buttonSetIR
ThymioRemoveButtondeleteButton
bool errorFlag
ThymioButtoneventButton
QColor eventButtonColor
bool highlightActionButton
bool highlightEventButton
qreal trans
qreal xpos

Detailed Description

Definition at line 157 of file ThymioButtons.h.


Constructor & Destructor Documentation

Aseba::ThymioButtonSet::ThymioButtonSet ( int  row,
bool  advanced,
QGraphicsItem *  parent = 0 
)

Definition at line 513 of file ThymioButtons.cpp.


Member Function Documentation

Definition at line 191 of file ThymioButtons.h.

Definition at line 651 of file ThymioButtons.cpp.

Definition at line 629 of file ThymioButtons.cpp.

QRectF Aseba::ThymioButtonSet::boundingRect ( ) const [inline]

Definition at line 181 of file ThymioButtons.h.

void Aseba::ThymioButtonSet::dragEnterEvent ( QGraphicsSceneDragDropEvent *  event) [private, virtual]

Definition at line 741 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::dragLeaveEvent ( QGraphicsSceneDragDropEvent *  event) [private, virtual]

Definition at line 787 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::dragMoveEvent ( QGraphicsSceneDragDropEvent *  event) [private, virtual]

Definition at line 764 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::dropEvent ( QGraphicsSceneDragDropEvent *  event) [private, virtual]

Definition at line 800 of file ThymioButtons.cpp.

Definition at line 190 of file ThymioButtons.h.

Definition at line 188 of file ThymioButtons.h.

Definition at line 187 of file ThymioButtons.h.

Definition at line 198 of file ThymioButtons.h.

Definition at line 186 of file ThymioButtons.h.

QPixmap Aseba::ThymioButtonSet::image ( ) [virtual]

Definition at line 719 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event) [private, virtual]

Definition at line 896 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::mousePressEvent ( QGraphicsSceneMouseEvent *  event) [private, virtual]

Definition at line 890 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event) [private, virtual]

Definition at line 919 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
) [virtual]

Definition at line 545 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::setAdvanced ( bool  advanced)

Definition at line 686 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::setColorScheme ( QColor  eventColor,
QColor  actionColor 
)

Definition at line 612 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::setErrorStatus ( bool  flag) [inline]

Definition at line 200 of file ThymioButtons.h.

void Aseba::ThymioButtonSet::setRow ( int  row)

Definition at line 621 of file ThymioButtons.cpp.

void Aseba::ThymioButtonSet::setScale ( qreal  factor)

Definition at line 673 of file ThymioButtons.cpp.

Definition at line 714 of file ThymioButtons.cpp.


Member Data Documentation

Definition at line 210 of file ThymioButtons.h.

Definition at line 216 of file ThymioButtons.h.

Definition at line 212 of file ThymioButtons.h.

Definition at line 221 of file ThymioButtons.h.

Definition at line 213 of file ThymioButtons.h.

Definition at line 211 of file ThymioButtons.h.

Definition at line 220 of file ThymioButtons.h.

Definition at line 209 of file ThymioButtons.h.

Definition at line 215 of file ThymioButtons.h.

Definition at line 219 of file ThymioButtons.h.

Definition at line 218 of file ThymioButtons.h.

Definition at line 222 of file ThymioButtons.h.

Definition at line 223 of file ThymioButtons.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17