LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IconBase Class Reference

#include <icon.h>

Inheritance diagram for IconBase:
[legend]
Collaboration diagram for IconBase:
[legend]

Public Slots

virtual void slotUpdateIconPic (PixmapObject *p_newPixmap, bool propagate, PixmapObject *&r_p_oldPixmap)
 
virtual void slotChangeIconVisibility (bool show)
 
virtual void slotUpdateIconFramePic (PixmapObject *p_newPixmap, PixmapObject *&r_p_oldPixmap)
 
virtual void slotChangeIconFrameVisibility (bool show)
 
virtual void slotUpdateRemoveDecoratorPic (RemoveDeleteDecoratorState::Enum whichStatePic, PixmapObject *p_newPixmap, PixmapObject *&r_p_oldPixmap)
 
virtual void slotUpdateDeleteDecoratorPic (RemoveDeleteDecoratorState::Enum whichStatePic, PixmapObject *p_newPixmap, PixmapObject *&r_p_oldPixmap)
 
virtual void slotChangeRemoveDeleteDecoratorVisibility (RemoveDeleteDecoratorSelector::Enum showWhich)
 
virtual void slotUpdateInstallStatusDecoratorPic (PixmapObject *p_newPixmap, PixmapObject *&r_p_oldPixmap)
 
virtual void slotUpdateInstallStatusDecoratorPicNewProgress (int progressVal, bool updateMinMax=false, int minProgressVal=0, int maxProgressVal=0)
 
virtual void slotUpdateInstallStatusDecoratorResetProgress (int minProgressVal=0, int maxProgressVal=100)
 
virtual void slotEnableIconAutoRepaint ()
 
virtual void slotDisableIconAutoRepaint (bool clearAutoclip=true)
 
virtual void setAutopaintClipRect (const QRect &clipRectPCS)
 
virtual void clearAutopaintClipRect ()
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0)
 
virtual void paint (QPainter *painter, const QRectF &sourceItemRect)
 
virtual void paint (QPainter *painter, const QRectF &sourceRect, qint32 renderOpt)
 
virtual void paintOffscreen (QPainter *painter)
 
virtual void paintOffscreen (QPainter *painter, const QRect &sourceRect, const QPoint &targetOrigin)
 
virtual void paintOffscreen (QPainter *painter, const QRect &sourceRect, const QRect &targetRect)
 

Signals

void signalIconLabelChanged (const QString &, const QString &)
 
void signalIconLabelChanged ()
 
void signalMasterIconMainImageChanged (PixmapObject *p_newMainIconPixmap)
 
void signalMasterIconInstallStatusDecoratorChanged (PixmapObject *p_newPixmap)
 
void signalMasterIconInstallStatusDecoratorParamsChanged (int progressVal, int minProgressVal, int maxProgressVal)
 
void signalStateRemoveDeleteActiveChanged ()
 
void signalFSMActivate ()
 
void signalFSMDeactivate ()
 
void signalIconActionRequest (int cmdRequest)
 
- 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

 IconBase (const QRectF &iconGeometry, Page *p_belongsTo)
 
 IconBase (const QRectF &iconGeometry, PixmapObject *p_framePix, PixmapObject *p_mainPix, PixmapObject *p_feedbackPix, Page *p_belongsTo)
 
virtual IconBaseclone ()
 
virtual IconBasecloneOf () const
 
virtual IconBasemaster ()
 
virtual ~IconBase ()
 
virtual bool stateRemoveDeleteActive () const
 
virtual void setStateRemoveDeleteActive (bool v)
 
virtual PageowningPage () const
 
virtual LauncherObjectowningLauncher () const
 
QString iconLabel () const
 
void setIconLabel (const QString &v)
 
void resetIconLabel ()
 
void setIconLabelVisibility (bool visible)
 
void setUsePrerenderedLabel (bool usePreRendered)
 
void setLaunchFeedbackVisibility (bool visible)
 
virtual bool connectRequestsToLauncher (LauncherObject *launcherObj=0)
 
