QtiPlot 0.9.8.2
|
#include <ImportASCIIDialog.h>
Signals | |
void | modifiedColumnType () |
Public Member Functions | |
void | clear () |
QStringList | columnFormats () |
QList< int > | columnTypes () |
void | importASCII (const QString &fname, const QString &sep, int ignoredLines, bool renameCols, bool stripSpaces, bool simplifySpaces, bool importComments, const QString &commentString, int importMode, const QLocale &importLocale, int endLine, int maxRows) |
PreviewTable (int numRows, int numCols, QWidget *parent=0, const char *name=0) | |
void | resetHeader () |
void | setNumericPrecision (int prec) |
void | setSelectedColumn (int col) |
void | showColTypeDialog () |
Private Slots | |
bool | eventFilter (QObject *object, QEvent *e) |
void | nextColumn () |
void | prevColumn () |
void | setColumnFormat (const QString &) |
void | setColumnType (int) |
void | setHeader () |
void | updateColumn (int sc) |
Private Member Functions | |
void | addColumns (int c) |
Private Attributes | |
QPushButton * | buttonNext |
QPushButton * | buttonPrev |
QStringList | col_label |
QList< int > | colTypes |
QStringList | comments |
QStringList | d_col_format |
int | d_numeric_precision |
int | d_selected_column |
int | d_start_col |
QComboBox * | formatBox |
QLabel * | formatLabel |
QGroupBox * | gb1 |
QComboBox * | typesBox |
PreviewTable::PreviewTable | ( | int | numRows, |
int | numCols, | ||
QWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
References col_label, colTypes, comments, d_col_format, d_start_col, Table::Numeric, and setHeader().
void PreviewTable::addColumns | ( | int | c | ) | [private] |
References col_label, colTypes, comments, d_col_format, and Table::Numeric.
Referenced by importASCII().
void PreviewTable::clear | ( | ) |
Referenced by ImportASCIIDialog::previewTable().
QStringList PreviewTable::columnFormats | ( | ) | [inline] |
References d_col_format.
Referenced by ImportASCIIDialog::columnFormats().
QList<int> PreviewTable::columnTypes | ( | ) | [inline] |
References colTypes.
Referenced by ImportASCIIDialog::columnTypes().
bool PreviewTable::eventFilter | ( | QObject * | object, |
QEvent * | e | ||
) | [private, slot] |
References d_selected_column, and showColTypeDialog().
void PreviewTable::importASCII | ( | const QString & | fname, |
const QString & | sep, | ||
int | ignoredLines, | ||
bool | renameCols, | ||
bool | stripSpaces, | ||
bool | simplifySpaces, | ||
bool | importComments, | ||
const QString & | commentString, | ||
int | importMode, | ||
const QLocale & | importLocale, | ||
int | endLine, | ||
int | maxRows | ||
) |
References addColumns(), col_label, colTypes, comments, d_numeric_precision, d_start_col, Table::NewColumns, Table::NewRows, Table::Numeric, Table::Overwrite, MdiSubWindow::parseAsciiFile(), and setHeader().
Referenced by ImportASCIIDialog::previewTable().
void PreviewTable::modifiedColumnType | ( | ) | [signal] |
Referenced by setColumnType().
void PreviewTable::nextColumn | ( | ) | [private, slot] |
References d_selected_column, and updateColumn().
Referenced by showColTypeDialog().
void PreviewTable::prevColumn | ( | ) | [private, slot] |
References d_selected_column, and updateColumn().
Referenced by showColTypeDialog().
void PreviewTable::resetHeader | ( | ) |
References col_label, colTypes, comments, and d_col_format.
Referenced by ImportASCIIDialog::previewTable().
void PreviewTable::setColumnFormat | ( | const QString & | format | ) | [private, slot] |
References d_col_format, and d_selected_column.
Referenced by showColTypeDialog().
void PreviewTable::setColumnType | ( | int | type | ) | [private, slot] |
References colTypes, d_col_format, d_selected_column, Table::Date, formatBox, formatLabel, modifiedColumnType(), Table::Text, and Table::Time.
Referenced by showColTypeDialog(), and updateColumn().
void PreviewTable::setHeader | ( | ) | [private, slot] |
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::setSelectedColumn | ( | int | col | ) |
References d_selected_column.
Referenced by ImportASCIIDialog::showColTypeDialog().
void PreviewTable::showColTypeDialog | ( | ) |
References buttonNext, buttonPrev, d_selected_column, formatBox, formatLabel, gb1, nextColumn(), prevColumn(), setColumnFormat(), setColumnType(), typesBox, and updateColumn().
Referenced by eventFilter(), and ImportASCIIDialog::showColTypeDialog().
void PreviewTable::updateColumn | ( | int | sc | ) | [private, slot] |
References buttonNext, buttonPrev, colTypes, gb1, setColumnType(), and typesBox.
Referenced by nextColumn(), prevColumn(), and showColTypeDialog().
QPushButton* PreviewTable::buttonNext [private] |
Referenced by showColTypeDialog(), and updateColumn().
QPushButton * PreviewTable::buttonPrev [private] |
Referenced by showColTypeDialog(), and updateColumn().
QStringList PreviewTable::col_label [private] |
Referenced by addColumns(), importASCII(), PreviewTable(), resetHeader(), and setHeader().
QList<int> PreviewTable::colTypes [private] |
Referenced by addColumns(), columnTypes(), importASCII(), PreviewTable(), resetHeader(), setColumnType(), and updateColumn().
QStringList PreviewTable::comments [private] |
Referenced by addColumns(), importASCII(), PreviewTable(), resetHeader(), and setHeader().
QStringList PreviewTable::d_col_format [private] |
Referenced by addColumns(), columnFormats(), PreviewTable(), resetHeader(), setColumnFormat(), and setColumnType().
int PreviewTable::d_numeric_precision [private] |
Referenced by importASCII(), and setNumericPrecision().
int PreviewTable::d_selected_column [private] |
Referenced by eventFilter(), nextColumn(), prevColumn(), setColumnFormat(), setColumnType(), setSelectedColumn(), and showColTypeDialog().
int PreviewTable::d_start_col [private] |
Referenced by importASCII(), and PreviewTable().
QComboBox* PreviewTable::formatBox [private] |
Referenced by setColumnType(), and showColTypeDialog().
QLabel* PreviewTable::formatLabel [private] |
Referenced by setColumnType(), and showColTypeDialog().
QGroupBox* PreviewTable::gb1 [private] |
Referenced by showColTypeDialog(), and updateColumn().
QComboBox * PreviewTable::typesBox [private] |
Referenced by showColTypeDialog(), and updateColumn().