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

KLFDisplayLabel Class Reference

A label to display a LaTeX-formula-output-like image. More...

#include <klfdisplaylabel.h>

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

List of all members.

Public Slots

virtual void setLabelFixedSize (const QSize &size)
virtual void setEnableToolTipPreview (bool enable)
virtual void displayClear ()
virtual void display (QImage displayimg, QImage tooltipimage, bool labelenabled=true)
virtual void displayError (bool labelenabled=false)
void setGlowEffect (bool on)
void setGlowEffectColor (const QColor &color)
void setGlowEffectRadius (int r)

Signals

void labelDrag ()

Public Member Functions

 KLFDisplayLabel (QWidget *parent)
virtual ~KLFDisplayLabel ()
virtual QSize labelFixedSize () const
virtual bool enableToolTipPreview () const
virtual QString bigPreviewText () const
bool glowEffect () const
QColor glowEffectColor () const
int glowEffectRadius () const

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *e)

Properties

QSize labelFixedSize
bool enableToolTipPreview
QString bigPreviewText
bool glowEffect
QColor glowEffectColor
int glowEffectRadius

Detailed Description

A label to display a LaTeX-formula-output-like image.

Definition at line 34 of file klfdisplaylabel.h.


Constructor & Destructor Documentation

KLFDisplayLabel::KLFDisplayLabel ( QWidget parent)
KLFDisplayLabel::~KLFDisplayLabel ( ) [virtual]

Definition at line 52 of file klfdisplaylabel.cpp.


Member Function Documentation

virtual QString KLFDisplayLabel::bigPreviewText ( ) const [inline, virtual]

Definition at line 52 of file klfdisplaylabel.h.

void KLFDisplayLabel::display ( QImage  displayimg,
QImage  tooltipimage,
bool  labelenabled = true 
) [virtual, slot]
void KLFDisplayLabel::displayClear ( ) [virtual, slot]

Definition at line 66 of file klfdisplaylabel.cpp.

void KLFDisplayLabel::displayError ( bool  labelenabled = false) [virtual, slot]

Definition at line 138 of file klfdisplaylabel.cpp.

virtual bool KLFDisplayLabel::enableToolTipPreview ( ) const [inline, virtual]

Definition at line 50 of file klfdisplaylabel.h.

bool KLFDisplayLabel::glowEffect ( ) const [inline]

Definition at line 54 of file klfdisplaylabel.h.

QColor KLFDisplayLabel::glowEffectColor ( ) const [inline]

Definition at line 55 of file klfdisplaylabel.h.

int KLFDisplayLabel::glowEffectRadius ( ) const [inline]

Definition at line 56 of file klfdisplaylabel.h.

void KLFDisplayLabel::labelDrag ( ) [signal]

Referenced by mouseMoveEvent().

virtual QSize KLFDisplayLabel::labelFixedSize ( ) const [inline, virtual]

Definition at line 49 of file klfdisplaylabel.h.

void KLFDisplayLabel::mouseMoveEvent ( QMouseEvent e) [protected, virtual]

Definition at line 159 of file klfdisplaylabel.cpp.

References labelDrag().

virtual void KLFDisplayLabel::setEnableToolTipPreview ( bool  enable) [inline, virtual, slot]

Definition at line 63 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffect ( bool  on) [inline, slot]
Note:
takes effect only upon next call of display()

Definition at line 70 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffectColor ( const QColor color) [inline, slot]
Note:
takes effect only upon next call of display()

Definition at line 72 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffectRadius ( int  r) [inline, slot]
Note:
takes effect only upon next call of display()

Definition at line 74 of file klfdisplaylabel.h.

void KLFDisplayLabel::setLabelFixedSize ( const QSize size) [virtual, slot]

Definition at line 58 of file klfdisplaylabel.cpp.

Referenced by KLFDisplayLabel().


Property Documentation

QString KLFDisplayLabel::bigPreviewText [read]

Definition at line 39 of file klfdisplaylabel.h.

bool KLFDisplayLabel::enableToolTipPreview [read, write]

Definition at line 38 of file klfdisplaylabel.h.

bool KLFDisplayLabel::glowEffect [read, write]

Definition at line 41 of file klfdisplaylabel.h.

QColor KLFDisplayLabel::glowEffectColor [read, write]

Definition at line 42 of file klfdisplaylabel.h.

int KLFDisplayLabel::glowEffectRadius [read, write]

Definition at line 43 of file klfdisplaylabel.h.

QSize KLFDisplayLabel::labelFixedSize [read, write]

Definition at line 38 of file klfdisplaylabel.h.


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

Generated by doxygen 1.7.3