virtual LayoutItemlayoutItemAssociation () const
 
virtual void setLayoutItemAssociation (LayoutItem *v)
 
virtual QRectF geometry () const
 
virtual QRectF positionRelativeGeometry () const
 
virtual QPointF activePos () const
 
virtual bool resize (quint32 newWidth, quint32 newHeight)
 
virtual bool resize (const QSize &s)
 
virtual bool expand (const quint32 widthEx, const quint32 heightEx)
 
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 usingInstallDecorator () const
 
virtual bool tapIntoIcon (const QPointF &touchCoordinateICS, IconInternalHitAreas::Enum &r_hitArea)
 
virtual bool touchStartIntoIcon (const QPointF &touchCoordinateICS)
 
virtual bool touchEndIntoIcon (const QPointF &touchCoordinateICS)
 
virtual void update ()
 
- 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 untranslateFromPosition (const QRectF &rect) const
 
virtual QRectF boundingRect () const
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option=0, QWidget *widget=0)=0
 
virtual void paintOffscreen (QPainter *painter)=0
 
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 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 IconBaseiconFromPix (PixmapObject *p_framePix, PixmapObject *p_mainPix, PixmapObject *p_feedbackPix, Page *p_belongsTo)
 
static QSize maxIconSize (const IconList &icons)
 
static QSize minIconSize (const IconList &icons)
 
static void iconSizeBounds (const IconList &icons, QSize &r_minSize, QSize &r_maxSize)
 
static bool canUseFramePixOnIcon (const IconBase &icon, PixmapObject *p_pix)
 
static bool canUseMainPixOnIcon (const IconBase &icon, PixmapObject *p_pix)
 
static bool canUseDecorPixOnIcon (const IconBase &icon, PixmapObject *p_pix)
 
static QFont staticLabelFontForIcons ()
 
static bool iconLessThanByLabel (const IconBase *p_a, const IconBase *p_b)
 
- Static Public Member Functions inherited from ThingPaintable
static bool isItemThingPaintable (QGraphicsItem *p_qgitem)
 
static ThingPaintablethingpaintable_cast (QGraphicsItem *p_qgitem)
 

Static Public Attributes

static const char * IconLabelPropertyName = "iconlabel"
 
static const char * IconLastPageVisitedIndexPropertyName = "lastpageindex"
 
static const char * IconTransferContextPropertyName = "transfercontext"
 
- Static Public Attributes inherited from ThingPaintable
static int MagicTypePropertyKey = 1111
 
static int MagicTypePropertyValue = 2222
 

Protected Slots

virtual void slotMasterIconMainImageChanged (PixmapObject *p_newMainIconPixmap)
 
virtual void slotMasterIconInstallStatusDecoratorChanged (PixmapObject *p_newPixmap)
 
virtual void slotMasterIconInstallStatusDecoratorParamsChanged (int progressVal, int minProgressVal, int maxProgressVal)
 
virtual void slotAnimationFinished ()
 
virtual void slotRemoveDeleteActivated ()
 

Protected Member Functions

 IconBase (const QRectF &iconGeometry)
 
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 void setupFSM ()
 
virtual void geometryChanged ()
 
virtual void recomputePainterHelpers ()
 
virtual void recalculateDecoratorPositionOnFrameChange ()
 
virtual void redoLabelTextLayout (bool renderLabelPixmap=false)
 
virtual void recalculateLabelPosition ()
 
- 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 QRectF GEOM (const QRectF &geom)
 
static QRectF AGEOM (const QRectF &geom)
 
static QRectF LabelBoxGeomFromGeom (const QRectF &geom)
 
static QRectF FrameGeomFromGeom (const QRectF &geom)
 
static QRectF IconGeomFromGeom (const QRectF &geom)
 
static QRectF RemoveDeleteDecorGeomFromGeom (const QRectF &geom)
 
static QRectF InstallStatusGeomFromGeom (const QRectF &geom)
 
static bool canUsePixOnIcon (const IconBase &icon, PixmapObject *p_pix)
 

