Engauge Digitizer 2
Loading...
Searching...
No Matches
CallbackDocumentScrub.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2018 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_DOCUMENT_SCRUB_H
8#define CALLBACK_DOCUMENT_SCRUB_H
9
10class Point;
11
13#include <QString>
14
17{
18public:
21
23 QString badPointName () const;
24
26 CallbackSearchReturn callback (const QString &curveName,
27 const Point &point);
28
30 bool success () const;
31
32private:
33
34 bool m_success;
35 QString m_badPointName;
36};
37
38#endif // CALLBACK_DOCUMENT_SCRUB_H
CallbackSearchReturn
Return values for search callback methods.
Callback for scrubbing Document. Any state error will be caught.
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
CallbackDocumentScrub()
Single constructor.
bool success() const
Scrub overall result.
QString badPointName() const
Scrub result details. Applies when unsuccessful.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition Point.h:26