comparison widgets/CSVFormatDialog.h @ 963:fa96108d552d osx-retina

Merge from default branch
author Chris Cannam
date Thu, 14 May 2015 15:39:47 +0100
parents 2633a1d73e39
children fcc1f45f7bd5
comparison
equal deleted inserted replaced
956:092de22db207 963:fa96108d552d
38 protected slots: 38 protected slots:
39 void timingTypeChanged(int type); 39 void timingTypeChanged(int type);
40 void sampleRateChanged(QString); 40 void sampleRateChanged(QString);
41 void windowSizeChanged(QString); 41 void windowSizeChanged(QString);
42 void columnPurposeChanged(int purpose); 42 void columnPurposeChanged(int purpose);
43
44 void updateFormatFromDialog();
43 void updateModelLabel(); 45 void updateModelLabel();
44 46
45 protected: 47 protected:
46 CSVFormat m_format; 48 CSVFormat m_format;
47 int m_maxDisplayCols; 49 int m_maxDisplayCols;
50
51 enum TimingOption {
52 TimingExplicitSeconds = 0,
53 TimingExplicitMsec,
54 TimingExplicitSamples,
55 TimingImplicit
56 };
57 std::map<TimingOption, QString> m_timingLabels;
58 TimingOption m_initialTimingOption;
59
60 void updateComboVisibility();
61 void applyStartTimePurpose();
62 void removeStartTimePurpose();
48 63
49 QComboBox *m_timingTypeCombo; 64 QComboBox *m_timingTypeCombo;
50 QLabel *m_sampleRateLabel; 65 QLabel *m_sampleRateLabel;
51 QComboBox *m_sampleRateCombo; 66 QComboBox *m_sampleRateCombo;
52 QLabel *m_windowSizeLabel; 67 QLabel *m_windowSizeLabel;