kexi
KexiDBCheckBox Class Reference
#include <kexidbcheckbox.h>
Inheritance diagram for KexiDBCheckBox:

Detailed Description
A db-aware check box.
Definition at line 28 of file kexidbcheckbox.h.
Public Slots | |
void | setDataSource (const QString &ds) |
void | setDataSourceMimeType (const QCString &ds) |
void | slotStateChanged (int state) |
Public Member Functions | |
KexiDBCheckBox (const QString &text, QWidget *parent, const char *name=0) | |
virtual | ~KexiDBCheckBox () |
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 | setEnabled (bool enabled) |
Protected Member Functions | |
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 kexidbcheckbox.cpp. |
|
Implements KexiDataItemInterface. Definition at line 99 of file kexidbcheckbox.cpp. |
|
Implements KexiDataItemInterface. Definition at line 94 of file kexidbcheckbox.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 38 of file kexidbcheckbox.h. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 39 of file kexidbcheckbox.h. |
|
Reimplemented from KexiDataItemInterface. Definition at line 83 of file kexidbcheckbox.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 66 of file kexidbcheckbox.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 67 of file kexidbcheckbox.h. |
|
Implements KexiFormDataItemInterface. Definition at line 38 of file kexidbcheckbox.cpp. |
|
Initializes this editor with add value, which should be somewhat added to the current value (already storted in m_origValue). If removeOld is true, a value should be set to add, otherwise -it should be set to current m_origValue + add, if possible. Implement this. Implements KexiDataItemInterface. Definition at line 57 of file kexidbcheckbox.cpp. |
|
Implements KexiDataItemInterface. Definition at line 63 of file kexidbcheckbox.cpp. |
|
Implements KexiDataItemInterface. Definition at line 78 of file kexidbcheckbox.cpp. |
|
Implements KexiDataItemInterface. Definition at line 73 of file kexidbcheckbox.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 89 of file kexidbcheckbox.cpp. |
The documentation for this class was generated from the following files: