Mercurial > hg > svgui
diff widgets/CSVFormatDialog.h @ 976:f2c63ec85901 alignment-simple
Branch to test simple FFT model code
author | Chris Cannam |
---|---|
date | Mon, 15 Jun 2015 09:15:55 +0100 |
parents | 2633a1d73e39 |
children | fcc1f45f7bd5 |
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.h Mon Apr 20 09:19:52 2015 +0100 +++ b/widgets/CSVFormatDialog.h Mon Jun 15 09:15:55 2015 +0100 @@ -40,11 +40,26 @@ void sampleRateChanged(QString); void windowSizeChanged(QString); void columnPurposeChanged(int purpose); + + void updateFormatFromDialog(); void updateModelLabel(); protected: CSVFormat m_format; int m_maxDisplayCols; + + enum TimingOption { + TimingExplicitSeconds = 0, + TimingExplicitMsec, + TimingExplicitSamples, + TimingImplicit + }; + std::map<TimingOption, QString> m_timingLabels; + TimingOption m_initialTimingOption; + + void updateComboVisibility(); + void applyStartTimePurpose(); + void removeStartTimePurpose(); QComboBox *m_timingTypeCombo; QLabel *m_sampleRateLabel;