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

Column options dialog. More...

#include <TableDialog.h>

Inheritance diagram for TableDialog:

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 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::TableDialog ( Table t,
QWidget *  parent,
Qt::WFlags  fl = 0 
)

Member Function Documentation

§ accept

void TableDialog::accept ( )
privateslot

References apply().

Referenced by TableDialog().

§ apply

void TableDialog::apply ( )
privateslot

§ changeWidth

void TableDialog::changeWidth ( const QString &  ,
bool   
)
signal

§ closeEvent()

void TableDialog::closeEvent ( QCloseEvent *  ce)
private

References d_table, and Table::freeMemory().

§ enumRightCols

void TableDialog::enumRightCols ( bool  )
signal

§ nameChanged

void TableDialog::nameChanged ( const QString &  )
signal

§ nextColumn

void TableDialog::nextColumn ( )
privateslot

§ prevColumn

void TableDialog::prevColumn ( )
privateslot

§ setColumnWidth

void TableDialog::setColumnWidth ( int  width)
privateslot

§ setDateTimeFormat()

void TableDialog::setDateTimeFormat ( int  type,
const QString &  format,
bool  allRightColumns 
)
private

§ setDayFormat

void TableDialog::setDayFormat ( const QString &  format,
bool  allRightColumns 
)
privateslot

§ setMonthFormat

void TableDialog::setMonthFormat ( const QString &  format,
bool  allRightColumns 
)
privateslot

§ setNumericFormat

void TableDialog::setNumericFormat ( int  type,
int  prec,
bool  allRightColumns 
)
privateslot

§ setPlotDesignation

void TableDialog::setPlotDesignation ( int  i)
privateslot

§ setTextFormat()

void TableDialog::setTextFormat ( bool  allRightColumns)
private

§ showPrecisionBox

void TableDialog::showPrecisionBox ( int  item)
privateslot

References precisionBox.

§ updateColumn

void TableDialog::updateColumn ( int  sc)
privateslot

§ updateDisplay

void TableDialog::updateDisplay ( int  item)
privateslot

§ updatePrecision

void TableDialog::updatePrecision ( int  prec)
privateslot

References applyToRightCols, formatBox, and setNumericFormat().

Referenced by TableDialog().

Member Data Documentation

§ applyToAllBox

QCheckBox* TableDialog::applyToAllBox
private

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

§ applyToRightCols

QCheckBox* TableDialog::applyToRightCols
private

§ boxHideColumn

QCheckBox * TableDialog::boxHideColumn
private

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

§ boxReadOnly

QCheckBox * TableDialog::boxReadOnly
private

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

§ boxShowTableComments

QCheckBox* TableDialog::boxShowTableComments
private

Referenced by TableDialog().

§ buttonApply

QPushButton* TableDialog::buttonApply
private

Referenced by TableDialog().

§ buttonCancel

QPushButton* TableDialog::buttonCancel
private

Referenced by TableDialog().

§ buttonNext

QPushButton* TableDialog::buttonNext
private

Referenced by TableDialog(), and updateColumn().

§ buttonOk

QPushButton* TableDialog::buttonOk
private

Referenced by TableDialog().

§ buttonPrev

QPushButton* TableDialog::buttonPrev
private

Referenced by TableDialog(), and updateColumn().

§ colName

QLineEdit* TableDialog::colName
private

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

§ columnsBox

QComboBox* TableDialog::columnsBox
private

Referenced by TableDialog(), and updateColumn().

§ colWidth

QSpinBox* TableDialog::colWidth
private

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

§ comments

QTextEdit* TableDialog::comments
private

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

§ d_table

Table* TableDialog::d_table
private

§ displayBox

QComboBox* TableDialog::displayBox
private

§ enumerateAllBox

QCheckBox* TableDialog::enumerateAllBox
private

Referenced by apply(), and TableDialog().

§ formatBox

QComboBox* TableDialog::formatBox
private

§ labelFormat

QLabel * TableDialog::labelFormat
private

Referenced by TableDialog(), and updateDisplay().

§ labelNumeric

QLabel* TableDialog::labelNumeric
private

Referenced by TableDialog(), and updateDisplay().

§ precisionBox

QSpinBox * TableDialog::precisionBox
private

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