KexiEditor Class Reference
#include <kexieditor.h>
Inheritance diagram for KexiEditor:

Detailed Description
An text editor view that uses both KTextEditor and KTextEdit.It is used for SQL and script editor.
Definition at line 39 of file kexieditor.h.
Public Slots | |
| void | setText (const QString &text) |
| void | slotConfigureEditor () |
Signals | |
| void | textChanged () |
Public Member Functions | |
| KexiEditor (KexiMainWindow *mainWin, QWidget *parent, const char *name=0) | |
| Constructor. | |
| virtual | ~KexiEditor () |
| Destructor. | |
| QString | text () |
| void | setHighlightMode (const QString &highlightmodename) |
Set the highlight-mode to highlightmodename . | |
| void | jump (int character) |
Find row and column for this character and jump to the position. | |
| void | setCursorPosition (int line, int col) |
Set the cursor position to line and col . | |
| void | clearUndoRedo () |
| Clear all remembered undo/redo-actions. | |
Static Public Member Functions | |
| static bool | isAdvancedEditor () |
Protected Member Functions | |
| virtual void | updateActions (bool activated) |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Constructor.
Definition at line 84 of file kexieditor.cpp. References KexiViewBase::setViewWidget(), and textChanged(). |
|
|
Destructor.
Definition at line 129 of file kexieditor.cpp. |
Member Function Documentation
|
|
Clear all remembered undo/redo-actions. Only avaiable if isAdvancedEditor returns true. Definition at line 248 of file kexieditor.cpp. Referenced by KexiScriptEditor::initialize(). |
|
|
Definition at line 138 of file kexieditor.cpp. Referenced by KexiScriptDesignView::KexiScriptDesignView(). |
|
|
Find row and column for this
Definition at line 205 of file kexieditor.cpp. |
|
||||||||||||
|
Set the cursor position to
Definition at line 238 of file kexieditor.cpp. Referenced by KexiScriptEditor::setLineNo(). |
|
|
Set the highlight-mode to
If isAdvancedEditor returns false (KTextEdit is used rather then KTextEditor), then the method just does nothing. The Definition at line 178 of file kexieditor.cpp. Referenced by KexiScriptEditor::initialize(), and KexiQueryDesignerSQLEditor::KexiQueryDesignerSQLEditor(). |
|
|
Sets editor's text to text. 'Dirty' flag remains unchanged. Undo/redo buffer is cleared. Definition at line 159 of file kexieditor.cpp. References KexiViewBase::dirty(), KexiViewBase::m_parentView, and KexiViewBase::setDirty(). Referenced by KexiScriptEditor::initialize(). |
|
|
Display the configuration-dialog. Only avaiable if isAdvancedEditor() returns true. Definition at line 194 of file kexieditor.cpp. |
|
|
Definition at line 147 of file kexieditor.cpp. Referenced by KexiScriptEditor::slotTextChanged(). |
|
|
Emitted if the text displayed in the editor changed. Referenced by KexiScriptEditor::initialize(), and KexiEditor(). |
|
|
Update the actions. This call is redirected to KexiViewBase::updateActions Reimplemented from KexiViewBase. Definition at line 133 of file kexieditor.cpp. References KexiViewBase::updateActions(). |
The documentation for this class was generated from the following files:
