from .layout import PADDING_SMALL as PADDING_SMALL
from .qt import QFontMetrics as QFontMetrics, QLabel as QLabel, QPainter as QPainter, Qt as Qt
from .tooltip import QToolTipFilter as QToolTipFilter

class QElideLabel(QLabel):
    def __init__(self, *args, **kwargs) -> None: ...
    def setText(self, text: str): ...
    def setLength(self, length: int): ...
    def length(self) -> int: ...
    def setElideMode(self, mode: Qt.TextElideMode): ...
    def elideMode(self) -> Qt.TextElideMode: ...
    def setAlignment(self, alignment: Qt.AlignmentFlag): ...
    def alignment(self) -> Qt.AlignmentFlag: ...
    def paintEvent(self, event) -> None: ...
