QgsTextFormat format() const
Returns the text format used for previewing text in the widget.
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.
A widget for previewing text formatting settings.
double scale() const
Returns the scale used for previewing format sizes in map units.