QEditor Class Reference
#include <qeditor.h>
Inheritance diagram for QEditor:

Public Slots | |
void | doGotoLine (int line) |
virtual void | configChanged () |
virtual void | refresh () |
virtual void | startMacro () |
virtual void | stopMacro () |
virtual void | executeMacro () |
Signals | |
void | parsed () |
void | ensureTextIsVisible (QTextParagraph *) |
Public Member Functions | |
QEditor (QWidget *parent=0, const char *name=0) | |
virtual | ~QEditor () |
bool | isRecording () const |
void | setIsRecording (bool b) |
QEditorIndenter * | indenter () const |
QTextCursor * | textCursor () const |
QTextDocument * | document () const |
void | setDocument (QTextDocument *) |
void | drawCursor (bool visible) |
void | updateStyles () |
void | repaintChanged () |
virtual void | zoomIn () |
virtual void | zoomOut () |
virtual QString | electricKeys () const |
virtual void | setElectricKeys (const QString &keys) |
virtual int | tabStop () const |
virtual void | setTabStop (int) |
virtual bool | tabIndentEnabled () const |
virtual void | setTabIndentEnabled (bool b) |
virtual bool | backspaceIndentEnabled () const |
virtual void | setBackspaceIndentEnabled (bool b) |
virtual bool | replace (const QString &find, const QString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll) |
virtual QString | textLine (uint) const |
virtual void | setLanguage (const QString &) |
virtual QString | language () const |
virtual void | setText (const QString &) |
virtual int | level (int) const |
virtual void | setLevel (int, int) |
virtual void | setApplicationMenu (QPopupMenu *menu) |
virtual QPopupMenu * | createPopupMenu (const QPoint &) |
virtual void | indent () |
QSourceColorizer * | colorizer () const |
Protected Member Functions | |
virtual bool | event (QEvent *) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | backspaceIndent (QKeyEvent *) |
int | backspace_indentation (const QString &s) |
int | backspace_indentForLine (int line) |
void | contentsMouseDoubleClickEvent (QMouseEvent *e) |
bool | isDelimiter (const QChar &c) |
Private Slots | |
void | doMatch (QTextCursor *) |
void | slotCursorPositionChanged (int, int) |
Private Attributes | |
ParenMatcher * | parenMatcher |
bool | m_tabIndent |
bool | m_completion |
bool | m_backspaceIndent |
QString | m_language |
int | m_currentLine |
int | m_tabStop |
QString | m_electricKeys |
QPopupMenu * | m_applicationMenu |
bool | m_recording |
QPtrList< QEditorKey > | m_keys |
Constructor & Destructor Documentation
|
Definition at line 136 of file qeditor.cpp. References document(), doMatch(), m_applicationMenu, m_backspaceIndent, m_currentLine, m_keys, m_recording, m_tabIndent, m_tabStop, parenMatcher, and QEditor(). Referenced by QEditor(). |
|
Definition at line 167 of file qeditor.cpp. References m_keys, and parenMatcher. |
Member Function Documentation
|
Definition at line 84 of file qeditor.cpp. References backspace_indentation(), and tabStop(). Referenced by backspace_indentation(), backspace_indentForLine(), and backspaceIndent(). |
|
Definition at line 104 of file qeditor.cpp. References backspace_indentation(), backspace_indentForLine(), and text(). Referenced by backspace_indentForLine(), and backspaceIndent(). |
|
Definition at line 382 of file qeditor.cpp. References backspace_indentation(), backspace_indentForLine(), backspaceIndent(), drawCursor(), indenter(), QEditorIndenter::indentLine(), repaintChanged(), text(), and textCursor(). Referenced by backspaceIndent(), and keyPressEvent(). |
|
Definition at line 96 of file qeditor.h. References m_backspaceIndent. Referenced by keyPressEvent(). |
|
Definition at line 574 of file qeditor.cpp. References document(). Referenced by QEditorPart::colorizer(), and updateStyles(). |
|
Definition at line 338 of file qeditor.cpp. References refresh(), QEditorSettings::self(), updateStyles(), and QEditorSettings::wordWrap(). Referenced by QEditorView::configChanged(), and setLanguage(). |
|
Definition at line 653 of file qeditor.cpp. References contentsMouseDoubleClickEvent(), document(), isDelimiter(), repaintChanged(), and textCursor(). Referenced by contentsMouseDoubleClickEvent(). |
|
Definition at line 173 of file qeditor.cpp. References KTextEdit::createPopupMenu(), createPopupMenu(), and m_applicationMenu. Referenced by createPopupMenu(). |
|
|
Definition at line 306 of file qeditor.cpp. References document(), doGotoLine(), and ensureTextIsVisible(). Referenced by doGotoLine(). |
|
Definition at line 299 of file qeditor.cpp. References doMatch(), ParenMatcher::match(), parenMatcher, and repaintChanged(). |
|
Definition at line 333 of file qeditor.cpp. References drawCursor(). Referenced by backspaceIndent(), and drawCursor(). |
|
Definition at line 87 of file qeditor.h. References m_electricKeys. |
|
Referenced by doGotoLine(). |
|
Definition at line 593 of file qeditor.cpp. References QEditorKey::ascii, QEditorKey::autorep, QEditorKey::count, event(), isRecording(), QEditorKey::key, m_keys, QEditorKey::state, and QEditorKey::text. Referenced by event(). |
|
Definition at line 622 of file qeditor.cpp. References QEditorKey::ascii, QEditorKey::autorep, QEditorKey::count, QEditorKey::key, m_keys, QEditorKey::state, and QEditorKey::text. |
|
Definition at line 646 of file qeditor.cpp. References text(), and textCursor(). Referenced by QEditorView::indent(), and keyPressEvent(). |
|
Definition at line 641 of file qeditor.cpp. References document(). Referenced by backspaceIndent(), and QEditorPart::indenter(). |
|
Definition at line 689 of file qeditor.cpp. References isDelimiter(). Referenced by contentsMouseDoubleClickEvent(), isDelimiter(), and keyPressEvent(). |
|
Definition at line 70 of file qeditor.h. References m_recording. Referenced by event(). |
|
Definition at line 196 of file qeditor.cpp. References backspaceIndent(), backspaceIndentEnabled(), indent(), isDelimiter(), keyPressEvent(), m_electricKeys, tabIndentEnabled(), text(), and textCursor(). Referenced by keyPressEvent(). |
|
Definition at line 536 of file qeditor.cpp. References m_language. Referenced by QEditorView::language(). |
|
Definition at line 556 of file qeditor.cpp. References document(), ParagData::level(), and level(). Referenced by level(). |
|
|
|
Definition at line 579 of file qeditor.cpp. References document(). Referenced by QEditorView::collapseAllBlocks(), QEditorView::collapseBlock(), configChanged(), QEditorView::ensureTextIsVisible(), QEditorView::expandAllBlocks(), QEditorView::expandBlock(), zoomIn(), and zoomOut(). |
|
Definition at line 458 of file qeditor.cpp. Referenced by backspaceIndent(), contentsMouseDoubleClickEvent(), and doMatch(). |
|
Definition at line 413 of file qeditor.cpp. References replace(), text(), and textCursor(). Referenced by replace(). |
|
Definition at line 112 of file qeditor.h. References m_applicationMenu. Referenced by QEditorView::installPopup(). |
|
Definition at line 97 of file qeditor.h. References m_backspaceIndent, and setBackspaceIndentEnabled(). Referenced by setBackspaceIndentEnabled(). |
|
Definition at line 453 of file qeditor.cpp. References setDocument(). Referenced by setDocument(). |
|
Definition at line 88 of file qeditor.h. References m_electricKeys, and setElectricKeys(). Referenced by setElectricKeys(), and setLanguage(). |
|
Definition at line 71 of file qeditor.h. References m_recording, and setIsRecording(). Referenced by setIsRecording(), startMacro(), and stopMacro(). |
|
Definition at line 468 of file qeditor.cpp. References configChanged(), document(), endl(), kdDebug(), m_language, setElectricKeys(), and setLanguage(). Referenced by QEditorView::setLanguage(), and setLanguage(). |
|
Definition at line 566 of file qeditor.cpp. References document(), ParagData::setLevel(), and setLevel(). Referenced by setLevel(). |
|
Definition at line 94 of file qeditor.h. References m_tabIndent, and setTabIndentEnabled(). Referenced by setTabIndentEnabled(). |
|
Definition at line 189 of file qeditor.cpp. References m_tabStop, and setTabStop(). Referenced by QEditorView::setTabStop(), and setTabStop(). |
|
Definition at line 541 of file qeditor.cpp. References setText(), and text(). Referenced by QEditorPart::openFile(), QEditorPart::setText(), and setText(). |
|
Definition at line 550 of file qeditor.cpp. References slotCursorPositionChanged(). Referenced by slotCursorPositionChanged(). |
|
Definition at line 611 of file qeditor.cpp. References m_keys, and setIsRecording(). |
|
Definition at line 617 of file qeditor.cpp. References setIsRecording(). |
|
Definition at line 93 of file qeditor.h. References m_tabIndent. Referenced by keyPressEvent(). |
|
Definition at line 184 of file qeditor.cpp. References m_tabStop. Referenced by backspace_indentation(), CIndent::CIndent(), QEditorIndenter::indentation(), QEditorIndenter::tabify(), QEditorView::tabStop(), and updateStyles(). |
|
Definition at line 323 of file qeditor.cpp. Referenced by backspaceIndent(), contentsMouseDoubleClickEvent(), QEditorView::cursorCoordinates(), indent(), keyPressEvent(), QEditorView::proceed(), replace(), and QEditorCodeCompletion::updateBox(). |
|
Definition at line 463 of file qeditor.cpp. References text(), and textLine(). Referenced by QEditorPart::textLine(), and textLine(). |
|
Definition at line 369 of file qeditor.cpp. References colorizer(), document(), QSourceColorizer::format(), and tabStop(). Referenced by configChanged(), zoomIn(), and zoomOut(). |
|
Definition at line 355 of file qeditor.cpp. References refresh(), and updateStyles(). |
|
Definition at line 362 of file qeditor.cpp. References refresh(), and updateStyles(). |
Member Data Documentation
|
Definition at line 153 of file qeditor.h. Referenced by createPopupMenu(), QEditor(), and setApplicationMenu(). |
|
Definition at line 148 of file qeditor.h. Referenced by backspaceIndentEnabled(), QEditor(), and setBackspaceIndentEnabled(). |
|
|
|
Definition at line 150 of file qeditor.h. Referenced by QEditor(). |
|
Definition at line 152 of file qeditor.h. Referenced by electricKeys(), keyPressEvent(), and setElectricKeys(). |
|
Definition at line 155 of file qeditor.h. Referenced by event(), executeMacro(), QEditor(), startMacro(), and ~QEditor(). |
|
Definition at line 149 of file qeditor.h. Referenced by language(), and setLanguage(). |
|
Definition at line 154 of file qeditor.h. Referenced by isRecording(), QEditor(), and setIsRecording(). |
|
Definition at line 146 of file qeditor.h. Referenced by QEditor(), setTabIndentEnabled(), and tabIndentEnabled(). |
|
Definition at line 151 of file qeditor.h. Referenced by QEditor(), setTabStop(), and tabStop(). |
|
Definition at line 145 of file qeditor.h. Referenced by doMatch(), QEditor(), and ~QEditor(). |
The documentation for this class was generated from the following files:
- editors/qeditor/qeditor.h
- editors/qeditor/qeditor.cpp