#include <kexiscriptdesignview.h>
Public Member Functions | |
| KexiScriptDesignView (KexiMainWindow *mainWin, TQWidget *parent, Kross::Api::ScriptAction *scriptaction) | |
| virtual | ~KexiScriptDesignView () |
| Kross::Api::ScriptAction * | scriptAction () const |
| virtual KoProperty::Set * | propertySet () |
| virtual KexiDB::SchemaData * | storeNewData (const KexiDB::SchemaData &sdata, bool &cancel) |
| virtual tristate | storeData (bool dontAsk=false) |
| Public Member Functions inherited from KexiViewBase | |
| KexiViewBase (KexiMainWindow *mainWin, TQWidget *parent, const char *name=0) | |
| KexiMainWindow * | mainWin () const |
| KexiDialogBase * | parentDialog () const |
| KexiPart::Part * | part () const |
| virtual TQSize | preferredSizeHint (const TQSize &otherSize) |
| virtual bool | eventFilter (TQObject *o, TQEvent *e) |
| void | addChildView (KexiViewBase *childView) |
| virtual bool | dirty () const |
| int | viewMode () const |
| virtual TDEAction * | sharedAction (const char *action_name) |
| virtual void | setAvailable (const char *action_name, bool set) |
| Public Member Functions inherited from KexiActionProxy | |
| KexiActionProxy (TQObject *receiver, KexiSharedActionHost *host=0) | |
| bool | activateSharedAction (const char *action_name, bool alsoCheckInChildren=true) |
| void | setSharedActionHost (KexiSharedActionHost &host) |
| bool | isAvailable (const char *action_name, bool alsoCheckInChildren=true) const |
| bool | isSupported (const char *action_name) const |
| void | setActionProxyParent_internal (KexiActionProxy *parent) |
Additional Inherited Members | |
| Public Slots inherited from KexiViewBase | |
| virtual void | setFocus () |
| virtual void | propertySetSwitched () |
| void | setDirty (bool set) |
| void | setDirty () |
| Signals inherited from KexiViewBase | |
| void | closing (bool &cancel) |
| void | focus (bool in) |
| Public Attributes inherited from KexiActionProxy | |
| KexiActionProxy * | m_focusedChild |
| Protected Member Functions inherited from KexiViewBase | |
| virtual tristate | beforeSwitchTo (int mode, bool &dontStore) |
| virtual tristate | afterSwitchFrom (int mode) |
| virtual void | closeEvent (TQCloseEvent *e) |
| void | propertySetReloaded (bool preservePrevSelection=false, const TQCString &propertyToSelect=TQCString()) |
| bool | loadDataBlock (TQString &dataString, const TQString &dataID=TQString(), bool canBeEmpty=false) |
| bool | storeDataBlock (const TQString &dataString, const TQString &dataID=TQString()) |
| bool | removeDataBlock (const TQString &dataID=TQString()) |
| void | setViewWidget (TQWidget *w, bool focusProxy=false) |
| virtual void | updateActions (bool activated) |
| virtual void | setFocusInternal () |
| virtual void | parentDialogDetached () |
| virtual void | parentDialogAttached () |
| Protected Member Functions inherited from KexiActionProxy | |
| void | plugSharedAction (const char *action_name, TQObject *receiver, const char *slot) |
| void | unplugSharedAction (const char *action_name) |
| void | plugSharedAction (const char *action_name, const char *slot) |
| int | plugSharedAction (const char *action_name, TQWidget *w) |
| void | plugSharedActionToExternalGUI (const char *action_name, KXMLGUIClient *client) |
| void | plugSharedActionsToExternalGUI (const TQValueList< TQCString > &action_names, KXMLGUIClient *client) |
| void | unplugSharedAction (const char *action_name, TQWidget *w) |
| TDEAction * | plugSharedAction (const char *action_name, const TQString &alternativeText, TQWidget *w) |
| TQObject * | receiver () const |
| void | addActionProxyChild (KexiActionProxy *child) |
| void | takeActionProxyChild (KexiActionProxy *child) |
| Protected Attributes inherited from KexiViewBase | |
| TQString | m_defaultIconName |
| KexiMainWindow * | m_mainWin |
| KexiDialogBase * | m_dialog |
| TQWidget * | m_viewWidget |
| KexiViewBase * | m_parentView |
| TQGuardedPtr< TQWidget > | m_lastFocusedChildBeforeFocusOut |
| Protected Attributes inherited from KexiActionProxy | |
| KexiSharedActionHost * | m_host |
| TQGuardedPtr< TQObject > | m_receiver |
| TQAsciiDict< TQPair< TQSignal *, bool > > | m_signals |
| TQPtrList< KexiActionProxy > | m_sharedActionChildren |
| TQPtrList< TDEAction > | m_alternativeActions |
| KexiActionProxy * | m_actionProxyParent |
| TQObject | m_signal_parent |
| TDEAction_setEnabled_Helper * | m_TDEAction_setEnabled_helper |
Detailed Description
The KexiScriptDesignView class provides the KexiViewBase to manage script modules in the design-view.
The design-view is used to be able to view and edit the scripting code via a KexiScriptEditor instance.
Definition at line 46 of file kexiscriptdesignview.h.
Constructor & Destructor Documentation
◆ KexiScriptDesignView()
| KexiScriptDesignView::KexiScriptDesignView | ( | KexiMainWindow * | mainWin, |
| TQWidget * | parent, | ||
| Kross::Api::ScriptAction * | scriptaction ) |
Constructor.
Definition at line 67 of file kexiscriptdesignview.cpp.
◆ ~KexiScriptDesignView()
|
virtual |
Destructor.
Definition at line 105 of file kexiscriptdesignview.cpp.
Member Function Documentation
◆ propertySet()
|
virtual |
- Returns
- a property set for this view.
Reimplemented from KexiViewBase.
Definition at line 182 of file kexiscriptdesignview.cpp.
◆ scriptAction()
| Kross::Api::ScriptAction * KexiScriptDesignView::scriptAction | ( | ) | const |
- Returns
- the Kross::Api::ScriptAction this KexiScriptDesignView is responsible for.
Definition at line 111 of file kexiscriptdesignview.cpp.
◆ storeData()
|
virtual |
Try to store the modified data in the already opened and currently used KexiDB::SchemaData instance.
Reimplemented from KexiViewBase.
Definition at line 307 of file kexiscriptdesignview.cpp.
◆ storeNewData()
|
virtual |
Try to call storeData with new data we like to store.
On success the matching KexiDB::SchemaData is returned.
- Parameters
-
sdata The source KexiDB::SchemaData instance. cancel Cancel on failure and don't try to clean possible temporary created data up.
- Returns
- The matching KexiDB::SchemaData instance or NULL if storing failed.
Reimplemented from KexiViewBase.
Definition at line 285 of file kexiscriptdesignview.cpp.
The documentation for this class was generated from the following files:
