Base::UnitsSchemaCentimeters Class Reference
The UnitSchema class. More...
#include <UnitsSchemaCentimeters.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 (void) |
If you use setSchemaUnits() you also have to impment this method to undo your changes! More... | |
virtual void | setSchemaUnits (void) |
Gets called if this schema gets activated. More... | |
QString | toLocale (const Base::Quantity &quant, double factor, const QString &unitString) const |
virtual | ~UnitsSchema () |
Detailed Description
The UnitSchema class.
Member Function Documentation
◆ schemaTranslate()
|
virtual |
This method translates the quantity in a string as the user may expect it.
Implements Base::UnitsSchema.
References Base::Unit::Area, Base::Unit::ElectricPotential, Base::Unit::getString(), Base::Quantity::getUnit(), Base::Unit::HeatFlux, Base::Unit::Length, Base::Unit::Power, Base::UnitsSchema::toLocale(), Base::Unit::Velocity, and Base::Unit::Volume.
The documentation for this class was generated from the following files:
- src/Base/UnitsSchemaCentimeters.h
- src/Base/UnitsSchemaCentimeters.cpp