Engauge Digitizer
2
Loading...
Searching...
No Matches
Format
FormatCoordsUnitsStrategyPolarTheta.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
8
#define FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
9
10
#include "
CoordUnitsPolarTheta.h
"
11
#include "
DocumentModelGeneral.h
"
12
#include "
FormatCoordsUnitsStrategyAbstractBase.h
"
13
#include <QString>
14
15
class
QLocale;
16
class
Transformation
;
17
19
class
FormatCoordsUnitsStrategyPolarTheta
:
public
FormatCoordsUnitsStrategyAbstractBase
{
20
public
:
22
FormatCoordsUnitsStrategyPolarTheta
();
23
25
double
formattedToUnformatted
(
const
QString &
string
,
26
const
QLocale &locale,
27
CoordUnitsPolarTheta
coordUnits)
const
;
28
30
QString
unformattedToFormatted
(
double
valueUnformatted,
31
const
QLocale &locale,
32
CoordUnitsPolarTheta
coordUnits,
33
const
DocumentModelGeneral
&modelGeneral,
34
const
Transformation
&transformation,
35
double
valueUnformattedOther)
const
;
36
};
37
38
#endif
// FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
CoordUnitsPolarTheta.h
CoordUnitsPolarTheta
CoordUnitsPolarTheta
Definition
CoordUnitsPolarTheta.h:14
DocumentModelGeneral.h
FormatCoordsUnitsStrategyAbstractBase.h
DocumentModelGeneral
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Definition
DocumentModelGeneral.h:17
FormatCoordsUnitsStrategyAbstractBase::FormatCoordsUnitsStrategyAbstractBase
FormatCoordsUnitsStrategyAbstractBase()
Single constructor.
Definition
FormatCoordsUnitsStrategyAbstractBase.cpp:13
FormatCoordsUnitsStrategyPolarTheta::formattedToUnformatted
double formattedToUnformatted(const QString &string, const QLocale &locale, CoordUnitsPolarTheta coordUnits) const
Convert formatted string to simple unformatted number.
Definition
FormatCoordsUnitsStrategyPolarTheta.cpp:18
FormatCoordsUnitsStrategyPolarTheta::FormatCoordsUnitsStrategyPolarTheta
FormatCoordsUnitsStrategyPolarTheta()
Single constructor.
Definition
FormatCoordsUnitsStrategyPolarTheta.cpp:14
FormatCoordsUnitsStrategyPolarTheta::unformattedToFormatted
QString unformattedToFormatted(double valueUnformatted, const QLocale &locale, CoordUnitsPolarTheta coordUnits, const DocumentModelGeneral &modelGeneral, const Transformation &transformation, double valueUnformattedOther) const
Convert simple unformatted number to formatted string.
Definition
FormatCoordsUnitsStrategyPolarTheta.cpp:53
Transformation
Affine transformation between screen and graph coordinates, based on digitized axis points.
Definition
Transformation.h:32
Generated on
for Engauge Digitizer by
1.14.0