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