LibrePCB Developers Documentation
Length Member List

This is the complete list of members for Length, including all inherited members.

abs() const noexceptLength
checkRange(qreal nanometers, bool doThrow=false)Lengthprivatestatic
fromInch(qreal inches, const Length &gridInterval=Length(0))Lengthstatic
fromMil(qreal mils, const Length &gridInterval=Length(0))Lengthstatic
fromMm(qreal millimeters, const Length &gridInterval=Length(0))Lengthstatic
fromMm(const QString &millimeters, const Length &gridInterval=Length(0))Lengthstatic
fromPx(qreal pixels, const Length &gridInterval=Length(0))Lengthstatic
isValidMm(qreal millimeters) noexceptLengthinlinestatic
Length() noexceptLengthinline
Length(const Length &length) noexceptLengthinline
Length(LengthBase_t nanometers) noexceptLengthinline
makeAbs() noexceptLength
mapNmToGrid(LengthBase_t nanometers, const Length &gridInterval) noexceptLengthprivatestatic
mappedToGrid(const Length &gridInterval) const noexceptLength
mapToGrid(const Length &gridInterval) noexceptLength
max() noexceptLengthstatic
min() noexceptLengthstatic
mmStringToNm(const QString &millimeters)Lengthprivatestatic
mNanometersLengthprivate
operator!=(const Length &rhs) constLengthinline
operator!=(LengthBase_t rhs) constLengthinline
operator%(const Length &rhs) constLengthinline
operator*(const Length &rhs) constLengthinline
operator*(LengthBase_t rhs) constLengthinline
operator*=(const Length &rhs)Lengthinline
operator*=(LengthBase_t rhs)Lengthinline
operator+(const Length &rhs) constLengthinline
operator+=(const Length &rhs)Lengthinline
operator-() constLengthinline
operator-(const Length &rhs) constLengthinline
operator-=(const Length &rhs)Lengthinline
operator/(const Length &rhs) constLengthinline
operator/(LengthBase_t rhs) constLengthinline
operator/=(const Length &rhs)Lengthinline
operator/=(LengthBase_t rhs)Lengthinline
operator<(const Length &rhs) constLengthinline
operator<(LengthBase_t rhs) constLengthinline
operator<=(const Length &rhs) constLengthinline
operator<=(LengthBase_t rhs) constLengthinline
operator=(const Length &rhs)Lengthinline
operator==(const Length &rhs) constLengthinline
operator==(LengthBase_t rhs) constLengthinline
operator>(const Length &rhs) constLengthinline
operator>(LengthBase_t rhs) constLengthinline
operator>=(const Length &rhs) constLengthinline
operator>=(LengthBase_t rhs) constLengthinline
scale(qreal factor) noexceptLength
scaled(qreal factor) const noexceptLength
setLengthFromFloat(qreal nanometers)Lengthprivate
setLengthInch(qreal inches)Lengthinline
setLengthMil(qreal mils)Lengthinline
setLengthMm(qreal millimeters)Lengthinline
setLengthMm(const QString &millimeters)Lengthinline
setLengthNm(LengthBase_t nanometers) noexceptLengthinline
setLengthPx(qreal pixels)Lengthinline
sNmPerInchLengthprivatestatic
sNmPerMilLengthprivatestatic
sNmPerPixelLengthprivatestatic
sPixelsPerInchLengthprivatestatic
sPixelsPerNmLengthprivatestatic
toInch() const noexceptLengthinline
toMicrometers() const noexceptLengthinline
toMil() const noexceptLengthinline
toMm() const noexceptLengthinline
toMmString() const noexceptLength
toNm() const noexceptLengthinline
toNmString() const noexceptLengthinline
toPx() const noexceptLengthinline
~Length()=defaultLength