Mercurial > hg > svcore
diff data/model/DenseTimeValueModel.cpp @ 1824:1cd161242250
Merge
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2020 14:34:13 +0000 |
parents | c546429d4c2f |
children | 21c792334c2e |
line wrap: on
line diff
--- a/data/model/DenseTimeValueModel.cpp Tue Jan 28 14:32:34 2020 +0000 +++ b/data/model/DenseTimeValueModel.cpp Tue Jan 28 14:34:13 2020 +0000 @@ -16,7 +16,19 @@ #include "DenseTimeValueModel.h" #include <QStringList> - + +QString +DenseTimeValueModel::getDelimitedDataHeaderLine(QString delimiter, + DataExportOptions) const +{ + int ch = getChannelCount(); + QStringList list; + for (int i = 0; i < ch; ++i) { + list << QString("Channel%1").arg(i+1); + } + return list.join(delimiter); +} + QString DenseTimeValueModel::toDelimitedDataString(QString delimiter, DataExportOptions,