LunaSysMgr
|
#include <quicklaunchbar.h>
Public Slots | |
void | slotAppPreRemove (const DimensionsSystemInterface::ExternalApp &eapp, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID) |
void | slotAppPostRemove (const QUuid &removedAppUid, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID) |
void | slotAppAuxiliaryIconRemove (const QUuid &appUid, const QString &launchpointId, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID) |
Signals | |
void | signalIconAdded (QUuid iconUid) |
void | signalIconRemoved (QUuid iconUid) |
void | signalQuickLaunchBarTriggerActivatedTap () |
void | signalQuickLaunchBarTriggerActivatedTapAndHold () |
void | signalFlickAction (QPointF normVectorDirection=QPointF()) |
void | signalToggleLauncher () |
void | signalTouchFSMTouchBegin_Trigger (QVariant touchId) |
void | signalTouchFSMTouchPausedMotion_Trigger () |
void | signalTouchFSMTouchResumedMotion_Trigger () |
void | signalTouchFSMTouchEnd_Trigger () |
void | signalTouchFSMBeginTrack_Action () |
void | signalTouchFSMTouchLost_Action () |
void | signalTouchFSMStationary_Action () |
void | signalTouchFSMMoving_Action () |
void | signalTouchEndTrack_Action () |
void | signalIconActivatedTap (IconBase *pIcon) |
Signals inherited from ThingPaintable | |
void | signalGeometryChanged (const QRectF &, const QRectF &) |
void | signalGeometryChanged () |
void | signalUiStateChanged () |
void | signalPositionChanged () |
Signals inherited from Thing | |
void | signalThingGeometryChanged (const QRectF &) |
Public Member Functions | |
QuickLaunchBar (const QRectF &geom, Quicklauncher *p_quicklauncherWindow) | |
virtual | ~QuickLaunchBar () |
virtual bool | canAcceptIcons () |
virtual bool | offer (Thing *p_offer, Thing *p_offeringThing) |
virtual bool | take (Thing *p_takerThing) |
virtual bool | taking (Thing *p_victimThing, Thing *p_takerThing) |
virtual void | taken (Thing *p_takenThing, Thing *p_takerThing) |
virtual bool | acceptIncomingIcon (IconBase *p_newIcon) |
virtual bool | releaseTransferredIcon (IconBase *p_transferredIcon) |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0) |
virtual void | paintOffscreen (QPainter *painter) |
void | paintBackground (QPainter *painter) |
virtual bool | fullInit (quint32 screenWidth, quint32 screenHeight) |
virtual bool | resize (const QSize &s) |
virtual QList< QPointer < IconBase > > | iconsInFlowOrder () const |
virtual bool | restoreFromSave () |
void | cancelLaunchFeedback () |
Public Member Functions inherited from ThingPaintable | |
ThingPaintable (const QRectF &geom) | |
virtual | ~ThingPaintable () |
virtual QString | readUiState () const |
virtual void | writeUiState (const QString &s) |
virtual void | resetUiState () |
virtual QRectF | geometry () const |
virtual QRectF | positionRelativeGeometry () const |
virtual QRectF | untranslateFromPosition (const QRectF &rect) const |
virtual QRectF | boundingRect () const |
virtual bool | resize (quint32 newWidth, quint32 newHeight) |
virtual void | paint (QPainter *painter, const QRectF &sourceRect) |
virtual void | paint (QPainter *painter, const QRectF &sourceRect, qint32 renderOpt) |
virtual void | paint (QPainter *painter, const QRectF &sourceRect, const QPointF &painterTranslate) |
virtual void | paint (QPainter *painter, const QRectF &sourceRect, const QPointF &painterTranslate, qint32 renderOpt) |
virtual void | paintOffscreen (QPainter *painter, const QRect &sourceRect, const QPoint &targetOrigin) |
virtual void | paintOffscreen (QPainter *painter, const QRect &sourceRect, const QRect &targetRect) |
Public Member Functions inherited from Thing | |
Thing () | |
virtual | ~Thing () |
virtual QUuid | uid () const |
virtual uint | hashValue () const |
virtual void | touchTrackedPointStarted (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
virtual void | redirectTouchPrepare (Thing *p_sourceThing, const TouchRegister &touchRegister, int contextHint=0) |
Static Public Member Functions | |
static QSize | QuickLaunchSizeFromScreenSize (int screenWidth, int screenHeight) |
Static Public Member Functions inherited from ThingPaintable | |
static bool | isItemThingPaintable (QGraphicsItem *p_qgitem) |
static ThingPaintable * | thingpaintable_cast (QGraphicsItem *p_qgitem) |
Protected Types | |
typedef QList< QPointer < IconBase > >::iterator | IconListIter |
Protected Slots | |
virtual void | slotIconDeleted (QObject *p) |
void | slotCancelLaunchFeedback () |
Protected Member Functions | |
virtual bool | sceneEvent (QEvent *event) |
virtual bool | gestureEvent (QGestureEvent *gestureEvent) |
virtual bool | flickGesture (FlickGesture *flickEvent, QGestureEvent *baseGestureEvent) |
virtual bool | tapAndHoldGesture (QTapAndHoldGesture *tapHoldEvent, QGestureEvent *baseGestureEvent) |
virtual bool | tapGesture (QTapGesture *tapEvent, QGestureEvent *baseGestureEvent) |
void | setAppLaunchFeedback (IconBase *pIcon) |
virtual void | rearrangeIcons (bool animate=false) |
virtual qint32 | getCurrentIconListIndex (IconBase *p_icon) |
virtual bool | addIcon (quint32 index, IconBase *p_icon, bool animate=false) |
virtual bool | moveIcon (quint32 oldIndex, quint32 newIndex, IconBase *p_icon, bool animate=false) |
virtual void | removeIcon (IconBase *p_icon, bool animate=false) |
virtual bool | detectAndHandleSpecialMoveAreas (int id, const QPointF &pageCoordinate, const RedirectContext &redirContext) |
virtual void | deleteIcon (IconBase *p_icon, bool animate) |
virtual IconBase * | getIconPtr (const QUuid &iconUid, bool paramIsMasterUid=true) |
virtual void | iconActivatedTap (QUuid iconUid) |
virtual bool | anyTouchTracking (int *r_p_mainTouchId=0) |
virtual bool | touchPointTriggerType (int id, TouchTriggerType::Enum &r_type) |
virtual bool | testAndSetTriggerOnRegister (int id, TouchTriggerType::Enum conditionV, TouchTriggerType::Enum setV) |
virtual bool | testAndSetTriggerOnRegisterCreate (int id, TouchTriggerType::Enum conditionV, TouchTriggerType::Enum setV) |
virtual RedirectingType::Enum | isRedirecting (int id, Thing **r_pp_redirectTargetThing, RedirectContext **r_pp_redirContext) |
virtual bool | redirectTo (int id, Thing *p_redirectTargetThing, RedirectContext *p_redirContext=0) |
virtual bool | changeRedirectTo (int id, Thing *p_currentlyRedirectedToThing, Thing *p_newRedirectedToThing, RedirectContext *p_redirContext=0) |
TODO: unsafe...make it more so. More... | |
virtual IconBase * | iconAtCoordinate (const QPointF &coord) |
virtual void | setupTouchFSM () |
virtual void | startTouchFSM () |
virtual void | stopTouchFSM () |
virtual bool | touchStartEvent (QTouchEvent *event) |
virtual bool | touchUpdateEvent (QTouchEvent *event) |
virtual bool | touchEndEvent (QTouchEvent *event) |
virtual void | touchTrackedPointMoved (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
virtual More... | |
virtual void | touchTrackedPointReleased (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
virtual void | redirectedTouchTrackedPointMoved (Thing *p_sourceThing, int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition, const RedirectContext &redirContext) |
virtual void | redirectedTouchTrackedPointReleased (Thing *p_sourceThing, int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition, const RedirectContext &redirContext) |
virtual bool | cancelRedirection (int id) |
virtual bool | handleLauncherPageSpecialMoveArea (int id, const QPointF &pageCoordinate, const RedirectContext &redirContext) |
virtual bool | okToUseFlick (int id) |
virtual bool | okToUseTap (int id) |
virtual bool | okToUseTapAndHold (int id) |
virtual qint32 | iconSlotForInsertingAtXCoord (qint32 x) |
Protected Member Functions inherited from ThingPaintable | |
ThingPaintable (const QUuid &specificUid, const QRectF &geom) | |
virtual void | recomputeBoundingRect () |
virtual void | recomputeBoundingRect (const QRectF &virtualGeom) |
Protected Member Functions inherited from Thing | |
Thing (const QUuid &specificUid) | |
Static Protected Member Functions | |
static void | resetEventCounters () |
Protected Attributes | |
QStateMachine * | m_p_touchFSM |
QState * | m_p_fsmStateNoTouch |
QState * | m_p_fsmStateTouchMotionTracking |
QState * | m_p_fsmStateTouchStationaryTracking |
QMap< int, TouchRegister > | m_touchRegisters |
bool | m_fullInitPerformed |
QPointer< Quicklauncher > | m_qp_ownerWindow |
QPointer< PixmapObject > | m_qp_backgroundTranslucent |
QPointer< PixmapObject > | m_qp_backgroundSolid |
QPointer< PixmapObject > | m_qp_currentBg |
QPointer< PixButton2State > | m_qp_launcherAccessButton |
QPair< qint32, qint32 > | m_itemAreaXrange |
qint32 | m_itemsY |
QList< qint32 > | m_layoutAnchorsXcoords |
QList< QPointer< IconBase > > | m_iconItems |
QPointer< IconBase > | m_qp_iconInMotion |
qint32 | m_iconInMotionCurrentIndex |
QPointer< QParallelAnimationGroup > | m_qp_reorderAnimationGroup |
IconBase * | m_iconShowingFeedback |
QTimer | m_feedbackTimer |
Protected Attributes inherited from ThingPaintable | |
QRectF | m_geom |
QRectF | m_boundingRect |
QString | m_uiState |
Protected Attributes inherited from Thing | |
QPointer< Thing > | m_qp_takerOwner |
Static Protected Attributes | |
static const char * | TouchFSMPropertyName_isTracking = "isTracking" |
static const char * | TouchFSMProperyName_trackedId = "trackedId" |
static qint32 | sEventCounter0 = 0 |
Additional Inherited Members | |
Static Public Attributes inherited from ThingPaintable | |
static int | MagicTypePropertyKey = 1111 |
static int | MagicTypePropertyValue = 2222 |
Properties inherited from ThingPaintable | |
QString | uistate |
QPointF | animatePosition |
|
protected |
QuickLaunchBar::QuickLaunchBar | ( | const QRectF & | geom, |
Quicklauncher * | p_quicklauncherWindow | ||
) |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
void QuickLaunchBar::cancelLaunchFeedback | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
TODO: unsafe...make it more so.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
So...just return here and have the launcher call "restore" when it restores its own pages
|
inlineprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
....well, actually... it BETTER be a Page. And the context should be LauncherPageIconTransferRedirectContext
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Thing.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Implements ThingPaintable.
|
inline |
|
virtual |
Implements ThingPaintable.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Thing.
|
protectedvirtual |
Reimplemented from Thing.
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
|
staticprotected |
|
virtual |
Reimplemented from ThingPaintable.
|
virtual |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
inlineslot |
|
inlineslot |
|
inlineslot |
|
protectedslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Thing.
Reimplemented from Thing.
|
protectedvirtual |
theoretically this could be rejected! //TODO: handling
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
virtual
Reimplemented from Thing.
|
protectedvirtual |
Reimplemented from Thing.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |