LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DimensionsGlobal Namespace Reference

Namespaces

namespace  RectCornerName
 
namespace  RectPointName
 

Typedefs

typedef QVariantMap VHDescriptor
 

Functions

qreal roundDownF (qreal v)
 
qint32 roundDown (qreal v)
 
qreal roundUpF (qreal v)
 
qint32 roundUp (qreal v)
 
bool isZeroF (qreal v)
 
qint32 Even (qint32 v)
 
quint32 Even (quint32 v)
 
quint32 approximateDistance (const QPoint &p1, const QPoint &p2)
 
quint32 approximateDistance (const QPointF &pf1, const QPointF &pf2)
 
qint32 realAsPixelPosition (const qreal v)
 
qint32 realAsPixelSize (const qreal v)
 
QRectF realRectToPixelCompatibleForm (const QRectF &rect)
 
QPoint realPointAsPixelPosition (const QPointF &p)
 
QPoint realPointAsPixelSize (const QPointF &p)
 
QPointF positionFromSizeF (const QSizeF &s)
 
QPointF positionFromSize (const QSize &s)
 
QPointF positionFromFraction (const QPointF &basePoint, const QSizeF &distance, const qreal xFractional, const qreal yFractional)
 
QPointF reoriginTopLeftToCenter (const QPointF &origin, const QSizeF &size)
 
QPointF reoriginCenterTopLeft (const QPointF &origin, const QSizeF &size)
 
QPointF realPointOnRectF (const QRectF &rect, RectPointName::Enum pointName)
 
QRectF moveRectFcopy (const QRectF &rect, const QPointF &moveToPoint, RectPointName::Enum referencePointName)
 
QRectF & moveRectF (QRectF &rect, const QPointF &moveToPoint, RectPointName::Enum referencePointName)
 
QRectF relativeGeom (const QRectF &geometry, const QPointF &position)
 
QSizeF fractionalSizeF (const QSizeF &size, const qreal wFractional, const qreal hFractional)
 
QSize fractionalSize (const QSizeF &size, const qreal wFractional, const qreal hFractional)
 
qreal fractionalSizeF (qreal v, qreal fractional)
 
quint32 fractionalSize (quint32 v, qreal fractional)
 
qreal fractionalSizeF (qreal v, quint32 fractional)
 
quint32 fractionalSize (quint32 v, quint32 fractional)
 
QRectF realRectAroundRealPoint (const QPointF &centerPt, const QSizeF &rectSize)
 
QRectF realRectAroundRealPoint (const QSizeF &rectSize)
 
QRectF realRectAroundRealPoint (const QSize &rectSize)
 
quint32 howManyFitHorizontally (const quint32 cellWidth, const quint32 areaWidth)
 
quint32 howManyFitHorizontally (const qreal cellWidthF, const qreal areaWidthF)
 
quint32 howManyFitHorizontally (const QSize &cellSize, const QSize &areaSize)
 
quint32 howManyFitHorizontally (const QSizeF &cellSizeF, const QSizeF &areaSizeF)
 
quint32 maxCellWidth (const quint32 howManyCells, const quint32 areaWidth)
 
quint32 maxCellWidth (const quint32 howManyCells, const qreal areaWidthF)
 
quint32 maxCellWidth (const quint32 howManyCells, const QSize &areaSize)
 
quint32 maxCellWidth (const quint32 howManyCells, const QSizeF &areaSizeF)
 
quint32 indentForCenteredDimensions (const quint32 outerDimension, const quint32 innerDimension)
 
qreal indentForCenteredDimensions (const qreal outerDimensionF, const qreal innerDimensionF)
 
QPointF centerRectInRect (const QRectF &outer, const QRectF &inner)
 
QPoint centerRectInRectPixelAlign (const QRectF &outer, const QRectF &inner)
 
QPoint centerRectInRectPixelAlign (const QRect &outer, const QRect &inner)
 
QPointF mapFromGlobalCS (const QPointF &globalPointF)
 
QGraphicsScene * globalGraphicsScene ()
 
QStatecreateFSMState (const QString &stateName, QState *parent)
 

Typedef Documentation

typedef QVariantMap DimensionsGlobal::VHDescriptor

Function Documentation

