| 94 | } |
| 95 | |
| 96 | void PrefixFormatter::getFormatAttributes(double value, QString &prefix, double &scale) const |
| 97 | { |
| 98 | int index = findPrefixIndex(value); |
| 99 | |
| 100 | prefix = m_prefixes[index].first; |
| 101 | scale = m_prefixes[index].second; |
| 102 | } |
| 103 | |
| 104 | QString PrefixFormatter::getFormatedMeasureUnit(double value) |
| 105 | { |