Protected Attributes

bool m_showLabel
 
QString m_iconLabel
 
QPointer< IconBasem_qp_masterIcon
 
bool m_useOwnerSetAutopaintClip
 
QRect m_ownerSetAutopaintClip
 
QPointer< LayoutItemm_qp_layoutItemAssociation
 
QPointF m_activePositionOffsetFromPos
 m_activePositionOffsetFromPos: The concept of "active position" is that the icon's QGraphicsItem pos() is the place where it is drawn, but that pos may More...
 
QRectF m_alignmentGeomPrecomputed
 
bool m_showIcon
 
QPointer< PixmapObjectm_qp_iconPixmap
 
QRect m_iconGeom
 
QRect m_iconPixmapGeom
 
QPoint m_iconPosICS
 
QPoint m_iconSrcPrecomputed
 
bool m_showFrame
 
QPointer< PixmapObjectm_qp_iconFramePixmap
 
QRect m_iconFrameGeom
 
QRect m_iconFramePixmapGeom
 
QPoint m_iconFramePosICS
 
QPoint m_iconFrameSrcPrecomputed
 
bool m_showFeedback
 
QPointer< PixmapObjectm_qp_iconFeedbackPixmap
 
QRect m_iconFeedbackPixmapGeom
 
QPoint m_iconFeedbackPosICS
 
QPoint m_iconFeedbackSrcPrecomputed
 
RemoveDeleteDecoratorSelector::Enum m_showWhichDeleteRemove
 
QPointer< PixmapObjectm_qp_removeDecoratorPixmap
 
QPointer< PixmapObjectm_qp_removePressedDecoratorPixmap
 
QPointer< PixmapObjectm_qp_removeDecoratorCurrentStatePixmap
 
QPointer< PixmapObjectm_qp_deleteDecoratorPixmap
 
QPointer< PixmapObjectm_qp_deletePressedDecoratorPixmap
 
QPointer< PixmapObjectm_qp_deleteDecoratorCurrentStatePixmap
 
QPointer< PixmapObjectm_qp_drDecoratorCurrentlyRenderingPixmap
 
QRect m_drDecoratorCurrentPixmapGeom
 
QPoint m_drDecoratorCurrentPosICS
 
QPoint m_drDecoratorCurrentSrcPrecomputed
 
QRect m_removeDecoratorGeom
 
QRect m_removeDecoratorPixmapGeom
 
QPoint m_removeDecoratorPosICS
 
QPoint m_removeDecoratorSrcPrecomputed
 
QRect m_deleteDecoratorGeom
 
QRect m_deleteDecoratorPixmapGeom
 
QPoint m_deleteDecoratorPosICS
 
QPoint m_deleteDecoratorSrcPrecomputed
 
QPointer< PixmapObjectm_qp_installStatusDecoratorPixmap
 
QRect m_installStatusDecoratorGeom
 
QRect m_installStatusDecoratorPixmapGeom
 
QPoint m_installStatusDecoratorPosICS
 
QPoint m_installStatusDecoratorSrcPrecomputed
 
int m_lastProgressValue
 
int m_minProgressValue
 
int m_maxProgressValue
 
QStateMachinem_p_buttonFSM
 
QStatem_p_stateNormal
 
QStatem_p_stateActive
 
bool m_canRequestLauncher
 
QColor m_labelColor
 
QPoint m_labelPosICS
 
QRect m_labelMaxGeom
 
QPoint m_labelSrcPrecomputed
 
QRect m_labelGeom
 
QTextLayout m_textLayoutObject
 
QPointer< PixmapObjectm_qp_prerenderedLabelPixmap
 
bool m_usePrerenderedLabel
 
- Protected Attributes inherited from ThingPaintable
QRectF m_geom
 
QRectF m_boundingRect
 
QString m_uiState
 
- Protected Attributes inherited from Thing
QPointer< Thingm_qp_takerOwner
 

Properties

QString iconlabel
 
LayoutItem layoutItemAssociation
 
