KexiFieldComboBox Class Reference
#include <kexifieldcombobox.h>
Inheritance diagram for KexiFieldComboBox:

Detailed Description
This widget provides a list of fields from a table or query within a combobox, so user can pick one of them.
Definition at line 34 of file kexifieldcombobox.h.
Public Slots | |
| KexiProject * | project () const |
| void | setProject (KexiProject *prj) |
| Sets global project that is used to retrieve schema informationm for this combo box. | |
| void | setTableOrQuery (const QString &name, bool table) |
| QString | tableOrQueryName () const |
| bool | isTableAssigned () const |
| void | setFieldOrExpression (const QString &string) |
| void | setFieldOrExpression (int index) |
| QString | fieldOrExpression () const |
| QString | fieldOrExpressionCaption () const |
| int | indexOfField () const |
Signals | |
| void | selected () |
Public Member Functions | |
| KexiFieldComboBox (QWidget *parent, const char *name=0) | |
| virtual | ~KexiFieldComboBox () |
Protected Slots | |
| void | slotActivated (int) |
| void | slotReturnPressed (const QString &text) |
Protected Member Functions | |
| virtual void | focusOutEvent (QFocusEvent *e) |
Protected Attributes | |
| Private * | d |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 73 of file kexifieldcombobox.cpp. References slotActivated(), and slotReturnPressed(). |
|
|
Definition at line 87 of file kexifieldcombobox.cpp. References d. |
Member Function Documentation
|
|
Definition at line 198 of file kexifieldcombobox.cpp. References d. Referenced by KexiDataSourcePage::slotFieldSelected(). |
|
|
Definition at line 212 of file kexifieldcombobox.cpp. References d. Referenced by KexiDataSourcePage::slotFieldSelected(). |
|
|
Definition at line 242 of file kexifieldcombobox.cpp. References KexiUtils::hasParent(), and slotReturnPressed(). |
|
|
Definition at line 203 of file kexifieldcombobox.cpp. References d, KexiDB::TableOrQuerySchema::query(), and KexiDB::TableOrQuerySchema::table(). |
|
|
Definition at line 145 of file kexifieldcombobox.cpp. References d. |
|
|
Sets table or query schema schema. // The schema object will be owned by the KexiFieldComboBox object.
Definition at line 100 of file kexifieldcombobox.cpp. References d. |
|
|
Referenced by slotActivated(). |
|
|
Definition at line 180 of file kexifieldcombobox.cpp. |
|
|
Definition at line 150 of file kexifieldcombobox.cpp. Referenced by KexiDataSourcePage::assignPropertySet(), KexiDataSourcePage::clearWidgetDataSourceSelection(), and setTableOrQuery(). |
|
|
Sets global project that is used to retrieve schema informationm for this combo box.
Definition at line 92 of file kexifieldcombobox.cpp. References d, and setTableOrQuery(). Referenced by KexiDataSourcePage::setProject(). |
|
||||||||||||
|
Definition at line 105 of file kexifieldcombobox.cpp. References KexiDB::QueryColumnInfo::aliasOrName(), KexiDB::QueryColumnInfo::captionOrAliasOrName(), KexiDB::TableOrQuerySchema::columns(), d, KexiDB::QueryColumnInfo::field, KexiDB::TableOrQuerySchema::query(), setFieldOrExpression(), and KexiDB::TableOrQuerySchema::table(). Referenced by setProject(), and KexiDataSourcePage::slotDataSourceChanged(). |
|
|
Definition at line 217 of file kexifieldcombobox.cpp. References d, and selected(). Referenced by KexiFieldComboBox(), and slotReturnPressed(). |
|
|
Definition at line 223 of file kexifieldcombobox.cpp. References slotActivated(). Referenced by focusOutEvent(), and KexiFieldComboBox(). |
|
|
Definition at line 140 of file kexifieldcombobox.cpp. References d. |
Member Data Documentation
|
|
Definition at line 78 of file kexifieldcombobox.h. Referenced by fieldOrExpression(), fieldOrExpressionCaption(), indexOfField(), isTableAssigned(), project(), setFieldOrExpression(), setProject(), setTableOrQuery(), slotActivated(), tableOrQueryName(), and ~KexiFieldComboBox(). |
The documentation for this class was generated from the following files:
