@@ -176,7 +176,7 @@ class QPixmap(QPaintDevice):
176
176
@typing .overload
177
177
def __init__ (self , xpm : typing .List [str ]) -> None : ...
178
178
@typing .overload
179
- def __init__ (self , a0 : 'QPixmap' ) -> None : ...
179
+ def __init__ (self , a0 : 'QPixmap' ) -> None : ... # type: ignore
180
180
@typing .overload
181
181
def __init__ (self , variant : typing .Any ) -> None : ...
182
182
@@ -938,26 +938,26 @@ class QClipboard(QtCore.QObject):
938
938
939
939
class QColorSpace (sip .simplewrapper ):
940
940
941
- class TransferFunction (int ): ...
942
- Custom = ... # type: 'QColorSpace.TransferFunction'
943
- Linear = ... # type: 'QColorSpace.TransferFunction'
944
- Gamma = ... # type: 'QColorSpace.TransferFunction'
945
- SRgb = ... # type: 'QColorSpace.TransferFunction'
946
- ProPhotoRgb = ... # type: 'QColorSpace.TransferFunction'
941
+ class TransferFunction (int ):
942
+ Custom = ... # type: 'QColorSpace.TransferFunction'
943
+ Linear = ... # type: 'QColorSpace.TransferFunction'
944
+ Gamma = ... # type: 'QColorSpace.TransferFunction'
945
+ SRgb = ... # type: 'QColorSpace.TransferFunction'
946
+ ProPhotoRgb = ... # type: 'QColorSpace.TransferFunction'
947
947
948
- class Primaries (int ): ...
949
- Custom = ... # type: 'QColorSpace.Primaries'
950
- SRgb = ... # type: 'QColorSpace.Primaries'
951
- AdobeRgb = ... # type: 'QColorSpace.Primaries'
952
- DciP3D65 = ... # type: 'QColorSpace.Primaries'
953
- ProPhotoRgb = ... # type: 'QColorSpace.Primaries'
948
+ class Primaries (int ):
949
+ Custom = ... # type: 'QColorSpace.Primaries'
950
+ SRgb = ... # type: 'QColorSpace.Primaries'
951
+ AdobeRgb = ... # type: 'QColorSpace.Primaries'
952
+ DciP3D65 = ... # type: 'QColorSpace.Primaries'
953
+ ProPhotoRgb = ... # type: 'QColorSpace.Primaries'
954
954
955
- class NamedColorSpace (int ): ...
956
- SRgb = ... # type: 'QColorSpace.NamedColorSpace'
957
- SRgbLinear = ... # type: 'QColorSpace.NamedColorSpace'
958
- AdobeRgb = ... # type: 'QColorSpace.NamedColorSpace'
959
- DisplayP3 = ... # type: 'QColorSpace.NamedColorSpace'
960
- ProPhotoRgb = ... # type: 'QColorSpace.NamedColorSpace'
955
+ class NamedColorSpace (int ):
956
+ SRgb = ... # type: 'QColorSpace.NamedColorSpace'
957
+ SRgbLinear = ... # type: 'QColorSpace.NamedColorSpace'
958
+ AdobeRgb = ... # type: 'QColorSpace.NamedColorSpace'
959
+ DisplayP3 = ... # type: 'QColorSpace.NamedColorSpace'
960
+ ProPhotoRgb = ... # type: 'QColorSpace.NamedColorSpace'
961
961
962
962
@typing .overload
963
963
def __init__ (self ) -> None : ...
@@ -2667,7 +2667,7 @@ class QImage(QPaintDevice):
2667
2667
@typing .overload
2668
2668
def fill (self , color : QtCore .Qt .GlobalColor ) -> None : ...
2669
2669
@typing .overload
2670
- def fill (self , color : typing .Union [QColor , QtCore .Qt .GlobalColor , QGradient ]) -> None : ...
2670
+ def fill (self , color : typing .Union [QColor , QtCore .Qt .GlobalColor , QGradient ]) -> None : ... # type: ignore
2671
2671
@typing .overload
2672
2672
def fill (self , pixel : int ) -> None : ...
2673
2673
def setColorTable (self , colors : typing .Iterable [int ]) -> None : ...
@@ -3090,11 +3090,11 @@ class QMatrix4x4(sip.simplewrapper):
3090
3090
@typing .overload
3091
3091
def map (self , point : QtCore .QPoint ) -> QtCore .QPoint : ...
3092
3092
@typing .overload
3093
- def map (self , point : QtCore .QPointF ) -> QtCore .QPointF : ...
3093
+ def map (self , point : QtCore .QPointF ) -> QtCore .QPointF : ... # type: ignore
3094
3094
@typing .overload
3095
- def map (self , point : 'QVector3D' ) -> 'QVector3D' : ...
3095
+ def map (self , point : 'QVector3D' ) -> 'QVector3D' : ... # type: ignore
3096
3096
@typing .overload
3097
- def map (self , point : 'QVector4D' ) -> 'QVector4D' : ...
3097
+ def map (self , point : 'QVector4D' ) -> 'QVector4D' : ... # type: ignore
3098
3098
def fill (self , value : float ) -> None : ...
3099
3099
def setToIdentity (self ) -> None : ...
3100
3100
def isIdentity (self ) -> bool : ...
@@ -3109,7 +3109,7 @@ class QMatrix4x4(sip.simplewrapper):
3109
3109
@typing .overload
3110
3110
def mapRect (self , rect : QtCore .QRect ) -> QtCore .QRect : ...
3111
3111
@typing .overload
3112
- def mapRect (self , rect : QtCore .QRectF ) -> QtCore .QRectF : ...
3112
+ def mapRect (self , rect : QtCore .QRectF ) -> QtCore .QRectF : ... # type: ignore
3113
3113
@typing .overload
3114
3114
def toTransform (self ) -> 'QTransform' : ...
3115
3115
@typing .overload
@@ -3121,7 +3121,7 @@ class QMatrix4x4(sip.simplewrapper):
3121
3121
@typing .overload
3122
3122
def ortho (self , rect : QtCore .QRect ) -> None : ...
3123
3123
@typing .overload
3124
- def ortho (self , rect : QtCore .QRectF ) -> None : ...
3124
+ def ortho (self , rect : QtCore .QRectF ) -> None : ... # type: ignore
3125
3125
@typing .overload
3126
3126
def ortho (self , left : float , right : float , bottom : float , top : float , nearPlane : float , farPlane : float ) -> None : ...
3127
3127
@typing .overload
@@ -3758,11 +3758,11 @@ class QOpenGLShaderProgram(QtCore.QObject):
3758
3758
@typing .overload
3759
3759
def setUniformValue (self , location : int , point : QtCore .QPoint ) -> None : ...
3760
3760
@typing .overload
3761
- def setUniformValue (self , location : int , point : typing .Union [QtCore .QPointF , QtCore .QPoint ]) -> None : ...
3761
+ def setUniformValue (self , location : int , point : typing .Union [QtCore .QPointF , QtCore .QPoint ]) -> None : ... # type: ignore
3762
3762
@typing .overload
3763
3763
def setUniformValue (self , location : int , size : QtCore .QSize ) -> None : ...
3764
3764
@typing .overload
3765
- def setUniformValue (self , location : int , size : QtCore .QSizeF ) -> None : ...
3765
+ def setUniformValue (self , location : int , size : QtCore .QSizeF ) -> None : ... # type: ignore
3766
3766
@typing .overload
3767
3767
def setUniformValue (self , location : int , value : QMatrix2x2 ) -> None : ...
3768
3768
@typing .overload
@@ -3804,11 +3804,11 @@ class QOpenGLShaderProgram(QtCore.QObject):
3804
3804
@typing .overload
3805
3805
def setUniformValue (self , name : str , point : QtCore .QPoint ) -> None : ...
3806
3806
@typing .overload
3807
- def setUniformValue (self , name : str , point : typing .Union [QtCore .QPointF , QtCore .QPoint ]) -> None : ...
3807
+ def setUniformValue (self , name : str , point : typing .Union [QtCore .QPointF , QtCore .QPoint ]) -> None : ... # type: ignore
3808
3808
@typing .overload
3809
3809
def setUniformValue (self , name : str , size : QtCore .QSize ) -> None : ...
3810
3810
@typing .overload
3811
- def setUniformValue (self , name : str , size : QtCore .QSizeF ) -> None : ...
3811
+ def setUniformValue (self , name : str , size : QtCore .QSizeF ) -> None : ... # type: ignore
3812
3812
@typing .overload
3813
3813
def setUniformValue (self , name : str , value : QMatrix2x2 ) -> None : ...
3814
3814
@typing .overload
@@ -5214,7 +5214,7 @@ class QPainter(sip.simplewrapper):
5214
5214
@typing .overload
5215
5215
def drawRoundedRect (self , x : int , y : int , w : int , h : int , xRadius : float , yRadius : float , mode : QtCore .Qt .SizeMode = ...) -> None : ...
5216
5216
@typing .overload
5217
- def drawRoundedRect (self , rect : QtCore .QRect , xRadius : float , yRadius : float , mode : QtCore .Qt .SizeMode = ...) -> None : ...
5217
+ def drawRoundedRect (self , rect : QtCore .QRect , xRadius : float , yRadius : float , mode : QtCore .Qt .SizeMode = ...) -> None : ... # type: ignore
5218
5218
def testRenderHint (self , hint : 'QPainter.RenderHint' ) -> bool : ...
5219
5219
def combinedTransform (self ) -> 'QTransform' : ...
5220
5220
def worldTransform (self ) -> 'QTransform' : ...
@@ -5230,7 +5230,7 @@ class QPainter(sip.simplewrapper):
5230
5230
@typing .overload
5231
5231
def drawImage (self , r : QtCore .QRectF , image : QImage ) -> None : ...
5232
5232
@typing .overload
5233
- def drawImage (self , r : QtCore .QRect , image : QImage ) -> None : ...
5233
+ def drawImage (self , r : QtCore .QRect , image : QImage ) -> None : ... # type: ignore
5234
5234
@typing .overload
5235
5235
def drawImage (self , p : typing .Union [QtCore .QPointF , QtCore .QPoint ], image : QImage ) -> None : ...
5236
5236
# @typing.overload
@@ -5240,11 +5240,11 @@ class QPainter(sip.simplewrapper):
5240
5240
@typing .overload
5241
5241
def drawImage (self , targetRect : QtCore .QRectF , image : QImage , sourceRect : QtCore .QRectF , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ...
5242
5242
@typing .overload
5243
- def drawImage (self , targetRect : QtCore .QRect , image : QImage , sourceRect : QtCore .QRect , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ...
5243
+ def drawImage (self , targetRect : QtCore .QRect , image : QImage , sourceRect : QtCore .QRect , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ... # type: ignore
5244
5244
@typing .overload
5245
5245
def drawImage (self , p : typing .Union [QtCore .QPointF , QtCore .QPoint ], image : QImage , sr : QtCore .QRectF , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ...
5246
5246
@typing .overload
5247
- def drawImage (self , p : QtCore .QPoint , image : QImage , sr : QtCore .QRect , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ...
5247
+ def drawImage (self , p : QtCore .QPoint , image : QImage , sr : QtCore .QRect , flags : typing .Union [QtCore .Qt .ImageConversionFlags , QtCore .Qt .ImageConversionFlag ] = ...) -> None : ... # type: ignore
5248
5248
@typing .overload
5249
5249
def drawPoint (self , p : typing .Union [QtCore .QPointF , QtCore .QPoint ]) -> None : ...
5250
5250
@typing .overload
0 commit comments