svgui
1.9
|
#include <CSVExportDialog.h>
Classes | |
struct | Configuration |
Public Member Functions | |
CSVExportDialog (Configuration config, QWidget *parent) | |
!! todo: remember & re-apply last set of options chosen for this layer type More... | |
QString | getDelimiter () const |
Return the column delimiter to use in the exported file. More... | |
bool | shouldIncludeHeader () const |
Return true if we should include a header row at the top of the exported file. More... | |
bool | shouldIncludeTimestamps () const |
Return true if we should write a timestamp column. More... | |
bool | shouldWriteTimeInFrames () const |
Return true if we should use sample frames rather than seconds for the timestamp column (and duration where present). More... | |
bool | shouldConstrainToViewHeight () const |
Return true if we should constrain the vertical range to the visible area only. More... | |
bool | shouldConstrainToSelection () const |
Return true if we should export the selected time range(s) only. More... | |
Private Slots | |
void | timestampsToggled (bool) |
Private Attributes | |
Configuration | m_config |
QComboBox * | m_separatorCombo |
QCheckBox * | m_header |
QCheckBox * | m_timestamps |
QRadioButton * | m_seconds |
QRadioButton * | m_frames |
QRadioButton * | m_selectionOnly |
QRadioButton * | m_viewOnly |
Detailed Description
Definition at line 25 of file CSVExportDialog.h.
Constructor & Destructor Documentation
CSVExportDialog::CSVExportDialog | ( | Configuration | config, |
QWidget * | parent | ||
) |
!! todo: remember & re-apply last set of options chosen for this layer type
Definition at line 35 of file CSVExportDialog.cpp.
References CSVExportDialog::Configuration::fileExtension, CSVExportDialog::Configuration::haveSelection, CSVExportDialog::Configuration::haveView, CSVExportDialog::Configuration::isDense, CSVExportDialog::Configuration::layerName, m_config, m_frames, m_header, m_seconds, m_selectionOnly, m_separatorCombo, m_timestamps, m_viewOnly, ViewManager::scalePixelSize(), and timestampsToggled().
Member Function Documentation
QString CSVExportDialog::getDelimiter | ( | ) | const |
Return the column delimiter to use in the exported file.
Either the default for the supplied file extension, or some other option chosen by the user.
Definition at line 200 of file CSVExportDialog.cpp.
References m_separatorCombo.
bool CSVExportDialog::shouldIncludeHeader | ( | ) | const |
Return true if we should include a header row at the top of the exported file.
Definition at line 206 of file CSVExportDialog.cpp.
References m_header.
bool CSVExportDialog::shouldIncludeTimestamps | ( | ) | const |
Return true if we should write a timestamp column.
This is always true for non-dense models, but is a user option for dense ones.
Definition at line 212 of file CSVExportDialog.cpp.
References m_timestamps.
Referenced by shouldWriteTimeInFrames().
bool CSVExportDialog::shouldWriteTimeInFrames | ( | ) | const |
Return true if we should use sample frames rather than seconds for the timestamp column (and duration where present).
Definition at line 218 of file CSVExportDialog.cpp.
References m_frames, and shouldIncludeTimestamps().
bool CSVExportDialog::shouldConstrainToViewHeight | ( | ) | const |
Return true if we should constrain the vertical range to the visible area only.
Otherwise we should export the full vertical range of the model.
Definition at line 224 of file CSVExportDialog.cpp.
References m_viewOnly.
bool CSVExportDialog::shouldConstrainToSelection | ( | ) | const |
Return true if we should export the selected time range(s) only.
Otherwise we should export the full length of the model.
Definition at line 230 of file CSVExportDialog.cpp.
References m_selectionOnly.
|
privateslot |
Definition at line 193 of file CSVExportDialog.cpp.
References m_frames, and m_seconds.
Referenced by CSVExportDialog().
Member Data Documentation
|
private |
Definition at line 111 of file CSVExportDialog.h.
Referenced by CSVExportDialog().
|
private |
Definition at line 113 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and getDelimiter().
|
private |
Definition at line 114 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and shouldIncludeHeader().
|
private |
Definition at line 115 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and shouldIncludeTimestamps().
|
private |
Definition at line 116 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and timestampsToggled().
|
private |
Definition at line 117 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), shouldWriteTimeInFrames(), and timestampsToggled().
|
private |
Definition at line 118 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and shouldConstrainToSelection().
|
private |
Definition at line 119 of file CSVExportDialog.h.
Referenced by CSVExportDialog(), and shouldConstrainToViewHeight().
The documentation for this class was generated from the following files:
Generated by 1.8.11