#include <kexicomboboxpopup.h>
Inherits TQFrame.
|
|
void | rowAccepted (KexiTableItem *item, int row) |
| |
|
void | cancelled () |
| |
|
void | hidden () |
| |
|
| KexiComboBoxPopupPrivate * | d |
| |
Internal class for displaying popup table view.
Definition at line 35 of file kexicomboboxpopup.h.
◆ KexiComboBoxPopup() [1/2]
Constructor for creating a popup using definition from column. If the column is lookup column, it's definition is used to display one or more column within the popup. Otherwise column.field() is used to display single-column data.
Definition at line 106 of file kexicomboboxpopup.cpp.
◆ KexiComboBoxPopup() [2/2]
| KexiComboBoxPopup::KexiComboBoxPopup |
( |
TQWidget * |
parent, |
|
|
KexiDB::Field & |
field |
|
) |
| |
◆ ~KexiComboBoxPopup()
| KexiComboBoxPopup::~KexiComboBoxPopup |
( |
| ) |
|
|
virtual |
◆ eventFilter()
| bool KexiComboBoxPopup::eventFilter |
( |
TQObject * |
o, |
|
|
TQEvent * |
e |
|
) |
| |
|
virtual |
◆ init()
| void KexiComboBoxPopup::init |
( |
| ) |
|
|
protected |
◆ maxRows()
| int KexiComboBoxPopup::maxRows |
( |
| ) |
const |
◆ resize
| void KexiComboBoxPopup::resize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
virtualslot |
◆ setData()
The main function for setting data; data can be set either by passing column or field.
The second case is used for lookup
owner
- Todo:
- support more RowSourceType's, not only table and query
- Todo:
- errmsg
- Todo:
- errmsg
- Todo:
- " " separator hardcoded...
- Todo:
- Todo:
- use SQL sub-parser here...
- Todo:
- errmsg
- Todo:
- THIS IS PRIMITIVE: we'd need to employ KexiDB::Reference here!
Definition at line 147 of file kexicomboboxpopup.cpp.
◆ setDataInternal()
| void KexiComboBoxPopup::setDataInternal |
( |
KexiTableViewData * |
data, |
|
|
bool |
owner = true |
|
) |
| |
|
protected |
◆ setMaxRows()
| void KexiComboBoxPopup::setMaxRows |
( |
int |
r | ) |
|
◆ slotDataReloadRequested
| void KexiComboBoxPopup::slotDataReloadRequested |
( |
| ) |
|
|
protectedslot |
◆ slotTVItemAccepted
| void KexiComboBoxPopup::slotTVItemAccepted |
( |
KexiTableItem * |
item, |
|
|
int |
row, |
|
|
int |
col |
|
) |
| |
|
protectedslot |
◆ tableView()
◆ updateSize
| void KexiComboBoxPopup::updateSize |
( |
int |
minWidth = 0 | ) |
|
|
slot |
◆ KexiComboBoxTableEdit
| KexiComboBoxPopupPrivate* KexiComboBoxPopup::d |
|
protected |
◆ defaultMaxRows
| const int KexiComboBoxPopup::defaultMaxRows = 8 |
|
static |
The documentation for this class was generated from the following files: