22 #ifndef COLORROUNDRECTBUTTON_H_
23 #define COLORROUNDRECTBUTTON_H_
27 #include <QStateMachine>
30 class QGraphicsSceneMouseEvent;
37 class QTapAndHoldGesture;
49 ColorRoundRectButton(
const QSize& encompassingRectSize,
const QString& label,QColor normalColor,QColor activeColor);
53 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option=0,QWidget *widget=0);
84 virtual bool tapGesture(QTapGesture *tapEvent);