kexi

KexiCSVImportDialog Class Reference

#include <kexicsvimportdialog.h>

List of all members.


Detailed Description

Kexi CSV import dialog.

This is temporary solution for Kexi CSV import, based on kspread/dialogs/kspread_dlg_csv.h, cc.

Provides dialog for managing CSV (comma separated value) data.

Currently KexiCSVImportDialog is used for converting text into columns, inserting text file and pasting text from clipboard, where conversion from CSV (comma separated value) data is is all required. The different purposed mentioned above is determined using mode, which can be Column, File, or Clipboard respectively.

Definition at line 76 of file kexicsvimportdialog.h.


Public Types

enum  Mode { Clipboard, File }
enum  Header { TEXT, NUMBER, DATE, CURRENCY }

Public Member Functions

 KexiCSVImportDialog (Mode mode, KexiMainWindow *mainWin, QWidget *parent, const char *name=0)
 ~KexiCSVImportDialog ()
bool cancelled () const
virtual bool eventFilter (QObject *watched, QEvent *e)

Protected Member Functions

bool openData ()
virtual void accept ()

Constructor & Destructor Documentation

KexiCSVImportDialog::KexiCSVImportDialog Mode  mode,
KexiMainWindow mainWin,
QWidget *  parent,
const char *  name = 0
 

Todo:
what about making it kexidb-independent?

Definition at line 134 of file kexicsvimportdialog.cpp.


Member Function Documentation

void KexiCSVImportDialog::accept  )  [protected, virtual]
 

Todo:
MOVE MOST OF THIS TO CORE/ (KexiProject?) after KexiDialogBase code is moved to non-gui place
Todo:
make it better integrated with main window
Todo:
: err
Todo:
make this field hidden (what about e.g. pgsql?)
Todo:
what about time and float/double types and different integer subtypes?
Todo:
what about long text?
gui

gui

gui

gui

Definition at line 1155 of file kexicsvimportdialog.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys