Engauge Digitizer  2
FormatCoordsUnits.h
1 #ifndef FORMAT_COORDS_UNITS_H
2 #define FORMAT_COORDS_UNITS_H
3 
5 class MainWindowModel;
6 class QString;
7 class Transformation;
8 
11  public:
14 
16  void formattedToUnformatted (const QString &xThetaFormatted,
17  const QString &yRadiusFormatted,
18  const DocumentModelCoords &modelCoords,
19  const MainWindowModel &mainWindowModel,
20  double &xThetaUnformatted,
21  double &yRadiusUnformatted) const;
22 
24  void unformattedToFormatted (double xThetaUnformatted,
25  double yRadiusUnformatted,
26  const DocumentModelCoords &modelCoords,
27  const MainWindowModel &mainWindowModel,
28  QString &xThetaFormatted,
29  QString &yRadiusFormatted,
30  const Transformation &transformation) const;
31 };
32 
33 #endif // FORMAT_COORDS_UNITS_H
void formattedToUnformatted(const QString &xThetaFormatted, const QString &yRadiusFormatted, const DocumentModelCoords &modelCoords, const MainWindowModel &mainWindowModel, double &xThetaUnformatted, double &yRadiusUnformatted) const
Convert formatted string to unformatted numeric value.
FormatCoordsUnits()
Single constructor.
void unformattedToFormatted(double xThetaUnformatted, double yRadiusUnformatted, const DocumentModelCoords &modelCoords, const MainWindowModel &mainWindowModel, QString &xThetaFormatted, QString &yRadiusFormatted, const Transformation &transformation) const
Convert unformatted numeric value to formatted string. Transformation is used to determine best resol...
Affine transformation between screen and graph coordinates, based on digitized axis points...
Model for DlgSettingsMainWindow and CmdSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.
Highest-level wrapper around other Formats classes.