Mercurial > hg > svgui
comparison widgets/CSVFormatDialog.h @ 559:5bcfc5606528
* Add option to import time+duration (or time+endtime) from CSV files
(importing to Region layers)
* Fix ffwd/rwd in Region layers so as to behave like time-value layers
author | Chris Cannam |
---|---|
date | Thu, 08 Jul 2010 14:22:28 +0000 |
parents | 22b72f0f6a4e |
children | e15afed2bfeb |
comparison
equal
deleted
inserted
replaced
558:9fc13f61ae74 | 559:5bcfc5606528 |
---|---|
36 CSVFormat getFormat() const; | 36 CSVFormat getFormat() const; |
37 | 37 |
38 protected slots: | 38 protected slots: |
39 void modelTypeChanged(int type); | 39 void modelTypeChanged(int type); |
40 void timingTypeChanged(int type); | 40 void timingTypeChanged(int type); |
41 void durationTypeChanged(int type); | |
41 void sampleRateChanged(QString); | 42 void sampleRateChanged(QString); |
42 void windowSizeChanged(QString); | 43 void windowSizeChanged(QString); |
43 | 44 |
44 protected: | 45 protected: |
45 CSVFormat::ModelType m_modelType; | 46 CSVFormat::ModelType m_modelType; |
46 CSVFormat::TimingType m_timingType; | 47 CSVFormat::TimingType m_timingType; |
48 CSVFormat::DurationType m_durationType; | |
47 CSVFormat::TimeUnits m_timeUnits; | 49 CSVFormat::TimeUnits m_timeUnits; |
48 | 50 |
49 QString m_separator; | 51 QString m_separator; |
50 size_t m_sampleRate; | 52 size_t m_sampleRate; |
51 size_t m_windowSize; | 53 size_t m_windowSize; |
56 int m_maxExampleCols; | 58 int m_maxExampleCols; |
57 QTableWidget *m_exampleWidget; | 59 QTableWidget *m_exampleWidget; |
58 | 60 |
59 QComboBox *m_modelTypeCombo; | 61 QComboBox *m_modelTypeCombo; |
60 QComboBox *m_timingTypeCombo; | 62 QComboBox *m_timingTypeCombo; |
63 QLabel *m_durationTypeLabel; | |
64 QComboBox *m_durationTypeCombo; | |
61 QLabel *m_sampleRateLabel; | 65 QLabel *m_sampleRateLabel; |
62 QComboBox *m_sampleRateCombo; | 66 QComboBox *m_sampleRateCombo; |
63 QLabel *m_windowSizeLabel; | 67 QLabel *m_windowSizeLabel; |
64 QComboBox *m_windowSizeCombo; | 68 QComboBox *m_windowSizeCombo; |
65 | 69 |