Engauge Digitizer
2
Loading...
Searching...
No Matches
Mime
MimePointsDetector.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2017 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 MIME_POINTS_DETECTOR_H
8
#define MIME_POINTS_DETECTOR_H
9
10
#include <QMimeData>
11
#include <QString>
12
#include <QStringList>
13
14
class
QSize;
15
class
Transformation
;
16
18
class
MimePointsDetector
19
{
20
public
:
22
MimePointsDetector
();
23
25
virtual
~MimePointsDetector
();
26
28
bool
isMimePointsData
(
const
Transformation
&transforation,
29
const
QSize &screenSize)
const
;
30
31
};
32
33
#endif
// MIME_POINTS_DETECTOR_H
MimePointsDetector::MimePointsDetector
MimePointsDetector()
Default constructofr.
Definition
MimePointsDetector.cpp:14
MimePointsDetector::~MimePointsDetector
virtual ~MimePointsDetector()
Destructor.
Definition
MimePointsDetector.cpp:18
MimePointsDetector::isMimePointsData
bool isMimePointsData(const Transformation &transforation, const QSize &screenSize) const
Returns true if text is acceptable mime data.
Definition
MimePointsDetector.cpp:22
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