bool stateRemoveDeleteActive
 
- Properties inherited from ThingPaintable
QString uistate
 
QPointF animatePosition
 

Friends

class Page
 
class IconCell
 

Constructor & Destructor Documentation

IconBase::IconBase ( const QRectF &  iconGeometry,
Page p_belongsTo 
)
IconBase::IconBase ( const QRectF &  iconGeometry,
PixmapObject p_framePix,
PixmapObject p_mainPix,
PixmapObject p_feedbackPix,
Page p_belongsTo 
)
IconBase::~IconBase ( )
virtual
IconBase::IconBase ( const QRectF &  iconGeometry)
protected

Member Function Documentation

QPointF IconBase::activePos ( ) const
virtual
QRectF IconBase::AGEOM ( const QRectF &  geom)
staticprotected
bool IconBase::canUseDecorPixOnIcon ( const IconBase icon,
PixmapObject p_pix 
)
static
bool IconBase::canUseFramePixOnIcon ( const IconBase icon,
PixmapObject p_pix 
)
static
bool IconBase::canUseMainPixOnIcon ( const IconBase icon,
PixmapObject p_pix 
)
static
bool IconBase::canUsePixOnIcon ( const IconBase icon,
PixmapObject p_pix 
)
staticprotected
void IconBase::clearAutopaintClipRect ( )
virtualslot
IconBase * IconBase::clone ( )
virtual
IconBase * IconBase::cloneOf ( ) const
virtual
bool IconBase::connectRequestsToLauncher ( LauncherObject launcherObj = 0)
virtual
virtual bool IconBase::customGesture ( QGesture customGesture)
inlineprotectedvirtual
bool IconBase::expand ( const quint32  widthEx,
const quint32  heightEx 
)
virtual
bool IconBase::flickGesture ( FlickGesture flickEvent)
protectedvirtual
QRectF IconBase::FrameGeomFromGeom ( const QRectF &  geom)
staticprotected
QRectF IconBase::GEOM ( const QRectF &  geom)
staticprotected
QRectF IconBase::geometry ( ) const
virtual

Reimplemented from ThingPaintable.

void IconBase::geometryChanged ( )
protectedvirtual
virtual bool IconBase::gestureEvent ( QGestureEvent *  gestureEvent)
inlineprotectedvirtual
IconBase * IconBase::iconFromPix ( PixmapObject p_framePix,
PixmapObject p_mainPix,
PixmapObject p_feedbackPix,
Page p_belongsTo 
)
static
QRectF IconBase::IconGeomFromGeom ( const QRectF &  geom)
staticprotected
QString IconBase::iconLabel ( ) const
bool IconBase::iconLessThanByLabel ( const IconBase p_a,
const IconBase p_b 
)
static
void IconBase::iconSizeBounds ( const IconList icons,
QSize &  r_minSize,
QSize &  r_maxSize 
)
static
QRectF IconBase::InstallStatusGeomFromGeom ( const QRectF &  geom)
staticprotected
QRectF IconBase::LabelBoxGeomFromGeom ( const QRectF &  geom)
staticprotected
virtual LayoutItem* IconBase::layoutItemAssociation ( ) const
virtual
IconBase * IconBase::master ( )
virtual
QSize IconBase::maxIconSize ( const IconList icons)
static
QSize IconBase::minIconSize ( const IconList icons)
static
bool IconBase::offer ( Thing p_offer,
Thing p_offeringThing 
)
virtual

Reimplemented from Thing.

