kexi
KexiReportView Class Reference
#include <kexireportview.h>
Inheritance diagram for KexiReportView:

Detailed Description
The FormPart's view.This class presents a single view used inside KexiDialogBase. It takes care of saving/loading report, of enabling actions when needed. One KexiReportView object is instantiated for data view mode (preview == true in constructor), and second KexiReportView object is instantiated for design view mode (preview == false in constructor).
Definition at line 62 of file kexireportview.h.
Public Types | |
enum | ResizeMode { ResizeAuto = 0, ResizeDefault = ResizeAuto, ResizeFixed = 1, NoResize = 2 } |
Public Slots | |
virtual void | show () |
Public Member Functions | |
KexiReportView (KexiMainWindow *win, QWidget *parent, const char *name, KexiDB::Connection *conn) | |
virtual | ~KexiReportView () |
KexiDB::Connection * | connection () |
virtual QSize | preferredSizeHint (const QSize &otherSize) |
int | resizeMode () const |
Protected Slots | |
void | slotPropertySetSwitched (KoProperty::Set *set, bool forceReload=false) |
void | slotDirty (KFormDesigner::Form *f, bool isDirty) |
void | slotFocus (bool in) |
Protected Member Functions | |
virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
virtual tristate | afterSwitchFrom (int mode) |
virtual KoProperty::Set * | propertySet () |
virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
virtual tristate | storeData (bool dontAsk=false) |
KexiReportPart::TempData * | tempData () const |
KexiReportPart * | reportPart () const |
void | disableWidgetActions () |
void | enableFormActions () |
KFormDesigner::Form * | form () const |
void | setForm (KFormDesigner::Form *f) |
void | initForm () |
void | loadForm () |
virtual void | resizeEvent (QResizeEvent *) |
Constructor & Destructor Documentation
|
Definition at line 83 of file kexireportview.cpp. |
Member Function Documentation
|
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.
Reimplemented from KexiViewBase. Definition at line 264 of file kexireportview.cpp. |
|
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.
Reimplemented from KexiViewBase. Definition at line 247 of file kexireportview.cpp. |
|
Reimplemented from KexiViewBase. Definition at line 432 of file kexireportview.cpp. |
|
Reimplemented from KexiViewBase. Definition at line 102 of file kexireportview.h. |
|
Reimplemented to update resize policy. Definition at line 454 of file kexireportview.cpp. |
|
Tells this view to store data changes on the backend. Called by KexiDialogBase::storeData(). Default implementation:
Reimpelment this for your needs. Should return true on success or cancelled when the task should be cancelled.
Reimplemented from KexiViewBase. Definition at line 322 of file kexireportview.cpp. |
|
Tells this dialog to create and store data of the new object pointed by sdata on the backend. Called by KexiDialogBase::storeNewData(). Default implementation:
Reimplemented from KexiViewBase. Definition at line 303 of file kexireportview.cpp. |
The documentation for this class was generated from the following files: