|
LunaSysMgr
|
#include <dimensionslauncher.h>
Signals | |
| void | signalGeometryChange () |
| void | signalNumPagesChanged () |
| void | signalUiStateChanged () |
| void | signalReady () |
| void | signalNotReady () |
| void | signalHideMe (DimensionsTypes::HideCause::Enum cause=DimensionsTypes::HideCause::None) |
| void | signalShowMe (DimensionsTypes::ShowCause::Enum cause=DimensionsTypes::ShowCause::None) |
| void | signalDropIconOnQuicklaunch (const QString &) |
| void | signalPageCentered (QUuid pageUid) |
| TODO: UNUSED: ? More... | |
| void | signalPagesStartReorderMode () |
| void | signalPagesEndReorderMode () |
| void | signalPagePanLeft () |
| void | signalPagePanRight () |
| void | signalPageMovementEnd () |
| void | signalBlockPageInteraction () |
| void | signalRestorePageInteraction () |
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 | |
| LauncherObject (const QRectF &geometry, DimensionsUI *p_mainWindow) | |
| virtual | ~LauncherObject () |
| QUuid | appUidFromIconUid (const QUuid &iconUid) const |
| QRectF | areaTabBar () const |
| QRectF | areaQuickLaunchBar () const |
| QRectF | areaPageLeftSide (Page *pPage=0) const |
| QRectF | areaPageRightSide (Page *pPage=0) const |
| bool | canShowRemoveDeleteDecoratorOnIcon (const QUuid &uid) |
| qint32 | centerPageIndex () const |
| bool | checkAllowedIconTransferInterPage (Page *p_srcPage, Page *p_destPage, IconBase *p_icon) |
| LauncherAreas::Enum | classifyPageLocation (const QPointF &launcherCoordinate) const |
| qint32 | closestToCenter (qint32 &r_dist) const |
| qint32 | closestToCenterDistance () const |
| qint32 | closestToCenterPageIndex () const |
| void | fullSizeInit (quint32 width, quint32 height) |
| quint32 | horizontalLengthOfPageTrain () const |
| QUuid | iconUidFromAppUid (const QUuid &appUid) const |
| bool | isAppRemovable (const QUuid &uid) |
| quint32 | numPages () const |
| virtual bool | offer (Thing *p_offer, Thing *p_offeringThing) |
| qint32 | pageHorizontalOffsetToCenter (quint32 pageIndex) const |
| Page * | currentPage () const |
| Page * | pageLeft (Page *p_fromPage) const |
| Page * | pageRight (Page *p_fromPage) const |
| virtual void | resize (int w, int h) |
| void | saveCurrentLauncherLayouts () |
| void | sendIconToQuickLaunchBar (IconBase *p_icon) |
| PageTab * | tabForPage (Page *p_page) const |
| virtual bool | take (Thing *p_takerThing) |
| virtual void | taken (Thing *p_takenThing, Thing *p_takerThing) |
| virtual bool | taking (Thing *p_victimThing, Thing *p_takerThing) |
| Page * | testForIntersectOnPageTab (const QPointF &scenePosition, PageTab **r_p_tabForPage=0) |
| bool | testForIntersectPageArea (const QPointF &scenePosition) |
| qint32 | testForIntersectPageAreaAndPageActive (const QPointF &scenePosition) |
| virtual bool | event (QEvent *e) |
| VirtualCamera * | virtualCamera () |
| 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 void | redirectedTTPMovedLimbo (Thing *p_sourceThing, int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition, const RedirectContext &redirContext) |
| virtual void | redirectedTTPReleasedLimbo (Thing *p_sourceThing, int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition, const RedirectContext &redirContext) |
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 (const QSize &newSize) |
| 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 LauncherObject * | primaryInstance () |
| static QSize | LauncherSizeFromScreenSize (quint32 width, quint32 height) |
| static bool | wasIconDroppedOnTab (IconBase *p_icon) |
| static bool | wasIconMovedOntoPage (IconBase *p_icon) |
| static void | clearIconTxContext (IconBase *p_icon) |
| static void | setIconTxContextDroppedOnTab (IconBase *p_icon) |
| static void | setIconTxContextMovedOntoPage (IconBase *p_icon) |
Static Public Member Functions inherited from ThingPaintable | |
| static bool | isItemThingPaintable (QGraphicsItem *p_qgitem) |
| static ThingPaintable * | thingpaintable_cast (QGraphicsItem *p_qgitem) |
Protected Types | |
| typedef QMap< QUuid, QUuid > | UidTranslationMap |
| typedef UidTranslationMap::iterator | UidTranslationMapIter |
| typedef UidTranslationMap::const_iterator | UidTranslationMapConstIter |
Protected Slots | |
| void | slotAnimationEnsembleFinished () |
| void | slotStopAnimationEnsemble (bool *r_result=0) |
| void | slotStartAnimationEnsemble (bool canInterrupt=true) |
| void | slotAddAnimationToEnsemble (QAbstractAnimation *p_anim, DimensionsTypes::AnimationType::Enum animType=DimensionsTypes::AnimationType::None) |
| void | slotAddAnimationTo (QAnimationGroup *p_addToGroup, QAbstractAnimation *p_anim, DimensionsTypes::AnimationType::Enum animType=DimensionsTypes::AnimationType::None) |
| void | slotHorizontalAnchorStopped () |
| void | slotRedirectedFlick (FlickGesture *flickEvent, QGestureEvent *baseGestureEvent) |
| void | slotAppInfoDialogRemoveButtonPressed (const QString &appIdContext, const QString &iconUidAsString) |
| void | slotAppInfoDialogCancelButtonPressed () |
| void | slotCancelLaunchFeedback () |
| void | slotDbgPageSaverDebugProcessDone (int exitCode) |
| void | dbg_slotTriggerCamera (ThingPaintable *excludeMe) |
| void | dbg_slotPrint () |
Protected Member Functions | |
| void | blockPageInteraction () |
| void | restorePageInteraction () |
| void | appDeleteDecoratorActivated (DimensionsSystemInterface::ExternalApp *p_eapp, const QUuid &iconUid) |
| void | showAppInfoDialog (const QString &dialogTitle, const QString &innerText, const QString &appIdContext, const QUuid &iconUid, bool showRemoveButton, const QPointF &dialogPos=QPointF()) |
| void | hideAppInfoDialog (bool ignoreInvisible=false, bool noAnimation=false) |
| bool | appInfoDialogIsVisible () const |
| virtual bool | touchEvent (QTouchEvent *event) |
| virtual bool | touchStartEvent (QTouchEvent *event) |
| virtual bool | touchUpdateEvent (QTouchEvent *event) |
| virtual bool | touchEndEvent (QTouchEvent *event) |
| virtual bool | sceneEvent (QEvent *event) |
| virtual bool | gestureEvent (QGestureEvent *gestureEvent) |
| virtual bool | panGesture (QPanGesture *panEvent) |
| virtual bool | swipeGesture (QSwipeGesture *swipeEvent) |
| virtual bool | flickGesture (FlickGesture *flickEvent, QGestureEvent *baseGestureEvent) |
| virtual bool | pinchGesture (QPinchGesture *pinchEvent) |
| virtual bool | tapAndHoldGesture (QTapAndHoldGesture *tapHoldEvent) |
| virtual bool | tapGesture (QTapGesture *tapEvent) |
| virtual bool | customGesture (QGesture *customGesture) |
| virtual void | touchTrackedPointMoved (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
| virtual void | touchTrackedPointReleased (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0) |
| virtual void | paintOffscreen (QPainter *painter) |
| void | paintBackground (QPainter *painter) |
| bool | isAnimationEnsembleRunning () const |
| bool | canStopAnimationEnsemble () const |
| bool | stopAnimationEnsemble () |
| QList< QPointer< Page > > | pages () const |
| quint32 | initPages () |
| quint32 | helperInitPagesInitialConfigurationFavoritesAll () |
| quint32 | helperInitPagesInitialConfigurationFavoritesEmpty () |
| quint32 | helperInitPagesInitialConfigurationMultiPageConfigurator () |
| quint32 | pageIndexForApp (const DimensionsSystemInterface::ExternalApp &eapp) |
| pageIndexForApp(): this only checks the stats of the app (if already scanned) and determines the page index, based on the settings More... | |
| bool | pageIndexForAppByLoadedMappings (const DimensionsSystemInterface::ExternalApp &eapp, quint32 &r_index) |
| bool | pageIndexForAppByPredefinedDesignators (const DimensionsSystemInterface::ExternalApp &eapp, quint32 &r_index) |
| quint32 | addMissingPredefinedDesignatorPages () |
| quint32 | addRestoredPages (bool ignoreRestoredPageIndex=false) |
| Page * | favoritePageWithAll () |
| Page * | favoritePageEmpty () |
| QList< Page * > | dynamicMultiPageConfiguration () |
| QList< Page * > | staticMultiPageConfiguration () |
| QList< Page * > | helperCreatePagesFromConfiguration (QList< QPair< QString, QList< QString > > > &staticLauncherConfig) |
| IconList | helperPageIconsFromConfiguration (Page *p_page, const QString &pageDesignator, const QList< QString > &webosAppLaunchPointIdList) |
| qint32 | assignLeftoversToPages () |
| bool | setStartupPage () |
| ReorderablePage * | favoritesPage () |
| ReorderablePage * | pageByDesignator (const QString &designator) |
| void | eraseAllLauncherFiles () const |
| ReorderablePage * | pageByUid (const QString &uidString) |
| bool | isLaunchpointAssignedToSomePage (const QUuid &uid) const |
| void | launchPointAssigned (const QUuid &uid) |
| bool | createTabsForAllPages () |
| void | activateCenterPage () |
| void | deactivateCenterPage () |
| void | activePageEnteredReorderMode () |
| void | activePageExitedReorderMode () |
| void | initObjects () |
| void | initSignalSlotConnections () |
| bool | gotoPageIndex (quint32 pageIndex, qint32 xSpeed=0, bool canInterrupt=false) |
| bool | gotoPageIndexNoAnim (quint32 pageIndex) |
| bool | gotoLeftPage (qint32 xSpeed=0) |
| bool | gotoRightPage (qint32 xSpeed=0) |
| void | _animationFinishedProcessGroup (QAnimationGroup *pAnim) |
| void | _animationFinishedProcessAnim (QAbstractAnimation *pAnim) |
| void | _pageFinishedAddAnim (Page *p_page) |
| void | _pageFinishedHPanAnim () |
| void | _pageAddDirect (Page *p_page, quint32 idx) |
| void | acceptIncomingIcon (IconBase *p_icon) |
| void | releaseIcon (IconBase *p_icon) |
| IconBase * | getIconInLimbo (const QUuid &iconUid) |
| bool | iconLimboContains (const QUuid &iconUid) |
| bool | iconLimboContains (IconBase *p_icon) |
| bool | isPageAnchorInOverscroll () |
| void | setAppLaunchFeedback (IconBase *pIcon) |
| void | cancelLaunchFeedback () |
| bool | processNewWebOSApp (DimensionsSystemInterface::WebOSApp *p_app, bool mainIconOnly, IconList &r_iconList) |
| void | restoreLauncherLayouts () |
| void | removeIconFromPages (IconBase *p_icon) |
| void | removeIconUidFromMaps (const QUuid &iconUid, const QUuid &optAppUid=QUuid()) |
| void | addIconToPage (IconBase *p_icon, Page *p_page) |
| void | dbgHorizPanAnchorContents () |
| void | dbgPageVectorContents () |
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 Attributes | |
| static QPointer< LauncherObject > | s_qp_primaryInstance = 0 |
Properties | |
| quint32 | numPages |
Properties inherited from ThingPaintable | |
| QString | uistate |
| QPointF | animatePosition |
Friends | |
| class | Page |
| class | DimensionsSystemInterface::PageSaver |
| class | DimensionsSystemInterface::PageRestore |
| class | VirtualCamera |
Additional Inherited Members | |
Static Public Attributes inherited from ThingPaintable | |
| static int | MagicTypePropertyKey = 1111 |
| static int | MagicTypePropertyValue = 2222 |
|
protected |
|
protected |
|
protected |
| LauncherObject::LauncherObject | ( | const QRectF & | geometry, |
| DimensionsUI * | p_mainWindow | ||
| ) |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
end else normal page restore
|
protected |
|
protected |
| QUuid LauncherObject::appUidFromIconUid | ( | const QUuid & | iconUid | ) | const |
| QRectF LauncherObject::areaPageLeftSide | ( | Page * | pPage = 0 | ) | const |
| QRectF LauncherObject::areaPageRightSide | ( | Page * | pPage = 0 | ) | const |
| QRectF LauncherObject::areaQuickLaunchBar | ( | ) | const |
| QRectF LauncherObject::areaTabBar | ( | ) | const |
|
protected |
|
protected |
|
protected |
| bool LauncherObject::canShowRemoveDeleteDecoratorOnIcon | ( | const QUuid & | uid | ) |
|
protected |
| qint32 LauncherObject::centerPageIndex | ( | ) | const |
| bool LauncherObject::checkAllowedIconTransferInterPage | ( | Page * | p_srcPage, |
| Page * | p_destPage, | ||
| IconBase * | p_icon | ||
| ) |
| LauncherAreas::Enum LauncherObject::classifyPageLocation | ( | const QPointF & | launcherCoordinate | ) | const |
?????????
|
static |
| qint32 LauncherObject::closestToCenter | ( | qint32 & | r_dist | ) | const |
| qint32 LauncherObject::closestToCenterDistance | ( | ) | const |
| qint32 LauncherObject::closestToCenterPageIndex | ( | ) | const |
|
protected |
| Page * LauncherObject::currentPage | ( | ) | const |
|
inlineprotectedvirtual |
|
protectedslot |
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
| void LauncherObject::fullSizeInit | ( | quint32 | width, |
| quint32 | height | ||
| ) |
|
inlineprotectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| quint32 LauncherObject::horizontalLengthOfPageTrain | ( | ) | const |
|
protected |
|
protected |
| QUuid LauncherObject::iconUidFromAppUid | ( | const QUuid & | appUid | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
| bool LauncherObject::isAppRemovable | ( | const QUuid & | uid | ) |
|
protected |
|
protected |
|
static |
|
protected |
| quint32 LauncherObject::numPages | ( | ) | const |
Reimplemented from Thing.
|
protected |
|
protected |
| qint32 LauncherObject::pageHorizontalOffsetToCenter | ( | quint32 | pageIndex | ) | const |
|
protected |
pageIndexForApp(): this only checks the stats of the app (if already scanned) and determines the page index, based on the settings
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Implements ThingPaintable.
|
protected |
|
protectedvirtual |
Implements ThingPaintable.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
static |
|
protected |
|
virtual |
TODO: SLOW: this can be improved... The page that redirected here would have already tested for the tab bar position that was hit
Reimplemented from Thing.
|
virtual |
????? not in limbo...which should be an impossible case for transfers to another page
Reimplemented from Thing.
|
virtual |
if the motion is back in the page area, then give it to the page
|
virtual |
TODO: icon is now going to be lost!!! handle this better
TODO: icon is now going to be lost!!! handle this better
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
protected |
| void LauncherObject::saveCurrentLauncherLayouts | ( | ) |
|
protectedvirtual |
| void LauncherObject::sendIconToQuickLaunchBar | ( | IconBase * | p_icon | ) |
...I'll do this via the iconheap which has this info associated with the icon
|
protected |
|
static |
|
static |
|
protected |
|
protected |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
TODO: UNUSED: ?
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
TODO: ICON-MANAGE: MEMLEAK:
|
protectedslot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
|
protectedslot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protectedslot |
|
virtualslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protectedslot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
protected |
|
inlineprotectedvirtual |
Reimplemented from Thing.
Reimplemented from Thing.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
| Page * LauncherObject::testForIntersectOnPageTab | ( | const QPointF & | scenePosition, |
| PageTab ** | r_p_tabForPage = 0 |
||
| ) |
| bool LauncherObject::testForIntersectPageArea | ( | const QPointF & | scenePosition | ) |
| qint32 LauncherObject::testForIntersectPageAreaAndPageActive | ( | const QPointF & | scenePosition | ) |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
Reimplemented from Thing.
|
protectedvirtual |
Reimplemented from Thing.
|
inlineprotectedvirtual |
|
inline |
|
static |
|
static |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
only used on initPages, to keep track of what app/launchpt went to what page, to prevent multiple
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
read |