7 #include "CurvesGraphs.h" 9 #include "EngaugeAssert.h" 10 #include "ExportToClipboard.h" 11 #include <QStringList> 12 #include <QTextStream> 22 const Curve &curveAxis,
27 QHash<QString, bool> selectedHash;
28 QStringList::const_iterator itrH;
29 for (itrH = selected.begin (); itrH != selected.end (); itrH++) {
30 QString pointIdentifier = *itrH;
31 selectedHash [pointIdentifier] =
false;
38 curveNames << AXIS_CURVE_NAME;
41 QStringList::const_iterator itrC;
42 for (itrC = curveNames.begin(); itrC != curveNames.end (); itrC++) {
44 QString curveName = *itrC;
45 if (curveName == AXIS_CURVE_NAME) {
50 curvesGraphsSelected);
53 ENGAUGE_CHECK_PTR (curve);
58 curvesGraphsSelected);
Curve * curveForCurveName(const QString &curveName)
Return the axis or graph curve for the specified curve name.
Container for all graph curves. The axes point curve is external to this class.
Container for one set of digitized Points.
void exportToClipboard(const QHash< QString, bool > &selectedHash, const Transformation &transformation, QTextStream &strCsv, QTextStream &strHtml, CurvesGraphs &curvesGraphs) const
Export points in this Curve found in the specified point list.
QStringList curvesGraphsNames() const
List of graph curve names.
ExportToClipboard()
Single constructor.
void exportToClipboard(const QStringList &selected, const Transformation &transformation, QTextStream &strCsv, QTextStream &strHtml, const Curve &curveAxis, const CurvesGraphs &curvesGraphsAll, CurvesGraphs &curvesGraphsSelected) const
Export, curve-by-curve, raw data points to a string that will be copied to the clipboard.