Export ASCII dialog. More...
#include <ExportDialog.h>
Public Slots | |
void | setColumnSeparator (const QString &sep) |
Set the column delimiter. | |
Public Member Functions | |
ExportDialog (const QString &tableName, QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. | |
Protected Slots | |
void | accept () |
Accept changes. | |
void | help () |
Display help. | |
Private Slots | |
void | enableTableName (bool ok) |
Enable/disable the tables combox box. | |
void | updateOptions (const QString &name) |
Enable/disable export options depending if the selected window is a Table or a Matrix. | |
Private Member Functions | |
void | closeEvent (QCloseEvent *) |
Private Attributes | |
QCheckBox * | boxAllTables |
QCheckBox * | boxComments |
QCheckBox * | boxNames |
QCheckBox * | boxSelection |
QComboBox * | boxSeparator |
QComboBox * | boxTable |
QPushButton * | buttonCancel |
QPushButton * | buttonHelp |
QPushButton * | buttonOk |
Export ASCII dialog.
ExportDialog::ExportDialog | ( | const QString & | tableName, | |
QWidget * | parent = 0 , |
|||
Qt::WFlags | fl = 0 | |||
) |
Constructor.
tableName | active table name | |
parent | parent widget | |
fl | window flags |
References accept(), boxAllTables, boxComments, boxNames, boxSelection, boxSeparator, boxTable, buttonCancel, buttonHelp, buttonOk, ApplicationWindow::d_export_col_comment, ApplicationWindow::d_export_col_names, ApplicationWindow::d_export_col_separator, ApplicationWindow::d_export_table_selection, enableTableName(), help(), ApplicationWindow::matrixNames(), setColumnSeparator(), ApplicationWindow::tableNames(), and updateOptions().
void ExportDialog::accept | ( | ) | [protected, slot] |
Accept changes.
References boxAllTables, boxComments, boxNames, boxSelection, boxSeparator, boxTable, ApplicationWindow::exportAllTables(), and ApplicationWindow::exportASCII().
Referenced by ExportDialog().
void ExportDialog::closeEvent | ( | QCloseEvent * | e | ) | [private] |
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.
References boxTable.
Referenced by ExportDialog().
void ExportDialog::help | ( | ) | [protected, slot] |
Display help.
Referenced by ExportDialog().
void ExportDialog::setColumnSeparator | ( | const QString & | sep | ) | [slot] |
void ExportDialog::updateOptions | ( | const QString & | name | ) | [private, slot] |
Enable/disable export options depending if the selected window is a Table or a Matrix.
References boxComments, boxNames, and ApplicationWindow::window().
Referenced by ExportDialog().
QCheckBox* ExportDialog::boxAllTables [private] |
Referenced by accept(), and ExportDialog().
QCheckBox* ExportDialog::boxComments [private] |
Referenced by accept(), closeEvent(), ExportDialog(), and updateOptions().
QCheckBox* ExportDialog::boxNames [private] |
Referenced by accept(), closeEvent(), ExportDialog(), and updateOptions().
QCheckBox* ExportDialog::boxSelection [private] |
Referenced by accept(), closeEvent(), and ExportDialog().
QComboBox* ExportDialog::boxSeparator [private] |
Referenced by accept(), closeEvent(), ExportDialog(), and setColumnSeparator().
QComboBox* ExportDialog::boxTable [private] |
Referenced by accept(), enableTableName(), and ExportDialog().
QPushButton* ExportDialog::buttonCancel [private] |
Referenced by ExportDialog().
QPushButton* ExportDialog::buttonHelp [private] |
Referenced by ExportDialog().
QPushButton* ExportDialog::buttonOk [private] |
Referenced by ExportDialog().