Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackCheckEditPointAxis.cpp
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
8#include "Point.h"
9
11 const QString &pointIdentifier,
12 const QPointF &posScreen,
13 const QPointF &posGraph,
14 DocumentAxesPointsRequired documentAxesPointsRequired) :
15 CallbackAxisPointsAbstract (modelCoords,
16 pointIdentifier,
17 posScreen,
18 posGraph,
19 documentAxesPointsRequired)
20{
21}
22
27
Callback for collecting axis points and then performing common calculations on those axis points.
bool isError() const
This value is checked after iterating to see if the axis data is correct.
QString errorMessage() const
This value is checked after iterating to see what was wrong if the axis data was incorrect.
bool isError() const
True if an error occurred during iteration.
QString errorMessage() const
Error message that explains the problem indicated by isError.
CallbackCheckEditPointAxis(const DocumentModelCoords &modelCoords, const QString &pointIdentifier, const QPointF &posScreen, const QPointF &posGraph, DocumentAxesPointsRequired documentAxesPointsRequired)
Single constructor.
Model for DlgSettingsCoords and CmdSettingsCoords.