# encoding: utf-8
# module PyQt6.QtGui
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\PyQt6\QtGui.pyd
# by generator 1.147
# no doc

# imports
import PyQt6.QtCore as __PyQt6_QtCore
import PyQt6.sip as __PyQt6_sip


class QFont(__PyQt6_sip.simplewrapper):
    """
    QFont()
    QFont(families: Iterable[str], pointSize: int = -1, weight: int = -1, italic: bool = False)
    QFont(family: str, pointSize: int = -1, weight: int = -1, italic: bool = False)
    QFont(a0: QFont)
    QFont(variant: Any)
    """
    def bold(self): # real signature unknown; restored from __doc__
        """ bold(self) -> bool """
        return False

    def cacheStatistics(self): # real signature unknown; restored from __doc__
        """ cacheStatistics() """
        pass

    def capitalization(self): # real signature unknown; restored from __doc__
        """ capitalization(self) -> QFont.Capitalization """
        pass

    def cleanup(self): # real signature unknown; restored from __doc__
        """ cleanup() """
        pass

    def defaultFamily(self): # real signature unknown; restored from __doc__
        """ defaultFamily(self) -> str """
        return ""

    def exactMatch(self): # real signature unknown; restored from __doc__
        """ exactMatch(self) -> bool """
        return False

    def families(self): # real signature unknown; restored from __doc__
        """ families(self) -> List[str] """
        return []

    def family(self): # real signature unknown; restored from __doc__
        """ family(self) -> str """
        return ""

    def fixedPitch(self): # real signature unknown; restored from __doc__
        """ fixedPitch(self) -> bool """
        return False

    def fromString(self, a0): # real signature unknown; restored from __doc__
        """ fromString(self, a0: str) -> bool """
        return False

    def hintingPreference(self): # real signature unknown; restored from __doc__
        """ hintingPreference(self) -> QFont.HintingPreference """
        pass

    def initialize(self): # real signature unknown; restored from __doc__
        """ initialize() """
        pass

    def insertSubstitution(self, a0, a1): # real signature unknown; restored from __doc__
        """ insertSubstitution(a0: str, a1: str) """
        pass

    def insertSubstitutions(self, a0, a1, p_str=None): # real signature unknown; restored from __doc__
        """ insertSubstitutions(a0: str, a1: Iterable[str]) """
        pass

    def isCopyOf(self, a0): # real signature unknown; restored from __doc__
        """ isCopyOf(self, a0: QFont) -> bool """
        return False

    def italic(self): # real signature unknown; restored from __doc__
        """ italic(self) -> bool """
        return False

    def kerning(self): # real signature unknown; restored from __doc__
        """ kerning(self) -> bool """
        return False

    def key(self): # real signature unknown; restored from __doc__
        """ key(self) -> str """
        return ""

    def letterSpacing(self): # real signature unknown; restored from __doc__
        """ letterSpacing(self) -> float """
        return 0.0

    def letterSpacingType(self): # real signature unknown; restored from __doc__
        """ letterSpacingType(self) -> QFont.SpacingType """
        pass

    def overline(self): # real signature unknown; restored from __doc__
        """ overline(self) -> bool """
        return False

    def pixelSize(self): # real signature unknown; restored from __doc__
        """ pixelSize(self) -> int """
        return 0

    def pointSize(self): # real signature unknown; restored from __doc__
        """ pointSize(self) -> int """
        return 0

    def pointSizeF(self): # real signature unknown; restored from __doc__
        """ pointSizeF(self) -> float """
        return 0.0

    def removeSubstitutions(self, a0): # real signature unknown; restored from __doc__
        """ removeSubstitutions(a0: str) """
        pass

    def resolve(self, a0): # real signature unknown; restored from __doc__
        """ resolve(self, a0: QFont) -> QFont """
        return QFont

    def setBold(self, enable): # real signature unknown; restored from __doc__
        """ setBold(self, enable: bool) """
        pass

    def setCapitalization(self, a0): # real signature unknown; restored from __doc__
        """ setCapitalization(self, a0: QFont.Capitalization) """
        pass

    def setFamilies(self, a0, p_str=None): # real signature unknown; restored from __doc__
        """ setFamilies(self, a0: Iterable[str]) """
        pass

    def setFamily(self, a0): # real signature unknown; restored from __doc__
        """ setFamily(self, a0: str) """
        pass

    def setFixedPitch(self, a0): # real signature unknown; restored from __doc__
        """ setFixedPitch(self, a0: bool) """
        pass

    def setHintingPreference(self, hintingPreference): # real signature unknown; restored from __doc__
        """ setHintingPreference(self, hintingPreference: QFont.HintingPreference) """
        pass

    def setItalic(self, b): # real signature unknown; restored from __doc__
        """ setItalic(self, b: bool) """
        pass

    def setKerning(self, a0): # real signature unknown; restored from __doc__
        """ setKerning(self, a0: bool) """
        pass

    def setLetterSpacing(self, type, spacing): # real signature unknown; restored from __doc__
        """ setLetterSpacing(self, type: QFont.SpacingType, spacing: float) """
        pass

    def setOverline(self, a0): # real signature unknown; restored from __doc__
        """ setOverline(self, a0: bool) """
        pass

    def setPixelSize(self, a0): # real signature unknown; restored from __doc__
        """ setPixelSize(self, a0: int) """
        pass

    def setPointSize(self, a0): # real signature unknown; restored from __doc__
        """ setPointSize(self, a0: int) """
        pass

    def setPointSizeF(self, a0): # real signature unknown; restored from __doc__
        """ setPointSizeF(self, a0: float) """
        pass

    def setStretch(self, a0): # real signature unknown; restored from __doc__
        """ setStretch(self, a0: int) """
        pass

    def setStrikeOut(self, a0): # real signature unknown; restored from __doc__
        """ setStrikeOut(self, a0: bool) """
        pass

    def setStyle(self, style): # real signature unknown; restored from __doc__
        """ setStyle(self, style: QFont.Style) """
        pass

    def setStyleHint(self, hint, strategy=None): # real signature unknown; restored from __doc__
        """ setStyleHint(self, hint: QFont.StyleHint, strategy: QFont.StyleStrategy = QFont.PreferDefault) """
        pass

    def setStyleName(self, styleName): # real signature unknown; restored from __doc__
        """ setStyleName(self, styleName: str) """
        pass

    def setStyleStrategy(self, s): # real signature unknown; restored from __doc__
        """ setStyleStrategy(self, s: QFont.StyleStrategy) """
        pass

    def setUnderline(self, a0): # real signature unknown; restored from __doc__
        """ setUnderline(self, a0: bool) """
        pass

    def setWeight(self, weight): # real signature unknown; restored from __doc__
        """ setWeight(self, weight: int) """
        pass

    def setWordSpacing(self, spacing): # real signature unknown; restored from __doc__
        """ setWordSpacing(self, spacing: float) """
        pass

    def stretch(self): # real signature unknown; restored from __doc__
        """ stretch(self) -> int """
        return 0

    def strikeOut(self): # real signature unknown; restored from __doc__
        """ strikeOut(self) -> bool """
        return False

    def style(self): # real signature unknown; restored from __doc__
        """ style(self) -> QFont.Style """
        pass

    def styleHint(self): # real signature unknown; restored from __doc__
        """ styleHint(self) -> QFont.StyleHint """
        pass

    def styleName(self): # real signature unknown; restored from __doc__
        """ styleName(self) -> str """
        return ""

    def styleStrategy(self): # real signature unknown; restored from __doc__
        """ styleStrategy(self) -> QFont.StyleStrategy """
        pass

    def substitute(self, a0): # real signature unknown; restored from __doc__
        """ substitute(a0: str) -> str """
        return ""

    def substitutes(self, a0): # real signature unknown; restored from __doc__
        """ substitutes(a0: str) -> List[str] """
        return []

    def substitutions(self): # real signature unknown; restored from __doc__
        """ substitutions() -> List[str] """
        return []

    def swap(self, other): # real signature unknown; restored from __doc__
        """ swap(self, other: QFont) """
        pass

    def toString(self): # real signature unknown; restored from __doc__
        """ toString(self) -> str """
        return ""

    def underline(self): # real signature unknown; restored from __doc__
        """ underline(self) -> bool """
        return False

    def weight(self): # real signature unknown; restored from __doc__
        """ weight(self) -> int """
        return 0

    def wordSpacing(self): # real signature unknown; restored from __doc__
        """ wordSpacing(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 __hash__(self, *args, **kwargs): # real signature unknown
        """ Return hash(self). """
        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 (if defined)"""


    Capitalization = None # (!) real value is "<enum 'Capitalization'>"
    HintingPreference = None # (!) real value is "<enum 'HintingPreference'>"
    SpacingType = None # (!) real value is "<enum 'SpacingType'>"
    Stretch = None # (!) real value is "<enum 'Stretch'>"
    Style = None # (!) real value is "<enum 'Style'>"
    StyleHint = None # (!) real value is "<enum 'StyleHint'>"
    StyleStrategy = None # (!) real value is "<flag 'StyleStrategy'>"
    Weight = None # (!) real value is "<enum 'Weight'>"


