kexi
KexiDBForm Class Reference
#include <kexidbform.h>
Inheritance diagram for KexiDBForm:

Detailed Description
A DB-aware form widget, acting as form's toplevel widget.
Definition at line 46 of file kexidbform.h.
Public Slots | |
void | setAutoTabStops (bool set) |
void | setDataSource (const QString &ds) |
void | setDataSourceMimeType (const QCString &ds) |
QSize | sizeInternal () const |
void | resizeInternal (const QSize &s) |
Signals | |
void | handleDragMoveEvent (QDragMoveEvent *e) |
void | handleDropEvent (QDropEvent *e) |
Public Member Functions | |
KexiDBForm (QWidget *parent, KexiDataAwareObjectInterface *dataAwareObject, const char *name="kexi_dbform") | |
virtual | ~KexiDBForm () |
KexiDataAwareObjectInterface * | dataAwareObject () const |
QString | dataSource () const |
QCString | dataSourceMimeType () const |
QVariant | value () |
virtual void | setInvalidState (const QString &displayText) |
virtual void | drawRect (const QRect &r, int type) |
virtual void | drawRects (const QValueList< QRect > &list, int type) |
virtual void | initBuffer () |
virtual void | clearForm () |
virtual void | highlightWidgets (QWidget *from, QWidget *to) |
virtual QSize | sizeHint () const |
bool | autoTabStops () const |
QPtrList< QWidget > * | orderedFocusWidgets () const |
QPtrList< QWidget > * | orderedDataAwareWidgets () const |
int | indexForDataItem (KexiDataItemInterface *item) const |
void | updateTabStopsOrder (KFormDesigner::Form *form) |
void | updateTabStopsOrder () |
virtual bool | eventFilter (QObject *watched, QEvent *e) |
virtual bool | valueIsNull () |
virtual bool | valueIsEmpty () |
virtual bool | isReadOnly () const |
virtual QWidget * | widget () |
virtual bool | cursorAtStart () |
virtual bool | cursorAtEnd () |
virtual void | clear () |
bool | preview () const |
virtual void | setCursor (const QCursor &cursor) |
Protected Member Functions | |
virtual void | setValueInternal (const QVariant &, bool) |
virtual void | dragMoveEvent (QDragMoveEvent *e) |
virtual void | dropEvent (QDropEvent *e) |
Protected Attributes | |
KexiFormDataItemInterface * | editedItem |
Private * | d |
Properties | |
QString | dataSource |
QCString | dataSourceMimeType |
bool | autoTabStops |
QSize | sizeInternal |
Friends | |
class | KexiFormScrollView |
Member Function Documentation
|
Implements KexiDataItemInterface. Definition at line 456 of file kexidbform.cpp. |
|
Clears the form, ie pastes the whole buffer to repaint the Form. Implements KFormDesigner::FormWidget. Definition at line 154 of file kexidbform.cpp. |
|
Implements KexiDataItemInterface. Definition at line 451 of file kexidbform.cpp. |
|
Implements KexiDataItemInterface. Definition at line 446 of file kexidbform.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 63 of file kexidbform.h. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 64 of file kexidbform.h. |
|
This function draws the rects in the list in the Form, above of all widgets, using double-buffering. type can be 1 (selection rect) or 2 (insert rect, dotted). Implements KFormDesigner::FormWidget. Definition at line 110 of file kexidbform.cpp. |
|
This function highlights two widgets (to is optional), which are sender and receiver, and draws a link between them. Implements KFormDesigner::FormWidget. Definition at line 172 of file kexidbform.cpp. |
|
This function inits the buffer used for double-buffering. Called before drawing rect. Implements KFormDesigner::FormWidget. Definition at line 145 of file kexidbform.cpp. |
|
Reimplemented from KexiDataItemInterface. Definition at line 433 of file kexidbform.cpp. |
|
Definition at line 486 of file kexidbform.cpp. |
|
Sets the name of the data source for this widget. Data source usually means here a table or query or field name name. Reimplemented from KexiFormDataItemInterface. Definition at line 107 of file kexidbform.h. |
|
Sets the mime type of the data source for this widget. Data source usually means here a "kexi/table" or "kexi/query".
Reimplemented from KexiFormDataItemInterface. Definition at line 108 of file kexidbform.h. |
|
Implements KexiFormDataItemInterface. Definition at line 239 of file kexidbform.cpp. |
|
no effect
Implements KexiDataItemInterface. Definition at line 122 of file kexidbform.h. |
|
Definition at line 266 of file kexidbform.cpp. |
|
no effect
Implements KexiDataItemInterface. Definition at line 67 of file kexidbform.h. |
|
Implements KexiDataItemInterface. Definition at line 428 of file kexidbform.cpp. |
|
Implements KexiDataItemInterface. Definition at line 423 of file kexidbform.cpp. |
|
Convenience function: casts this item to a QWidget. Can return 0 if the item is not a QWidget-derived object. Reimplemented from KexiFormDataItemInterface. Definition at line 441 of file kexidbform.cpp. |
Member Data Documentation
|
Points to a currently edited data item. It is cleared when the focus is moved to other Definition at line 131 of file kexidbform.h. |
The documentation for this class was generated from the following files: