labels
_labels
¶
Custom label widgets.
Classes:
| Name | Description |
|---|---|
FXElidedLabel |
A QLabel that elides text with '...' when it doesn't fit. |
Classes¶
FXElidedLabel
¶
Bases: QLabel
flowchart TD
fxgui.fxwidgets._labels.FXElidedLabel[FXElidedLabel]
click fxgui.fxwidgets._labels.FXElidedLabel href "" "fxgui.fxwidgets._labels.FXElidedLabel"
A QLabel that elides text with '...' when it doesn't fit.
This label automatically truncates text and adds an ellipsis when the text is too long to fit within the available space.
Methods:
| Name | Description |
|---|---|
resizeEvent |
Re-elide text when the label is resized. |
setText |
Set the text and store the full text for elision. |