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

Public Member Functions | |
| TVEditView (TableState *s, DataElem *d, QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| ~TVEditView () | |
Static Public Member Functions | |
| static bool | openEditItemDialog (TableState *s, DataElem *d, QWidget *parent) |
Protected Slots | |
| void | toggleEnabled (int) |
Protected Member Functions | |
| void | setData (TableState *s, DataElem *d) |
Protected Attributes | |
| QGrid * | editDisplay |
| QList< QWidget > | edits |
| QList< QCheckBox > | buttons |
| QSignalMapper * | toggles |
| QMap< int, int > | keyIds |
| int | num_edits |
|
||||||||||||||||||||||||
|
Definition at line 45 of file tveditview.cpp. References editDisplay, setData(), QPEApplication::showDialog(), toggleEnabled(), and toggles. Referenced by openEditItemDialog(). |
|
|
Definition at line 73 of file tveditview.cpp. |
|
||||||||||||||||
|
Definition at line 180 of file tveditview.cpp. References TVVariant::Date, edits, FALSE, DataElem::getFieldType(), i, TVVariant::Int, keyIds, num_edits, DataElem::setField(), TVVariant::String, TVVariant::Time, TRUE, TVEditView(), and DataElem::unsetField(). Referenced by TableViewerWindow::editItemSlot(), and TableViewerWindow::newItemSlot(). |
|
||||||||||||
|
set up the widgets in the grid, Set up initial values Definition at line 78 of file tveditview.cpp. References buttons, QMap< Key, T >::clear(), QIntDictIterator< type >::current(), QIntDictIterator< type >::currentKey(), TVVariant::Date, editDisplay, edits, FALSE, DataElem::getField(), DataElem::hasValidValue(), i, QMap< Key, T >::insert(), TVVariant::Int, keyIds, _TableState::kRep, num_edits, DateEdit::setDate(), TimeEdit::setTime(), TVVariant::String, TVVariant::Time, TVVariant::toDate(), toggles, TVVariant::toInt(), TVVariant::toString(), TVVariant::toTime(), TRUE, and KeyList::validIndex(). Referenced by TVEditView(). |
|
|
Definition at line 169 of file tveditview.cpp. References buttons, edits, FALSE, and TRUE. Referenced by TVEditView(). |
|
|
Definition at line 54 of file tveditview.h. Referenced by setData(), and toggleEnabled(). |
|
|
Definition at line 52 of file tveditview.h. Referenced by setData(), and TVEditView(). |
|
|
Definition at line 53 of file tveditview.h. Referenced by openEditItemDialog(), setData(), and toggleEnabled(). |
|
|
Definition at line 57 of file tveditview.h. Referenced by openEditItemDialog(), and setData(). |
|
|
Definition at line 59 of file tveditview.h. Referenced by openEditItemDialog(), and setData(). |
|
|
Definition at line 55 of file tveditview.h. Referenced by setData(), and TVEditView(). |
1.4.2