LunaSysMgr
|
#include <reorderableiconlayout.h>
Signals | |
void | signalReorderStarted () |
void | signalReorderEnded () |
void | signalFSMTrackStarted_Trigger () |
void | signalFSMTrackEnded_Trigger () |
void | signalFSMLastTrackEndedTrigger () |
void | signalFSMReorderStarted_Trigger () |
void | signalFSMReorderEnded_Trigger () |
Public Member Functions | |
ReorderableIconLayout (ReorderablePage *p_owner) | |
virtual | ~ReorderableIconLayout () |
virtual void | setLayoutRowSpacing (const qreal interRowSpace, const quint32 anchorRowNum=0) |
virtual void | resetLayoutRowSpacingToDefaultSettings () |
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 (const QPointF &translate, QPainter *painter) |
virtual void | paintOffscreen (QPainter *painter) |
virtual void | paintOffscreen (PixmapObject *p_pmo) |
virtual void | paintOffscreen (PixmapHugeObject *p_hugePmo) |
virtual void | enableAutoPaint () |
virtual void | disableAutoPaint () |
virtual void | relayout (bool force=false) |
virtual void | resizeWidth (const quint32 w) |
virtual void | setPosition (const QPointF &pos) |
virtual void | setUniformCellSize (const QSize &size) |
virtual void | iconCellReleaseIcon (const QPoint &cellCoordinate) |
virtual IconCell * | iconCellAtLayoutCoordinate (const QPointF &coordinate) |
virtual IconCell * | iconCellAtLayoutCoordinate (const QPointF &layoutCoordinate, QPoint &r_gridCoordinate) |
virtual QRectF | rowArea (quint32 rowIndex) const |
virtual QPoint | lastOccupiedGridPosition () const |
virtual QPoint | nextAppendGridPosition () const |
virtual qint32 | rowAtLayoutCoordinate (const QPointF &layoutCoordinate, bool clipMinMax=false) |
virtual qint32 | rowAtLayoutCoordinateFuzzy (const QPointF &layoutCoordinate, bool clipMinMax=false) |
virtual IconCell * | iconCellAtGridCoordinate (const QPoint &gridCoordinate) |
virtual bool | layoutCoordinateForGridCoordinate (const QPoint &gridCoordinate, QPointF &r_layoutCoordinate) |
virtual IconCell * | findIconByUid (const QUuid &iconUid, QPoint &r_gridCoordinate, bool includePendingIconsInCells=false) |
virtual QList< IconCell * > | iconCellsInFlowOrder () |
virtual IconBase * | startTrackingIcon (const QPoint &gridCoord, bool includePendingIconsInCells=false) |
virtual IconBase * | startTrackingIconFromTransfer (const QPoint &gridCoord, IconBase *iconTracked) |
virtual bool | startTrackingIcon (IconBase *p_icon, QPoint &r_gridCoord) |
virtual bool | trackedIconMovedTo (IconBase *p_icon, const QPoint &gridCoord, QPoint &r_newGridCoord) |
virtual void | stopTrackingIcon (IconBase *p_icon) |
virtual void | stopTrackingAll () |
virtual bool | trackedIconLeavingLayout (const QUuid &trackedIconUid) |
virtual IconBase * | getTrackedIconByUid (const QUuid &trackedIconUid) |
virtual bool | lastTrackedPosition (const QUuid &iconUid, QPoint &r_lastGridCoord) |
virtual QList< IconOperation > | opListForMove (const QPoint &sourceColumnRow, const QPoint &destColumnRow) |
virtual QAnimationGroup * | animationsForOpList (QList< IconOperation > &opList) |
virtual bool | initializePendingCellListFromOpList (QList< IconOperation > &opList) |
virtual bool | commitPending () |
virtual bool | commitTracked (const QUuid &iconUid) |
virtual bool | commitTracked (const QUuid &iconUid, const QPoint &lastGridCoord) |
virtual bool | executeOpList (QList< IconOperation > &opList) |
virtual IconReorderAnimation * | animationForTrackedIconFinal (const QUuid &trackedIconUid) |
virtual IconReorderAnimation * | animationForTrackedIconFinal (const QUuid &trackedIconUid, const QPoint &lastGridCoord) |
virtual void | cancelAllReorder () |
virtual void | commitPendingImmediately () |
virtual void | commitTrackedImmediately (const QUuid &iconUid) |
virtual void | commitTrackedImmediately (const QUuid &iconUid, const QPoint &lastGridCoord) |
virtual bool | areTherePendingReorderAnimations () |
virtual quint32 | addIcon (IconBase *p_icon) |
virtual quint32 | addIcon (IconCell *p_cell) |
virtual QPoint | addEmptyCell () |
virtual quint32 | addIconAt (IconBase *p_icon, const QPoint &gridCoordinate) |
virtual quint32 | addIconAt (IconCell *p_cell, const QPoint &gridCoordinate) |
virtual QPoint | addEmptyCellAt (const QPoint &gridCoordinate) |
virtual bool | removeIconCell (const QPoint &gridCoordinate) |
Public Member Functions inherited from IconLayout | |
IconLayout (Page *p_owner) | |
virtual | ~IconLayout () |
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 QRectF | geometry () |
virtual QRectF | relativeGeometry () |
virtual QPointF | position () |
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 |
Public Member Functions inherited from LayoutItem | |
LayoutItem () | |
virtual | ~LayoutItem () |
Static Public Member Functions | |
static void | initLayoutFromSequentialIconList (ReorderableIconLayout &layout, const IconList iconList) |
Protected Types | |
typedef QList< IconRow * > | IconRowList |
typedef IconRowList::const_iterator | IconRowConstIter |
typedef IconRowList::iterator | IconRowIter |
Protected Slots | |
virtual void | slotReorderAnimationsFinished () |
protected Q_SLOTS: More... | |
virtual void | slotTrackedIconReplacementAnimationFinished () |
virtual void | slotTrackForIconEnded () |
virtual void | dbg_reorderFSMStateEntered () |
Protected Member Functions | |
virtual void | destroyAllRows () |
used by relayoutExisting() More... | |
virtual qint32 | calculateAndSetHorizontalSpaceParameters () |
virtual void | relayoutExisting () |
virtual void | setupReorderFSM () |
virtual void | startReorderFSM () |
virtual void | stopReorderFSM () |
virtual bool | isReorderStateConsistent () const |
virtual void | switchIconsToReorderGraphics () |
virtual void | switchIconsToNormalGraphics () |
virtual void | switchIconToReorderGraphics (IconCell *p_iconCell) |
virtual void | switchIconToNormalGraphics (IconCell *p_iconCell) |
virtual void | switchIconToReorderGraphics (IconBase *p_icon) |
virtual void | switchIconToNormalGraphics (IconBase *p_icon) |
Static Protected Attributes | |
static const char * | ReorderFSMPropertyName_isConsistent = "isConsistent" |
Friends | |
class | ReorderablePage |
QDataStream & | operator<< (QDataStream &stream, const ReorderableIconLayout &s) |
More... | |
QDataStream & | operator>> (QDataStream &stream, ReorderableIconLayout &s) |
QDebug | operator<< (QDebug dbg, const ReorderableIconLayout &s) |
|
protected |
|
protected |
|
protected |
ReorderableIconLayout::ReorderableIconLayout | ( | ReorderablePage * | p_owner | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtual |
used by relayoutExisting()
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
|
static |
START THE LAYOUT
|
protectedvirtual |
can't be sure of state w/o the FSM
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
protectedvirtual |
|
virtual |
ugh, horrible! go check code - something is seriously wrong!
|
virtual |
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from IconLayout.
|
virtual |
Reimplemented from IconLayout.
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedvirtualslot |
protected Q_SLOTS:
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |