[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Types | Public Slots | Public Member Functions | Protected Member Functions | Properties | List of all members
KLFLatexPreviewThread Class Reference
Inheritance diagram for KLFLatexPreviewThread:
Inheritance graph
[legend]
Collaboration diagram for KLFLatexPreviewThread:
Collaboration graph
[legend]

Public Types

typedef qint64 TaskId
 

Public Slots

TaskId submitPreviewTask (const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler, const QSize &previewSize, const QSize &largePreviewSize)
 
TaskId submitPreviewTask (const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler)
 
TaskId clearAndSubmitPreviewTask (const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler, const QSize &previewSize, const QSize &largePreviewSize)
 
TaskId clearAndSubmitPreviewTask (const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler)
 
TaskId replaceSubmitPreviewTask (TaskId replaceId, const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler, const QSize &previewSize, const QSize &largePreviewSize)
 
TaskId replaceSubmitPreviewTask (TaskId replaceId, const KLFBackend::klfInput &input, const KLFBackend::klfSettings &settings, KLFLatexPreviewHandler *outputhandler)
 

Public Member Functions

 KLFLatexPreviewThread (QObject *parent=NULL)
 
QSize previewSize () const
 
QSize largePreviewSize () const
 
void getPreviewSizes (QSize *previewsize, QSize *largepreviewsize) const
 
void setPreviewSize (const QSize &previewSize)
 
void setLargePreviewSize (const QSize &largePreviewSize)
 
void setPreviewSizes (const QSize &previewsize, const QSize &largepreviewsize) const
 
void cancelTask (TaskId task)
 
void clearPendingTasks ()
 
void start (Priority priority=InheritPriority)
 
void stop ()
 
- Public Member Functions inherited from QThread
 QThread (QObject *parent)
 
void setPriority (Priority priority)
 
Priority priority () const
 
bool isFinished () const
 
bool isRunning () const
 
void requestInterruption ()
 
bool isInterruptionRequested () const
 
void setStackSize (uint stackSize)
 
uint stackSize () const
 
void exit (int returnCode)
 
QAbstractEventDispatchereventDispatcher () const
 
void setEventDispatcher (QAbstractEventDispatcher *eventDispatcher)
 
virtual bool event (QEvent *event)
 
int loopLevel () const
 
void start (Priority priority)
 
void terminate ()
 
void quit ()
 
bool wait (unsigned long time)
 
void started ()
 
void finished ()
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
virtual const QMetaObjectmetaObject () const
 
QString objectName () const
 
void setObjectName (const QString &name)
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const
 
bool blockSignals (bool block)
 
QThreadthread () const
 
void moveToThread (QThread *targetThread)
 
int startTimer (int interval, Qt::TimerType timerType)
 
void killTimer (int id)
 
findChild (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegExp &regExp, 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< QByteArraydynamicPropertyNames () const
 
void destroyed (QObject *obj)
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const
 
bool inherits (const char *className) const
 
void deleteLater ()
 

Protected Member Functions

virtual void run ()
 
- Protected Member Functions inherited from QThread
virtual void run ()
 
int exec ()
 
- Protected Member Functions inherited from QObject
QObjectsender () 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

QSize previewSize
 
QSize largePreviewSize
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Static Public Member Functions inherited from QThread
Qt::HANDLE currentThreadId ()
 
QThreadcurrentThread ()
 
int idealThreadCount ()
 
void yieldCurrentThread ()
 
void sleep (unsigned long secs)
 
void msleep (unsigned long msecs)
 
void usleep (unsigned long usecs)
 
- 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)
 
- Static Protected Member Functions inherited from QThread
void setTerminationEnabled (bool enabled)
 

Detailed Description

Definition at line 73 of file klflatexpreviewthread.h.

Member Typedef Documentation

◆ TaskId

typedef qint64 KLFLatexPreviewThread::TaskId

Definition at line 84 of file klflatexpreviewthread.h.

Constructor & Destructor Documentation

◆ KLFLatexPreviewThread()

KLFLatexPreviewThread::KLFLatexPreviewThread ( QObject parent = NULL)

Definition at line 79 of file klflatexpreviewthread.cpp.

◆ ~KLFLatexPreviewThread()

KLFLatexPreviewThread::~KLFLatexPreviewThread ( )
virtual

Definition at line 130 of file klflatexpreviewthread.cpp.

Member Function Documentation

◆ cancelTask()

void KLFLatexPreviewThread::cancelTask ( TaskId  task)

Definition at line 278 of file klflatexpreviewthread.cpp.

◆ clearAndSubmitPreviewTask [1/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::clearAndSubmitPreviewTask ( const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler 
)
slot

Definition at line 228 of file klflatexpreviewthread.cpp.

◆ clearAndSubmitPreviewTask [2/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::clearAndSubmitPreviewTask ( const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler,
const QSize previewSize,
const QSize largePreviewSize 
)
slot

Definition at line 211 of file klflatexpreviewthread.cpp.

◆ clearPendingTasks()

void KLFLatexPreviewThread::clearPendingTasks ( )

Definition at line 282 of file klflatexpreviewthread.cpp.

◆ largePreviewSize()

QSize KLFLatexPreviewThread::largePreviewSize ( ) const

Definition at line 144 of file klflatexpreviewthread.cpp.

◆ previewSize()

QSize KLFLatexPreviewThread::previewSize ( ) const

Definition at line 142 of file klflatexpreviewthread.cpp.

◆ replaceSubmitPreviewTask [1/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::replaceSubmitPreviewTask ( KLFLatexPreviewThread::TaskId  replaceId,
const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler 
)
slot

Definition at line 261 of file klflatexpreviewthread.cpp.

◆ replaceSubmitPreviewTask [2/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::replaceSubmitPreviewTask ( KLFLatexPreviewThread::TaskId  replaceId,
const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler,
const QSize previewSize,
const QSize largePreviewSize 
)
slot

Definition at line 243 of file klflatexpreviewthread.cpp.

◆ run()

void KLFLatexPreviewThread::run ( )
protectedvirtual

Reimplemented from QThread.

Definition at line 170 of file klflatexpreviewthread.cpp.

◆ setLargePreviewSize()

void KLFLatexPreviewThread::setLargePreviewSize ( const QSize largePreviewSize)

Definition at line 149 of file klflatexpreviewthread.cpp.

◆ setPreviewSize()

void KLFLatexPreviewThread::setPreviewSize ( const QSize previewSize)

Definition at line 147 of file klflatexpreviewthread.cpp.

◆ start()

void KLFLatexPreviewThread::start ( Priority  priority = InheritPriority)

Definition at line 153 of file klflatexpreviewthread.cpp.

◆ stop()

void KLFLatexPreviewThread::stop ( )

Definition at line 161 of file klflatexpreviewthread.cpp.

◆ submitPreviewTask [1/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::submitPreviewTask ( const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler 
)
slot

Definition at line 196 of file klflatexpreviewthread.cpp.

◆ submitPreviewTask [2/2]

KLFLatexPreviewThread::TaskId KLFLatexPreviewThread::submitPreviewTask ( const KLFBackend::klfInput input,
const KLFBackend::klfSettings settings,
KLFLatexPreviewHandler outputhandler,
const QSize previewSize,
const QSize largePreviewSize 
)
slot

Definition at line 179 of file klflatexpreviewthread.cpp.

Property Documentation

◆ largePreviewSize

QSize KLFLatexPreviewThread::largePreviewSize
readwrite

Definition at line 68 of file klflatexpreviewthread.h.

◆ previewSize

QSize KLFLatexPreviewThread::previewSize
readwrite

Definition at line 68 of file klflatexpreviewthread.h.


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

Generated by doxygen 1.9.6