# 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


from .QPaintDevice import QPaintDevice

class QPicture(QPaintDevice):
    """
    QPicture(formatVersion: int = -1)
    QPicture(a0: QPicture)
    """
    def boundingRect(self): # real signature unknown; restored from __doc__
        """ boundingRect(self) -> QRect """
        pass

    def data(self): # real signature unknown; restored from __doc__
        """ data(self) -> bytes """
        return b""

    def detach(self): # real signature unknown; restored from __doc__
        """ detach(self) """
        pass

    def devType(self): # real signature unknown; restored from __doc__
        """ devType(self) -> int """
        return 0

    def isDetached(self): # real signature unknown; restored from __doc__
        """ isDetached(self) -> bool """
        return False

    def isNull(self): # real signature unknown; restored from __doc__
        """ isNull(self) -> bool """
        return False

    def load(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        load(self, fileName: str) -> bool
        load(self, dev: QIODevice) -> bool
        """
        return False

    def metric(self, m): # real signature unknown; restored from __doc__
        """ metric(self, m: QPaintDevice.PaintDeviceMetric) -> int """
        return 0

    def paintEngine(self): # real signature unknown; restored from __doc__
        """ paintEngine(self) -> QPaintEngine """
        return QPaintEngine

    def play(self, p): # real signature unknown; restored from __doc__
        """ play(self, p: QPainter) -> bool """
        return False

    def save(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        save(self, fileName: str) -> bool
        save(self, dev: QIODevice) -> bool
        """
        return False

    def setBoundingRect(self, r): # real signature unknown; restored from __doc__
        """ setBoundingRect(self, r: QRect) """
        pass

    def setData(self, data, bytes=None): # real signature unknown; restored from __doc__
        """ setData(self, data: PyQt6.sip.array[bytes]) """
        pass

    def size(self): # real signature unknown; restored from __doc__
        """ size(self) -> int """
        return 0

    def swap(self, other): # real signature unknown; restored from __doc__
        """ swap(self, other: QPicture) """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass


