[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Slots | Signals | Public Member Functions | Protected Attributes

KLFPreviewBuilderThread Class Reference

#include <klfmainwin.h>

Inheritance diagram for KLFPreviewBuilderThread:
Inheritance graph
[legend]
Collaboration diagram for KLFPreviewBuilderThread:
Collaboration graph
[legend]

List of all members.

Public Slots

bool inputChanged (const KLFBackend::klfInput &input)
void settingsChanged (const KLFBackend::klfSettings &settings, int labelwidth, int labelheight)

Signals

void previewAvailable (const QImage &preview, bool latexerror)

Public Member Functions

 KLFPreviewBuilderThread (QObject *parent, KLFBackend::klfInput input, KLFBackend::klfSettings settings, int labelwidth, int labelheight)
virtual ~KLFPreviewBuilderThread ()
void run ()

Protected Attributes

KLFBackend::klfInput _input
KLFBackend::klfSettings _settings
int _lwidth
int _lheight
QMutex _mutex
QWaitCondition _condnewinfoavail
bool _hasnewinfo
bool _abort

Detailed Description

A helper that runs in a different thread that generates previews in real-time as user types text, without blocking the GUI.

Definition at line 180 of file klfmainwin.h.


Constructor & Destructor Documentation

KLFPreviewBuilderThread::KLFPreviewBuilderThread ( QObject parent,
KLFBackend::klfInput  input,
KLFBackend::klfSettings  settings,
int  labelwidth,
int  labelheight 
)

Definition at line 101 of file klfmainwin.cpp.

KLFPreviewBuilderThread::~KLFPreviewBuilderThread ( ) [virtual]

Member Function Documentation

bool KLFPreviewBuilderThread::inputChanged ( const KLFBackend::klfInput input) [slot]
void KLFPreviewBuilderThread::previewAvailable ( const QImage preview,
bool  latexerror 
) [signal]

Referenced by run().

void KLFPreviewBuilderThread::run ( )
void KLFPreviewBuilderThread::settingsChanged ( const KLFBackend::klfSettings settings,
int  labelwidth,
int  labelheight 
) [slot]

Member Data Documentation

Definition at line 206 of file klfmainwin.h.

Referenced by run(), and ~KLFPreviewBuilderThread().

Definition at line 203 of file klfmainwin.h.

Referenced by inputChanged(), run(), settingsChanged(), and ~KLFPreviewBuilderThread().

Definition at line 205 of file klfmainwin.h.

Referenced by inputChanged(), run(), and settingsChanged().

Definition at line 198 of file klfmainwin.h.

Referenced by inputChanged(), and run().

Definition at line 200 of file klfmainwin.h.

Referenced by run(), and settingsChanged().

Definition at line 200 of file klfmainwin.h.

Referenced by run(), and settingsChanged().

Definition at line 202 of file klfmainwin.h.

Referenced by inputChanged(), run(), settingsChanged(), and ~KLFPreviewBuilderThread().

Definition at line 199 of file klfmainwin.h.

Referenced by run(), and settingsChanged().


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

Generated by doxygen 1.7.3