#include <ImportASCIIDialog.h>
Public Member Functions | |
void | clear () |
void | importASCII (const QString &fname, const QString &sep, int ignoredLines, bool renameCols, bool stripSpaces, bool simplifySpaces, bool importComments, const QString &commentString, int importMode, int endLine, int maxRows) |
PreviewTable (int numRows, int numCols, QWidget *parent=0, const char *name=0) | |
void | resetHeader () |
void | setNumericPrecision (int prec) |
void | updateDecimalSeparators (const QLocale &oldSeparators) |
Private Member Functions | |
void | addColumns (int c) |
void | setHeader () |
Private Attributes | |
QStringList | col_label |
QStringList | comments |
int | d_numeric_precision |
PreviewTable::PreviewTable | ( | int | numRows, | |
int | numCols, | |||
QWidget * | parent = 0 , |
|||
const char * | name = 0 | |||
) |
References col_label, comments, and setHeader().
void PreviewTable::addColumns | ( | int | c | ) | [private] |
References col_label, and comments.
Referenced by importASCII().
void PreviewTable::clear | ( | ) |
Referenced by ImportASCIIDialog::previewTable().
void PreviewTable::importASCII | ( | const QString & | fname, | |
const QString & | sep, | |||
int | ignoredLines, | |||
bool | renameCols, | |||
bool | stripSpaces, | |||
bool | simplifySpaces, | |||
bool | importComments, | |||
const QString & | commentString, | |||
int | importMode, | |||
int | endLine, | |||
int | maxRows | |||
) |
References addColumns(), col_label, comments, Table::NewColumns, Table::NewRows, Table::Overwrite, MdiSubWindow::parseAsciiFile(), and setHeader().
Referenced by ImportASCIIDialog::previewTable().
void PreviewTable::resetHeader | ( | ) |
References col_label, and comments.
Referenced by ImportASCIIDialog::previewTable().
void PreviewTable::setHeader | ( | ) | [private] |
References col_label, and comments.
Referenced by importASCII(), and PreviewTable().
void PreviewTable::setNumericPrecision | ( | int | prec | ) | [inline] |
References d_numeric_precision.
Referenced by ImportASCIIDialog::initPreview().
void PreviewTable::updateDecimalSeparators | ( | const QLocale & | oldSeparators | ) |
References d_numeric_precision.
Referenced by ImportASCIIDialog::previewTable().
QStringList PreviewTable::col_label [private] |
Referenced by addColumns(), importASCII(), PreviewTable(), resetHeader(), and setHeader().
QStringList PreviewTable::comments [private] |
Referenced by addColumns(), importASCII(), PreviewTable(), resetHeader(), and setHeader().
int PreviewTable::d_numeric_precision [private] |
Referenced by setNumericPrecision(), and updateDecimalSeparators().