#include <qsaeditorinterface.h>
Lista de todos los miembros.
Métodos públicos |
| QSAEditorInterface () |
virtual | ~QSAEditorInterface () |
QWidget * | editor (bool readonly, QWidget *parent) |
void | setText (const QString &txt) |
QString | text () const |
bool | isUndoAvailable () const |
bool | isRedoAvailable () const |
void | undo () |
void | redo () |
void | cut () |
void | copy () |
void | paste () |
void | selectAll () |
bool | find (const QString &expr, bool cs, bool wo, bool forward, bool startAtCursor) |
bool | replace (const QString &find, const QString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll) |
void | gotoLine (int line) |
void | indent () |
void | scrollTo (const QString &txt, const QString &first) |
void | splitView () |
void | setContext (QObject *this_) |
void | readSettings () |
void | setError (int line) |
void | clearError () |
void | setStep (int line) |
void | clearStep () |
void | clearStackFrame () |
void | setStackFrame (int line) |
void | setModified (bool b) |
bool | isModified () const |
int | numLines () const |
ViewManager * | view_manager () const |
Métodos protegidos |
bool | eventFilter (QObject *, QEvent *) |
Documentación del constructor y destructor
QSAEditorInterface::QSAEditorInterface |
( |
| ) |
|
QSAEditorInterface::~QSAEditorInterface |
( |
| ) |
[virtual] |
Documentación de las funciones miembro
void QSAEditorInterface::clearError |
( |
| ) |
|
void QSAEditorInterface::clearStackFrame |
( |
| ) |
|
void QSAEditorInterface::clearStep |
( |
| ) |
|
void QSAEditorInterface::copy |
( |
| ) |
|
void QSAEditorInterface::cut |
( |
| ) |
|
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.
void QSAEditorInterface::gotoLine |
( |
int |
line | ) |
|
void QSAEditorInterface::indent |
( |
| ) |
|
bool QSAEditorInterface::isModified |
( |
| ) |
const |
bool QSAEditorInterface::isRedoAvailable |
( |
| ) |
const |
bool QSAEditorInterface::isUndoAvailable |
( |
| ) |
const |
int QSAEditorInterface::numLines |
( |
| ) |
const |
void QSAEditorInterface::paste |
( |
| ) |
|
void QSAEditorInterface::readSettings |
( |
| ) |
|
void QSAEditorInterface::redo |
( |
| ) |
|
void QSAEditorInterface::scrollTo |
( |
const QString & |
txt, |
|
|
const QString & |
first |
|
) |
| |
void QSAEditorInterface::selectAll |
( |
| ) |
|
void QSAEditorInterface::setContext |
( |
QObject * |
this_ | ) |
|
void QSAEditorInterface::setError |
( |
int |
line | ) |
|
void QSAEditorInterface::setModified |
( |
bool |
b | ) |
|
void QSAEditorInterface::setStackFrame |
( |
int |
line | ) |
|
void QSAEditorInterface::setStep |
( |
int |
line | ) |
|
void QSAEditorInterface::setText |
( |
const QString & |
txt | ) |
|
void QSAEditorInterface::splitView |
( |
| ) |
|
QString QSAEditorInterface::text |
( |
| ) |
const |
void QSAEditorInterface::undo |
( |
| ) |
|
ViewManager* QSAEditorInterface::view_manager |
( |
| ) |
const [inline] |
La documentación para esta clase fue generada a partir de los siguientes ficheros: