kexi
KexiDBDateTimeEdit Class Reference
#include <kexidbdatetimeedit.h>
Inheritance diagram for KexiDBDateTimeEdit:

Detailed Description
A db-aware datetime editor.
Definition at line 32 of file kexidbdatetimeedit.h.
Public Types | |
| enum | Order { DMY, MDY, YMD, YDM } |
Public Slots | |
| void | setDataSource (const QString &ds) |
| void | setDataSourceMimeType (const QCString &ds) |
| void | setDateTime (const QDateTime &dt) |
| virtual void | setReadOnly (bool set) |
Signals | |
| void | dateTimeChanged () |
Public Member Functions | |
| KexiDBDateTimeEdit (const QDateTime &datetime, QWidget *parent, const char *name=0) | |
| virtual | ~KexiDBDateTimeEdit () |
| 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) |
| QDateTime | dateTime () const |
Protected Slots | |
| void | slotValueChanged () |
| void | slotShowDatePicker () |
| void | acceptDate () |
Protected Member Functions | |
| virtual void | setValueInternal (const QVariant &add, bool removeOld) |
| virtual bool | eventFilter (QObject *o, QEvent *e) |
Properties | |
| QString | dataSource |
| QCString | dataSourceMimeType |
| QDateTime | dateTime |
| bool | readOnly |
Member Function Documentation
|
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 166 of file kexidbdatetimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 156 of file kexidbdatetimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 147 of file kexidbdatetimeedit.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 47 of file kexidbdatetimeedit.h. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 48 of file kexidbdatetimeedit.h. |
|
|
Reimplemented from KexiDataItemInterface. Definition at line 129 of file kexidbdatetimeedit.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 81 of file kexidbdatetimeedit.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 82 of file kexidbdatetimeedit.h. |
|
|
Implements KexiFormDataItemInterface. Definition at line 87 of file kexidbdatetimeedit.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 106 of file kexidbdatetimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 113 of file kexidbdatetimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 124 of file kexidbdatetimeedit.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 118 of file kexidbdatetimeedit.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 142 of file kexidbdatetimeedit.cpp. |
The documentation for this class was generated from the following files:

