22 #ifndef DIMENSIONSLAUNCHER_H_
23 #define DIMENSIONSLAUNCHER_H_
47 class QGraphicsSceneMouseEvent;
54 class QTapAndHoldGesture;
56 class QAnimationGroup;
58 class QDeclarativeComponent;
65 namespace DimensionsSystemInterface
73 namespace LauncherAreas
130 return QString(
"Left");
132 return QString(
"Right");
134 return QString(
"QuickLaunch");
136 return QString(
"TabBar");
139 return QString(
"INVALID");
141 return QString(
"INVALID?");
154 friend class DimensionsSystemInterface::PageSaver;
155 friend class DimensionsSystemInterface::PageRestore;
192 Page *
pageLeft(Page * p_fromPage) const;
193 Page *
pageRight(Page * p_fromPage) const;
194 virtual
void resize(
int w,
int h);
234 const QString& launchpointId,
242 const QUuid& newLaunchPointIconUid,
347 const QString& innerText,
348 const QString& appIdContext,
349 const QUuid& iconUid,
350 bool showRemoveButton,
351 const QPointF& dialogPos = QPointF());
362 virtual bool panGesture(QPanGesture *panEvent) {
return true; }
367 virtual bool tapGesture(QTapGesture *tapEvent) {
return true; }
403 virtual void touchTrackedPointMoved(
int id,
const QPointF& scenePosition,
const QPointF& lastScenePosition,
const QPointF& initialPosition);
404 virtual void touchTrackedPointReleased(
int id,
const QPointF& scenePosition,
const QPointF& lastScenePosition,
const QPointF& initialPosition);
406 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option=0,QWidget *widget=0);
415 QList<QPointer<Page> >
pages()
const;
462 const QString& pageDesignator,
const QList<QString>& webosAppLaunchPointIdList);
502 bool gotoPageIndex(quint32 pageIndex, qint32 xSpeed = 0,
bool canInterrupt =
false);