LauncherObject * IconBase::owningLauncher ( ) const
virtual
Page * IconBase::owningPage ( ) const
virtual
void IconBase::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option = 0,
QWidget *  widget = 0 
)
virtualslot
void IconBase::paint ( QPainter *  painter,
const QRectF &  sourceItemRect 
)
virtualslot
void IconBase::paint ( QPainter *  painter,
const QRectF &  sourceRect,
qint32  renderOpt 
)
virtualslot
void IconBase::paintOffscreen ( QPainter *  painter)
virtualslot
void IconBase::paintOffscreen ( QPainter *  painter,
const QRect &  sourceRect,
const QPoint &  targetOrigin 
)
virtualslot
void IconBase::paintOffscreen ( QPainter *  painter,
const QRect &  sourceRect,
const QRect &  targetRect 
)
virtualslot
virtual bool IconBase::panGesture ( QPanGesture *  panEvent)
inlineprotectedvirtual
virtual bool IconBase::pinchGesture ( QPinchGesture *  pinchEvent)
inlineprotectedvirtual
QRectF IconBase::positionRelativeGeometry ( ) const
virtual

Reimplemented from ThingPaintable.

void IconBase::recalculateDecoratorPositionOnFrameChange ( )
protectedvirtual
void IconBase::recalculateLabelPosition ( )
protectedvirtual
void IconBase::recomputePainterHelpers ( )
protectedvirtual
void IconBase::redoLabelTextLayout ( bool  renderLabelPixmap = false)
protectedvirtual
QRectF IconBase::RemoveDeleteDecorGeomFromGeom ( const QRectF &  geom)
staticprotected
void IconBase::resetIconLabel ( )
bool IconBase::resize ( quint32  newWidth,
quint32  newHeight 
)
virtual

Reimplemented from ThingPaintable.

bool IconBase::resize ( const QSize &  s)
virtual

Reimplemented from ThingPaintable.

bool IconBase::sceneEvent ( QEvent event)
protectedvirtual
void IconBase::setAutopaintClipRect ( const QRect &  clipRectPCS)
virtualslot
void IconBase::setIconLabel ( const QString &  v)
void IconBase::setIconLabelVisibility ( bool  visible)
void IconBase::setLaunchFeedbackVisibility ( bool  visible)
void IconBase::setLayoutItemAssociation ( LayoutItem v)
virtual
void IconBase::setStateRemoveDeleteActive ( bool  v)
virtual
void IconBase::setupFSM ( )
protectedvirtual
void IconBase::setUsePrerenderedLabel ( bool  usePreRendered)
void IconBase::signalFSMActivate ( )
signal
void IconBase::signalFSMDeactivate ( )
signal
void IconBase::signalIconActionRequest ( int  cmdRequest)
signal
void IconBase::signalIconLabelChanged ( const QString &  ,
const QString &   
)
signal
void IconBase::signalIconLabelChanged ( )
signal
void IconBase::signalMasterIconInstallStatusDecoratorChanged ( PixmapObject p_newPixmap)
signal
void IconBase::signalMasterIconInstallStatusDecoratorParamsChanged ( int  progressVal,
int  minProgressVal,
int  maxProgressVal 
)
signal
void IconBase::signalMasterIconMainImageChanged ( PixmapObject p_newMainIconPixmap)
signal
void IconBase::signalStateRemoveDeleteActiveChanged ( )
signal
void IconBase::slotAnimationFinished ( )
protectedvirtualslot
void IconBase::slotChangeIconFrameVisibility ( bool  show)
virtualslot
void IconBase::slotChangeIconVisibility ( bool  show)
virtualslot
void IconBase::slotChangeRemoveDeleteDecoratorVisibility ( RemoveDeleteDecoratorSelector::Enum  showWhich)
virtualslot
void IconBase::slotDisableIconAutoRepaint ( bool  clearAutoclip = true)
virtualslot
void IconBase::slotEnableIconAutoRepaint ( )
virtualslot
void IconBase::slotMasterIconInstallStatusDecoratorChanged ( PixmapObject p_newPixmap)
protectedvirtualslot
void IconBase::slotMasterIconInstallStatusDecoratorParamsChanged ( int  progressVal,
int  minProgressVal,
int  maxProgressVal 
)
protectedvirtualslot
void IconBase::slotMasterIconMainImageChanged ( PixmapObject p_newMainIconPixmap)
protectedvirtualslot
void IconBase::slotRemoveDeleteActivated ( )
protectedvirtualslot
void IconBase::slotUpdateDeleteDecoratorPic ( RemoveDeleteDecoratorState::Enum  whichStatePic,
PixmapObject p_newPixmap,
PixmapObject *&  r_p_oldPixmap 
)
virtualslot
void IconBase::slotUpdateIconFramePic ( PixmapObject p_newPixmap,
PixmapObject *&  r_p_oldPixmap 
)
virtualslot
void IconBase::slotUpdateIconPic ( PixmapObject p_newPixmap,
bool  propagate,
PixmapObject *&  r_p_oldPixmap 
)
virtualslot
void IconBase::slotUpdateInstallStatusDecoratorPic ( PixmapObject p_newPixmap,
PixmapObject *&  r_p_oldPixmap 
)
virtualslot
void IconBase::slotUpdateInstallStatusDecoratorPicNewProgress ( int  progressVal,
bool  updateMinMax = false,
int  minProgressVal = 0,
int  maxProgressVal = 0 
)
virtualslot
void IconBase::slotUpdateInstallStatusDecoratorResetProgress ( int  minProgressVal = 0,
int  maxProgressVal = 100 
)
virtualslot
void IconBase::slotUpdateRemoveDecoratorPic ( RemoveDeleteDecoratorState::Enum  whichStatePic,
PixmapObject p_newPixmap,
PixmapObject *&  r_p_oldPixmap 
)
virtualslot
virtual bool IconBase::stateRemoveDeleteActive ( ) const
virtual
QFont IconBase::staticLabelFontForIcons ( )
static
bool IconBase::swipeGesture ( QSwipeGesture *  swipeEvent)
protectedvirtual
bool IconBase::take ( Thing p_takerThing)
virtual

