|
void | clear () |
| clear Clear the label.
|
|
void | setText (const QString &text) |
| setText Set the label's plain text.
|
|
|
| ElidedLabel (QWidget *parent=0) |
|
void | setUrl (const QString &url) |
| setUrl Set the label's URL.
|
|
void | setSmallText (bool small_text=true) |
| setSmallText Specifies a small or normal text size.
|
|
|
virtual bool | event (QEvent *event) |
|
virtual void | resizeEvent (QResizeEvent *) |
|
◆ setSmallText()
void ElidedLabel::setSmallText |
( |
bool |
small_text = true | ) |
|
|
inline |
setSmallText Specifies a small or normal text size.
- Parameters
-
small_text | Show the text in a smaller font size if true, or a normal size otherwise. |
◆ setText
void ElidedLabel::setText |
( |
const QString & |
text | ) |
|
|
slot |
setText Set the label's plain text.
- Parameters
-
text | The text to set. HTML will be escaped. |
◆ setUrl()
void ElidedLabel::setUrl |
( |
const QString & |
url | ) |
|
setUrl Set the label's URL.
- Parameters
-
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/elided_label.h
- /builds/wireshark/wireshark/ui/qt/widgets/elided_label.cpp