|
Engauge Digitizer 2
|
Custom mime type for separate treatment of graph coordinates and, when there is no transform, points coordinates. More...
#include <MimePoints.h>
Public Member Functions | |
| MimePoints () | |
| Default constructor. Initial contents are overwritten by other constructors. | |
| MimePoints (const QString &csvGraph, const QString &htmlGraph) | |
| Constructor when graph coordinates are available because the transformation is defined. | |
| MimePoints (const QString &csvPoints) | |
| Constructor when transformation is not defined. This data is not meant to leave this application. | |
| MimePoints & | operator= (const MimePoints &other) |
| Assignment operator. | |
| virtual | ~MimePoints () |
| Destructor. | |
| QString | csvGraph () const |
| Get method for csvGraph. | |
| QString | csvPoints () const |
| Get method for csvPoints. | |
| virtual QStringList | formats () const |
| Available formats, which depend on whether or not the transform is defined. | |
| QString | htmlGraph () const |
| Get methjod for htmlGraph. | |
Protected Member Functions | |
| virtual QVariant | retrieveData (const QString &format, QVariant::Type preferredType) const |
| Returns a variant with the data for the specified format. | |
Custom mime type for separate treatment of graph coordinates and, when there is no transform, points coordinates.
Definition at line 13 of file MimePoints.h.
| MimePoints::MimePoints | ( | ) |
Default constructor. Initial contents are overwritten by other constructors.
Definition at line 14 of file MimePoints.cpp.
| MimePoints::MimePoints | ( | const QString & | csvGraph, |
| const QString & | htmlGraph | ||
| ) |
Constructor when graph coordinates are available because the transformation is defined.
Definition at line 18 of file MimePoints.cpp.
| MimePoints::MimePoints | ( | const QString & | csvPoints | ) |
Constructor when transformation is not defined. This data is not meant to leave this application.
Definition at line 26 of file MimePoints.cpp.
|
virtual |
Destructor.
Definition at line 42 of file MimePoints.cpp.
| QString MimePoints::csvGraph | ( | ) | const |
Get method for csvGraph.
Definition at line 46 of file MimePoints.cpp.
| QString MimePoints::csvPoints | ( | ) | const |
Get method for csvPoints.
Definition at line 51 of file MimePoints.cpp.
|
virtual |
Available formats, which depend on whether or not the transform is defined.
Definition at line 56 of file MimePoints.cpp.
| QString MimePoints::htmlGraph | ( | ) | const |
Get methjod for htmlGraph.
Definition at line 61 of file MimePoints.cpp.
| MimePoints & MimePoints::operator= | ( | const MimePoints & | other | ) |
Assignment operator.
Definition at line 32 of file MimePoints.cpp.
|
protectedvirtual |
Returns a variant with the data for the specified format.
Definition at line 66 of file MimePoints.cpp.