kexi
KexiQueryDesignerSQLView Class Reference
#include <kexiquerydesignersql.h>
Inheritance diagram for KexiQueryDesignerSQLView:

Detailed Description
The KexiQueryDesignerSQLView class for editing Queries in text mode.It is a view containing SQL text editor and SQL history/status widget splitted vertically. Depending on user's will, the widget can be in "sql history" mode or in "sql status" mode.
Definition at line 35 of file kexiquerydesignersql.h.
Signals | |
void | queryShortcut () |
Public Member Functions | |
KexiQueryDesignerSQLView (KexiMainWindow *mainWin, QWidget *parent, const char *name=0) | |
virtual | ~KexiQueryDesignerSQLView () |
QString | sqlText () const |
KexiQueryDesignerSQLEditor * | editor () const |
virtual bool | eventFilter (QObject *o, QEvent *e) |
Protected Slots | |
bool | slotCheckQuery () |
void | slotUpdateMode () |
void | slotTextChanged () |
void | slotSelectQuery () |
Protected Member Functions | |
KexiQueryPart::TempData * | tempData () const |
virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
virtual tristate | afterSwitchFrom (int mode) |
virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
virtual tristate | storeData (bool dontAsk=false) |
void | setStatusOk () |
void | setStatusError (const QString &msg) |
void | setStatusEmpty () |
void | setStatusText (const QString &text) |
virtual void | updateActions (bool activated) |
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 279 of file kexiquerydesignersql.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 204 of file kexiquerydesignersql.cpp. |
|
Performs query checking (by text parsing).
Definition at line 324 of file kexiquerydesignersql.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 490 of file kexiquerydesignersql.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 437 of file kexiquerydesignersql.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. Definition at line 412 of file kexiquerydesignersql.cpp. |
The documentation for this class was generated from the following files: