svgui
1.9
|
#include <CSVFormatDialog.h>
Public Member Functions | |
CSVFormatDialog (QWidget *parent, CSVFormat initialFormat, int maxDisplayCols) | |
CSVFormatDialog (QWidget *parent, QString csvFilePath, sv_samplerate_t referenceSampleRate, int maxDisplayCols) | |
~CSVFormatDialog () | |
CSVFormat | getFormat () const |
Protected Types | |
enum | TimingOption { TimingExplicitSeconds = 0, TimingExplicitMsec, TimingExplicitSamples, TimingImplicit } |
Protected Slots | |
void | headerChanged (bool) |
void | separatorChanged (QString) |
void | timingTypeChanged (int type) |
void | sampleRateChanged (QString) |
void | windowSizeChanged (QString) |
void | columnPurposeChanged (int purpose) |
void | updateFormatFromDialog () |
void | updateModelLabel () |
Protected Member Functions | |
void | init () |
void | repopulate () |
void | columnPurposeChangedForAnnotationType (QComboBox *, int purpose) |
void | updateComboVisibility () |
void | applyStartTimePurpose () |
void | removeStartTimePurpose () |
Protected Attributes | |
QString | m_csvFilePath |
sv_samplerate_t | m_referenceSampleRate |
CSVFormat | m_format |
int | m_maxDisplayCols |
std::map< TimingOption, QString > | m_timingLabels |
TimingOption | m_initialTimingOption |
QString | m_tabText |
QString | m_whitespaceText |
QFrame * | m_exampleFrame |
int | m_exampleFrameRow |
QCheckBox * | m_headerCheckBox |
QComboBox * | m_separatorCombo |
QComboBox * | m_timingTypeCombo |
QLabel * | m_sampleRateLabel |
QComboBox * | m_sampleRateCombo |
QLabel * | m_windowSizeLabel |
QComboBox * | m_windowSizeCombo |
QLabel * | m_modelLabel |
QList< QComboBox * > | m_columnPurposeCombos |
int | m_fuzzyColumn |
Detailed Description
Definition at line 29 of file CSVFormatDialog.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
TimingExplicitSeconds | |
TimingExplicitMsec | |
TimingExplicitSamples | |
TimingImplicit |
Definition at line 64 of file CSVFormatDialog.h.
Constructor & Destructor Documentation
CSVFormatDialog::CSVFormatDialog | ( | QWidget * | parent, |
CSVFormat | initialFormat, | ||
int | maxDisplayCols | ||
) |
Definition at line 38 of file CSVFormatDialog.cpp.
References init().
CSVFormatDialog::CSVFormatDialog | ( | QWidget * | parent, |
QString | csvFilePath, | ||
sv_samplerate_t | referenceSampleRate, | ||
int | maxDisplayCols | ||
) |
Definition at line 51 of file CSVFormatDialog.cpp.
CSVFormatDialog::~CSVFormatDialog | ( | ) |
Definition at line 66 of file CSVFormatDialog.cpp.
Member Function Documentation
CSVFormat CSVFormatDialog::getFormat | ( | ) | const |
Definition at line 322 of file CSVFormatDialog.cpp.
References m_format.
|
protectedslot |
Definition at line 422 of file CSVFormatDialog.cpp.
References m_csvFilePath, m_format, and repopulate().
Referenced by init().
|
protectedslot |
Definition at line 433 of file CSVFormatDialog.cpp.
References m_csvFilePath, m_format, m_tabText, m_whitespaceText, and repopulate().
Referenced by init().
|
protectedslot |
Definition at line 452 of file CSVFormatDialog.cpp.
References applyStartTimePurpose(), removeStartTimePurpose(), TimingImplicit, updateComboVisibility(), and updateFormatFromDialog().
Referenced by init(), and repopulate().
|
protectedslot |
|
protectedslot |
|
protectedslot |
Definition at line 481 of file CSVFormatDialog.cpp.
References m_columnPurposeCombos, m_fuzzyColumn, m_initialTimingOption, m_timingTypeCombo, TimingExplicitSeconds, TimingImplicit, updateComboVisibility(), and updateFormatFromDialog().
Referenced by repopulate().
|
protectedslot |
Definition at line 565 of file CSVFormatDialog.cpp.
References m_columnPurposeCombos, m_format, m_fuzzyColumn, m_timingTypeCombo, TimingExplicitMsec, TimingExplicitSamples, TimingExplicitSeconds, TimingImplicit, and updateModelLabel().
Referenced by columnPurposeChanged(), and timingTypeChanged().
|
protectedslot |
Definition at line 328 of file CSVFormatDialog.cpp.
References LayerFactory::Boxes, LayerFactory::Colour3DPlot, LayerFactory::getInstance(), LayerFactory::getLayerPresentationName(), m_format, m_modelLabel, LayerFactory::Notes, LayerFactory::Regions, LayerFactory::TimeInstants, LayerFactory::TimeValues, and LayerFactory::Waveform.
Referenced by updateFormatFromDialog().
|
protected |
Definition at line 76 of file CSVFormatDialog.cpp.
References headerChanged(), m_csvFilePath, m_exampleFrame, m_exampleFrameRow, m_format, m_headerCheckBox, m_modelLabel, m_sampleRateCombo, m_sampleRateLabel, m_separatorCombo, m_tabText, m_timingLabels, m_timingTypeCombo, m_whitespaceText, m_windowSizeCombo, m_windowSizeLabel, repopulate(), sampleRateChanged(), sampleRates, separatorChanged(), TimingExplicitMsec, TimingExplicitSamples, TimingExplicitSeconds, TimingImplicit, timingTypeChanged(), and windowSizeChanged().
Referenced by CSVFormatDialog().
|
protected |
Definition at line 202 of file CSVFormatDialog.cpp.
References TextAbbrev::abbreviate(), columnPurposeChanged(), m_columnPurposeCombos, m_exampleFrame, m_exampleFrameRow, m_format, m_fuzzyColumn, m_initialTimingOption, m_maxDisplayCols, m_sampleRateCombo, m_timingTypeCombo, m_windowSizeCombo, sampleRates, TimingExplicitMsec, TimingExplicitSamples, TimingExplicitSeconds, TimingImplicit, and timingTypeChanged().
Referenced by headerChanged(), init(), and separatorChanged().
|
protected |
|
protected |
Definition at line 408 of file CSVFormatDialog.cpp.
References m_format, m_sampleRateCombo, m_sampleRateLabel, m_windowSizeCombo, and m_windowSizeLabel.
Referenced by columnPurposeChanged(), and timingTypeChanged().
|
protected |
Definition at line 366 of file CSVFormatDialog.cpp.
References m_columnPurposeCombos, and m_fuzzyColumn.
Referenced by timingTypeChanged().
|
protected |
Definition at line 393 of file CSVFormatDialog.cpp.
References m_columnPurposeCombos, and m_fuzzyColumn.
Referenced by timingTypeChanged().
Member Data Documentation
|
protected |
Definition at line 59 of file CSVFormatDialog.h.
Referenced by headerChanged(), init(), and separatorChanged().
|
protected |
Definition at line 60 of file CSVFormatDialog.h.
|
protected |
Definition at line 61 of file CSVFormatDialog.h.
Referenced by CSVFormatDialog(), getFormat(), headerChanged(), init(), repopulate(), sampleRateChanged(), separatorChanged(), updateComboVisibility(), updateFormatFromDialog(), updateModelLabel(), and windowSizeChanged().
|
protected |
Definition at line 62 of file CSVFormatDialog.h.
Referenced by repopulate().
|
protected |
Definition at line 70 of file CSVFormatDialog.h.
Referenced by init().
|
protected |
Definition at line 71 of file CSVFormatDialog.h.
Referenced by columnPurposeChanged(), and repopulate().
|
protected |
Definition at line 80 of file CSVFormatDialog.h.
Referenced by init(), and separatorChanged().
|
protected |
Definition at line 81 of file CSVFormatDialog.h.
Referenced by init(), and separatorChanged().
|
protected |
Definition at line 83 of file CSVFormatDialog.h.
Referenced by init(), and repopulate().
|
protected |
Definition at line 84 of file CSVFormatDialog.h.
Referenced by init(), and repopulate().
|
protected |
Definition at line 86 of file CSVFormatDialog.h.
Referenced by init().
|
protected |
Definition at line 87 of file CSVFormatDialog.h.
Referenced by init().
|
protected |
Definition at line 88 of file CSVFormatDialog.h.
Referenced by columnPurposeChanged(), init(), repopulate(), and updateFormatFromDialog().
|
protected |
Definition at line 89 of file CSVFormatDialog.h.
Referenced by init(), and updateComboVisibility().
|
protected |
Definition at line 90 of file CSVFormatDialog.h.
Referenced by init(), repopulate(), and updateComboVisibility().
|
protected |
Definition at line 91 of file CSVFormatDialog.h.
Referenced by init(), and updateComboVisibility().
|
protected |
Definition at line 92 of file CSVFormatDialog.h.
Referenced by init(), repopulate(), and updateComboVisibility().
|
protected |
Definition at line 93 of file CSVFormatDialog.h.
Referenced by init(), and updateModelLabel().
|
protected |
Definition at line 95 of file CSVFormatDialog.h.
Referenced by applyStartTimePurpose(), columnPurposeChanged(), removeStartTimePurpose(), repopulate(), and updateFormatFromDialog().
|
protected |
Definition at line 96 of file CSVFormatDialog.h.
Referenced by applyStartTimePurpose(), columnPurposeChanged(), removeStartTimePurpose(), repopulate(), and updateFormatFromDialog().
The documentation for this class was generated from the following files:
Generated by 1.8.11