QtiPlot 0.9.7.3
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes

PreviewTable Class Reference

#include <ImportASCIIDialog.h>

List of all members.

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

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]

References colTypes.

Referenced by ImportASCIIDialog::columnTypes().

bool PreviewTable::eventFilter ( QObject *  object,
QEvent *  e 
) [private, slot]
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 
)
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 ( )
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]
void PreviewTable::setHeader ( ) [private, slot]

References col_label, and comments.

Referenced by importASCII(), and PreviewTable().

void PreviewTable::setNumericPrecision ( int  prec) [inline]
void PreviewTable::setSelectedColumn ( int  col)
void PreviewTable::showColTypeDialog ( )
void PreviewTable::updateColumn ( int  sc) [private, slot]

Member Data Documentation

QPushButton* PreviewTable::buttonNext [private]

Referenced by showColTypeDialog(), and updateColumn().

QPushButton * PreviewTable::buttonPrev [private]

Referenced by showColTypeDialog(), and updateColumn().

QStringList PreviewTable::col_label [private]
QList<int> PreviewTable::colTypes [private]
QStringList PreviewTable::comments [private]
QStringList PreviewTable::d_col_format [private]

Referenced by importASCII(), and setNumericPrecision().

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().


The documentation for this class was generated from the following files: