#include <qlabel.h>

Public Slots |
|
| void | setText (const QString &) |
| void | setPixmap (const QPixmap &) |
| void | setPicture (const QPicture &) |
| void | setMovie (QMovie *movie) |
| void | setNum (int) |
| void | setNum (double) |
| void | clear () |
Signals |
|
| void | linkActivated (const QString &link) |
| void | linkHovered (const QString &link) |
Public Member Functions |
|
| QLabel (QWidget *parent=0, Qt::WindowFlags f=0) | |
| QLabel (const QString &text, QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~QLabel () | |
| QString | text () const |
| const QPixmap * | pixmap () const |
| const QPicture * | picture () const |
| QMovie * | movie () const |
| Qt::TextFormat | textFormat () const |
| void | setTextFormat (Qt::TextFormat) |
| Qt::Alignment | alignment () const |
| void | setAlignment (Qt::Alignment) |
| void | setWordWrap (bool on) |
| bool | wordWrap () const |
| int | indent () const |
| void | setIndent (int) |
| int | margin () const |
| void | setMargin (int) |
| bool | hasScaledContents () const |
| void | setScaledContents (bool) |
| QSize | sizeHint () const |
| QSize | minimumSizeHint () const |
| void | setBuddy (QWidget *) |
| QWidget * | buddy () const |
| int | heightForWidth (int) const |
| bool | openExternalLinks () const |
| void | setOpenExternalLinks (bool open) |
| void | setTextInteractionFlags (Qt::TextInteractionFlags flags) |
| Qt::TextInteractionFlags | textInteractionFlags () const |
| void | setSelection (int, int) |
| bool | hasSelectedText () const |
| QString | selectedText () const |
| int | selectionStart () const |
Protected Member Functions |
|
| bool | event (QEvent *e) |
| void | keyPressEvent (QKeyEvent *ev) |
| void | paintEvent (QPaintEvent *) |
| void | changeEvent (QEvent *) |
| void | mousePressEvent (QMouseEvent *ev) |
| void | mouseMoveEvent (QMouseEvent *ev) |
| void | mouseReleaseEvent (QMouseEvent *ev) |
| void | contextMenuEvent (QContextMenuEvent *ev) |
| void | focusInEvent (QFocusEvent *ev) |
| void | focusOutEvent (QFocusEvent *ev) |
| bool | focusNextPrevChild (bool next) |
Properties |
|
| QString | text |
| Qt::TextFormat | textFormat |
| QPixmap | pixmap |
| bool | scaledContents |
| Qt::Alignment | alignment |
| bool | wordWrap |
| int | margin |
| int | indent |
| bool | openExternalLinks |
| Qt::TextInteractionFlags | textInteractionFlags |
| bool | hasSelectedText |
| QString | selectedText |
Friends |
|
| class | QMessageBoxPrivate |
| class | QBalloonTip |
| ~QLabel | ( | ) |
| QString text | ( | ) | const |
| const QPixmap* pixmap | ( | ) | const |
| const QPicture* picture | ( | ) | const |
| QMovie* movie | ( | ) | const |
| Qt::TextFormat textFormat | ( | ) | const |
| void setTextFormat | ( | Qt::TextFormat | ) |
| Qt::Alignment alignment | ( | ) | const |
| void setAlignment | ( | Qt::Alignment | ) |
| void setWordWrap | ( | bool | on | ) |
| bool wordWrap | ( | ) | const |
| int indent | ( | ) | const |
| void setIndent | ( | int | ) |
| int margin | ( | ) | const |
| void setMargin | ( | int | ) |
| bool hasScaledContents | ( | ) | const |
| void setScaledContents | ( | bool | ) |
| void setBuddy | ( | QWidget * | ) |
| QWidget* buddy | ( | ) | const |
| int heightForWidth | ( | int | ) | const [virtual] |
Reimplemented from QWidget.
| bool openExternalLinks | ( | ) | const |
| void setOpenExternalLinks | ( | bool | open | ) |
| void setTextInteractionFlags | ( | Qt::TextInteractionFlags | flags | ) |
| Qt::TextInteractionFlags textInteractionFlags | ( | ) | const |
| void setSelection | ( | int | , |
| int | |||
| ) |
| bool hasSelectedText | ( | ) | const |
| QString selectedText | ( | ) | const |
| int selectionStart | ( | ) | const |
| void setText | ( | const QString & | ) | [slot] |
| void setPixmap | ( | const QPixmap & | ) | [slot] |
| void setPicture | ( | const QPicture & | ) | [slot] |
| void setMovie | ( | QMovie * | movie | ) | [slot] |
| void setNum | ( | int | ) | [slot] |
| void setNum | ( | double | ) | [slot] |
| void clear | ( | ) | [slot] |
| void linkActivated | ( | const QString & | link | ) | [signal] |
| void linkHovered | ( | const QString & | link | ) | [signal] |
| void paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Reimplemented from QFrame.
| void mousePressEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void mouseMoveEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void mouseReleaseEvent | ( | QMouseEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void contextMenuEvent | ( | QContextMenuEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void focusInEvent | ( | QFocusEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| void focusOutEvent | ( | QFocusEvent * | ev | ) | [protected, virtual] |
Reimplemented from QWidget.
| bool focusNextPrevChild | ( | bool | next | ) | [protected, virtual] |
Reimplemented from QWidget.
friend class QMessageBoxPrivate
[friend] |
friend class QBalloonTip
[friend] |
QString text [read,
write] |
Qt::TextFormat
textFormat [read, write] |
QPixmap pixmap [read,
write] |
bool scaledContents [read,
write] |
Qt::Alignment alignment [read,
write] |
bool wordWrap [read, write] |
int margin [read, write] |
int indent [read, write] |
bool openExternalLinks [read,
write] |
Qt::TextInteractionFlags textInteractionFlags
[read, write] |
bool hasSelectedText [read] |
QString selectedText
[read] |