#include <qwuilabel.h>
Public Types | |
enum | ImageType { JpegImage, PngImage } |
Public Slots | |
void | clear () |
void | setNum (int num) |
void | setNum (double num) |
void | setImageFile (const QString &f, bool clickable=false) |
void | setImage (const QImage &p, bool clickable=false) |
void | setText (const QString &t) |
Signals | |
void | clicked (const QString &link) |
Public Member Functions | |
QwuiLabel (QwuiWebget *parent=NULL, const QString &webName=QString::null) | |
virtual | ~QwuiLabel () |
QString | text () const |
QString | imageFile () const |
const QImage * | image () const |
ImageType | imageType () const |
void | setImageType (ImageType p) |
Protected Member Functions | |
virtual void | render () |
Private Slots | |
void | image (QString &mimeType) |
void | handleClick (QString &mimeType) |
Private Attributes | |
QString | m_text |
QString | m_imageFile |
ImageType | m_imageType |
QImage * | m_image |
bool | m_imageClickable |
<a href="test">Test</a>
enum QwuiLabel::ImageType |
QwuiLabel::QwuiLabel | ( | QwuiWebget * | parent = NULL , |
|
const QString & | webName = QString::null | |||
) |
QwuiLabel::~QwuiLabel | ( | ) | [virtual] |
QString QwuiLabel::text | ( | ) | const |
QString QwuiLabel::imageFile | ( | ) | const |
const QImage * QwuiLabel::image | ( | ) | const |
QwuiLabel::ImageType QwuiLabel::imageType | ( | ) | const |
void QwuiLabel::setImageType | ( | ImageType | p | ) |
void QwuiLabel::clear | ( | ) | [slot] |
void QwuiLabel::setNum | ( | int | num | ) | [slot] |
void QwuiLabel::setNum | ( | double | num | ) | [slot] |
void QwuiLabel::setImageFile | ( | const QString & | f, | |
bool | clickable = false | |||
) | [slot] |
void QwuiLabel::setImage | ( | const QImage & | p, | |
bool | clickable = false | |||
) | [slot] |
void QwuiLabel::setText | ( | const QString & | t | ) | [slot] |
void QwuiLabel::render | ( | ) | [protected, virtual] |
Reimplemented from QwuiWebget.
void QwuiLabel::image | ( | QString & | mimeType | ) | [private, slot] |
void QwuiLabel::handleClick | ( | QString & | mimeType | ) | [private, slot] |
void QwuiLabel::clicked | ( | const QString & | link | ) | [signal] |
QString QwuiLabel::m_text [private] |
QString QwuiLabel::m_imageFile [private] |
ImageType QwuiLabel::m_imageType [private] |
QImage* QwuiLabel::m_image [private] |
bool QwuiLabel::m_imageClickable [private] |