Export ASCII dialog.
More...
#include <ExportDialog.h>
List of all members.
Public Slots |
void | setColumnSeparator (const QString &sep) |
| Set the column delimiter.
|
void | updateAdvancedOptions (const QString &filter) |
| Update which options are visible and enabled based on the output format.
|
void | updateOptions (const QString &name) |
| Enable/disable export options depending if the selected window is a Table or a Matrix.
|
Public Member Functions |
| ExportDialog (MdiSubWindow *window=NULL, QWidget *parent=0, bool extended=true, Qt::WFlags fl=0) |
| Constructor.
|
| ExtensibleFileDialog (QWidget *parent=0, bool extended=true, Qt::WFlags flags=0) |
| Constructor.
|
bool | isExtendable () |
| Tells weather the dialog has a valid extension widget.
|
bool | isExtended () |
void | setEditableFilter (bool on=true) |
| Enables/Disables editing of the file type filter.
|
void | setExtended (bool extended) |
| Toggle extension widget on/off.
|
void | setExtensionWidget (QWidget *extension) |
| Set the extension widget to be displayed when the user presses the toggle button.
|
void | setExtentionToggleButtonText (const QString &text) |
| Sets the text to be displayed in the toggle button.
|
Protected Slots |
void | accept () |
| Accept changes.
|
void | help () |
| Display help.
|
Private Slots |
void | enableTableName (bool ok) |
| Enable/disable the tables combox box.
|
Additional Inherited Members |
QPushButton * | d_extension_toggle |
| Button for toggling display of extension on/off.
|
Detailed Description
Constructor & Destructor Documentation
ExportDialog::ExportDialog |
( |
MdiSubWindow * |
window = NULL , |
|
|
QWidget * |
parent = 0 , |
|
|
bool |
extended = true , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
Member Function Documentation
void ExportDialog::accept |
( |
| ) |
|
|
protectedslot |
void ExportDialog::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
private |
void ExportDialog::enableTableName |
( |
bool |
ok | ) |
|
|
privateslot |
void ExportDialog::help |
( |
| ) |
|
|
protectedslot |
void ExportDialog::initAdvancedOptions |
( |
| ) |
|
|
private |
Create d_advanced_options and everything it contains.
References boxAllTables, boxComments, boxNames, boxSelection, boxSeparator, boxTable, buttonHelp, d_advanced_options, ApplicationWindow::d_export_col_comment, ApplicationWindow::d_export_col_names, ApplicationWindow::d_export_col_separator, ApplicationWindow::d_export_table_selection, d_window, enableTableName(), help(), ApplicationWindow::matrixNames(), separatorLbl, setColumnSeparator(), ApplicationWindow::tableNames(), and updateOptions().
Referenced by ExportDialog().
void ExportDialog::setColumnSeparator |
( |
const QString & |
sep | ) |
|
|
slot |
void ExportDialog::setFileTypeFilters |
( |
| ) |
|
|
private |
void ExportDialog::updateAdvancedOptions |
( |
const QString & |
filter | ) |
|
|
slot |
void ExportDialog::updateOptions |
( |
const QString & |
name | ) |
|
|
slot |
Member Data Documentation
QCheckBox* ExportDialog::boxAllTables |
|
private |
QCheckBox* ExportDialog::boxComments |
|
private |
QCheckBox* ExportDialog::boxNames |
|
private |
QCheckBox* ExportDialog::boxSelection |
|
private |
QComboBox* ExportDialog::boxSeparator |
|
private |
QComboBox* ExportDialog::boxTable |
|
private |
QPushButton* ExportDialog::buttonHelp |
|
private |
QGroupBox* ExportDialog::d_advanced_options |
|
private |
QLabel* ExportDialog::separatorLbl |
|
private |
The documentation for this class was generated from the following files: