#include <ExportDialog.h>
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 |
| ExportDialog::ExportDialog | ( | QWidget * | parent = 0, |
|
| Qt::WFlags | fl = 0 | |||
| ) |
Constructor.
| parent | parent widget | |
| fl | window flags |
| ExportDialog::~ExportDialog | ( | ) |
Destructor.
| 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.
| 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.
| 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.
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] |
1.5.3