Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.h Tue Jun 22 09:45:42 2010 +0000 +++ b/widgets/CSVFormatDialog.h Thu Jul 08 14:22:28 2010 +0000 @@ -38,12 +38,14 @@ protected slots: void modelTypeChanged(int type); void timingTypeChanged(int type); + void durationTypeChanged(int type); void sampleRateChanged(QString); void windowSizeChanged(QString); protected: CSVFormat::ModelType m_modelType; CSVFormat::TimingType m_timingType; + CSVFormat::DurationType m_durationType; CSVFormat::TimeUnits m_timeUnits; QString m_separator; @@ -58,6 +60,8 @@ QComboBox *m_modelTypeCombo; QComboBox *m_timingTypeCombo; + QLabel *m_durationTypeLabel; + QComboBox *m_durationTypeCombo; QLabel *m_sampleRateLabel; QComboBox *m_sampleRateCombo; QLabel *m_windowSizeLabel;