kexi
KexiDataTable Class Reference
#include <kexidatatable.h>

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) | |
| KexiTableView * | tableView () 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 53 of file kexidatatable.cpp.
Member Function Documentation
| void KexiDataTable::setData | ( | KexiDB::Cursor * | cursor | ) | [slot] |
Sets data. Only works for db-aware table.
Definition at line 66 of file kexidatatable.cpp.
| void KexiDataTable::filter | ( | ) | [protected, slot] |
The documentation for this class was generated from the following files:

