LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dimensionsglobal.cpp File Reference
#include "dimensionsglobal.h"
#include "WindowServer.h"
#include "WindowServerLuna.h"
#include <QGraphicsScene>
#include <QState>
#include <QStateMachine>
Include dependency graph for dimensionsglobal.cpp:

Namespaces

namespace  DimensionsGlobal
 

Functions

qreal DimensionsGlobal::roundDownF (qreal v)
 
qint32 DimensionsGlobal::roundDown (qreal v)
 
qreal DimensionsGlobal::roundUpF (qreal v)
 
qint32 DimensionsGlobal::roundUp (qreal v)
 
bool DimensionsGlobal::isZeroF (qreal v)
 
qint32 DimensionsGlobal::Even (qint32 v)
 
quint32 DimensionsGlobal::Even (quint32 v)
 
quint32 DimensionsGlobal::approximateDistance (const QPoint &p1, const QPoint &p2)
 
quint32 DimensionsGlobal::approximateDistance (const QPointF &pf1, const QPointF &pf2)
 
qint32 DimensionsGlobal::realAsPixelPosition (const qreal v)
 
qint32 DimensionsGlobal::realAsPixelSize (const qreal v)
 
QRectF DimensionsGlobal::realRectToPixelCompatibleForm (const QRectF &rect)
 
QPoint DimensionsGlobal::realPointAsPixelPosition (const QPointF &p)
 
QPoint DimensionsGlobal::realPointAsPixelSize (const QPointF &p)
 
QPointF DimensionsGlobal::positionFromSizeF (const QSizeF &s)
 
QPointF DimensionsGlobal::positionFromSize (const QSize &s)
 
QPointF DimensionsGlobal::positionFromFraction (const QPointF &basePoint, const QSizeF &distance, const qreal xFractional, const qreal yFractional)
 
QPointF DimensionsGlobal::reoriginTopLeftToCenter (const QPointF &origin, const QSizeF &size)
 
QPointF DimensionsGlobal::reoriginCenterTopLeft (const QPointF &origin, const QSizeF &size)
 
QPointF DimensionsGlobal::realPointOnRectF (const QRectF &rect, RectPointName::Enum pointName)
 
QRectF DimensionsGlobal::moveRectFcopy (const QRectF &rect, const QPointF &moveToPoint, RectPointName::Enum referencePointName)
 
QRectF & DimensionsGlobal::moveRectF (QRectF &rect, const QPointF &moveToPoint, RectPointName::Enum referencePointName)
 
QRectF DimensionsGlobal::relativeGeom (const QRectF &geometry, const QPointF &position)
 
QSizeF DimensionsGlobal::fractionalSizeF (const QSizeF &size, const qreal wFractional, const qreal hFractional)
 
QSize DimensionsGlobal::fractionalSize (const QSizeF &size, const qreal wFractional, const qreal hFractional)
 
qreal DimensionsGlobal::fractionalSizeF (qreal v, qreal fractional)
 
quint32 DimensionsGlobal::fractionalSize (quint32 v, qreal fractional)
 
qreal DimensionsGlobal::fractionalSizeF (qreal v, quint32 fractional)
 
quint32 DimensionsGlobal::fractionalSize (quint32 v, quint32 fractional)
 
QRectF DimensionsGlobal::realRectAroundRealPoint (const QPointF &centerPt, const QSizeF &rectSize)
 
QRectF DimensionsGlobal::realRectAroundRealPoint (const QSizeF &rectSize)
 
QRectF DimensionsGlobal::realRectAroundRealPoint (const QSize &rectSize)
 
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::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)
 
quint32 DimensionsGlobal::indentForCenteredDimensions (const quint32 outerDimension, const quint32 innerDimension)
 
qreal DimensionsGlobal::indentForCenteredDimensions (const qreal outerDimensionF, const qreal innerDimensionF)
 
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)
 
QPointF DimensionsGlobal::mapFromGlobalCS (const QPointF &globalPointF)
 
QGraphicsScene * DimensionsGlobal::globalGraphicsScene ()
 
QStateDimensionsGlobal::createFSMState (const QString &stateName, QState *parent)
 
int qHash (const QUuid &q)
 

Function Documentation

int qHash ( const QUuid &  q)