#include <ImportASCIIDialog.h>
List of all members.
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 () |
Constructor & Destructor Documentation
PreviewTable::PreviewTable |
( |
int |
numRows, |
|
|
int |
numCols, |
|
|
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
Member Function Documentation
void PreviewTable::addColumns |
( |
int |
c | ) |
|
|
private |
void PreviewTable::clear |
( |
| ) |
|
QStringList PreviewTable::columnFormats |
( |
| ) |
|
|
inline |
QList<int> PreviewTable::columnTypes |
( |
| ) |
|
|
inline |
bool PreviewTable::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
e |
|
) |
| |
|
privateslot |
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 |
void PreviewTable::nextColumn |
( |
| ) |
|
|
privateslot |
void PreviewTable::prevColumn |
( |
| ) |
|
|
privateslot |
void PreviewTable::resetHeader |
( |
| ) |
|
void PreviewTable::setColumnFormat |
( |
const QString & |
format | ) |
|
|
privateslot |
void PreviewTable::setColumnType |
( |
int |
type | ) |
|
|
privateslot |
void PreviewTable::setHeader |
( |
| ) |
|
|
privateslot |
void PreviewTable::setNumericPrecision |
( |
int |
prec | ) |
|
|
inline |
void PreviewTable::setSelectedColumn |
( |
int |
col | ) |
|
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 | ) |
|
|
privateslot |
Member Data Documentation
QPushButton* PreviewTable::buttonNext |
|
private |
QPushButton * PreviewTable::buttonPrev |
|
private |
QStringList PreviewTable::col_label |
|
private |
QList<int> PreviewTable::colTypes |
|
private |
QStringList PreviewTable::comments |
|
private |
QStringList PreviewTable::d_col_format |
|
private |
int PreviewTable::d_numeric_precision |
|
private |
int PreviewTable::d_selected_column |
|
private |
int PreviewTable::d_start_col |
|
private |
QComboBox* PreviewTable::formatBox |
|
private |
QLabel* PreviewTable::formatLabel |
|
private |
QGroupBox* PreviewTable::gb1 |
|
private |
QComboBox * PreviewTable::typesBox |
|
private |
The documentation for this class was generated from the following files: