kexi

KexiCSVImportDialog Class Reference

#include <kexicsvimportdialog.h>

Inherits KDialogBase.

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 78 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)
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?

Todo:
reuse Clipboard too!

Definition at line 137 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 1311 of file kexicsvimportdialog.cpp.


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