[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
- Public Member Functions inherited from QLabel
 Alignment
 TextFormat
 TextInteractionFlags
 QLabel (QWidget *parent=0, Qt::WindowFlags f=0)
 QLabel (const QString &text, QWidget *parent=0, Qt::WindowFlags f=0)
 buddy ()
 clear ()
 linkActivated (const QString &link)
 linkHovered (const QString &link)
 movie ()
 picture ()
 setBuddy (QWidget *buddy)
 setMovie (QMovie *movie)
 setNum (int num)
 setNum (double num)
 setPicture (const QPicture &picture)
 QLabel (QWidget *parent, const char *name, Qt::WindowFlags f=0)
 QLabel (const QString &text, QWidget *parent, const char *name, Qt::WindowFlags f=0)
 QLabel (QWidget *buddy, const QString &text, QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0)
 setAlignment (int alignment)

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
inlinevirtual

Definition at line 52 of file klfdisplaylabel.h.

void KLFDisplayLabel::display ( QImage  displayimg,
QImage  tooltipimage,
bool  labelenabled = true 
)
virtualslot
void KLFDisplayLabel::displayClear ( )
virtualslot

Definition at line 66 of file klfdisplaylabel.cpp.

void KLFDisplayLabel::displayError ( bool  labelenabled = false)
virtualslot

Definition at line 138 of file klfdisplaylabel.cpp.

virtual bool KLFDisplayLabel::enableToolTipPreview ( ) const
inlinevirtual

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
inlinevirtual

Definition at line 49 of file klfdisplaylabel.h.

void KLFDisplayLabel::mouseMoveEvent ( QMouseEvent e)
protectedvirtual

Definition at line 159 of file klfdisplaylabel.cpp.

References labelDrag().

virtual void KLFDisplayLabel::setEnableToolTipPreview ( bool  enable)
inlinevirtualslot

Definition at line 63 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffect ( bool  on)
inlineslot
Note:
takes effect only upon next call of display()

Definition at line 70 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffectColor ( const QColor color)
inlineslot
Note:
takes effect only upon next call of display()

Definition at line 72 of file klfdisplaylabel.h.

void KLFDisplayLabel::setGlowEffectRadius ( int  r)
inlineslot
Note:
takes effect only upon next call of display()

Definition at line 74 of file klfdisplaylabel.h.

void KLFDisplayLabel::setLabelFixedSize ( const QSize size)
virtualslot

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
readwrite

Definition at line 38 of file klfdisplaylabel.h.

bool KLFDisplayLabel::glowEffect
readwrite

Definition at line 41 of file klfdisplaylabel.h.

QColor KLFDisplayLabel::glowEffectColor
readwrite

Definition at line 42 of file klfdisplaylabel.h.

int KLFDisplayLabel::glowEffectRadius
readwrite

Definition at line 43 of file klfdisplaylabel.h.

QSize KLFDisplayLabel::labelFixedSize
readwrite

Definition at line 38 of file klfdisplaylabel.h.


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

Generated by doxygen 1.8.1