quint32 DimensionsGlobal::approximateDistance ( const QPoint &  p1,
const QPoint &  p2 
)
quint32 DimensionsGlobal::approximateDistance ( const QPointF &  pf1,
const QPointF &  pf2 
)
QPointF DimensionsGlobal::centerRectInRect ( const QRectF &  outer,
const QRectF &  inner 
)
QPoint DimensionsGlobal::centerRectInRectPixelAlign ( const QRectF &  outer,
const QRectF &  inner 
)
QPoint DimensionsGlobal::centerRectInRectPixelAlign ( const QRect &  outer,
const QRect &  inner 
)
QState * DimensionsGlobal::createFSMState ( const QString &  stateName,
QState parent 
)
qint32 DimensionsGlobal::Even ( qint32  v)
quint32 DimensionsGlobal::Even ( quint32  v)
QSize DimensionsGlobal::fractionalSize ( const QSizeF &  size,
const qreal  wFractional,
const qreal  hFractional 
)
quint32 DimensionsGlobal::fractionalSize ( quint32  v,
qreal  fractional 
)
quint32 DimensionsGlobal::fractionalSize ( quint32  v,
quint32  fractional 
)
QSizeF DimensionsGlobal::fractionalSizeF ( const QSizeF &  size,
const qreal  wFractional,
const qreal  hFractional 
)
qreal DimensionsGlobal::fractionalSizeF ( qreal  v,
qreal  fractional 
)
qreal DimensionsGlobal::fractionalSizeF ( qreal  v,
quint32  fractional 
)
QGraphicsScene * DimensionsGlobal::globalGraphicsScene ( )
quint32 DimensionsGlobal::howManyFitHorizontally ( const quint32  cellWidth,
const quint32  areaWidth 
)
quint32 DimensionsGlobal::howManyFitHorizontally ( const qreal  cellWidthF,
const qreal  areaWidthF 
)
quint32 DimensionsGlobal::howManyFitHorizontally ( const QSize &  cellSize,
const QSize &  areaSize 
)
quint32 DimensionsGlobal::howManyFitHorizontally ( const QSizeF &  cellSizeF,
const QSizeF &  areaSizeF 
)
quint32 DimensionsGlobal::indentForCenteredDimensions ( const quint32  outerDimension,
const quint32  innerDimension 
)
qreal DimensionsGlobal::indentForCenteredDimensions ( const qreal  outerDimensionF,
const qreal  innerDimensionF 
)
bool DimensionsGlobal::isZeroF ( qreal  v)
QPointF DimensionsGlobal::mapFromGlobalCS ( const QPointF &  globalPointF)
quint32 DimensionsGlobal::maxCellWidth ( const quint32  howManyCells,
const quint32  areaWidth 
)
quint32 DimensionsGlobal::maxCellWidth ( const quint32  howManyCells,
const qreal  areaWidthF 
)
quint32 DimensionsGlobal::maxCellWidth ( const quint32  howManyCells,
const QSize &  areaSize 
)
quint32 DimensionsGlobal::maxCellWidth ( const quint32  howManyCells,
const QSizeF &  areaSizeF 
)
QRectF & DimensionsGlobal::moveRectF ( QRectF &  rect,
const QPointF &  moveToPoint,
RectPointName::Enum  referencePointName 
)
QRectF DimensionsGlobal::moveRectFcopy ( const QRectF &  rect,
const QPointF &  moveToPoint,
RectPointName::Enum  referencePointName 
)
QPointF DimensionsGlobal::positionFromFraction ( const QPointF &  basePoint,
const QSizeF &  distance,
const qreal  xFractional,
const qreal  yFractional 
)
QPointF DimensionsGlobal::positionFromSize ( const QSize &  s)
QPointF DimensionsGlobal::positionFromSizeF ( const QSizeF &  s)
qint32 DimensionsGlobal::realAsPixelPosition ( const qreal  v)
qint32 DimensionsGlobal::realAsPixelSize ( const qreal  v)
QPoint DimensionsGlobal::realPointAsPixelPosition ( const QPointF &  p)
QPoint DimensionsGlobal::realPointAsPixelSize ( const QPointF &  p)
QPointF DimensionsGlobal::realPointOnRectF ( const QRectF &  rect,
RectPointName::Enum  pointName 
)
QRectF DimensionsGlobal::realRectAroundRealPoint ( const QPointF &  centerPt,
const QSizeF &  rectSize 
)
QRectF DimensionsGlobal::realRectAroundRealPoint ( const QSizeF &  rectSize)
QRectF DimensionsGlobal::realRectAroundRealPoint ( const QSize &  rectSize)
QRectF DimensionsGlobal::realRectToPixelCompatibleForm ( const QRectF &  rect)
QRectF DimensionsGlobal::relativeGeom ( const QRectF &  geometry,
const QPointF &  position 
)
QPointF DimensionsGlobal::reoriginCenterTopLeft ( const QPointF &  origin,
const QSizeF &  size 
)
QPointF DimensionsGlobal::reoriginTopLeftToCenter ( const QPointF &  origin,
const QSizeF &  size 
)
qint32 DimensionsGlobal::roundDown ( qreal  v)
qreal DimensionsGlobal::roundDownF ( qreal  v)
qint32 DimensionsGlobal::roundUp ( qreal  v)
qreal DimensionsGlobal::roundUpF ( qreal  v)