Export description as part of final measurements.
ref #761. --HG-- branch : develop
This commit is contained in:
parent
f122ce479c
commit
f636a3899f
|
@ -1579,11 +1579,13 @@ bool MainWindowsNoGUI::ExportFMeasurementsToCSVData(const QString &fileName, boo
|
||||||
|
|
||||||
csv.insertColumn(0);
|
csv.insertColumn(0);
|
||||||
csv.insertColumn(1);
|
csv.insertColumn(1);
|
||||||
|
csv.insertColumn(2);
|
||||||
|
|
||||||
if (withHeader)
|
if (withHeader)
|
||||||
{
|
{
|
||||||
csv.setHeaderText(0, tr("Name"));
|
csv.setHeaderText(0, tr("Name"));
|
||||||
csv.setHeaderText(1, tr("Value"));
|
csv.setHeaderText(1, tr("Value"));
|
||||||
|
csv.setHeaderText(2, tr("Description"));
|
||||||
}
|
}
|
||||||
|
|
||||||
const QVector<VFinalMeasurement> measurements = doc->GetFinalMeasurements();
|
const QVector<VFinalMeasurement> measurements = doc->GetFinalMeasurements();
|
||||||
|
@ -1631,6 +1633,8 @@ bool MainWindowsNoGUI::ExportFMeasurementsToCSVData(const QString &fileName, boo
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
csv.setText(i, 2, m.description); // description
|
||||||
}
|
}
|
||||||
|
|
||||||
QString error;
|
QString error;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user