[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Slots | Public Member Functions
KLFLatexPreviewHandler Class Reference
Inheritance diagram for KLFLatexPreviewHandler:
Inheritance graph
[legend]
Collaboration diagram for KLFLatexPreviewHandler:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 37 of file klflatexpreviewthread.h.


Member Function Documentation

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.

Called whenever there is no preview to generate (input latex string empty)

Definition at line 45 of file klflatexpreviewthread.cpp.


The documentation for this class was generated from the following files:

Generated by doxygen 1.7.6.1. The KLatexFormula website is hosted on sourceforge.net