comparison base/Event.h @ 1816:fd5a87f3c5b4 csv-export-dialog

Overhaul and tidy the export options, and add support for header row
author Chris Cannam
date Tue, 14 Jan 2020 15:39:12 +0000
parents c546429d4c2f
children 21c792334c2e
comparison
equal deleted inserted replaced
1815:c546429d4c2f 1816:fd5a87f3c5b4
388 if (m_haveDuration) { 388 if (m_haveDuration) {
389 list << "duration"; 389 list << "duration";
390 } 390 }
391 391
392 if (m_haveLevel) { 392 if (m_haveLevel) {
393 if (!(opts & DataExportOmitLevels)) { 393 if (!(opts & DataExportOmitLevel)) {
394 list << nameOpts.levelAttributeName; 394 list << nameOpts.levelAttributeName;
395 } 395 }
396 } 396 }
397 397
398 if (m_uri != "") { 398 if (m_uri != "") {
428 .toString().c_str(); 428 .toString().c_str();
429 } 429 }
430 } 430 }
431 431
432 if (m_haveLevel) { 432 if (m_haveLevel) {
433 if (!(opts & DataExportOmitLevels)) { 433 if (!(opts & DataExportOmitLevel)) {
434 list << QString("%1").arg(m_level); 434 list << QString("%1").arg(m_level);
435 } 435 }
436 } 436 }
437 437
438 // Put URI before label, to preserve the ordering previously 438 // Put URI before label, to preserve the ordering previously