kexi
KexiCSVExportWizard Class Reference
#include <kexicsvexportwizard.h>
Detailed Description
Kexi CSV export wizard Supports exporting to a file and to a clipboard.
Definition at line 40 of file kexicsvexportwizard.h.
Public Types | |
enum | Mode { Clipboard, File } |
Public Member Functions | |
KexiCSVExportWizard (const 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) |
bool | exportData () |
QString | defaultDelimiter () const |
QString | defaultTextQuote () const |
bool | readBoolEntry (const char *key, bool defaultValue) |
QString | readEntry (const char *key, const QString &defaultValue=QString::null) |
void | writeEntry (const char *key, bool value) |
void | writeEntry (const char *key, const QString &value) |
void | deleteEntry (const char *key) |
Protected Attributes | |
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 |
bool | m_rowCountDetermined: 1 |
bool | m_cancelled: 1 |
Classes | |
class | Options |
Options used in KexiCSVExportWizard contructor. More... |
Member Enumeration Documentation
|
Exporting mode: a file or clipboard.
Definition at line 46 of file kexicsvexportwizard.h. |
Constructor & Destructor Documentation
|
lineEditOnBottom
Definition at line 54 of file kexicsvexportwizard.cpp. |
Member Function Documentation
|
Definition at line 566 of file kexicsvexportwizard.cpp. |
|
Definition at line 577 of file kexicsvexportwizard.cpp. |
|
Helper like writeEntry(const char *, bool), but for deleting config entry.
Definition at line 561 of file kexicsvexportwizard.cpp. |
|
Exporting, returns false on failure.
Definition at line 380 of file kexicsvexportwizard.cpp. |
|
reimplemented to add "Defaults" button on the left hand
Definition at line 352 of file kexicsvexportwizard.cpp. |
|
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 541 of file kexicsvexportwizard.cpp. |
|
Helper like readBoolEntry(const char *, bool), but for QString values.
Definition at line 546 of file kexicsvexportwizard.cpp. |
|
Helper like writeEntry(const char *, bool), but for QString values.
Definition at line 551 of file kexicsvexportwizard.cpp. |
|
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 556 of file kexicsvexportwizard.cpp. |
Member Data Documentation
|
Cached row count for a table/query.
Definition at line 121 of file kexicsvexportwizard.h. |
The documentation for this class was generated from the following files: