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

#include <iconlayout.h>

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

Public Member Functions

 IconLayout (Page *p_owner)
 
virtual ~IconLayout ()
 
virtual void paint (QPainter *painter)
 
virtual void paint (const QPointF &translate, 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 enableAutoPaint ()
 
virtual void disableAutoPaint ()
 
virtual QRectF geometry ()
 
virtual QRectF relativeGeometry ()
 
virtual void relayout (bool force=false)
 
virtual void resizeWidth (const quint32 w)
 
virtual void setPosition (const QPointF &pos)
 
virtual QPointF position ()
 
virtual void setUniformCellSize (const QSize &size)
 
virtual void iconCellReleaseIcon (const QPoint &cellCoordinate)
 
virtual IconCelliconCellAtLayoutCoordinate (const QPointF &coordinate)
 
virtual IconCelliconCellAtLayoutCoordinate (const QPointF &layoutCoordinate, QPoint &r_gridCoordinate)
 
virtual QRectF rowArea (quint32 rowIndex) const
 
virtual qint32 rowAtLayoutCoordinate (const QPointF &layoutCoordinate, bool clipMinMax=false)
 
virtual QPointF sceneCoordinateFromLayoutCoordinate (const QPointF &layoutCoordinate)
 
virtual QPointF pageCoordinateFromLayoutCoordinate (const QPointF &layoutCoordinate)
 
virtual QPointF rawPageCoordinateFromLayoutCoordinate (const QPointF &layoutCoordinate) const
 
virtual QPointF rawLayoutCoordinateFromPageCoordinate (const QPointF &pageCoordinate) const
 
virtual QRectF rawPageRectFromLayoutRect (const QRectF &layoutRect) const
 
virtual QRectF rawLayoutRectFromPageRect (const QRectF &pageRect) const
 
virtual void recomputePageLayoutTransforms ()
 
virtual qreal verticalDistanceToNearestUpperRow (const QPointF &layoutCoordinate)
 
virtual qreal verticalDistanceToNearestLowerRow (const QPointF &layoutCoordinate)
 
virtual quint32 maximumRowHeight () const
 
virtual quint32 minimumRowHeight () const
 
virtual QList< IconCell * > iconCellsInFlowOrder ()
 
- Public Member Functions inherited from LayoutItem
 LayoutItem ()
 
virtual ~LayoutItem ()
 

Protected Attributes

QPointer< Pagem_qp_ownerPage
 
QRectF m_geom
 
QPointF m_pos
 
QTransform m_layoutToPageTran
 
QTransform m_pageToLayoutTran
 

Friends

class Page
 
QDataStream & operator<< (QDataStream &stream, const IconLayout &s)
 
QDataStream & operator>> (QDataStream &stream, IconLayout &s)
 
QDebug operator<< (QDebug dbg, const IconLayout &s)
 

Constructor & Destructor Documentation

IconLayout::IconLayout ( Page p_owner)
IconLayout::~IconLayout ( )
virtual

Member Function Documentation

void IconLayout::disableAutoPaint ( )
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::enableAutoPaint ( )
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

QRectF IconLayout::geometry ( )
virtual
IconCell * IconLayout::iconCellAtLayoutCoordinate ( const QPointF &  coordinate)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

IconCell * IconLayout::iconCellAtLayoutCoordinate ( const QPointF &  layoutCoordinate,
QPoint &  r_gridCoordinate 
)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::iconCellReleaseIcon ( const QPoint &  cellCoordinate)
virtual

Reimplemented in ReorderableIconLayout.

QList< IconCell * > IconLayout::iconCellsInFlowOrder ( )
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

quint32 IconLayout::maximumRowHeight ( ) const
virtual

Reimplemented in AlphabetIconLayout.

quint32 IconLayout::minimumRowHeight ( ) const
virtual

Reimplemented in AlphabetIconLayout.

QPointF IconLayout::pageCoordinateFromLayoutCoordinate ( const QPointF &  layoutCoordinate)
virtual
void IconLayout::paint ( QPainter *  painter)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paint ( const QPointF &  translate,
QPainter *  painter 
)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paint ( QPainter *  painter,
const QRectF &  sourceRect 
)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paint ( QPainter *  painter,
const QRectF &  sourceRect,
qint32  renderOpt 
)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate 
)
virtual
void IconLayout::paint ( QPainter *  painter,
const QRectF &  sourceRect,
const QPointF &  painterTranslate,
qint32  renderOpt 
)
virtual
void IconLayout::paintOffscreen ( QPainter *  painter)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paintOffscreen ( PixmapObject p_pmo)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::paintOffscreen ( PixmapHugeObject p_hugePmo)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

QPointF IconLayout::position ( )
virtual
QPointF IconLayout::rawLayoutCoordinateFromPageCoordinate ( const QPointF &  pageCoordinate) const
virtual
QRectF IconLayout::rawLayoutRectFromPageRect ( const QRectF &  pageRect) const
virtual
QPointF IconLayout::rawPageCoordinateFromLayoutCoordinate ( const QPointF &  layoutCoordinate) const
virtual
QRectF IconLayout::rawPageRectFromLayoutRect ( const QRectF &  layoutRect) const
virtual
void IconLayout::recomputePageLayoutTransforms ( )
virtual
QRectF IconLayout::relativeGeometry ( )
virtual
void IconLayout::relayout ( bool  force = false)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::resizeWidth ( const quint32  w)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

QRectF IconLayout::rowArea ( quint32  rowIndex) const
virtual

Reimplemented in ReorderableIconLayout.

qint32 IconLayout::rowAtLayoutCoordinate ( const QPointF &  layoutCoordinate,
bool  clipMinMax = false 
)
virtual

Reimplemented in ReorderableIconLayout.

QPointF IconLayout::sceneCoordinateFromLayoutCoordinate ( const QPointF &  layoutCoordinate)
virtual
void IconLayout::setPosition ( const QPointF &  pos)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

void IconLayout::setUniformCellSize ( const QSize &  size)
virtual

Reimplemented in AlphabetIconLayout, and ReorderableIconLayout.

qreal IconLayout::verticalDistanceToNearestLowerRow ( const QPointF &  layoutCoordinate)
virtual

Reimplemented in AlphabetIconLayout.

qreal IconLayout::verticalDistanceToNearestUpperRow ( const QPointF &  layoutCoordinate)
virtual

Reimplemented in AlphabetIconLayout.

Friends And Related Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const IconLayout s 
)
friend
QDebug operator<< ( QDebug  dbg,
const IconLayout s 
)
friend
QDataStream& operator>> ( QDataStream &  stream,
IconLayout s 
)
friend
friend class Page
friend

Member Data Documentation

QRectF IconLayout::m_geom
protected
QTransform IconLayout::m_layoutToPageTran
protected
QTransform IconLayout::m_pageToLayoutTran
protected
QPointF IconLayout::m_pos
protected
QPointer<Page> IconLayout::m_qp_ownerPage
protected

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