kexi
KexiDBTextEdit Class Reference
#include <kexidbtextedit.h>
Inheritance diagram for KexiDBTextEdit:

Detailed Description
Multiline edit widget for Kexi forms.
Definition at line 29 of file kexidbtextedit.h.
Public Slots | |
void | setDataSource (const QString &ds) |
void | setDataSourceMimeType (const QCString &ds) |
Public Member Functions | |
KexiDBTextEdit (QWidget *parent, const char *name=0) | |
virtual | ~KexiDBTextEdit () |
QString | dataSource () const |
QCString | dataSourceMimeType () const |
virtual QVariant | value () |
virtual void | setInvalidState (const QString &displayText) |
virtual bool | valueIsNull () |
virtual bool | valueIsEmpty () |
virtual bool | isReadOnly () const |
virtual QWidget * | widget () |
virtual bool | cursorAtStart () |
virtual bool | cursorAtEnd () |
virtual void | clear () |
virtual void | setColumnInfo (KexiDB::QueryColumnInfo *cinfo) |
Protected Slots | |
void | slotTextChanged () |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *) |
virtual void | setValueInternal (const QVariant &add, bool removeOld) |
Properties | |
QString | dataSource |
QCString | dataSourceMimeType |
Member Function Documentation
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 104 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 97 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 90 of file kexidbtextedit.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 42 of file kexidbtextedit.h. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 43 of file kexidbtextedit.h. |
|
Reimplemented from KexiDataItemInterface. Definition at line 80 of file kexidbtextedit.cpp. |
|
Used internally to set database column information. Reimplement if you need to do additional actions, e.g. set data validator based on field type. Don't forget about calling superclass implementation. Reimplemented from KexiFormDataItemInterface. Definition at line 109 of file kexidbtextedit.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 70 of file kexidbtextedit.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 71 of file kexidbtextedit.h. |
|
Implements KexiFormDataItemInterface. Definition at line 37 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 46 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 60 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 75 of file kexidbtextedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 70 of file kexidbtextedit.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 85 of file kexidbtextedit.cpp. |
The documentation for this class was generated from the following files: