LunaSysMgr
|
#include <pagetabbar.h>
Public Slots | |
void | slotAddTab (const QString &labelString, Page *p_refersToPage=0) |
void | slotUnHighlightAll () |
Signals | |
void | signalTabForPageActivatedTap (Page *) |
void | signalTabForPageActivatedTapAndHold (Page *) |
void | signalAllTabHighlightsOff () |
void | signalInteractionsBlocked () |
void | signalInteractionsRestored () |
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 | |
PageTabBar (const QRectF &pageBarGeometry, LauncherObject *p_belongsTo) | |
virtual | ~PageTabBar () |
PixmapObject * | setBackground (PixmapObject *p_newBackground) |
PixmapObject * | setBackgroundShadow (PixmapObject *p_new) |
virtual Page * | testForIntersectOnPageTab (const QPointF &sceneCoordinate, bool highlight=false) |
virtual Page * | testForIntersectOnPageTab (const QPointF &sceneCoordinate, PageTab **r_p_pageTab, bool highlight=false) |
virtual void | highlightTabForPage (Page *p_page) |
virtual void | unHighlightTabForPage (Page *p_page) |
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 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 bool | take (Thing *p_takerThing) |
virtual bool | taking (Thing *p_victimThing, Thing *p_takerThing) |
virtual void | taken (Thing *p_takenThing, Thing *p_takerThing) |
virtual uint | hashValue () const |
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 void | touchTrackedPointReleased (int id, const QPointF &scenePosition, const QPointF &lastScenePosition, const QPointF &initialPosition) |
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 QSize | PageTabSizeFromLauncherSize (quint32 launcherWidth, quint32 launcherHeight) |
static QFont | staticLabelFontForTabs () |
Static Public Member Functions inherited from ThingPaintable | |
static bool | isItemThingPaintable (QGraphicsItem *p_qgitem) |
static ThingPaintable * | thingpaintable_cast (QGraphicsItem *p_qgitem) |
Protected Slots | |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
virtual void | slotAnimationFinished () |
virtual void | slotTabActivatedTap () |
virtual void | slotTabActivatedTapAndHold () |
virtual void | slotHighlighted () |
virtual void | slotLauncherBlockedInteractions () |
virtual void | slotLauncherAllowedInteractions () |
Protected Member Functions | |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0) |
virtual void | paintOffscreen (QPainter *painter) |
virtual bool | resize (quint32 newWidth, quint32 newHeight) |
virtual bool | resize (const QSize &s) |
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) |
virtual bool | pinchGesture (QPinchGesture *pinchEvent) |
virtual bool | tapAndHoldGesture (QTapAndHoldGesture *tapHoldEvent) |
virtual bool | tapGesture (QTapGesture *tapEvent) |
virtual bool | customGesture (QGesture *customGesture) |
virtual QList< QPointer < PageTab > > | tabs () |
virtual PageTab * | tabByPage (Page *p_page) |
virtual void | relayoutExistingTabs () |
virtual void | relayoutExistingTabs (const qreal toWidth, const qreal toHeight) |
virtual void | resetTabSpaces () |
virtual void | recalculateUnusedSpace () |
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) | |
Friends | |
class | LauncherObject |
Additional Inherited Members | |
Static Public Attributes inherited from ThingPaintable | |
static int | MagicTypePropertyKey = 1111 |
static int | MagicTypePropertyValue = 2222 |
Protected Attributes inherited from ThingPaintable | |
QRectF | m_geom |
QRectF | m_boundingRect |
QString | m_uiState |
Properties inherited from ThingPaintable | |
QString | uistate |
QPointF | animatePosition |
PageTabBar::PageTabBar | ( | const QRectF & | pageBarGeometry, |
LauncherObject * | p_belongsTo | ||
) |
|
virtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
static |
|
protectedvirtual |
Implements ThingPaintable.
|
protectedvirtual |
Implements ThingPaintable.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from ThingPaintable.
|
protectedvirtual |
Reimplemented from ThingPaintable.
|
protectedvirtual |
PixmapObject * PageTabBar::setBackground | ( | PixmapObject * | p_newBackground | ) |
PixmapObject * PageTabBar::setBackgroundShadow | ( | PixmapObject * | p_new | ) |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
careful, don't get circular here... (keep straight what is an "action" slot and what is a "alert" slot)
|
inlineprotectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
slot |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
virtual |
|
virtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
virtual |
|
friend |