KexiCSVExportWizard Class Reference
#include <kexicsvexportwizard.h>
Inheritance diagram for KexiCSVExportWizard:

Detailed Description
Kexi CSV export wizard Supports exporting to a file and to a clipboard.
Definition at line 42 of file kexicsvexportwizard.h.
Public Member Functions | |
| KexiCSVExportWizard (const KexiCSVExport::Options &options, KexiMainWindow *mainWin, QWidget *parent=0, const char *name=0) | |
| virtual | ~KexiCSVExportWizard () |
| bool | cancelled () const |
| virtual void | showPage (QWidget *page) |
Protected Slots | |
| virtual void | next () |
| virtual void | done (int result) |
| void | slotShowOptionsButtonClicked () |
| void | slotDefaultsButtonClicked () |
Protected Member Functions | |
| virtual void | layOutButtonRow (QHBoxLayout *layout) |
| reimplemented to add "Defaults" button on the left hand | |
| QString | defaultDelimiter () const |
| QString | defaultTextQuote () const |
| bool | readBoolEntry (const char *key, bool defaultValue) |
| Helper, works like kapp->config()->readBoolEntry(const char*, bool) but if mode is Clipboard, "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" and "CSVFiles" is replaced with "CSVToClipboard" in key, to keep the setting separate. | |
| QString | readEntry (const char *key, const QString &defaultValue=QString::null) |
| Helper like readBoolEntry(const char *, bool), but for QString values. | |
| void | writeEntry (const char *key, bool value) |
| Helper, works like kapp->config()->writeEntry(const char*,bool) but if mode is Clipboard, "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" and "CSVFiles" is replaced with "CSVToClipboard" in key, to keep the setting separate. | |
| void | writeEntry (const char *key, const QString &value) |
| Helper like writeEntry(const char *, bool), but for QString values. | |
| void | deleteEntry (const char *key) |
| Helper like writeEntry(const char *, bool), but for deleting config entry. | |
Protected Attributes | |
| KexiCSVExport::Options | m_options |
| KexiMainWindow * | m_mainWin |
| KexiStartupFileDialog * | m_fileSavePage |
| QWidget * | m_exportOptionsPage |
| KPushButton * | m_showOptionsButton |
| KPushButton * | m_defaultsBtn |
| QGroupBox * | m_exportOptionsSection |
| KexiCSVInfoLabel * | m_infoLblFrom |
| KexiCSVInfoLabel * | m_infoLblTo |
| KexiCSVDelimiterWidget * | m_delimiterWidget |
| KexiCSVTextQuoteComboBox * | m_textQuote |
| KexiCharacterEncodingComboBox * | m_characterEncodingCombo |
| QCheckBox * | m_addColumnNamesCheckBox |
| QCheckBox * | m_alwaysUseCheckBox |
| KexiDB::TableOrQuerySchema * | m_tableOrQuery |
| int | m_rowCount |
| Cached row count for a table/query. | |
| bool | m_rowCountDetermined: 1 |
| bool | m_cancelled: 1 |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
|
Definition at line 231 of file kexicsvexportwizard.cpp. References m_tableOrQuery. |
Member Function Documentation
|
|
Definition at line 236 of file kexicsvexportwizard.cpp. References m_cancelled. Referenced by KexiCSVImportExportPart::createWidget(). |
|
|
Definition at line 413 of file kexicsvexportwizard.cpp. References KexiCSVExport::Clipboard, KexiCSVExport::Options::forceDelimiter, KEXICSV_DEFAULT_CLIPBOARD_DELIMITER, KEXICSV_DEFAULT_FILE_DELIMITER, m_options, and KexiCSVExport::Options::mode. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
|
|
Definition at line 424 of file kexicsvexportwizard.cpp. References KexiCSVExport::Clipboard, KEXICSV_DEFAULT_CLIPBOARD_TEXT_QUOTE, KEXICSV_DEFAULT_FILE_TEXT_QUOTE, m_options, and KexiCSVExport::Options::mode. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
|
|
Helper like writeEntry(const char *, bool), but for deleting config entry.
Definition at line 408 of file kexicsvexportwizard.cpp. References convertKey(), m_options, and KexiCSVExport::Options::mode. Referenced by done(). |
|
|
|
reimplemented to add "Defaults" button on the left hand
Definition at line 349 of file kexicsvexportwizard.cpp. References m_defaultsBtn, m_exportOptionsSection, and slotDefaultsButtonClicked(). |
|
|
Definition at line 276 of file kexicsvexportwizard.cpp. References KexiStartupFileDialog::checkFileName(), and m_fileSavePage. |
|
||||||||||||
|
Helper, works like kapp->config()->readBoolEntry(const char*, bool) but if mode is Clipboard, "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" and "CSVFiles" is replaced with "CSVToClipboard" in key, to keep the setting separate.
Definition at line 388 of file kexicsvexportwizard.cpp. References convertKey(), m_options, and KexiCSVExport::Options::mode. Referenced by KexiCSVExportWizard(). |
|
||||||||||||
|
Helper like readBoolEntry(const char *, bool), but for QString values.
Definition at line 393 of file kexicsvexportwizard.cpp. References convertKey(), m_options, and KexiCSVExport::Options::mode. Referenced by KexiCSVExportWizard(). |
|
|
|
Definition at line 369 of file kexicsvexportwizard.cpp. References defaultDelimiter(), defaultTextQuote(), m_addColumnNamesCheckBox, m_characterEncodingCombo, m_delimiterWidget, m_textQuote, KexiCharacterEncodingComboBox::selectDefaultEncoding(), KexiCSVDelimiterWidget::setDelimiter(), and KexiCSVTextQuoteComboBox::setTextQuote(). Referenced by layOutButtonRow(). |
|
|
Definition at line 331 of file kexicsvexportwizard.cpp. References m_alwaysUseCheckBox, m_defaultsBtn, m_exportOptionsSection, and m_showOptionsButton. Referenced by KexiCSVExportWizard(). |
|
||||||||||||
|
Helper like writeEntry(const char *, bool), but for QString values.
Definition at line 398 of file kexicsvexportwizard.cpp. References convertKey(), m_options, and KexiCSVExport::Options::mode. |
|
||||||||||||
|
Helper, works like kapp->config()->writeEntry(const char*,bool) but if mode is Clipboard, "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" and "CSVFiles" is replaced with "CSVToClipboard" in key, to keep the setting separate.
Definition at line 403 of file kexicsvexportwizard.cpp. References convertKey(), m_options, and KexiCSVExport::Options::mode. Referenced by done(). |
Member Data Documentation
|
|
Definition at line 106 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
|
|
Definition at line 106 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), and slotShowOptionsButtonClicked(). |
|
|
Definition at line 110 of file kexicsvexportwizard.h. Referenced by cancelled(), and KexiCSVExportWizard(). |
|
|
Definition at line 105 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
|
|
Definition at line 100 of file kexicsvexportwizard.h. Referenced by layOutButtonRow(), showPage(), and slotShowOptionsButtonClicked(). |
|
|
Definition at line 103 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
|
|
Definition at line 98 of file kexicsvexportwizard.h. Referenced by KexiCSVExportWizard(), and showPage(). |
|
|
Definition at line 101 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), layOutButtonRow(), and slotShowOptionsButtonClicked(). |
|
|
Definition at line 97 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), next(), and showPage(). |
|
|
Definition at line 102 of file kexicsvexportwizard.h. Referenced by KexiCSVExportWizard(), and showPage(). |
|
|
Definition at line 102 of file kexicsvexportwizard.h. Referenced by KexiCSVExportWizard(), and showPage(). |
|
|
Definition at line 96 of file kexicsvexportwizard.h. Referenced by KexiCSVExportWizard(). |
|
|
Definition at line 93 of file kexicsvexportwizard.h. Referenced by defaultDelimiter(), defaultTextQuote(), deleteEntry(), done(), KexiCSVExportWizard(), readBoolEntry(), readEntry(), showPage(), and writeEntry(). |
|
|
Cached row count for a table/query.
Definition at line 108 of file kexicsvexportwizard.h. Referenced by showPage(). |
|
|
Definition at line 109 of file kexicsvexportwizard.h. Referenced by showPage(). |
|
|
Definition at line 99 of file kexicsvexportwizard.h. Referenced by KexiCSVExportWizard(), and slotShowOptionsButtonClicked(). |
|
|
Definition at line 107 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), showPage(), and ~KexiCSVExportWizard(). |
|
|
Definition at line 104 of file kexicsvexportwizard.h. Referenced by done(), KexiCSVExportWizard(), and slotDefaultsButtonClicked(). |
The documentation for this class was generated from the following files:
