#include <klflatexpreviewthread.h>
Public Slots | |
void | setEnabled (bool enabled) |
bool | setInput (const KLFBackend::klfInput &input) |
bool | setSettings (const KLFBackend::klfSettings &settings, bool disableExtraFormats=true) |
bool | setPreviewSize (const QSize &previewSize) |
bool | setLargePreviewSize (const QSize &largePreviewSize) |
Properties | |
QSize | previewSize |
QSize | largePreviewSize |
![]() | |
objectName | |
A helper that runs in a different thread that generates previews in real-time as user types text, without blocking the GUI.
.......... UPDATE DOC FOR NEW THREAD OBJECT STRUCTURE ........
Definition at line 152 of file klflatexpreviewthread.h.
KLFContLatexPreview::KLFContLatexPreview | ( | KLFLatexPreviewThread * | thread = NULL | ) |
Definition at line 422 of file klflatexpreviewthread.cpp.
|
virtual |
Definition at line 432 of file klflatexpreviewthread.cpp.
Is emitted whenever there currently is a LaTeX formula compiling
References KLF_DECLARE_PRIVATE.
bool KLFContLatexPreview::enabled | ( | ) | const |
Definition at line 443 of file klflatexpreviewthread.cpp.
|
signal |
Emitted when a preview was successfully generated (i.e., output.status==0
). The full KLFBackend::klfOutput object is given here.
Note that this signal is emitted before the other preview***Available() functions.
|
signal |
Emitted when a preview was successfully generated. All three images are given here (preview size, large preview size, original image)
Emitted when generation of the latex preview raised an error. See the error codes defined in klfbackend.h
Emitted when a preview was successfully generated. The original image is given.
Emitted when a preview was successfully generated. Preview Size image. See also setPreviewSize().
Emitted when a preview was successfully generated. Large preview size image. See also setLargePreviewSize().
|
signal |
Emitted whenever there is no preview to generate (input latex string empty)
Definition at line 448 of file klflatexpreviewthread.cpp.
|
slot |
input
. The thread will then take care to generate the corresponding preview and emit the previewAvailable() etc. signals. Definition at line 459 of file klflatexpreviewthread.cpp.
References KLF_DEBUG_BLOCK, and KLF_FUNC_NAME.
largePreviewSize
Definition at line 495 of file klflatexpreviewthread.cpp.
previewSize
Definition at line 487 of file klflatexpreviewthread.cpp.
|
slot |
settings
Definition at line 470 of file klflatexpreviewthread.cpp.
References KLFBackend::klfSettings::wantPDF, KLFBackend::klfSettings::wantRaw, and KLFBackend::klfSettings::wantSVG.
void KLFContLatexPreview::setThread | ( | KLFLatexPreviewThread * | thread | ) |
Definition at line 454 of file klflatexpreviewthread.cpp.
|
readwrite |
Definition at line 157 of file klflatexpreviewthread.h.
|
readwrite |
Definition at line 156 of file klflatexpreviewthread.h.