Mercurial > hg > svgui
comparison widgets/CSVFormatDialog.h @ 1319:fbda05431ce0 import-audio-data
Refactor; the two use-cases of CSVFormatDialog were turning out to be different enough to justify two separate classes
author | Chris Cannam |
---|---|
date | Thu, 06 Sep 2018 13:58:09 +0100 |
parents | b149b53df365 |
children | 0930a27ebea2 |
comparison
equal
deleted
inserted
replaced
1318:b149b53df365 | 1319:fbda05431ce0 |
---|---|
44 | 44 |
45 void updateFormatFromDialog(); | 45 void updateFormatFromDialog(); |
46 void updateModelLabel(); | 46 void updateModelLabel(); |
47 | 47 |
48 protected: | 48 protected: |
49 enum DialogType { | |
50 AnnotationDataDialog, | |
51 AudioDataDialog | |
52 }; | |
53 DialogType m_dialogType; | |
54 | |
55 CSVFormat m_format; | 49 CSVFormat m_format; |
56 int m_maxDisplayCols; | 50 int m_maxDisplayCols; |
57 | 51 |
58 enum TimingOption { | 52 enum TimingOption { |
59 TimingExplicitSeconds = 0, | 53 TimingExplicitSeconds = 0, |