svgui
1.9
CSVFormatDialog.h
Go to the documentation of this file.
1
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3
/*
4
Sonic Visualiser
5
An audio file viewer and annotation editor.
6
Centre for Digital Music, Queen Mary, University of London.
7
This file copyright 2006 Chris Cannam.
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License as
11
published by the Free Software Foundation; either version 2 of the
12
License, or (at your option) any later version. See the file
13
COPYING included with this distribution for more information.
14
*/
15
16
#ifndef _CSV_FORMAT_DIALOG_H_
17
#define _CSV_FORMAT_DIALOG_H_
18
19
#include "data/fileio/CSVFormat.h"
20
21
class
QTableWidget;
22
class
QComboBox;
23
class
QLabel;
24
25
#include <QDialog>
26
27
class
CSVFormatDialog
:
public
QDialog
28
{
29
Q_OBJECT
30
31
public
:
32
CSVFormatDialog
(QWidget *parent, CSVFormat initialFormat,
33
int
maxDisplayCols = 5);
34
~CSVFormatDialog
();
35
36
CSVFormat
getFormat
()
const
;
37
38
protected
slots:
39
void
timingTypeChanged
(
int
type);
40
void
sampleRateChanged
(QString);
41
void
windowSizeChanged
(QString);
42
void
columnPurposeChanged
(
int
purpose);
43
void
updateModelLabel
();
44
45
protected
:
46
CSVFormat
m_format
;
47
int
m_maxDisplayCols
;
48
49
QComboBox *
m_timingTypeCombo
;
50
QLabel *
m_sampleRateLabel
;
51
QComboBox *
m_sampleRateCombo
;
52
QLabel *
m_windowSizeLabel
;
53
QComboBox *
m_windowSizeCombo
;
54
QLabel *
m_modelLabel
;
55
56
QList<QComboBox *>
m_columnPurposeCombos
;
57
int
m_fuzzyColumn
;
58
};
59
60
#endif
CSVFormatDialog::windowSizeChanged
void windowSizeChanged(QString)
Definition:
CSVFormatDialog.cpp:270
CSVFormatDialog::timingTypeChanged
void timingTypeChanged(int type)
Definition:
CSVFormatDialog.cpp:228
CSVFormatDialog::m_maxDisplayCols
int m_maxDisplayCols
Definition:
CSVFormatDialog.h:47
CSVFormatDialog::getFormat
CSVFormat getFormat() const
Definition:
CSVFormatDialog.cpp:195
CSVFormatDialog::m_modelLabel
QLabel * m_modelLabel
Definition:
CSVFormatDialog.h:54
CSVFormatDialog
Definition:
CSVFormatDialog.h:27
CSVFormatDialog::m_timingTypeCombo
QComboBox * m_timingTypeCombo
Definition:
CSVFormatDialog.h:49
CSVFormatDialog::m_format
CSVFormat m_format
Definition:
CSVFormatDialog.h:46
CSVFormatDialog::updateModelLabel
void updateModelLabel()
Definition:
CSVFormatDialog.cpp:201
CSVFormatDialog::CSVFormatDialog
CSVFormatDialog(QWidget *parent, CSVFormat initialFormat, int maxDisplayCols=5)
Definition:
CSVFormatDialog.cpp:36
CSVFormatDialog::~CSVFormatDialog
~CSVFormatDialog()
Definition:
CSVFormatDialog.cpp:190
CSVFormatDialog::columnPurposeChanged
void columnPurposeChanged(int purpose)
Definition:
CSVFormatDialog.cpp:278
CSVFormatDialog::m_sampleRateLabel
QLabel * m_sampleRateLabel
Definition:
CSVFormatDialog.h:50
CSVFormatDialog::m_sampleRateCombo
QComboBox * m_sampleRateCombo
Definition:
CSVFormatDialog.h:51
CSVFormatDialog::m_windowSizeCombo
QComboBox * m_windowSizeCombo
Definition:
CSVFormatDialog.h:53
CSVFormatDialog::sampleRateChanged
void sampleRateChanged(QString)
Definition:
CSVFormatDialog.cpp:262
CSVFormatDialog::m_columnPurposeCombos
QList< QComboBox * > m_columnPurposeCombos
Definition:
CSVFormatDialog.h:56
CSVFormatDialog::m_windowSizeLabel
QLabel * m_windowSizeLabel
Definition:
CSVFormatDialog.h:52
CSVFormatDialog::m_fuzzyColumn
int m_fuzzyColumn
Definition:
CSVFormatDialog.h:57
widgets
CSVFormatDialog.h
Generated by
1.8.15