LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dimensionsglobal.h File Reference
#include <qglobal.h>
#include <qmath.h>
#include <QRectF>
#include <QPoint>
#include <QPointF>
#include <QUuid>
#include <QHash>
#include <QVariantMap>
Include dependency graph for dimensionsglobal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DimensionsGlobal
 
namespace  DimensionsGlobal::RectCornerName
 
namespace  DimensionsGlobal::RectPointName
 

Typedefs

typedef QVariantMap DimensionsGlobal::VHDescriptor
 

Enumerations

enum  DimensionsGlobal::RectCornerName::Enum { DimensionsGlobal::RectCornerName::TopLeft, DimensionsGlobal::RectCornerName::TopRight, DimensionsGlobal::RectCornerName::BottomLeft, DimensionsGlobal::RectCornerName::BottomRight }
 
enum  DimensionsGlobal::RectPointName::Enum {
  DimensionsGlobal::RectPointName::TopLeft = RectCornerName::TopLeft, DimensionsGlobal::RectPointName::TopRight = RectCornerName::TopRight, DimensionsGlobal::RectPointName::BottomLeft = RectCornerName::BottomLeft, DimensionsGlobal::RectPointName::BottomRight = RectCornerName::BottomRight,
  DimensionsGlobal::RectPointName::Center, DimensionsGlobal::RectPointName::TopCenter, DimensionsGlobal::RectPointName::RightCenter, DimensionsGlobal::RectPointName::BottomCenter,
  DimensionsGlobal::RectPointName::LeftCenter
}
 

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)
 
QPoint DimensionsGlobal::realPointAsPixelPosition (const QPointF &p)
 
QPoint DimensionsGlobal::realPointAsPixelSize (const QPointF &p)
 
QRectF DimensionsGlobal::realRectToPixelCompatibleForm (const QRectF &rect)
 
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 &)
 

Function Documentation

int qHash ( const QUuid &  )