kexi
KexiTableDesigner_DataView Class Reference
Inheritance diagram for KexiTableDesigner_DataView:

Detailed Description
Definition at line 26 of file kexitabledesigner_dataview.h.
Public Member Functions | |
KexiTableDesigner_DataView (KexiMainWindow *win, QWidget *parent) | |
virtual | ~KexiTableDesigner_DataView () |
KexiTablePart::TempData * | tempData () const |
Protected Member Functions | |
virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
virtual tristate | afterSwitchFrom (int mode) |
Member Function Documentation
tristate KexiTableDesigner_DataView::beforeSwitchTo | ( | int | mode, | |
bool & | dontStore | |||
) | [protected, virtual] |
called by KexiDialogBase::switchToViewMode() right before dialog is switched to new mode By default does nothing. Reimplement this if you need to do something before switching to this view.
- Returns:
- true if you accept or false if a error occupied and view shouldn't change If there is no error but switching should be just cancelled (probably after showing some info messages), you need to return cancelled. Set dontStore to true (it's false by default) if you want to avoid data storing by storeData() or storeNewData().
Reimplemented from KexiViewBase.
Definition at line 44 of file kexitabledesigner_dataview.cpp.
tristate KexiTableDesigner_DataView::afterSwitchFrom | ( | int | mode | ) | [protected, virtual] |
called by KexiDialogBase::switchToViewMode() right after dialog is switched to new mode By default does nothing. Reimplement this if you need to do something after switching to this view.
- Returns:
- true if you accept or false if a error occupied and view shouldn't change If there is no error but switching should be just cancelled (probably after showing some info messages), you need to return cancelled.
Reimplemented from KexiViewBase.
Definition at line 59 of file kexitabledesigner_dataview.cpp.
The documentation for this class was generated from the following files: