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

#include <iconlayout.h>

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

Public Types

typedef QList< IconCell * > IconCellList
 
typedef
IconCellList::const_iterator 
IconCellListConstIter
 
typedef IconCellList::iterator IconCellListIter
 

Public Member Functions

 IconRow (IconLayout *p_owner)
 
 IconRow (IconLayout *p_owner, const QRectF &geom)
 
virtual ~IconRow ()
 
quint32 numIcons () const
 
virtual QRectF geometry ()
 
virtual QRectF relativeGeometry () const
 
virtual void recomputeGeometry (bool adjustPosition=false)
 
virtual void repositionAboveRow (IconRow &refRow, const quint32 space)
 
virtual void repositionBelowRow (IconRow &refRow, const quint32 space)
 
virtual void repositionAboveRow (IconRow &refRow)
 
virtual void repositionBelowRow (IconRow &refRow)
 
virtual void moveBy (const QPointF &d)
 
virtual void moveBy (const qreal dx, const qreal dy)
 
virtual void appendCell (IconCell *p_cell)
 
virtual void addCell (IconCell *p_cell, const quint32 index)
 
virtual void appendCellAndAlignVerticallyToCell (IconCell *p_cell, const quint32 alignToCellIndex)
 
virtual void addCellAndAlignVerticallyToCell (IconCell *p_cell, const quint32 index, const quint32 alignToCellIndex)
 
virtual void removeCell (const quint32 index)
 
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_pmo)
 
virtual void paintOffscreen (PixmapHugeObject *p_hugePmo)
 
virtual void relayout (bool force=false)
 
virtual void relayout (const qreal leftEdgeX, const quint32 spacing, bool force)
 
virtual void redistributeIconsHorizontally (const qreal leftEdgeX, const quint32 spacing)
 
virtual void alignIconsVerticallyCentered (const qreal yPosition)
 
virtual void cellGeomChangedDueToNewIcon (IconCell *reportingCell)
 
- Public Member Functions inherited from LayoutItem
 LayoutItem ()
 
virtual ~LayoutItem ()
 

Public Attributes

QRectF m_geom
 
QPointF m_pos
 
QRect m_lastPaintedPixmapTargetRect
 
IconCellList m_iconList
 
IconLayoutm_p_layoutObject
 
quint32 m_spaceToUpperAdjacentRow
 
quint32 m_spaceToLowerAdjacentRow
 

Friends

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

Member Typedef Documentation

typedef QList<IconCell *> IconRow::IconCellList
typedef IconCellList::const_iterator IconRow::IconCellListConstIter
typedef IconCellList::iterator IconRow::IconCellListIter

Constructor & Destructor Documentation

IconRow::IconRow ( IconLayout p_owner)
IconRow::IconRow ( IconLayout p_owner,
const QRectF &  geom 
)
IconRow::~IconRow ( )
virtual

Member Function Documentation

void IconRow::addCell ( IconCell p_cell,
const quint32  index 
)
virtual

Reimplemented in IconRowAlpha.

void IconRow::addCellAndAlignVerticallyToCell ( IconCell p_cell,
const quint32  index,
const quint32  alignToCellIndex 
)
virtual

Reimplemented in IconRowAlpha.

void IconRow::alignIconsVerticallyCentered ( const qreal  yPosition)
virtual
void IconRow::appendCell ( IconCell p_cell)
virtual

Reimplemented in IconRowAlpha.

void IconRow::appendCellAndAlignVerticallyToCell ( IconCell p_cell,
const quint32  alignToCellIndex 
)
virtual

Reimplemented in IconRowAlpha.

void IconRow::cellGeomChangedDueToNewIcon ( IconCell reportingCell)
virtual
QRectF IconRow::geometry ( )
virtual
void IconRow::moveBy ( const QPointF &  d)
virtual
void IconRow::moveBy ( const qreal  dx,
const qreal  dy 
)
virtual
quint32 IconRow::numIcons ( ) const
void IconRow::paint ( QPainter *  painter)
virtual
void IconRow::paint ( QPainter *  painter,
const QRectF &  sourceRect 
)
virtual
void IconRow::paint ( QPainter *  painter,
const QRectF &  sourceRect,
qint32  renderOpt 
)
virtual
void IconRow::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate 
)
virtual
void IconRow::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate,
qint32  renderOpt 
)
virtual
void IconRow::paintOffscreen ( QPainter *  painter)
virtual
void IconRow::paintOffscreen ( PixmapObject p_pmo)
virtual
void IconRow::paintOffscreen ( PixmapHugeObject p_hugePmo)
virtual

Reimplemented in IconRowAlpha.

void IconRow::recomputeGeometry ( bool  adjustPosition = false)
virtual
void IconRow::redistributeIconsHorizontally ( const qreal  leftEdgeX,
const quint32  spacing 
)
virtual
QRectF IconRow::relativeGeometry ( ) const
virtual
void IconRow::relayout ( bool  force = false)
virtual

Reimplemented in IconRowAlpha.

void IconRow::relayout ( const qreal  leftEdgeX,
const quint32  spacing,
bool  force 
)
virtual
void IconRow::removeCell ( const quint32  index)
virtual
void IconRow::repositionAboveRow ( IconRow refRow,
const quint32  space 
)
virtual
void IconRow::repositionAboveRow ( IconRow refRow)
virtual
void IconRow::repositionBelowRow ( IconRow refRow,
const quint32  space 
)
virtual
void IconRow::repositionBelowRow ( IconRow refRow)
virtual

Friends And Related Function Documentation

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

Member Data Documentation

QRectF IconRow::m_geom
IconCellList IconRow::m_iconList
QRect IconRow::m_lastPaintedPixmapTargetRect
IconLayout* IconRow::m_p_layoutObject
QPointF IconRow::m_pos
quint32 IconRow::m_spaceToLowerAdjacentRow
quint32 IconRow::m_spaceToUpperAdjacentRow

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