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

#include <iconlayout.h>

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

Signals

void signalChangedIcon (const IconBase *p_icon)
 

Public Member Functions

 IconCell (IconRow *p_owner)
 
virtual ~IconCell ()
 
 IconCell (IconRow *p_owner, IconBase *p_icon)
 
 IconCell (IconRow *p_owner, IconBase *p_icon, const QSizeF &size)
 
 IconCell (IconRow *p_owner, IconBase *p_icon, const QSize &size)
 
virtual void clear ()
 
virtual QRectF geometry ()
 
virtual QRectF relativeGeometry ()
 
virtual QRectF untranslateGeometry (const QRectF &geom)
 
virtual QPointF position ()
 
virtual IconBasesetNewIcon (IconBase *p_newIcon, bool repositionIconToCell=false)
 
virtual void resetIconPosition ()
 
virtual void commitPendingIcon ()
 
QPointF reposition (const QPointF &newCenterPointICS)
 
qreal repositionX (const qreal x)
 
qreal repositionY (const qreal y)
 
void moveBy (const QPointF &d)
 
void moveBy (const qreal dx, const qreal dy)
 
virtual void paint (QPainter *painter)
 
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)
 
virtual void paintOffscreen (PixmapObject *p_hugePmo)
 
virtual void paintOffscreen (PixmapHugeObject *p_hugePmo)
 
- Public Member Functions inherited from LayoutItem
 LayoutItem ()
 
virtual ~LayoutItem ()
 

Public Attributes

QPointer< IconBasem_qp_icon
 
QPointer< IconBasem_qp_pendingReorderIcon
 
QRectF m_geom
 
QPointF m_pos
 
QRect m_lastPaintedPixmapTargetRect
 
IconRowm_p_layoutRowObject
 

Friends

QDataStream & operator<< (QDataStream &stream, const IconCell &s)
 
QDataStream & operator>> (QDataStream &stream, IconCell &s)
 
QDebug operator<< (QDebug dbg, const IconCell &s)
 

Constructor & Destructor Documentation

IconCell::IconCell ( IconRow p_owner)
IconCell::~IconCell ( )
virtual
IconCell::IconCell ( IconRow p_owner,
IconBase p_icon 
)
IconCell::IconCell ( IconRow p_owner,
IconBase p_icon,
const QSizeF &  size 
)
IconCell::IconCell ( IconRow p_owner,
IconBase p_icon,
const QSize &  size 
)

Member Function Documentation

void IconCell::clear ( )
virtual
void IconCell::commitPendingIcon ( )
virtual
QRectF IconCell::geometry ( )
virtual
void IconCell::moveBy ( const QPointF &  d)
void IconCell::moveBy ( const qreal  dx,
const qreal  dy 
)
void IconCell::paint ( QPainter *  painter)
virtual
void IconCell::paint ( QPainter *  painter,
const QRectF &  sourceRect 
)
virtual
void IconCell::paint ( QPainter *  painter,
const QRectF &  sourceRect,
qint32  renderOpt 
)
virtual
void IconCell::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate 
)
virtual
void IconCell::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate,
qint32  renderOpt 
)
virtual
void IconCell::paintOffscreen ( QPainter *  painter)
virtual
void IconCell::paintOffscreen ( PixmapObject p_hugePmo)
virtual
void IconCell::paintOffscreen ( PixmapHugeObject p_hugePmo)
virtual
QPointF IconCell::position ( )
virtual
QRectF IconCell::relativeGeometry ( )
virtual
QPointF IconCell::reposition ( const QPointF &  newCenterPointICS)
qreal IconCell::repositionX ( const qreal  x)
qreal IconCell::repositionY ( const qreal  y)
void IconCell::resetIconPosition ( )
virtual
IconBase * IconCell::setNewIcon ( IconBase p_newIcon,
bool  repositionIconToCell = false 
)
virtual
void IconCell::signalChangedIcon ( const IconBase p_icon)
signal
QRectF IconCell::untranslateGeometry ( const QRectF &  geom)
virtual

Friends And Related Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const IconCell s 
)
friend
QDebug operator<< ( QDebug  dbg,
const IconCell s 
)
friend
QDataStream& operator>> ( QDataStream &  stream,
IconCell s 
)
friend

Member Data Documentation

QRectF IconCell::m_geom
QRect IconCell::m_lastPaintedPixmapTargetRect
IconRow* IconCell::m_p_layoutRowObject
QPointF IconCell::m_pos
QPointer<IconBase> IconCell::m_qp_icon
QPointer<IconBase> IconCell::m_qp_pendingReorderIcon

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