# encoding: utf-8
# module PyQt5.QtGui
# from C:\Programs\Python\Python313\Lib\site-packages\PyQt5\QtGui.pyd
# by generator 1.147
# no doc

# imports
import PyQt5.QtCore as __PyQt5_QtCore
import sip as __sip


class QStaticText(__sip.simplewrapper):
    """
    QStaticText()
    QStaticText(text: Optional[str])
    QStaticText(other: QStaticText)
    """
    def performanceHint(self): # real signature unknown; restored from __doc__
        """ performanceHint(self) -> QStaticText.PerformanceHint """
        pass

    def prepare(self, matrix=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ prepare(self, matrix: QTransform = QTransform(), font: QFont = QFont()) """
        pass

    def setPerformanceHint(self, performanceHint): # real signature unknown; restored from __doc__
        """ setPerformanceHint(self, performanceHint: QStaticText.PerformanceHint) """
        pass

    def setText(self, text, p_str=None): # real signature unknown; restored from __doc__
        """ setText(self, text: Optional[str]) """
        pass

    def setTextFormat(self, textFormat): # real signature unknown; restored from __doc__
        """ setTextFormat(self, textFormat: Qt.TextFormat) """
        pass

    def setTextOption(self, textOption): # real signature unknown; restored from __doc__
        """ setTextOption(self, textOption: QTextOption) """
        pass

    def setTextWidth(self, textWidth): # real signature unknown; restored from __doc__
        """ setTextWidth(self, textWidth: float) """
        pass

    def size(self): # real signature unknown; restored from __doc__
        """ size(self) -> QSizeF """
        pass

    def swap(self, other): # real signature unknown; restored from __doc__
        """ swap(self, other: QStaticText) """
        pass

    def text(self): # real signature unknown; restored from __doc__
        """ text(self) -> str """
        return ""

    def textFormat(self): # real signature unknown; restored from __doc__
        """ textFormat(self) -> Qt.TextFormat """
        pass

    def textOption(self): # real signature unknown; restored from __doc__
        """ textOption(self) -> QTextOption """
        return QTextOption

    def textWidth(self): # real signature unknown; restored from __doc__
        """ textWidth(self) -> float """
        return 0.0

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""


    AggressiveCaching = 1
    ModerateCaching = 0
    __hash__ = None


