Eneboo - Documentación para desarrolladores
Tipos públicos | Señales | Métodos públicos | Métodos protegidos | Atributos protegidos
Referencia de la Clase Editor

#include <editor.h>

Diagrama de herencias de Editor
QTextEdit QTextEdit QScrollView QScrollView QScrollView QScrollView QFrame QFrame QFrame QFrame QFrame QFrame QFrame QFrame CppEditor QSAEditor

Lista de todos los miembros.

Tipos públicos

enum  Selection { Error = 3, Step = 4, Error = 3, Step = 4 }
enum  Selection { Error = 3, Step = 4, Error = 3, Step = 4 }

Señales

void clearErrorMarker ()
void intervalChanged ()
void clearErrorMarker ()
void intervalChanged ()

Métodos públicos

 Editor (const QString &fn, QWidget *parent, const char *name)
 ~Editor ()
virtual void load (const QString &fn)
virtual void save (const QString &fn)
QTextDocumentdocument () const
void placeCursor (const QPoint &p, QTextCursor *c)
void setDocument (QTextDocument *doc)
QTextCursortextCursor () const
void repaintChanged ()
virtual EditorCompletioncompletionManager ()
virtual EditorBrowserbrowserManager ()
virtual void configChanged ()
Configconfig ()
void setErrorSelection (int line)
void setStepSelection (int line)
void clearStepSelection ()
void clearSelections ()
virtual bool supportsErrors () const
virtual bool supportsBreakPoints () const
virtual void makeFunctionVisible (QTextParagraph *)
void drawCursor (bool b)
QPopupMenucreatePopupMenu (const QPoint &p)
bool eventFilter (QObject *o, QEvent *e)
void setEditable (bool b)
 Editor (const QString &fn, QWidget *parent, const char *name)
 ~Editor ()
virtual void load (const QString &fn)
virtual void save (const QString &fn)
QTextDocumentdocument () const
void placeCursor (const QPoint &p, QTextCursor *c)
void setDocument (QTextDocument *doc)
QTextCursortextCursor () const
void repaintChanged ()
virtual EditorCompletioncompletionManager ()
virtual EditorBrowserbrowserManager ()
virtual void configChanged ()
Configconfig ()
void setErrorSelection (int line)
void setStepSelection (int line)
void clearStepSelection ()
void clearSelections ()
virtual bool supportsErrors () const
virtual bool supportsBreakPoints () const
virtual void makeFunctionVisible (QTextParagraph *)
void drawCursor (bool b)
QPopupMenucreatePopupMenu (const QPoint &p)
bool eventFilter (QObject *o, QEvent *e)
void setEditable (bool b)

Métodos protegidos

void doKeyboardAction (KeyboardAction action)
void keyPressEvent (QKeyEvent *e)
void doKeyboardAction (KeyboardAction action)
void keyPressEvent (QKeyEvent *e)

Atributos protegidos

ParenMatcherparenMatcher
QString filename
Configcfg
bool hasError
QAccelaccelComment
QAccelaccelUncomment
bool editable

Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
Error 
Step 
Error 
Step 
Valores de enumeraciones:
Error 
Step 
Error 
Step 

Documentación del constructor y destructor

Editor::Editor ( const QString fn,
QWidget parent,
const char *  name 
)
Editor::~Editor ( )
Editor::Editor ( const QString fn,
QWidget parent,
const char *  name 
)
Editor::~Editor ( )

Documentación de las funciones miembro

