KexiDBDoubleSpinBox Class Reference
#include <kexidbdoublespinbox.h>
Inheritance diagram for KexiDBDoubleSpinBox:

Detailed Description
A db-aware int spin box.
Definition at line 29 of file kexidbdoublespinbox.h.
Public Slots | |
| virtual void | setEnabled (bool enabled) |
| void | setDataSource (const QString &ds) |
| Sets the name of the data source for this widget. | |
| void | setDataSourceMimeType (const QCString &ds) |
| void | slotValueChanged () |
| virtual void | setReadOnly (bool set) |
Public Member Functions | |
| KexiDBDoubleSpinBox (QWidget *parent, const char *name=0) | |
| virtual | ~KexiDBDoubleSpinBox () |
| 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 () |
| clears item's data, so the data will contain NULL data | |
Protected Member Functions | |
| virtual void | setValueInternal (const QVariant &add, bool removeOld) |
Properties | |
| QString | dataSource |
| QCString | dataSourceMimeType |
| bool | readOnly |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 25 of file kexidbdoublespinbox.cpp. References slotValueChanged(), and KexiDataItemInterface::valueChanged(). |
|
|
Definition at line 31 of file kexidbdoublespinbox.cpp. |
Member Function Documentation
|
|
clears item's data, so the data will contain NULL data
Implements KexiDataItemInterface. Definition at line 108 of file kexidbdoublespinbox.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 103 of file kexidbdoublespinbox.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 98 of file kexidbdoublespinbox.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 40 of file kexidbdoublespinbox.h. References KexiFormDataItemInterface::dataSource(). |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 41 of file kexidbdoublespinbox.h. References KexiFormDataItemInterface::dataSourceMimeType(). |
|
|
Reimplemented from KexiDataItemInterface. Definition at line 82 of file kexidbdoublespinbox.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 67 of file kexidbdoublespinbox.h. References KexiFormDataItemInterface::setDataSource(). |
|
|
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 68 of file kexidbdoublespinbox.h. References KexiFormDataItemInterface::setDataSourceMimeType(). |
|
|
Definition at line 48 of file kexidbdoublespinbox.cpp. Referenced by setInvalidState(). |
|
|
Implements KexiFormDataItemInterface. Definition at line 35 of file kexidbdoublespinbox.cpp. References setEnabled(), and setReadOnly(). |
|
|
Changes 'read only' flag, for this widget. Typically this flag can be passed to a widget itself, e.g. KLineEdit::setReadOnly(bool). Implements KexiFormDataItemInterface. Definition at line 87 of file kexidbdoublespinbox.cpp. Referenced by setInvalidState(). |
|
||||||||||||
|
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 56 of file kexidbdoublespinbox.cpp. References KexiDataItemInterface::m_origValue. |
|
|
Definition at line 67 of file kexidbdoublespinbox.cpp. References KexiDataItemInterface::signalValueChanged(). Referenced by KexiDBDoubleSpinBox(). |
|
|
Implements KexiDataItemInterface. Definition at line 62 of file kexidbdoublespinbox.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 77 of file kexidbdoublespinbox.cpp. |
|
|
Implements KexiDataItemInterface. Definition at line 72 of file kexidbdoublespinbox.cpp. |
|
|
Reimplemented from KexiFormDataItemInterface. Definition at line 93 of file kexidbdoublespinbox.cpp. |
Property Documentation
|
|
Definition at line 32 of file kexidbdoublespinbox.h. |
|
|
Definition at line 33 of file kexidbdoublespinbox.h. |
|
|
Definition at line 34 of file kexidbdoublespinbox.h. |
The documentation for this class was generated from the following files:
