kexi
KexiDataAwareView Class Reference
#include <kexidataawareview.h>
Inheritance diagram for KexiDataAwareView:

Detailed Description
Provides a view displaying record-based data.The KexiDataAwareView is used to implement differently-looking views for displaying record-based data in a consistent way:
- tabular data views
- form data view
Action implementations like data editing and deleting are shared for different view types to keep even better consistency.
Definition at line 38 of file kexidataawareview.h.
Public Slots | |
void | deleteAllRows () |
void | deleteCurrentRow () |
void | deleteAndStartEditCurrentCell () |
void | startEditOrToggleValue () |
bool | acceptRowEdit () |
void | cancelRowEdit () |
void | sortAscending () |
void | sortDescending () |
Public Member Functions | |
KexiDataAwareView (KexiMainWindow *mainWin, QWidget *parent, const char *name=0) | |
QWidget * | mainWidget () |
virtual QSize | minimumSizeHint () const |
virtual QSize | sizeHint () const |
KexiDataAwareObjectInterface * | dataAwareObject () const |
Protected Slots | |
void | slotCellSelected (int col, int row) |
void | reloadActions () |
void | slotUpdateRowActions (int row) |
void | slotClosing (bool &cancel) |
Protected Member Functions | |
void | init (QWidget *viewWidget, KexiSharedActionClient *actionClient, KexiDataAwareObjectInterface *dataAwareObject, bool noDataAware=false) |
void | initActions () |
virtual void | updateActions (bool activated) |
Protected Attributes | |
QWidget * | m_internalView |
KexiSharedActionClient * | m_actionClient |
KexiDataAwareObjectInterface * | m_dataAwareObject |
Member Function Documentation
|
before closing - we'are accepting editing updating actions on start/stop editing Definition at line 37 of file kexidataawareview.cpp. |
|
Definition at line 71 of file kexidataawareview.cpp. |
|
Updates actions (e.g. availability). Reimplement it, if needed (you must call superclass impelmentation at the end!). This implementation does nothing for this view but calls updateActions() for every child-view of this view. called by KexiDialogBase on dialog's activation (activated is true) or deactivation. Reimplemented from KexiViewBase. Reimplemented in KexiAlterTableDialog. Definition at line 135 of file kexidataawareview.cpp. |
The documentation for this class was generated from the following files: