Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
CallbackCheckEditPointAxis.h
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 CALLBACK_CHECK_EDIT_POINT_AXIS_H
8 #define CALLBACK_CHECK_EDIT_POINT_AXIS_H
9 
10 #include "CallbackAxisPointsAbstract.h"
11 #include <QPointF>
12 #include <QString>
13 
15 class Point;
16 
19 {
20 public:
23  const QString &pointIdentifier,
24  const QPointF &posScreen,
25  const QPointF &posGraph,
26  DocumentAxesPointsRequired documentAxesPointsRequired);
27 
29  bool isError () const;
30 
32  QString errorMessage () const;
33 
34 private:
36 };
37 
38 #endif // CALLBACK_CHECK_EDIT_POINT_AXIS_H
DocumentAxesPointsRequired documentAxesPointsRequired() const
Number of axes points required for the transformation.
QString errorMessage() const
Error message that explains the problem indicated by isError.
bool isError() const
True if an error occurred during iteration.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:23
Callback for sanity checking the screen and graph coordinates of an axis point that is in the axes cu...
Model for DlgSettingsCoords and CmdSettingsCoords.
Callback for collecting axis points and then performing common calculations on those axis points...