ExportDialog Class Reference

#include <ExportDialog.h>

List of all members.


Detailed Description

Export ASCII dialog.

Public Slots

void setActiveTableName (const QString &name)
 Select a table.
void setColumnSeparator (const QString &sep)
 Set the column delimiter.
void setTableNames (const QStringList &names)
 Set the list of tables.

Signals

void exportAllTables (const QString &separator, bool exportColumnNames, bool exportSelection)
 Export all tables.
void exportTable (const QString &tableName, const QString &separator, bool exportColumnNames, bool exportSelection)
 Export one table.

Public Member Functions

 ExportDialog (QWidget *parent=0, Qt::WFlags fl=0)
 Constructor.
 ~ExportDialog ()
 Destructor.

Protected Slots

void accept ()
 Accept changes.
void help ()
 Display help.

Private Slots

void enableTableName (bool ok)
 Enable/disable the tables combox box.

Private Attributes

QCheckBox * boxAllTables
QCheckBox * boxNames
QCheckBox * boxSelection
QComboBox * boxSeparator
QComboBox * boxTable
QPushButton * buttonCancel
QPushButton * buttonHelp
QPushButton * buttonOk

Constructor & Destructor Documentation

ExportDialog::ExportDialog ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructor.

Parameters:
parent parent widget
fl window flags

ExportDialog::~ExportDialog (  ) 

Destructor.


Member Function Documentation

void ExportDialog::accept (  )  [protected, slot]

Accept changes.

void ExportDialog::enableTableName ( bool  ok  )  [private, slot]

Enable/disable the tables combox box.

The tables combo box is disabled when the checkbox "all" is selected.

void ExportDialog::exportAllTables ( const QString &  separator,
bool  exportColumnNames,
bool  exportSelection 
) [signal]

Export all tables.

Parameters:
separator separator to be put between the columns
exportColumnNames flag: column names in the first line or not
exportSelection flag: export only selection or all cells

void ExportDialog::exportTable ( const QString &  tableName,
const QString &  separator,
bool  exportColumnNames,
bool  exportSelection 
) [signal]

Export one table.

Parameters:
tableName name of the table to export
separator separator to be put between the columns
exportColumnNames flag: column names in the first line or not
exportSelection flag: export only selection or all cells

void ExportDialog::help (  )  [protected, slot]

Display help.

void ExportDialog::setActiveTableName ( const QString &  name  )  [slot]

Select a table.

void ExportDialog::setColumnSeparator ( const QString &  sep  )  [slot]

Set the column delimiter.

void ExportDialog::setTableNames ( const QStringList &  names  )  [slot]

Set the list of tables.


Member Data Documentation

QCheckBox* ExportDialog::boxAllTables [private]

QCheckBox* ExportDialog::boxNames [private]

QCheckBox* ExportDialog::boxSelection [private]

QComboBox* ExportDialog::boxSeparator [private]

QComboBox* ExportDialog::boxTable [private]

QPushButton* ExportDialog::buttonCancel [private]

QPushButton* ExportDialog::buttonHelp [private]

QPushButton* ExportDialog::buttonOk [private]


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3