SciDAVis  1.D4
Public Slots | Signals | Public Member Functions | Protected Slots | Private Slots | Private Attributes
ExportDialog Class Reference

Export ASCII dialog. More...

#include <ExportDialog.h>

List of all members.

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

Detailed Description

Export ASCII dialog.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
parentparent widget
flwindow flags

References accept(), boxAllTables, boxNames, boxSelection, boxSeparator, boxTable, buttonCancel, buttonHelp, buttonOk, enableTableName(), and help().

ExportDialog::~ExportDialog ( )

Destructor.


Member Function Documentation

void ExportDialog::accept ( )
protectedslot
void ExportDialog::enableTableName ( bool  ok)
privateslot

Enable/disable the tables combox box.

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

References boxTable.

Referenced by ExportDialog().

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

Export all tables.

Parameters:
separatorseparator to be put between the columns
exportColumnNamesflag: column names in the first line or not
exportSelectionflag: export only selection or all cells

Referenced by accept().

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

Export one table.

Parameters:
tableNamename of the table to export
separatorseparator to be put between the columns
exportColumnNamesflag: column names in the first line or not
exportSelectionflag: export only selection or all cells

Referenced by accept().

void ExportDialog::help ( )
protectedslot

Display help.

Referenced by ExportDialog().

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

Select a table.

References boxTable.

Referenced by ApplicationWindow::showExportASCIIDialog().

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

Set the column delimiter.

References boxSeparator.

Referenced by ApplicationWindow::showExportASCIIDialog().

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

Set the list of tables.

References boxTable.

Referenced by ApplicationWindow::showExportASCIIDialog().


Member Data Documentation

QCheckBox* ExportDialog::boxAllTables
private

Referenced by accept(), and ExportDialog().

QCheckBox* ExportDialog::boxNames
private

Referenced by accept(), and ExportDialog().

QCheckBox* ExportDialog::boxSelection
private

Referenced by accept(), and ExportDialog().

QComboBox* ExportDialog::boxSeparator
private
QComboBox* ExportDialog::boxTable
private
QPushButton* ExportDialog::buttonCancel
private

Referenced by ExportDialog().

QPushButton* ExportDialog::buttonHelp
private

Referenced by ExportDialog().

QPushButton* ExportDialog::buttonOk
private

Referenced by ExportDialog().


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