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) |
Definition at line 37 of file klflatexpreviewthread.h.
void KLFLatexPreviewHandler::latexOutputAvailable | ( | const KLFBackend::klfOutput & | output | ) | [virtual, slot] |
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.
void KLFLatexPreviewHandler::latexPreviewAvailable | ( | const QImage & | preview, |
const QImage & | largePreview, | ||
const QImage & | fullPreview | ||
) | [virtual, slot] |
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.
void KLFLatexPreviewHandler::latexPreviewError | ( | const QString & | errorString, |
int | errorCode | ||
) | [virtual, slot] |
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.
void KLFLatexPreviewHandler::latexPreviewFullImageAvailable | ( | const QImage & | fullPreview | ) | [virtual, slot] |
Called when a preview was successfully generated. The original image is given.
Definition at line 65 of file klflatexpreviewthread.cpp.
void KLFLatexPreviewHandler::latexPreviewImageAvailable | ( | const QImage & | preview | ) | [virtual, slot] |
Called when a preview was successfully generated. Preview Size image. See also setPreviewSize().
Definition at line 57 of file klflatexpreviewthread.cpp.
void KLFLatexPreviewHandler::latexPreviewLargeImageAvailable | ( | const QImage & | largePreview | ) | [virtual, slot] |
Called when a preview was successfully generated. Large preview size image. See also setLargePreviewSize().
Definition at line 61 of file klflatexpreviewthread.cpp.
void KLFLatexPreviewHandler::latexPreviewReset | ( | ) | [virtual, slot] |
Called whenever there is no preview to generate (input latex string empty)
Definition at line 45 of file klflatexpreviewthread.cpp.