kexi
KexiDBTimeEdit Class Reference
#include <kexidbtimeedit.h>
Inheritance diagram for KexiDBTimeEdit:

Detailed Description
A db-aware time editor.
Definition at line 31 of file kexidbtimeedit.h.
Public Slots | |
void | setDataSource (const QString &ds) |
void | setDataSourceMimeType (const QCString &ds) |
virtual void | setReadOnly (bool set) |
Public Member Functions | |
KexiDBTimeEdit (const QTime &time, QWidget *parent, const char *name=0) | |
virtual | ~KexiDBTimeEdit () |
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 Slots | |
void | slotValueChanged (const QTime &) |
Protected Member Functions | |
virtual void | setValueInternal (const QVariant &add, bool removeOld) |
Properties | |
QString | dataSource |
QCString | dataSourceMimeType |
bool | readOnly |
Member Function Documentation
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 142 of file kexidbtimeedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 132 of file kexidbtimeedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 123 of file kexidbtimeedit.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 42 of file kexidbtimeedit.h. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 43 of file kexidbtimeedit.h. |
|
Reimplemented from KexiDataItemInterface. Definition at line 105 of file kexidbtimeedit.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 kexidbtimeedit.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 kexidbtimeedit.h. |
|
Implements KexiFormDataItemInterface. Definition at line 50 of file kexidbtimeedit.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 69 of file kexidbtimeedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 89 of file kexidbtimeedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 100 of file kexidbtimeedit.cpp. |
|
Implements KexiDataItemInterface. Definition at line 95 of file kexidbtimeedit.cpp. |
|
Reimplemented from KexiFormDataItemInterface. Definition at line 118 of file kexidbtimeedit.cpp. |
The documentation for this class was generated from the following files: