32 void setUrl(
const QString &url);
38 void setSmallText(
bool small_text =
true) { small_text_ = small_text; }
80 void setText(
const QString &text);
A QLabel subclass that elides text when it exceeds the widget's width, and optionally acts as a hyper...
Definition elided_label.h:19
void setSmallText(bool small_text=true)
setSmallText Specifies a small or normal text size.
Definition elided_label.h:38
virtual bool event(QEvent *event)
Handles general events for the widget.
Definition elided_label.cpp:34
virtual void resizeEvent(QResizeEvent *)
Handles resize events to recalculate the elided text.
Definition elided_label.cpp:47
void clear()
clear Clear the label.
Definition elided_label.cpp:70
void setText(const QString &text)
setText Set the label's plain text.
Definition elided_label.cpp:78
void setUrl(const QString &url)
setUrl Set the label's URL.
Definition elided_label.cpp:28