Dokit
Internal development documentation
|
Encapsulates convenience functions for working with capacitance ranges. More...
Functions | |
QString | toString (const PokitProduct product, const quint8 range) |
Returns product's capacitance range as a human-friendly string. | |
QVariant | maxValue (const PokitProduct product, const quint8 range) |
Returns the maximum value for product's range in (integer) nanofarads, or the string "Auto". | |
Encapsulates convenience functions for working with capacitance ranges.
QTPOKIT_EXPORT QVariant CapacitanceRange::maxValue | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns the maximum value for product's range in (integer) nanofarads, or the string "Auto".
If range is not a known valid value, then an null QVariant is returned.
Definition at line 157 of file pokitproducts.cpp.
References QString::arg(), PokitPro::maxValue(), PokitMeter, PokitPro, and QCoreApplication::translate().
Referenced by MultimeterService::maxValue().
QTPOKIT_EXPORT QString CapacitanceRange::toString | ( | const PokitProduct | product, |
const quint8 | range ) |
Returns product's capacitance range as a human-friendly string.
Definition at line 134 of file pokitproducts.cpp.
References QString::arg(), PokitMeter, PokitPro, PokitPro::toString(), and QCoreApplication::translate().
Referenced by MultimeterService::toString().