Base::UnitsSchemaMmMin Class Reference

#include <UnitsSchemaMmMin.h>

Public Member Functions

virtual QString schemaTranslate (const Base::Quantity &quant, double &factor, QString &unitString)
 This method translates the quantity in a string as the user may expect it. More...
 
- Public Member Functions inherited from Base::UnitsSchema
virtual void resetSchemaUnits ()
 If you use setSchemaUnits() you also have to impment this method to undo your changes! More...
 
virtual QString schemaTranslate (const Base::Quantity &quant, double &factor, QString &unitString)=0
 This method translates the quantity in a string as the user may expect it. More...
 
virtual void setSchemaUnits ()
 Gets called if this schema gets activated. More...
 
QString toLocale (const Base::Quantity &quant, double factor, const QString &unitString) const
 
virtual ~UnitsSchema ()
 

Member Function Documentation

◆ schemaTranslate()

QString UnitsSchemaMmMin::schemaTranslate ( const Base::Quantity quant,
double &  factor,
QString &  unitString 
)
virtual

This method translates the quantity in a string as the user may expect it.

Implements Base::UnitsSchema.

References Base::Unit::Angle, Base::Unit::getString(), Base::Quantity::getUnit(), Base::Unit::Length, Base::UnitsSchema::toLocale(), and Base::Unit::Velocity.


The documentation for this class was generated from the following files: