TableDialog Class Reference

Column options dialog. More...

#include <TableDialog.h>

List of all members.

Signals

void changeWidth (const QString &, bool)
void enumRightCols (bool)
void nameChanged (const QString &)

Public Member Functions

 TableDialog (Table *t, QWidget *parent, Qt::WFlags fl=0)

Private Slots

void accept ()
void apply ()
void enablePrecision (int f)
void nextColumn ()
void prevColumn ()
void setColumnWidth (int width)
void setDayFormat (const QString &format, bool allRightColumns)
void setMonthFormat (const QString &format, bool allRightColumns)
void setNumericFormat (int type, int prec, bool allRightColumns)
void setPlotDesignation (int i)
void showPrecisionBox (int item)
void updateColumn (int)
void updateDisplay (int item)
void updatePrecision (int prec)

Private Member Functions

void closeEvent (QCloseEvent *)
void setDateTimeFormat (int type, const QString &format, bool allRightColumns)
void setTextFormat (bool allRightColumns)

Private Attributes

QCheckBox * applyToAllBox
QCheckBox * applyToRightCols
QCheckBox * boxHideColumn
QCheckBox * boxReadOnly
QCheckBox * boxShowTableComments
QPushButton * buttonApply
QPushButton * buttonCancel
QPushButton * buttonNext
QPushButton * buttonOk
QPushButton * buttonPrev
QLineEdit * colName
QComboBox * columnsBox
QSpinBox * colWidth
QTextEdit * comments
Tabled_table
QComboBox * displayBox
QCheckBox * enumerateAllBox
QComboBox * formatBox
QLabel * labelFormat
QLabel * labelNumeric
QSpinBox * precisionBox

Detailed Description

Column options dialog.


Constructor & Destructor Documentation

TableDialog::TableDialog ( Table t,
QWidget *  parent,
Qt::WFlags  fl = 0 
)

Member Function Documentation

void TableDialog::accept (  )  [private, slot]

References apply().

Referenced by TableDialog().

void TableDialog::apply (  )  [private, slot]
void TableDialog::changeWidth ( const QString &  ,
bool   
) [signal]
void TableDialog::closeEvent ( QCloseEvent *  ce  )  [private]

References d_table, and Table::freeMemory().

void TableDialog::enablePrecision ( int  f  )  [private, slot]

References displayBox, and precisionBox.

Referenced by TableDialog(), and updateColumn().

void TableDialog::enumRightCols ( bool   )  [signal]
void TableDialog::nameChanged ( const QString &   )  [signal]
void TableDialog::nextColumn (  )  [private, slot]
void TableDialog::prevColumn (  )  [private, slot]
void TableDialog::setColumnWidth ( int  width  )  [private, slot]
void TableDialog::setDateTimeFormat ( int  type,
const QString &  format,
bool  allRightColumns 
) [private]
void TableDialog::setDayFormat ( const QString &  format,
bool  allRightColumns 
) [private, slot]
void TableDialog::setMonthFormat ( const QString &  format,
bool  allRightColumns 
) [private, slot]
void TableDialog::setNumericFormat ( int  type,
int  prec,
bool  allRightColumns 
) [private, slot]
void TableDialog::setPlotDesignation ( int  i  )  [private, slot]
void TableDialog::setTextFormat ( bool  allRightColumns  )  [private]
void TableDialog::showPrecisionBox ( int  item  )  [private, slot]

References precisionBox.

void TableDialog::updateColumn ( int  sc  )  [private, slot]
void TableDialog::updateDisplay ( int  item  )  [private, slot]
void TableDialog::updatePrecision ( int  prec  )  [private, slot]

References applyToRightCols, formatBox, and setNumericFormat().

Referenced by TableDialog().


Member Data Documentation

QCheckBox* TableDialog::applyToAllBox [private]

Referenced by apply(), setColumnWidth(), and TableDialog().

QCheckBox* TableDialog::applyToRightCols [private]
QCheckBox * TableDialog::boxHideColumn [private]

Referenced by apply(), TableDialog(), and updateColumn().

QCheckBox * TableDialog::boxReadOnly [private]

Referenced by apply(), TableDialog(), and updateColumn().

QCheckBox* TableDialog::boxShowTableComments [private]

Referenced by TableDialog().

QPushButton* TableDialog::buttonApply [private]

Referenced by TableDialog().

QPushButton* TableDialog::buttonCancel [private]

Referenced by TableDialog().

QPushButton* TableDialog::buttonNext [private]

Referenced by TableDialog(), and updateColumn().

QPushButton* TableDialog::buttonOk [private]

Referenced by TableDialog().

QPushButton* TableDialog::buttonPrev [private]

Referenced by TableDialog(), and updateColumn().

QLineEdit* TableDialog::colName [private]

Referenced by apply(), TableDialog(), and updateColumn().

QComboBox* TableDialog::columnsBox [private]

Referenced by TableDialog(), and updateColumn().

QSpinBox* TableDialog::colWidth [private]

Referenced by apply(), TableDialog(), and updateColumn().

QTextEdit* TableDialog::comments [private]

Referenced by apply(), TableDialog(), and updateColumn().

QComboBox* TableDialog::displayBox [private]
QCheckBox* TableDialog::enumerateAllBox [private]

Referenced by apply(), and TableDialog().

QComboBox* TableDialog::formatBox [private]
QLabel * TableDialog::labelFormat [private]

Referenced by TableDialog(), and updateDisplay().

QLabel* TableDialog::labelNumeric [private]

Referenced by TableDialog(), and updateDisplay().

QSpinBox * TableDialog::precisionBox [private]

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

Generated on Tue Nov 3 10:48:57 2009 for QtiPlot by  doxygen 1.6.1