LunaSysMgr
|
#include <page.h>
Public Slots | |
virtual void | dbg_slotPrintLayout () |
Public Member Functions | |
Q_INVOKABLE | Page (const QRectF &pageGeometry, LauncherObject *p_belongsTo) |
More... | |
virtual | ~Page () |
qint32 | pageIndex () const |
void | setPageIndex (const qint32 v) |
QString | pageName () const |
void | setPageName (const QString &v) |
QString | pageDesignator () const |
void | setPageDesignator (const QString &v) |
bool | pageActive () const |
virtual PageMode::Enum | pageMode () const |
virtual void | setPageMode (PageMode::Enum v) |
virtual bool | resize (quint32 w, quint32 h) |
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 | canAcceptIcons () const |
virtual bool | acceptIncomingIcon (IconBase *p_newIcon) |
virtual bool | releaseTransferredIcon (IconBase *p_transferredIcon) |
virtual bool | layoutFromItemList (const ThingList &items) |
virtual bool | layoutFromItemList (const IconList &items) |
virtual bool | setIconLayout (IconLayout *p_iconLayout) |
virtual IconLayout * | currentIconLayout () const |
virtual IconBase * | iconAtLayoutCoordinate (const QPointF &layoutCoord, QPointF *r_p_intraIconCoord) |
virtual QPointF | pageCoordinateFromLayoutCoordinate (const QPointF &layoutCoord) |
virtual QPointF | layoutCoordinateFromPageCoordinate (const QPointF &pageCoordinate) |
virtual QRectF | areaScroller () const |
virtual QRectF | areaTopEdgeShadow () const |
virtual QRectF | areaBottomEdgeShadow () const |
virtual QRectF | areaLeftBorder () const |
virtual QRectF | areaRightBorder () const |
virtual QRectF | areaTopBorder () const |
virtual QRectF | areaBottomBorder () const |
virtual QRectF | areaCenter () const |
virtual PageAreas::Enum | classifyPageLocation (const QPointF &pageCoordinate) const |
virtual bool | changeRedirectTo (int id, Thing *p_currentlyRedirectedToThing, Thing *p_newRedirectedToThing, RedirectContext *p_redirContext=0) |
TODO: unsafe...make it more so. More... | |
virtual bool | cancelRedirection (int id, bool deferred=false) |
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 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 bool | offer (Thing *p_offer, Thing *p_offeringThing) |
virtual uint | hashValue () const |
virtual void | redirectTouchPrepare (Thing *p_sourceThing, const TouchRegister &touchRegister, int contextHint=0) |
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) |
Static Public Member Functions | |
static QString | PageDesignatorAll () |
static QString | PageDesignatorFavorites () |
static QSize | PageSizeFromLauncherSize (quint32 width, quint32 height) |
Static Public Member Functions inherited from ThingPaintable | |
static bool | isItemThingPaintable (QGraphicsItem *p_qgitem) |
static ThingPaintable * | thingpaintable_cast (QGraphicsItem *p_qgitem) |
Static Public Attributes | |
static const char * | PageNamePropertyName = "pagename" |
static const char * | PageIndexPropertyName = "pageuiindex" |
static const char * | PageDesignatorPropertyName = "pagedesignator" |
static QString | PageDesignator_AllAlphabetic = QString("all") |
static QString | PageDesignator_Favorites = QString("favorites") |
Static Public Attributes inherited from ThingPaintable | |
static int | MagicTypePropertyKey = 1111 |
static int | MagicTypePropertyValue = 2222 |
Protected Member Functions | |
Q_INVOKABLE | Page (const QUuid &specificUid, const QRectF &pageGeometry, LauncherObject *p_belongsTo) |
virtual void | activatePage () |
virtual void | deactivatePage () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0) |
virtual void | paintOffscreen (QPainter *painter) |
virtual void | paintShadows (QPainter *painter) |
virtual bool | sceneEvent (QEvent *event) |
virtual bool | gestureEvent (QGestureEvent *gestureEvent) |
virtual bool | panGesture (QPanGesture *panEvent) |
virtual bool | swipeGesture (QSwipeGesture *swipeEvent, QGestureEvent *baseGestureEvent) |
virtual bool | flickGesture (FlickGesture *flickEvent, QGestureEvent *baseGestureEvent) |
virtual bool | pinchGesture (QPinchGesture *pinchEvent) |
virtual bool | tapAndHoldGesture (QTapAndHoldGesture *tapHoldEvent, QGestureEvent *baseGestureEvent) |
virtual bool | tapGesture (QTapGesture *tapEvent, QGestureEvent *baseGestureEvent) |
virtual bool | customGesture (QGesture *customGesture) |
virtual bool | okToUseFlick (int id) |
virtual bool | okToUseTap (int id) |
virtual bool | okToUseTapAndHold (int id) |
virtual QPointF | translatePagePointToScrollSurfacePoint (const QPointF &point, bool clipToGeom=false) |
virtual bool | testAndTranslatePagePointToScrollSurfacePoint (const QPointF &point, QPointF &r_translatedPoint) |
virtual bool | isAnimationEnsembleRunning () const |
virtual bool | stopAnimationEnsemble () |
virtual void | animationFinishedProcessGroup (QAnimationGroup *pAnim) |
virtual void | animationFinishedProcessAnim (QAbstractAnimation *pAnim) |
virtual bool | addIcon (IconBase *p_icon) |
virtual bool | addIconNoAnimations (IconBase *p_icon) |
virtual bool | removeIcon (const QUuid &iconUid) |
virtual bool | removeIconNoAnimations (const QUuid &iconUid) |
virtual IconBase * | removeIconFromPageAddWaitlist (const QUuid &iconUid) |
virtual bool | isIconInPageAddWaitlist (const QUuid &iconUid) |
virtual void | addIconToPageAddWaitlist (IconBase *p_icon) |
virtual qint32 | addWaitlistHandler () |
virtual void | removeIconFromPageRemoveWaitlist (const QUuid &iconUid) |
virtual bool | isIconInPageRemoveWaitlist (const QUuid &iconUid) |
virtual void | addIconToPageRemoveWaitlist (IconBase *p_icon) |
virtual void | addIconToPageRemoveWaitlist (const QUuid &iconUid) |
virtual qint32 | removeWaitlistHandler () |
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 | isDeferCancelled (int id, bool doCancel=false) |
virtual bool | redirectTo (int id, Thing *p_redirectTargetThing, RedirectContext *p_redirContext=0) |
virtual void | setupTouchFSM () |
virtual void | startTouchFSM () |
virtual void | stopTouchFSM () |
virtual void | clearAllTouchRegisters () |
virtual bool | touchStartEvent (QTouchEvent *event) |
virtual bool | touchUpdateEvent (QTouchEvent *event) |
virtual bool | touchEndEvent (QTouchEvent *event) |
virtual void | handleTrackedTouchPointRelease (QTouchEvent::TouchPoint *touchPoint) |
virtual void | touchTrackedPointStarted (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
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 | autoScrollDown () |
virtual void | autoScrollUp () |
virtual void | setupScrollDelayFSM () |
virtual void | startScrollDelayFSM () |
virtual void | stopScrollDelayFSM () |
virtual void | scrollActionTrigger () |
virtual bool | okToPerformAutoScroll () const |
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 const char * | TouchFSMPropertyName_isTracking = "isTracking" |
static const char * | TouchFSMProperyName_trackedId = "trackedId" |
static const char * | ScrollDelayFSMPropertyName_isScrollOk = "isScrollOk" |
Properties | |
qint32 | pageuiindex |
QString | pagename |
QString | pagedesignator |
bool | pageactive |
Properties inherited from ThingPaintable | |
QString | uistate |
QPointF | animatePosition |
Friends | |
class | PageRestore |
class | QTimer |
class | LauncherObject |
uint | qHash (const QPointer< Page > &p) |
Page::Page | ( | const QRectF & | pageGeometry, |
LauncherObject * | p_belongsTo | ||
) |
|
virtual |
|
protected |
|
virtual |
Reimplemented in ReorderablePage.
|
protectedvirtual |
Reimplemented in AlphabetPage.
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
virtual |
|
virtual |
TODO: unsafe...make it more so.
|
virtual |
|
protectedvirtual |
|
virtual |
|
inlineprotectedvirtual |
|
signal |
|
virtualslot |
|
protectedslot |
|
protectedvirtual |
Reimplemented in AlphabetPage.
|
protectedvirtual |
Reimplemented in ReorderablePage.
|
inlineprotectedvirtual |
|
protectedvirtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
virtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
inline |
|
virtual |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinevirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
inline |
|
static |
|
protectedvirtual |
Implements ThingPaintable.
|
protectedvirtual |
Implements ThingPaintable.
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
virtual |
Reimplemented from ThingPaintable.
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
void Page::setPageName | ( | const QString & | v | ) |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented from Thing.
Reimplemented in ReorderablePage.
Reimplemented from Thing.
Reimplemented in ReorderablePage.
Reimplemented from Thing.
Reimplemented in ReorderablePage.
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
inlineprotectedvirtual |
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Thing.
Reimplemented in ReorderablePage, and AlphabetPage.
|
protectedvirtual |
Reimplemented from Thing.
Reimplemented in ReorderablePage.
|
protectedvirtual |
|
protectedvirtual |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
read |
|
readwrite |
|
readwrite |
|
readwrite |