#include </home/clem/local/src/opie/noncore/apps/tableviewer/ui/browsekeyentry.h>
Collaboration diagram for TVBrowseKeyEntry:

Signals | |
| void | searchOnKey (int keyIndex, TVVariant keyData) |
| void | sortChanged (int i) |
Public Member Functions | |
| TVBrowseKeyEntry (QWidget *parent=0, const char *name=0, WFlags f=0) | |
| ~TVBrowseKeyEntry () | |
| void | setTableState (TableState *t) |
| void | rebuildKeys () |
| void | reset () |
Private Slots | |
| void | changeKeySlot (int) |
| void | changeKeyMenuSlot () |
| void | searchOnText () |
Private Attributes | |
| QPushButton * | resetButton |
| QToolButton * | changeKeyButton |
| QPopupMenu * | keyMenu |
| int | totalKeys |
| TableState * | ts |
| QWidgetStack * | ws |
| QLineEdit * | textKey |
| IntEdit * | intKey |
| DateEdit * | dateKey |
| TimeEdit * | timeKey |
The TVBrowseKeyEntry Widget provides the facility to enter various key types to be search on in the table. The key can be changed and the entry field will update to the correct sort of widget appropriately
Definition at line 37 of file browsekeyentry.h.
|
||||||||||||||||
|
Constructs the widget Definition at line 49 of file browsekeyentry.cpp. References changeKeyButton, changeKeyMenuSlot(), dateKey, keyMenu, resetButton, searchOnText(), textKey, timeKey, totalKeys, tr, ts, and ws. |
|
|
Destructs the widget Definition at line 117 of file browsekeyentry.cpp. |
|
|
Opens the change key menu Definition at line 149 of file browsekeyentry.cpp. References changeKeyButton, keyMenu, and ts. Referenced by TVBrowseKeyEntry(). |
|
|
Changes which key the user intends to search on
Definition at line 126 of file browsekeyentry.cpp. References _TableState::current_column, KeyList::getKeyType(), _TableState::kRep, sortChanged(), ts, and ws. Referenced by rebuildKeys(), and setTableState(). |
|
|
Definition at line 138 of file browsekeyentry.cpp. References changeKeySlot(), QIntDictIterator< type >::current(), QIntDictIterator< type >::currentKey(), i, keyMenu, _TableState::kRep, and ts. Referenced by TVBrowseView::rebuildKeys(). |
|
|
Definition at line 156 of file browsekeyentry.cpp. References keyMenu. Referenced by TVBrowseView::reset(). |
|
||||||||||||
|
This signal indicates that a search on key index currentKeyId should be done searching for the value v. Referenced by searchOnText(). |
|
|
Searches on the current value of the key entry provided that the current key is of type text WARNING, TODO fix memory leaks Definition at line 180 of file browsekeyentry.cpp. References _TableState::current_column, d, KeyList::getKeyType(), QDate::isValid(), QTime::isValid(), _TableState::kRep, oendl, owarn, s, searchOnKey(), textKey, ts, and Opie::MM::y. Referenced by TVBrowseKeyEntry(). |
|
|
Definition at line 162 of file browsekeyentry.cpp. References changeKeySlot(), KeyList::getKeyName(), i, keyMenu, _TableState::kRep, and ts. |
|
|
Referenced by changeKeySlot(). |
|
|
Definition at line 60 of file browsekeyentry.h. Referenced by changeKeyMenuSlot(), and TVBrowseKeyEntry(). |
|
|
Definition at line 71 of file browsekeyentry.h. Referenced by TVBrowseKeyEntry(). |
|
|
Definition at line 70 of file browsekeyentry.h. |
|
|
Definition at line 61 of file browsekeyentry.h. Referenced by changeKeyMenuSlot(), rebuildKeys(), reset(), setTableState(), and TVBrowseKeyEntry(). |
|
|
Definition at line 59 of file browsekeyentry.h. Referenced by TVBrowseKeyEntry(). |
|
|
Definition at line 69 of file browsekeyentry.h. Referenced by searchOnText(), and TVBrowseKeyEntry(). |
|
|
Definition at line 72 of file browsekeyentry.h. Referenced by TVBrowseKeyEntry(). |
|
|
Definition at line 62 of file browsekeyentry.h. Referenced by TVBrowseKeyEntry(). |
|
|
Definition at line 63 of file browsekeyentry.h. Referenced by changeKeyMenuSlot(), changeKeySlot(), rebuildKeys(), searchOnText(), setTableState(), and TVBrowseKeyEntry(). |
|
|
Definition at line 66 of file browsekeyentry.h. Referenced by changeKeySlot(), and TVBrowseKeyEntry(). |
1.4.2