Reimplemented from Thing.

void IconBase::taken ( Thing p_takenThing,
Thing p_takerThing 
)
virtual

Reimplemented from Thing.

bool IconBase::taking ( Thing p_victimThing,
Thing p_takerThing 
)
virtual

Reimplemented from Thing.

virtual bool IconBase::tapAndHoldGesture ( QTapAndHoldGesture *  tapHoldEvent)
inlineprotectedvirtual
virtual bool IconBase::tapGesture ( QTapGesture *  tapEvent)
inlineprotectedvirtual
bool IconBase::tapIntoIcon ( const QPointF &  touchCoordinateICS,
IconInternalHitAreas::Enum r_hitArea 
)
virtual

this one is called into during reorder mode, since the layout/page handles all input, and not the icon itself returns true if the touch was internally meaningfull and the caller can safely

virtual bool IconBase::touchEndEvent ( QTouchEvent *  event)
inlineprotectedvirtual
bool IconBase::touchEndIntoIcon ( const QPointF &  touchCoordinateICS)
virtual
virtual bool IconBase::touchEvent ( QTouchEvent *  event)
inlineprotectedvirtual
virtual bool IconBase::touchStartEvent ( QTouchEvent *  event)
inlineprotectedvirtual
bool IconBase::touchStartIntoIcon ( const QPointF &  touchCoordinateICS)
virtual
virtual bool IconBase::touchUpdateEvent ( QTouchEvent *  event)
inlineprotectedvirtual
void IconBase::update ( )
virtual
bool IconBase::usingInstallDecorator ( ) const
virtual

Friends And Related Function Documentation

friend class IconCell
friend
friend class Page
friend

Member Data Documentation

const char * IconBase::IconLabelPropertyName = "iconlabel"
static
const char * IconBase::IconLastPageVisitedIndexPropertyName = "lastpageindex"
static
const char * IconBase::IconTransferContextPropertyName = "transfercontext"
static
QPointF IconBase::m_activePositionOffsetFromPos
protected

m_activePositionOffsetFromPos: The concept of "active position" is that the icon's QGraphicsItem pos() is the place where it is drawn, but that pos may

