#include <kexifieldcombobox.h>
Public Slots | |
| KexiProject * | project () const |
| void | setProject (KexiProject *prj) |
| void | setTableOrQuery (const TQString &name, bool table) |
| TQString | tableOrQueryName () const |
| bool | isTableAssigned () const |
| void | setFieldOrExpression (const TQString &string) |
| void | setFieldOrExpression (int index) |
| TQString | fieldOrExpression () const |
| TQString | fieldOrExpressionCaption () const |
| int | indexOfField () const |
Signals | |
| void | selected () |
Public Member Functions | |
| KexiFieldComboBox (TQWidget *parent, const char *name=0) | |
Protected Slots | |
| void | slotActivated (int) |
| void | slotReturnPressed (const TQString &text) |
Protected Member Functions | |
| virtual void | focusOutEvent (TQFocusEvent *e) |
Protected Attributes | |
| Private * | d |
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.
Constructor & Destructor Documentation
◆ KexiFieldComboBox()
| KexiFieldComboBox::KexiFieldComboBox | ( | TQWidget * | parent, |
| const char * | name = 0 ) |
Definition at line 72 of file kexifieldcombobox.cpp.
◆ ~KexiFieldComboBox()
|
virtual |
Definition at line 86 of file kexifieldcombobox.cpp.
Member Function Documentation
◆ fieldOrExpression
|
slot |
Definition at line 197 of file kexifieldcombobox.cpp.
◆ fieldOrExpressionCaption
|
slot |
Definition at line 211 of file kexifieldcombobox.cpp.
◆ focusOutEvent()
|
protectedvirtual |
Definition at line 241 of file kexifieldcombobox.cpp.
◆ indexOfField
|
slot |
- Returns
- index of selected table or query field. -1 is returned if there is nothing selected or expression is selected of project is not assigned or table or query is not assigned.
Definition at line 202 of file kexifieldcombobox.cpp.
◆ isTableAssigned
|
slot |
Definition at line 144 of file kexifieldcombobox.cpp.
◆ project
|
slot |
Sets table or query schema schema. The schema object will be owned by the KexiFieldComboBox object.
- Returns
- global project that is used to retrieve schema informationm for this combo box.
Definition at line 99 of file kexifieldcombobox.cpp.
◆ setFieldOrExpression [1/2]
|
slot |
- Todo
- show error
Definition at line 149 of file kexifieldcombobox.cpp.
◆ setFieldOrExpression [2/2]
|
slot |
Definition at line 179 of file kexifieldcombobox.cpp.
◆ setProject
|
slot |
Sets global project that is used to retrieve schema informationm for this combo box.
Definition at line 91 of file kexifieldcombobox.cpp.
◆ setTableOrQuery
|
slot |
Definition at line 104 of file kexifieldcombobox.cpp.
◆ slotActivated
|
protectedslot |
Definition at line 216 of file kexifieldcombobox.cpp.
◆ slotReturnPressed
|
protectedslot |
Definition at line 222 of file kexifieldcombobox.cpp.
◆ tableOrQueryName
|
slot |
Definition at line 139 of file kexifieldcombobox.cpp.
Member Data Documentation
◆ d
|
protected |
Definition at line 80 of file kexifieldcombobox.h.
The documentation for this class was generated from the following files:
