A widget for previewing text formatting settings.
QgsUnitTypes::DistanceUnit mapUnits() const
Returns the map unit type used for previewing format sizes in map units.
Contains information about the context of a rendering operation.
double scale() const
Returns the scale used for previewing format sizes in map units.