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::PreviewTable ( int  numRows,
int  numCols,
QWidget *  parent = 0,
const char *  name = 0 
)

Member Function Documentation

◆ addColumns()

void PreviewTable::addColumns ( int  c)
private

◆ clear()

void PreviewTable::clear ( )

◆ columnFormats()

QStringList PreviewTable::columnFormats ( )
inline

◆ columnTypes()

QList<int> PreviewTable::columnTypes ( )
inline

References colTypes.

◆ eventFilter

bool PreviewTable::eventFilter ( QObject *  object,
QEvent *  e 
)
privateslot

References d_selected_column, and showColTypeDialog().

Referenced by columnFormats().

◆ importASCII()

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 
)

◆ modifiedColumnType

void PreviewTable::modifiedColumnType ( )
signal

Referenced by columnFormats(), and setColumnType().

◆ nextColumn

void PreviewTable::nextColumn ( )
privateslot

◆ prevColumn

void PreviewTable::prevColumn ( )
privateslot

◆ resetHeader()

void PreviewTable::resetHeader ( )

◆ setColumnFormat

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

References d_col_format, and d_selected_column.

Referenced by columnFormats(), and showColTypeDialog().

◆ setColumnType

void PreviewTable::setColumnType ( int  type)
privateslot

◆ setHeader

void PreviewTable::setHeader ( )
privateslot

References col_label, and comments.

Referenced by columnFormats(), importASCII(), and PreviewTable().

◆ setNumericPrecision()

void PreviewTable::setNumericPrecision ( int  prec)
inline

◆ setSelectedColumn()

void PreviewTable::setSelectedColumn ( int  col)

◆ showColTypeDialog()

void PreviewTable::showColTypeDialog ( )

◆ updateColumn

void PreviewTable::updateColumn ( int  sc)
privateslot

Member Data Documentation

◆ buttonNext

QPushButton* PreviewTable::buttonNext
private

Referenced by showColTypeDialog(), and updateColumn().

◆ buttonPrev

QPushButton * PreviewTable::buttonPrev
private

Referenced by showColTypeDialog(), and updateColumn().

◆ col_label

QStringList PreviewTable::col_label
private

◆ colTypes

QList<int> PreviewTable::colTypes
private

◆ comments

QStringList PreviewTable::comments
private

◆ d_col_format

QStringList PreviewTable::d_col_format
private

◆ d_numeric_precision

int PreviewTable::d_numeric_precision
private

Referenced by importASCII(), and setNumericPrecision().

◆ d_selected_column

int PreviewTable::d_selected_column
private

◆ d_start_col

int PreviewTable::d_start_col
private

Referenced by importASCII(), and PreviewTable().

◆ formatBox

QComboBox* PreviewTable::formatBox
private

Referenced by setColumnType(), and showColTypeDialog().

◆ formatLabel

QLabel* PreviewTable::formatLabel
private

Referenced by setColumnType(), and showColTypeDialog().

◆ gb1

QGroupBox* PreviewTable::gb1
private

Referenced by showColTypeDialog(), and updateColumn().

◆ typesBox

QComboBox * PreviewTable::typesBox
private

Referenced by showColTypeDialog(), and updateColumn().


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