virtual EditorBrowser* Editor::browserManager ( ) [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

virtual EditorBrowser* Editor::browserManager ( ) [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

void Editor::clearErrorMarker ( ) [signal]
void Editor::clearErrorMarker ( ) [signal]
void Editor::clearSelections ( )
void Editor::clearSelections ( )
void Editor::clearStepSelection ( )
void Editor::clearStepSelection ( )
virtual EditorCompletion* Editor::completionManager ( ) [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

virtual EditorCompletion* Editor::completionManager ( ) [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

Config* Editor::config ( ) [inline]
Config* Editor::config ( ) [inline]
virtual void Editor::configChanged ( ) [virtual]

Reimplementado en QSAEditor y CppEditor.

void Editor::configChanged ( ) [virtual]

Reimplementado en QSAEditor y CppEditor.

QPopupMenu * Editor::createPopupMenu ( const QPoint pos) [virtual]

This function is called to create a right mouse button popup menu at the document position pos. If you want to create a custom popup menu, reimplement this function and return the created popup menu. Ownership of the popup menu is transferred to the caller.

Atención:
The QPopupMenu ID values 0-7 are reserved, and they map to the standard operations. When inserting items into your custom popup menu, be sure to specify ID values larger than 7.

Reimplementado de QTextEdit.

Reimplementado en CppEditor.

QPopupMenu* Editor::createPopupMenu ( const QPoint pos) [virtual]

This function is called to create a right mouse button popup menu at the document position pos. If you want to create a custom popup menu, reimplement this function and return the created popup menu. Ownership of the popup menu is transferred to the caller.

Atención:
The QPopupMenu ID values 0-7 are reserved, and they map to the standard operations. When inserting items into your custom popup menu, be sure to specify ID values larger than 7.

Reimplementado de QTextEdit.

Reimplementado en CppEditor.

QTextDocument* Editor::document ( ) const [inline]

Reimplementado de QTextEdit.

QTextDocument* Editor::document ( ) const [inline]

Reimplementado de QTextEdit.

void Editor::doKeyboardAction ( KeyboardAction  action) [protected, virtual]

Executes keyboard action action. This is normally called by a key event handler.

Reimplementado de QTextEdit.

void Editor::doKeyboardAction ( KeyboardAction  action) [protected, virtual]

Executes keyboard action action. This is normally called by a key event handler.

Reimplementado de QTextEdit.

void Editor::drawCursor ( bool  b) [inline]

Reimplementado de QTextEdit.

void Editor::drawCursor ( bool  b) [inline]

Reimplementado de QTextEdit.

bool Editor::eventFilter ( QObject o,
QEvent e 
) [virtual]

Reimplementado de QTextEdit.

bool Editor::eventFilter ( QObject o,
QEvent e 
) [virtual]

Reimplementado de QTextEdit.

void Editor::intervalChanged ( ) [signal]
void Editor::intervalChanged ( ) [signal]
void Editor::keyPressEvent ( QKeyEvent e) [protected, virtual]

Processes the key event, e. By default key events are used to provide keyboard navigation and text editing.

Reimplementado de QTextEdit.

void Editor::keyPressEvent ( QKeyEvent e) [protected, virtual]

Processes the key event, e. By default key events are used to provide keyboard navigation and text editing.

Reimplementado de QTextEdit.

virtual void Editor::load ( const QString fn) [virtual]
void Editor::load ( const QString fn) [virtual]
virtual void Editor::makeFunctionVisible ( QTextParagraph ) [inline, virtual]

Reimplementado en QSAEditor.

virtual void Editor::makeFunctionVisible ( QTextParagraph ) [inline, virtual]

Reimplementado en QSAEditor.

void Editor::placeCursor ( const QPoint pos,
QTextCursor c 
) [inline, virtual]

Places the cursor c at the character which is closest to position pos (in contents coordinates). If c is 0, the default text cursor is used.

Ver también:
setCursorPosition()

Reimplementado de QTextEdit.

void Editor::placeCursor ( const QPoint pos,
QTextCursor c 
) [inline, virtual]

Places the cursor c at the character which is closest to position pos (in contents coordinates). If c is 0, the default text cursor is used.

Ver también:
setCursorPosition()

Reimplementado de QTextEdit.

void Editor::repaintChanged ( ) [inline]

Repaints any paragraphs that have changed.

Although used extensively internally you shouldn't need to call this yourself.

Reimplementado de QTextEdit.

void Editor::repaintChanged ( ) [inline]

Repaints any paragraphs that have changed.

Although used extensively internally you shouldn't need to call this yourself.

Reimplementado de QTextEdit.

void Editor::save ( const QString fn) [virtual]
virtual void Editor::save ( const QString fn) [virtual]
void Editor::setDocument ( QTextDocument doc) [inline]

Reimplementado de QTextEdit.

void Editor::setDocument ( QTextDocument doc) [inline]

Reimplementado de QTextEdit.

void Editor::setEditable ( bool  b) [inline]
void Editor::setEditable ( bool  b) [inline]
void Editor::setErrorSelection ( int  line)
void Editor::setErrorSelection ( int  line)
void Editor::setStepSelection ( int  line)
void Editor::setStepSelection ( int  line)
virtual bool Editor::supportsBreakPoints ( ) const [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

virtual bool Editor::supportsBreakPoints ( ) const [inline, virtual]

Reimplementado en QSAEditor y CppEditor.

virtual bool Editor::supportsErrors ( ) const [inline, virtual]
virtual bool Editor::supportsErrors ( ) const [inline, virtual]
QTextCursor* Editor::textCursor ( ) const [inline]

Returns the text edit's text cursor.

Atención:
QTextCursor is not in the public API, but in special circumstances you might wish to use it.

Reimplementado de QTextEdit.

QTextCursor* Editor::textCursor ( ) const [inline]

Returns the text edit's text cursor.

Atención:
QTextCursor is not in the public API, but in special circumstances you might wish to use it.

Reimplementado de QTextEdit.


Documentación de los datos miembro

Config * Editor::cfg [protected]
bool Editor::editable [protected]
bool Editor::hasError [protected]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'