diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-12 10:17:05 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-13 00:50:20 +0000 |
commit | a5652c7257835db3f6fce01926d53b236be53405 (patch) | |
tree | f33f7f13771217a6c2743590eabd855bd4260906 /ui/qt/elided_label.h | |
parent | f1d1354b838fbbeb7349189178e81a6a83d08e78 (diff) |
Qt: ElidedLabel doesn't support rich text / HTML.
Change-Id: Ia5ca9784c60325c01ba5e6378997008f8ef1dd6e
Reviewed-on: https://code.wireshark.org/review/7091
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/elided_label.h')
-rw-r--r-- | ui/qt/elided_label.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/elided_label.h b/ui/qt/elided_label.h index 6b16c05c23..629008995b 100644 --- a/ui/qt/elided_label.h +++ b/ui/qt/elided_label.h @@ -30,11 +30,13 @@ class ElidedLabel : public QLabel public: explicit ElidedLabel(QWidget *parent = 0); void setUrl(const QString &url); + void setSmallText(bool small_text = true) { small_text_ = small_text; } protected: - void resizeEvent(QResizeEvent *evt); + void resizeEvent(QResizeEvent *); private: + bool small_text_; QString full_text_; QString url_; |