1 #ifndef TRANSFORMATION_H
2 #define TRANSFORMATION_H
4 #include "CmdMediator.h"
5 #include "DocumentModelCoords.h"
6 #include "MainWindowModel.h"
49 const QPointF &posFrom1,
50 const QPointF &posFrom2,
51 const QPointF &posTo0,
52 const QPointF &posTo1,
53 const QPointF &posTo2);
57 const QPointF &posGraphIn);
61 const QPointF &posGraphIn);
65 QString &coordsScreen,
67 QString &resolutionGraph);
81 QTextStream &str)
const;
91 QPointF &coordScreen)
const;
95 QPointF &coordScreen)
const;
102 QPointF &pointLinearCartesian)
const;
106 QPointF &pointScreen)
const;
110 QPointF &pointLinearCartesian)
const;
114 QPointF &coordGraph)
const;
117 void update (
bool fileIsLoaded,
124 double roundOffSmallValues (
double value,
double range);
131 void updateTransformFromMatrices (
const QTransform &matrixScreen,
132 const QTransform &matrixGraph);
135 bool m_transformIsDefined;
138 QTransform m_transform;
151 #endif // TRANSFORMATION_H
Model for DlgSettingsMainWindow and CmdSettingsMainWindow.
Model for DlgSettingsCoords and CmdSettingsCoords.