kexi

KexiDataTable Class Reference

#include <kexidatatable.h>

Inheritance diagram for KexiDataTable:

KexiDataAwareView KexiViewBase KexiActionProxy KexiAlterTable_DataView KexiAlterTableDialog KexiQueryView List of all members.

Detailed Description

Provides a data-driven (record-based) tabular view.

The KexiDataTable can display data provided "by hand" or from KexiDB-compatible database source.

See also:
KexiFormView

Definition at line 44 of file kexidatatable.h.


Public Slots

void setData (KexiDB::Cursor *cursor)

Public Member Functions

 KexiDataTable (KexiMainWindow *mainWin, QWidget *parent, const char *name=0, bool dbAware=true)
 KexiDataTable (KexiMainWindow *mainWin, QWidget *parent, KexiDB::Cursor *cursor, const char *name=0)
virtual ~KexiDataTable ()
KexiTableViewtableView () const

Protected Slots

void filter ()

Protected Member Functions

void init ()

Constructor & Destructor Documentation

KexiDataTable::KexiDataTable KexiMainWindow mainWin,
QWidget *  parent,
const char *  name = 0,
bool  dbAware = true
 

CTOR1: Creates, empty table view that can be initialized later with setData(). If dbAware is true, table will be db-aware, and KexiDataTableView is used internally. Otherwise, table will be not-db-aware, and KexiTableView is used internally. In the latter case, data can be set by calling tableView()->setData(KexiTableViewData* data).

Definition at line 37 of file kexidatatable.cpp.

KexiDataTable::KexiDataTable KexiMainWindow mainWin,
QWidget *  parent,
KexiDB::Cursor cursor,
const char *  name = 0
 

CTOR2: Creates db-aware, table view initialized with cursor. KexiDataTableView is used internally.

Definition at line 56 of file kexidatatable.cpp.


Member Function Documentation

void KexiDataTable::filter  )  [protected, slot]
 

Todo:

Definition at line 198 of file kexidatatable.cpp.

void KexiDataTable::setData KexiDB::Cursor cursor  )  [slot]
 

Sets data. Only works for db-aware table.

Definition at line 191 of file kexidatatable.cpp.


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