99 Q_INVOKABLE
static Qgis::UnitType decodeUnitType(
const QString &
string,
bool *ok
SIP_OUT =
nullptr );
180 Q_INVOKABLE
static Qgis::AreaUnit decodeAreaUnit(
const QString &
string,
bool *ok
SIP_OUT =
nullptr );
204 Q_INVOKABLE
static Qgis::AreaUnit stringToAreaUnit(
const QString &
string,
bool *ok
SIP_OUT =
nullptr );
403 Q_INVOKABLE
static QString formatAngle(
double angle,
int decimals,
Qgis::AngleUnit unit );
435 Q_INVOKABLE
static QString formatDistance(
double distance,
int decimals,
Qgis::DistanceUnit unit,
bool keepBaseUnit =
false );
447 Q_INVOKABLE
static QString formatArea(
double area,
int decimals,
Qgis::AreaUnit unit,
bool keepBaseUnit =
false );
DistanceUnitType
Types of distance units.
LayoutUnit
Layout measurement units.
AngleUnit
Units of angles.
DistanceUnit
Units of distance.
TemporalUnit
Temporal units.
RenderUnit
Rendering size units.
LayoutUnitType
Types of layout units.
VolumeUnit
Units of volume.
Helper functions for various unit types.
QList< Qgis::RenderUnit > RenderUnitList
List of render units.
A combination of area value and unit.
double value
The value part of the distance.
Qgis::AreaUnit unit
The value part of the distance.
A combination of distance value and unit.
double value
The value part of the distance.
Qgis::DistanceUnit unit
The value part of the distance.