On this page

Utils::ElidingLabel Class

class Utils::ElidingLabel

The ElidingLabel class is a label suitable for displaying elided text. More...

Header: #include <elidinglabel.h>
Inherits: QLabel

Detailed Description

Rich text is elided as the plain text it shows, and keeps its formatting. Links stay clickable where they are shown while elided.

While the text is elided, the tool tip shows it in full, followed by the target of each link whose text does not already say where it leads. The tool tip is always shown as plain text. Hovering a link that leads to a URL shows that URL as tool tip instead, whether the text is elided or not.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.