QRectF IconBase::m_alignmentGeomPrecomputed
protected
bool IconBase::m_canRequestLauncher
protected
QRect IconBase::m_deleteDecoratorGeom
protected
QRect IconBase::m_deleteDecoratorPixmapGeom
protected
QPoint IconBase::m_deleteDecoratorPosICS
protected
QPoint IconBase::m_deleteDecoratorSrcPrecomputed
protected
QRect IconBase::m_drDecoratorCurrentPixmapGeom
protected
QPoint IconBase::m_drDecoratorCurrentPosICS
protected
QPoint IconBase::m_drDecoratorCurrentSrcPrecomputed
protected
QRect IconBase::m_iconFeedbackPixmapGeom
protected
QPoint IconBase::m_iconFeedbackPosICS
protected
QPoint IconBase::m_iconFeedbackSrcPrecomputed
protected
QRect IconBase::m_iconFrameGeom
protected
QRect IconBase::m_iconFramePixmapGeom
protected
QPoint IconBase::m_iconFramePosICS
protected
QPoint IconBase::m_iconFrameSrcPrecomputed
protected
QRect IconBase::m_iconGeom
protected
QString IconBase::m_iconLabel
protected
QRect IconBase::m_iconPixmapGeom
protected
QPoint IconBase::m_iconPosICS
protected
QPoint IconBase::m_iconSrcPrecomputed
protected
QRect IconBase::m_installStatusDecoratorGeom
protected
QRect IconBase::m_installStatusDecoratorPixmapGeom
protected
QPoint IconBase::m_installStatusDecoratorPosICS
protected
QPoint IconBase::m_installStatusDecoratorSrcPrecomputed
protected
QColor IconBase::m_labelColor
protected
QRect IconBase::m_labelGeom
protected
QRect IconBase::m_labelMaxGeom
protected
QPoint IconBase::m_labelPosICS
protected
QPoint IconBase::m_labelSrcPrecomputed
protected
int IconBase::m_lastProgressValue
protected
int IconBase::m_maxProgressValue
protected
int IconBase::m_minProgressValue
protected
QRect IconBase::m_ownerSetAutopaintClip
protected
QStateMachine* IconBase::m_p_buttonFSM
protected
QState* IconBase::m_p_stateActive
protected
QState* IconBase::m_p_stateNormal
protected
QPointer<PixmapObject> IconBase::m_qp_deleteDecoratorCurrentStatePixmap
protected
QPointer<PixmapObject> IconBase::m_qp_deleteDecoratorPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_deletePressedDecoratorPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_drDecoratorCurrentlyRenderingPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_iconFeedbackPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_iconFramePixmap
protected
QPointer<PixmapObject> IconBase::m_qp_iconPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_installStatusDecoratorPixmap
protected
QPointer<LayoutItem> IconBase::m_qp_layoutItemAssociation
protected
QPointer<IconBase> IconBase::m_qp_masterIcon
protected
QPointer<PixmapObject> IconBase::m_qp_prerenderedLabelPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_removeDecoratorCurrentStatePixmap
protected
QPointer<PixmapObject> IconBase::m_qp_removeDecoratorPixmap
protected
QPointer<PixmapObject> IconBase::m_qp_removePressedDecoratorPixmap
protected
QRect IconBase::m_removeDecoratorGeom
protected
QRect IconBase::m_removeDecoratorPixmapGeom
protected
QPoint IconBase::m_removeDecoratorPosICS
protected
QPoint IconBase::m_removeDecoratorSrcPrecomputed
protected
bool IconBase::m_showFeedback
protected
bool IconBase::m_showFrame
protected
bool IconBase::m_showIcon
protected
bool IconBase::m_showLabel
protected
RemoveDeleteDecoratorSelector::Enum IconBase::m_showWhichDeleteRemove
protected
QTextLayout IconBase::m_textLayoutObject
protected
bool IconBase::m_useOwnerSetAutopaintClip
protected
bool IconBase::m_usePrerenderedLabel
protected

Property Documentation

QString IconBase::iconlabel
readwrite
LayoutItem * IconBase::layoutItemAssociation
readwrite
bool IconBase::stateRemoveDeleteActive
readwrite

The documentation for this class was generated from the following files: