scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot). Fossies Dox: scidavis-2.3.0.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
31 #ifndef IMPORTFILESDIALOG_H
32 #define IMPORTFILESDIALOG_H
67 ImportASCIIDialog(
bool importModeEnabled, QWidget * parent = 0,
bool extended =
true, Qt::WindowFlags
flags = 0 );
QSpinBox * d_ignored_lines
bool convertToNumeric() const
Returns whether imported data should be interpreted as numbers.
void updateImportMode(int mode)
For Overwrite mode, allow only one file to be selected.
Import ASCII file(s) dialog.
QCheckBox * d_rename_columns
QCheckBox * d_simplify_spaces
const QString columnSeparator() const
Return the selected column separator.
bool renameColumns() const
Whether to rename columns based on the first (non-skipped) line.
QComboBox * d_import_mode
ImportMode importMode() const
Return the selected import mode.
int ignoredLines() const
Return the number of lines to be skipped at the start of each file.
QPushButton * d_help_button
ImportMode
Possible destinations for the imported data.
QFileDialog plus generic extension support.
bool stripSpaces() const
Whether to remove whitespace from beginning and end of lines.
QGroupBox * d_advanced_options
Container widget for all advanced options.
QComboBox * boxDecimalSeparator
bool rememberOptions() const
Whether the user wants the import options to be saved.
QCheckBox * d_remember_options
QComboBox * d_column_separator
@ NewColumns
add each file as new columns to the current table
QLocale decimalSeparators()
Returns the locale chosen for conversion to numeric format.
void displayHelp()
Display help for advanced options.
void initAdvancedOptions()
Initialise d_advanced_options and everything it contains.
bool simplifySpaces() const
Whether to replace sequences of whitespace charecters with a single space.
@ NewTables
create a new table for each file (default)
void setColumnSeparator(const QString &sep)
Set the selected columns separator.
ImportASCIIDialog(bool importModeEnabled, QWidget *parent=0, bool extended=true, Qt::WindowFlags flags=0)
Constructor.
void closeEvent(QCloseEvent *)
QCheckBox * d_strip_spaces
QCheckBox * d_convert_to_numeric
@ Overwrite
replace content of current table with the selected file (like importing a single file in previous ver...
@ NewRows
add each file as new rows to the current table