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