A label to display a LaTeX-formula-output-like image. More...
#include <klfdisplaylabel.h>


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) |
A label to display a LaTeX-formula-output-like image.
Definition at line 34 of file klfdisplaylabel.h.
| KLFDisplayLabel::KLFDisplayLabel | ( | QWidget * | parent | ) |
Definition at line 35 of file klfdisplaylabel.cpp.
References QLabel::setAlignment(), QPalette::setColor(), and setLabelFixedSize().
|
virtual |
Definition at line 52 of file klfdisplaylabel.cpp.
|
inlinevirtual |
Definition at line 52 of file klfdisplaylabel.h.
|
virtualslot |
Definition at line 74 of file klfdisplaylabel.cpp.
References QMessageBox::critical(), QTemporaryFile::fileName(), QTemporaryFile::fileTemplate(), QPixmap::fill(), QPixmap::fromImage(), QSize::height(), QImage::height(), QImage::isNull(), klfDrawGlowedImage(), QTemporaryFile::open(), QImage::save(), QImage::scaled(), QTemporaryFile::setAutoRemove(), QImage::size(), QDir::tempPath(), QPainter::translate(), QSize::width(), and QImage::width().
|
virtualslot |
Definition at line 66 of file klfdisplaylabel.cpp.
|
virtualslot |
Definition at line 138 of file klfdisplaylabel.cpp.
|
inlinevirtual |
Definition at line 50 of file klfdisplaylabel.h.
|
inline |
Definition at line 54 of file klfdisplaylabel.h.
|
inline |
Definition at line 55 of file klfdisplaylabel.h.
|
inline |
Definition at line 56 of file klfdisplaylabel.h.
|
signal |
Referenced by mouseMoveEvent().
|
inlinevirtual |
Definition at line 49 of file klfdisplaylabel.h.
|
protectedvirtual |
Definition at line 159 of file klfdisplaylabel.cpp.
References labelDrag().
|
inlinevirtualslot |
Definition at line 63 of file klfdisplaylabel.h.
|
inlineslot |
Definition at line 70 of file klfdisplaylabel.h.
|
inlineslot |
Definition at line 72 of file klfdisplaylabel.h.
|
inlineslot |
Definition at line 74 of file klfdisplaylabel.h.
|
virtualslot |
Definition at line 58 of file klfdisplaylabel.cpp.
Referenced by KLFDisplayLabel().