22 #ifndef DIMENSIONSGLOBAL_H_
23 #define DIMENSIONSGLOBAL_H_
32 #include <QVariantMap>
38 namespace DimensionsGlobal
41 namespace RectCornerName
51 namespace RectPointName
73 qint32
Even(qint32 v);
74 quint32
Even(quint32 v);
88 const QSizeF& distance,
const qreal xFractional,
const qreal yFractional);
100 QRectF
relativeGeom(
const QRectF& geometry,
const QPointF& position);
104 QSizeF
fractionalSizeF(
const QSizeF& size,
const qreal wFractional,
const qreal hFractional);
105 QSize
fractionalSize(
const QSizeF& size,
const qreal wFractional,
const qreal hFractional);
123 quint32
maxCellWidth(
const quint32 howManyCells,
const quint32 areaWidth);
124 quint32
maxCellWidth(
const quint32 howManyCells,
const qreal areaWidthF);
125 quint32
maxCellWidth(
const quint32 howManyCells,
const QSize& areaSize);
126 quint32
maxCellWidth(
const quint32 howManyCells,
const QSizeF& areaSizeF);
160 int qHash(
const QUuid&);