KexiDataTableView Class Reference
#include <kexidatatableview.h>
Inheritance diagram for KexiDataTableView:

Detailed Description
Database aware table widget.
Definition at line 38 of file kexidatatableview.h.
Public Member Functions | |
| KexiDataTableView (QWidget *parent, const char *name=0) | |
| creates a blank widget | |
| KexiDataTableView (QWidget *parent, const char *name, KexiDB::Cursor *cursor) | |
| ~KexiDataTableView () | |
| bool | setData (KexiDB::Cursor *cursor) |
| KexiDB::Cursor * | cursor () |
| int | recordCount () |
Protected Member Functions | |
| void | init () |
Constructor & Destructor Documentation
|
||||||||||||
|
creates a blank widget
Definition at line 36 of file kexidatatableview.cpp. References init(). |
|
||||||||||||||||
|
Creates a table widget and fills it using data from cursor. Cursor will be opened (with open()) if it is not yet opened. Cursor must be defined on query schema, not raw statement (see Connection::prepareQuery() and Connection::executeQuery()), otherwise the table view remain not filled with data. Cursor cursor will not be owned by this object. Definition at line 42 of file kexidatatableview.cpp. |
|
|
Definition at line 49 of file kexidatatableview.cpp. |
Member Function Documentation
|
|
Definition at line 66 of file kexidatatableview.h. |
|
|
Definition at line 54 of file kexidatatableview.cpp. Referenced by KexiDataTableView(). |
|
|
Definition at line 72 of file kexidatatableview.h. |
|
|
Fills table view with data using cursor.
Definition at line 72 of file kexidatatableview.cpp. References KexiDataAwareObjectInterface::clearColumns(), KexiDB::Cursor::debug(), KexiDB::Cursor::fieldCount(), KexiDB::Cursor::isOpened(), KexiDB::Cursor::open(), KexiTableViewData::preloadAllRows(), KexiDB::Cursor::query(), KexiDB::Cursor::serverErrorMsg(), and KexiTableView::setData(). Referenced by KexiDataTableView(). |
The documentation for this class was generated from the following files:
