#include <editor.h>
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) |
QTextDocument * | document () const |
void | placeCursor (const QPoint &p, QTextCursor *c) |
void | setDocument (QTextDocument *doc) |
QTextCursor * | textCursor () const |
void | repaintChanged () |
virtual EditorCompletion * | completionManager () |
virtual EditorBrowser * | browserManager () |
virtual void | configChanged () |
Config * | config () |
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) |
QPopupMenu * | createPopupMenu (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) |
QTextDocument * | document () const |
void | placeCursor (const QPoint &p, QTextCursor *c) |
void | setDocument (QTextDocument *doc) |
QTextCursor * | textCursor () const |
void | repaintChanged () |
virtual EditorCompletion * | completionManager () |
virtual EditorBrowser * | browserManager () |
virtual void | configChanged () |
Config * | config () |
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) |
QPopupMenu * | createPopupMenu (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 |
ParenMatcher * | parenMatcher |
QString | filename |
Config * | cfg |
bool | hasError |
QAccel * | accelComment |
QAccel * | accelUncomment |
bool | editable |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
-
- Valores de enumeraciones:
-
Documentación del constructor y destructor
Editor::Editor |
( |
const QString & |
fn, |
|
|
QWidget * |
parent, |
|
|
const char * |
name |
|
) |
| |
Editor::Editor |
( |
const QString & |
fn, |
|
|
QWidget * |
parent, |
|
|
const char * |
name |
|
) |
| |
Documentación de las funciones miembro
virtual EditorBrowser* Editor::browserManager |
( |
| ) |
[inline, virtual] |
virtual EditorBrowser* Editor::browserManager |
( |
| ) |
[inline, virtual] |
void Editor::clearErrorMarker |
( |
| ) |
[signal] |
void Editor::clearErrorMarker |
( |
| ) |
[signal] |
void Editor::clearSelections |
( |
| ) |
|
void Editor::clearSelections |
( |
| ) |
|
void Editor::clearStepSelection |
( |
| ) |
|
void Editor::clearStepSelection |
( |
| ) |
|
Config* Editor::config |
( |
| ) |
[inline] |
Config* Editor::config |
( |
| ) |
[inline] |
virtual void Editor::configChanged |
( |
| ) |
[virtual] |
void Editor::configChanged |
( |
| ) |
[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.
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.
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] |
void Editor::drawCursor |
( |
bool |
b | ) |
[inline] |
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] |
virtual void Editor::makeFunctionVisible |
( |
QTextParagraph * |
| ) |
[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.
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::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] |
virtual bool Editor::supportsBreakPoints |
( |
| ) |
const [inline, virtual] |
virtual bool Editor::supportsErrors |
( |
| ) |
const [inline, virtual] |
virtual bool Editor::supportsErrors |
( |
| ) |
const [inline, virtual] |
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.
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
La documentación para esta clase fue generada a partir de los siguientes ficheros: