22 #ifndef QUICKLAUNCHBAR_H_
23 #define QUICKLAUNCHBAR_H_
37 #include <QParallelAnimationGroup>
40 class QGraphicsSceneMouseEvent;
43 class QTapAndHoldGesture;
55 namespace DimensionsSystemInterface
82 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option=0,QWidget *widget=0);
86 virtual bool fullInit(quint32 screenWidth,quint32 screenHeight);
90 virtual bool resize(
const QSize& s);
111 const QString& launchpointId,
131 virtual bool tapAndHoldGesture(QTapAndHoldGesture *tapHoldEvent,QGestureEvent * baseGestureEvent);
132 virtual bool tapGesture(QTapGesture *tapEvent,QGestureEvent * baseGestureEvent);
142 virtual bool addIcon(quint32 index,
IconBase * p_icon,
bool animate =
false);
143 virtual bool moveIcon(quint32 oldIndex, quint32 newIndex,
IconBase * p_icon,
bool animate =
false);
197 virtual void touchTrackedPointMoved(
int id,
const QPointF& scenePosition,
const QPointF& lastScenePosition,
const QPointF& initialPosition);
198 virtual void touchTrackedPointReleased(
int id,
const QPointF& scenePosition,
const QPointF& lastScenePosition,
const QPointF& initialPosition);