diff widgets/CSVFormatDialog.h @ 1612:129c704566ff csv-import-headers

Support column headers, with user toggle; also distinguish visibly between tab and general whitespace delimiters
author Chris Cannam
date Thu, 18 Jun 2020 11:52:29 +0100
parents 0930a27ebea2
children
line wrap: on
line diff
--- a/widgets/CSVFormatDialog.h	Tue Jun 16 15:16:50 2020 +0100
+++ b/widgets/CSVFormatDialog.h	Thu Jun 18 11:52:29 2020 +0100
@@ -22,6 +22,7 @@
 class QComboBox;
 class QLabel;
 class QFrame;
+class QCheckBox;
     
 #include <QDialog>
 
@@ -44,6 +45,7 @@
     CSVFormat getFormat() const;
     
 protected slots:
+    void headerChanged(bool);
     void separatorChanged(QString);
     void timingTypeChanged(int type);
     void sampleRateChanged(QString);
@@ -75,9 +77,13 @@
     void applyStartTimePurpose();
     void removeStartTimePurpose();
 
+    QString m_tabText;
+    QString m_whitespaceText;
+    
     QFrame *m_exampleFrame;
     int m_exampleFrameRow;
-    
+
+    QCheckBox *m_headerCheckBox;
     QComboBox *m_separatorCombo;
     QComboBox *m_timingTypeCombo;
     QLabel *m_sampleRateLabel;