55 #ifndef VTRANSLATEMEASUREMENTS_H
56 #define VTRANSLATEMEASUREMENTS_H
62 #include "../qmuparser/qmutranslation.h"
70 bool MeasurementsFromUser(QString &newFormula,
int position,
const QString &token,
int &bias)
const;
72 QString
MToUser(
const QString &measurement)
const;
73 QString
MNumber(
const QString &measurement)
const;
74 QString
MFormula(
const QString &measurement)
const;
75 QString
guiText(
const QString &measurement)
const;
76 QString
Description(
const QString &measurement)
const;
110 void InitMeasurement(const QString &name, const
qmu::QmuTranslation &m, const
qmu::QmuTranslation &g,
111 const
qmu::QmuTranslation &d, const QString &number, const QString &formula = QString());
QMap< QString, QString > m_formulas
QString guiText(const QString &measurement) const
virtual ~VTranslateMeasurements()
void InitMeasurement(const QString &name, const qmu::QmuTranslation &m, const qmu::QmuTranslation &g, const qmu::QmuTranslation &d, const QString &number, const QString &formula=QString())
QString MNumber(const QString &measurement) const
bool MeasurementsFromUser(QString &newFormula, int position, const QString &token, int &bias) const
MeasurementsFromUser translate measurement to internal look.
QString MToUser(const QString &measurement) const
QMap< QString, qmu::QmuTranslation > m_descriptions
QMap< QString, qmu::QmuTranslation > m_guiTexts
QMap< QString, qmu::QmuTranslation > m_measurements
QString Description(const QString &measurement) const
QString MFormula(const QString &measurement) const
virtual void Retranslate()
QMap< QString, QString > m_numbers
Namespace for mathematical applications.