QtiPlot  0.9.8.2
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
PreviewTable Class Reference

#include <ImportASCIIDialog.h>

Inheritance diagram for PreviewTable:

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 
)
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 
)
void PreviewTable::modifiedColumnType ( )
signal

Referenced by setColumnType().

void PreviewTable::nextColumn ( )
privateslot

References d_selected_column, and updateColumn().

Referenced by showColTypeDialog().

void PreviewTable::prevColumn ( )
privateslot

References d_selected_column, and updateColumn().

Referenced by showColTypeDialog().

void PreviewTable::resetHeader ( )
void PreviewTable::setColumnFormat ( const QString &  format)
privateslot

References d_col_format, and d_selected_column.

Referenced by showColTypeDialog().

void PreviewTable::setColumnType ( int  type)
privateslot
void PreviewTable::setHeader ( )
privateslot

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)
privateslot

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
int PreviewTable::d_numeric_precision
private

Referenced by importASCII(), and setNumericPrecision().

int PreviewTable::d_selected_column
private
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().


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