

Public Slots | |
| virtual void | latexPreviewReset () |
| virtual void | latexOutputAvailable (const KLFBackend::klfOutput &output) |
| virtual void | latexPreviewAvailable (const QImage &preview, const QImage &largePreview, const QImage &fullPreview) |
| virtual void | latexPreviewImageAvailable (const QImage &preview) |
| virtual void | latexPreviewLargeImageAvailable (const QImage &largePreview) |
| virtual void | latexPreviewFullImageAvailable (const QImage &fullPreview) |
| virtual void | latexPreviewError (const QString &errorString, int errorCode) |
Public Member Functions | |
| KLFLatexPreviewHandler (QObject *parent=NULL) | |
Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| virtual const QMetaObject * | metaObject () const |
| QString | objectName () const |
| void | setObjectName (const QString &name) |
| bool | isWidgetType () const |
| bool | isWindowType () const |
| bool | signalsBlocked () const |
| bool | blockSignals (bool block) |
| QThread * | thread () const |
| void | moveToThread (QThread *targetThread) |
| int | startTimer (int interval, Qt::TimerType timerType) |
| void | killTimer (int id) |
| T | findChild (const QString &name, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
| QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
| const QObjectList & | children () const |
| void | setParent (QObject *parent) |
| void | installEventFilter (QObject *filterObj) |
| void | removeEventFilter (QObject *obj) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
| bool | disconnect (const QObject *receiver, const char *method) const |
| void | dumpObjectTree () |
| void | dumpObjectInfo () |
| bool | setProperty (const char *name, const QVariant &value) |
| QVariant | property (const char *name) const |
| QList< QByteArray > | dynamicPropertyNames () const |
| void | destroyed (QObject *obj) |
| void | objectNameChanged (const QString &objectName) |
| QObject * | parent () const |
| bool | inherits (const char *className) const |
| void | deleteLater () |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
| QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| bool | disconnect (const QMetaObject::Connection &connection) |
| bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
Protected Member Functions inherited from QObject | |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| int | receivers (const char *signal) const |
| bool | isSignalConnected (const QMetaMethod &signal) const |
| virtual void | timerEvent (QTimerEvent *event) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | customEvent (QEvent *event) |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
Properties inherited from QObject | |
| objectName | |
Definition at line 37 of file klflatexpreviewthread.h.
|
virtualslot |
Called when a preview was successfully generated (i.e., output.status==0). The full KLFBackend::klfOutput object is given here.
Note that this method is called before the other latexPreview***Available() functions.
Definition at line 48 of file klflatexpreviewthread.cpp.
|
virtualslot |
Called when a preview was successfully generated. All three images are given here (preview size, large preview size, original image)
Definition at line 52 of file klflatexpreviewthread.cpp.
|
virtualslot |
Called when generation of the latex preview raised an error. See the error codes defined in klfbackend.h
Definition at line 69 of file klflatexpreviewthread.cpp.
References KLFBackend::klfOutput::errorstr, KLFBackend::getLatexFormula(), QImage::height(), QMetaObject::invokeMethod(), KLF_DEBUG_BLOCK, KLF_DEBUG_TIME_BLOCK, KLF_DELETE_PRIVATE, KLF_FUNC_NAME, KLF_INIT_PRIVATE, klfDbg, KLFBackend::klfOutput::result, QThread::run(), QImage::scaled(), QThread::start(), KLFBackend::klfOutput::status, QMetaType::type(), and QImage::width().
|
virtualslot |
Called when a preview was successfully generated. The original image is given.
Definition at line 65 of file klflatexpreviewthread.cpp.
|
virtualslot |
Called when a preview was successfully generated. Preview Size image. See also setPreviewSize().
Definition at line 57 of file klflatexpreviewthread.cpp.
|
virtualslot |
Called when a preview was successfully generated. Large preview size image. See also setLargePreviewSize().
Definition at line 61 of file klflatexpreviewthread.cpp.
|
virtualslot |
Called whenever there is no preview to generate (input latex string empty)
Definition at line 45 of file klflatexpreviewthread.cpp.