comparison data/model/ImageModel.h @ 1060:57633d605547 tonioni

Add data export options (not all implemented yet)
author Chris Cannam
date Mon, 30 Mar 2015 17:27:25 +0100
parents a1cd5abcb38b
children 1517d4c60e88
comparison
equal deleted inserted replaced
1059:7598a78cf915 1060:57633d605547
53 .arg(encodeEntities(image)) 53 .arg(encodeEntities(image))
54 .arg(encodeEntities(label)) 54 .arg(encodeEntities(label))
55 .arg(extraAttributes); 55 .arg(extraAttributes);
56 } 56 }
57 57
58 QString toDelimitedDataString(QString delimiter, sv_samplerate_t sampleRate) const 58 QString toDelimitedDataString(QString delimiter, DataExportOptions, sv_samplerate_t sampleRate) const
59 { 59 {
60 QStringList list; 60 QStringList list;
61 list << RealTime::frame2RealTime(frame, sampleRate).toString().c_str(); 61 list << RealTime::frame2RealTime(frame, sampleRate).toString().c_str();
62 list << image; 62 list << image;
63 if (label != "") list << label; 63 if (label != "") list << label;