#include <completion.h>
Lista de todos los miembros.
Métodos públicos |
| EditorCompletion (Editor *e) |
| ~EditorCompletion () |
virtual void | addCompletionEntry (const QString &s, QTextDocument *doc, bool strict) |
virtual QValueList
< CompletionEntry > | completionList (const QString &s, QTextDocument *doc) const |
virtual void | updateCompletionMap (QTextDocument *doc) |
bool | eventFilter (QObject *o, QEvent *e) |
virtual void | setCurrentEdior (Editor *e) |
virtual bool | doCompletion () |
virtual bool | doObjectCompletion () |
virtual bool | doObjectCompletion (const QString &object) |
virtual bool | doArgumentHint (bool useIndex) |
virtual void | addEditor (Editor *e) |
virtual QValueList< QStringList > | functionParameters (const QString &func, QChar &, QString &prefix, QString &postfix) |
virtual void | setContext (QObject *this_) |
void | setEnabled (bool b) |
| EditorCompletion (Editor *e) |
| ~EditorCompletion () |
virtual void | addCompletionEntry (const QString &s, QTextDocument *doc, bool strict) |
virtual QValueList
< CompletionEntry > | completionList (const QString &s, QTextDocument *doc) const |
virtual void | updateCompletionMap (QTextDocument *doc) |
bool | eventFilter (QObject *o, QEvent *e) |
virtual void | setCurrentEdior (Editor *e) |
virtual bool | doCompletion () |
virtual bool | doObjectCompletion () |
virtual bool | doObjectCompletion (const QString &object) |
virtual bool | doArgumentHint (bool useIndex) |
virtual void | addEditor (Editor *e) |
virtual QValueList< QStringList > | functionParameters (const QString &func, QChar &, QString &prefix, QString &postfix) |
virtual void | setContext (QObject *this_) |
void | setEnabled (bool b) |
Métodos protegidos |
virtual bool | continueComplete () |
virtual void | showCompletion (const QValueList< CompletionEntry > &lst) |
virtual void | completeCompletion () |
virtual bool | continueComplete () |
virtual void | showCompletion (const QValueList< CompletionEntry > &lst) |
virtual void | completeCompletion () |
Atributos protegidos |
QVBox * | completionPopup |
QListBox * | completionListBox |
ArgHintWidget * | functionLabel |
int | completionOffset |
Editor * | curEditor |
QString | searchString |
QValueList< CompletionEntry > | cList |
QMap< QChar, QStringList > | completionMap |
bool | enabled |
QTextDocument * | lastDoc |
Documentación del constructor y destructor
EditorCompletion::EditorCompletion |
( |
Editor * |
e | ) |
|
EditorCompletion::~EditorCompletion |
( |
| ) |
|
EditorCompletion::EditorCompletion |
( |
Editor * |
e | ) |
|
EditorCompletion::~EditorCompletion |
( |
| ) |
|
Documentación de las funciones miembro
void EditorCompletion::addEditor |
( |
Editor * |
e | ) |
[virtual] |
virtual void EditorCompletion::addEditor |
( |
Editor * |
e | ) |
[virtual] |
void EditorCompletion::completeCompletion |
( |
| ) |
[protected, virtual] |
virtual void EditorCompletion::completeCompletion |
( |
| ) |
[protected, virtual] |
bool EditorCompletion::continueComplete |
( |
| ) |
[protected, virtual] |
virtual bool EditorCompletion::continueComplete |
( |
| ) |
[protected, virtual] |
bool EditorCompletion::doArgumentHint |
( |
bool |
useIndex | ) |
[virtual] |
virtual bool EditorCompletion::doArgumentHint |
( |
bool |
useIndex | ) |
[virtual] |
virtual bool EditorCompletion::doCompletion |
( |
| ) |
[virtual] |
bool EditorCompletion::doCompletion |
( |
| ) |
[virtual] |
bool EditorCompletion::doObjectCompletion |
( |
const QString & |
object | ) |
[virtual] |
virtual bool EditorCompletion::doObjectCompletion |
( |
| ) |
[virtual] |
virtual bool EditorCompletion::doObjectCompletion |
( |
const QString & |
object | ) |
[virtual] |
bool EditorCompletion::doObjectCompletion |
( |
| ) |
[virtual] |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event e, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
- Atención:
- If you delete the receiver object in this function, be sure to return TRUE. Otherwise, Qt will forward the event to the deleted object and the program might crash.
- Ver también:
- installEventFilter()
Reimplementado de QObject.
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event e, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
- Atención:
- If you delete the receiver object in this function, be sure to return TRUE. Otherwise, Qt will forward the event to the deleted object and the program might crash.
- Ver también:
- installEventFilter()
Reimplementado de QObject.
virtual void EditorCompletion::setContext |
( |
QObject * |
this_ | ) |
[virtual] |
void EditorCompletion::setContext |
( |
QObject * |
this_ | ) |
[virtual] |
virtual void EditorCompletion::setCurrentEdior |
( |
Editor * |
e | ) |
[virtual] |
void EditorCompletion::setCurrentEdior |
( |
Editor * |
e | ) |
[virtual] |
void EditorCompletion::setEnabled |
( |
bool |
b | ) |
[inline] |
void EditorCompletion::setEnabled |
( |
bool |
b | ) |
[inline] |
void EditorCompletion::updateCompletionMap |
( |
QTextDocument * |
doc | ) |
[virtual] |
virtual void EditorCompletion::updateCompletionMap |
( |
QTextDocument * |
doc | ) |
[virtual] |
Documentación de los datos miembro
La documentación para esta clase fue generada a partir de los siguientes ficheros: