Skip to content

Commit c526342

Browse files
committed
Merge branch 'upstream-pyside6' v6.7.3
2 parents 8914a7b + c645c3c commit c526342

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3534
-2002
lines changed

PySide6-stubs/Qt3DAnimation.pyi

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ import PySide6.Qt3DCore
1616
import PySide6.Qt3DRender
1717

1818
import enum
19-
from typing import Any, ClassVar, List, Optional, Sequence, Type, Union, overload
19+
from typing import Any, ClassVar, List, Mapping, Optional, Sequence, Type, Union, overload
2020
from PySide6.QtCore import Signal
2121
from shiboken6 import Shiboken
22+
from typing import TypeAlias, TypeVar
2223

2324

24-
NoneType = type(None)
25+
NoneType: TypeAlias = type[None]
26+
PlaceHolderType = TypeVar("PlaceHolderType", bound=QObject)
2527

2628

2729
class QIntList(object): ...
@@ -231,6 +233,17 @@ class Qt3DAnimation(Shiboken.Object):
231233
def blendTree(self) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
232234
def setBlendTree(self, blendTree: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode) -> None: ...
233235

236+
class QCallbackMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
237+
238+
channelNameChanged : ClassVar[Signal] = ... # channelNameChanged(QString)
239+
240+
def __init__(self, parent: Optional[PySide6.Qt3DCore.Qt3DCore.QNode] = ...) -> None: ...
241+
242+
def callback(self) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback: ...
243+
def channelName(self) -> str: ...
244+
def setCallback(self, type: int, callback: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback) -> None: ...
245+
def setChannelName(self, channelName: str) -> None: ...
246+
234247
class QChannel(Shiboken.Object):
235248

236249
@overload

PySide6-stubs/Qt3DCore.pyi

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ import PySide6.QtCore
1414
import PySide6.QtGui
1515

1616
import enum
17-
from typing import ClassVar, List, Optional, Sequence, Tuple, Union, overload
17+
from typing import Any, ClassVar, List, Optional, Sequence, Type, Union, overload
1818
from PySide6.QtCore import Signal
1919
from shiboken6 import Shiboken
20+
from typing import TypeAlias, TypeVar
2021

2122

22-
NoneType = type(None)
23+
NoneType: TypeAlias = type[None]
24+
PlaceHolderType = TypeVar("PlaceHolderType", bound=QObject)
2325

2426

2527
class QIntList(object): ...
@@ -32,9 +34,9 @@ class Qt3DCore(Shiboken.Object):
3234
def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...
3335

3436
def dependencies(self) -> List[str]: ...
35-
def registerBackendType(self, obj: PySide6.QtCore.QMetaObject, functor: Tuple[PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapper]) -> None: ...
37+
def registerBackendType(self, obj: PySide6.QtCore.QMetaObject, functor: PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapperPtr) -> None: ...
3638
def rootEntityId(self) -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
37-
def scheduleSingleShotJob(self, job: Tuple[PySide6.Qt3DCore.Qt3DCore.QAspectJob]) -> None: ...
39+
def scheduleSingleShotJob(self, job: PySide6.Qt3DCore.Qt3DCore.QAspectJobPtr) -> None: ...
3840
def unregisterBackendType(self, arg__1: PySide6.QtCore.QMetaObject) -> None: ...
3941

4042
class QAbstractFunctor(Shiboken.Object):
@@ -77,9 +79,9 @@ class Qt3DCore(Shiboken.Object):
7779
def registerAspect(self, aspect: PySide6.Qt3DCore.Qt3DCore.QAbstractAspect) -> None: ...
7880
@overload
7981
def registerAspect(self, name: str) -> None: ...
80-
def rootEntity(self) -> Tuple[PySide6.Qt3DCore.Qt3DCore.QEntity]: ...
82+
def rootEntity(self) -> PySide6.Qt3DCore.Qt3DCore.QEntityPtr: ...
8183
def runMode(self) -> PySide6.Qt3DCore.Qt3DCore.QAspectEngine.RunMode: ...
82-
def setRootEntity(self, root: Tuple[PySide6.Qt3DCore.Qt3DCore.QEntity]) -> None: ...
84+
def setRootEntity(self, root: PySide6.Qt3DCore.Qt3DCore.QEntityPtr) -> None: ...
8385
def setRunMode(self, mode: PySide6.Qt3DCore.Qt3DCore.QAspectEngine.RunMode) -> None: ...
8486
@overload
8587
def unregisterAspect(self, aspect: PySide6.Qt3DCore.Qt3DCore.QAbstractAspect) -> None: ...
@@ -299,6 +301,12 @@ class Qt3DCore(Shiboken.Object):
299301
def isShareable(self) -> bool: ...
300302
def setShareable(self, isShareable: bool) -> None: ...
301303

304+
class QCoreAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
305+
306+
def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...
307+
308+
def calculateBoundingVolumeJob(self) -> PySide6.Qt3DCore.Qt3DCore.QAspectJobPtr: ...
309+
302310
class QCoreSettings(PySide6.Qt3DCore.Qt3DCore.QComponent):
303311

304312
boundingVolumesEnabledChanged: ClassVar[Signal] = ... # boundingVolumesEnabledChanged(bool)
@@ -485,6 +493,23 @@ class Qt3DCore(Shiboken.Object):
485493
@staticmethod
486494
def __copy__() -> None: ...
487495

496+
class QSharedPointer(Shiboken.Object):
497+
498+
@overload
499+
def __init__(self) -> None: ...
500+
@overload
501+
def __init__(self, pointee: PySide6.Qt3DCore.Qt3DCore.QEntity) -> None: ...
502+
503+
@staticmethod
504+
def __copy__() -> None: ...
505+
@staticmethod
506+
def __dir__() -> None: ...
507+
def data(self) -> PySide6.Qt3DCore.Qt3DCore.QEntity: ...
508+
@overload
509+
def reset(self) -> None: ...
510+
@overload
511+
def reset(self, t: PySide6.Qt3DCore.Qt3DCore.QEntity) -> None: ...
512+
488513
class QSkeleton(PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton):
489514

490515
rootJointChanged : ClassVar[Signal] = ... # rootJointChanged(Qt3DCore::QJoint*)

PySide6-stubs/Qt3DExtras.pyi

Lines changed: 44 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ import PySide6.QtGui
1515
import PySide6.Qt3DCore
1616
import PySide6.Qt3DRender
1717

18-
from typing import Any, ClassVar, List, Optional, Sequence, Union, overload
18+
from typing import Any, ClassVar, List, Optional, Sequence, Set, Text, Type, Union, overload
1919
from PySide6.QtCore import Signal
2020
from shiboken6 import Shiboken
21+
from typing import TypeAlias, TypeVar
2122

2223

23-
NoneType = type(None)
24+
NoneType: TypeAlias = type[None]
25+
PlaceHolderType = TypeVar("PlaceHolderType", bound=QObject)
2426

2527

2628
class QIntList(object): ...
@@ -369,10 +371,10 @@ class Qt3DExtras(Shiboken.Object):
369371

370372
def ambient(self) -> PySide6.QtGui.QColor: ...
371373
def diffuse(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
372-
def setAmbient(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
374+
def setAmbient(self, color: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
373375
def setDiffuse(self, diffuse: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
374376
def setShininess(self, shininess: float) -> None: ...
375-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
377+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
376378
def setTextureScale(self, textureScale: float) -> None: ...
377379
def shininess(self) -> float: ...
378380
def specular(self) -> PySide6.QtGui.QColor: ...
@@ -390,7 +392,7 @@ class Qt3DExtras(Shiboken.Object):
390392

391393
def ambient(self) -> PySide6.QtGui.QColor: ...
392394
def diffuse(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
393-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
395+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
394396
def setDiffuse(self, diffuse: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
395397
def setShininess(self, shininess: float) -> None: ...
396398
def setSpecular(self, specular: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
@@ -416,7 +418,7 @@ class Qt3DExtras(Shiboken.Object):
416418
def isAlphaBlendingEnabled(self) -> bool: ...
417419
def normal(self) -> Any: ...
418420
def setAlphaBlendingEnabled(self, enabled: bool) -> None: ...
419-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
421+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
420422
def setDiffuse(self, diffuse: Any) -> None: ...
421423
def setNormal(self, normal: Any) -> None: ...
422424
def setShininess(self, shininess: float) -> None: ...
@@ -486,7 +488,7 @@ class Qt3DExtras(Shiboken.Object):
486488
def isFrustumCullingEnabled(self) -> bool: ...
487489
def setBuffersToClear(self, arg__1: PySide6.Qt3DRender.Qt3DRender.QClearBuffers.BufferType) -> None: ...
488490
def setCamera(self, camera: PySide6.Qt3DCore.Qt3DCore.QEntity) -> None: ...
489-
def setClearColor(self, clearColor: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
491+
def setClearColor(self, clearColor: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
490492
def setExternalRenderTargetSize(self, size: PySide6.QtCore.QSize) -> None: ...
491493
def setFrustumCullingEnabled(self, enabled: bool) -> None: ...
492494
def setGamma(self, gamma: float) -> None: ...
@@ -515,11 +517,11 @@ class Qt3DExtras(Shiboken.Object):
515517
def diffuse(self) -> PySide6.QtGui.QColor: ...
516518
def setAlpha(self, alpha: float) -> None: ...
517519
def setBeta(self, beta: float) -> None: ...
518-
def setCool(self, cool: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
519-
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
520+
def setCool(self, cool: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
521+
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
520522
def setShininess(self, shininess: float) -> None: ...
521-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
522-
def setWarm(self, warm: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
523+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
524+
def setWarm(self, warm: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
523525
def shininess(self) -> float: ...
524526
def specular(self) -> PySide6.QtGui.QColor: ...
525527
def warm(self) -> PySide6.QtGui.QColor: ...
@@ -561,11 +563,11 @@ class Qt3DExtras(Shiboken.Object):
561563
def ambient(self) -> PySide6.QtGui.QColor: ...
562564
def diffuse(self) -> PySide6.QtGui.QColor: ...
563565
def interpolator(self) -> float: ...
564-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
565-
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
566+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
567+
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
566568
def setInterpolator(self, interpolator: float) -> None: ...
567569
def setShininess(self, shininess: float) -> None: ...
568-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
570+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
569571
def shininess(self) -> float: ...
570572
def specular(self) -> PySide6.QtGui.QColor: ...
571573

@@ -588,11 +590,11 @@ class Qt3DExtras(Shiboken.Object):
588590
def ambient(self) -> PySide6.QtGui.QColor: ...
589591
def diffuse(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
590592
def normal(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
591-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
593+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
592594
def setDiffuse(self, diffuse: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
593595
def setNormal(self, normal: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
594596
def setShininess(self, shininess: float) -> None: ...
595-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
597+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
596598
def setTextureScale(self, textureScale: float) -> None: ...
597599
def shininess(self) -> float: ...
598600
def specular(self) -> PySide6.QtGui.QColor: ...
@@ -612,7 +614,7 @@ class Qt3DExtras(Shiboken.Object):
612614
def ambient(self) -> PySide6.QtGui.QColor: ...
613615
def diffuse(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
614616
def normal(self) -> PySide6.Qt3DRender.Qt3DRender.QAbstractTexture: ...
615-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
617+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
616618
def setDiffuse(self, diffuse: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
617619
def setNormal(self, normal: PySide6.Qt3DRender.Qt3DRender.QAbstractTexture) -> None: ...
618620
def setShininess(self, shininess: float) -> None: ...
@@ -624,12 +626,30 @@ class Qt3DExtras(Shiboken.Object):
624626

625627
class QOrbitCameraController(PySide6.Qt3DExtras.Qt3DExtras.QAbstractCameraController):
626628

629+
inversePanChanged : ClassVar[Signal] = ... # inversePanChanged(bool)
630+
inverseTiltChanged : ClassVar[Signal] = ... # inverseTiltChanged(bool)
631+
inverseXTranslateChanged : ClassVar[Signal] = ... # inverseXTranslateChanged(bool)
632+
inverseYTranslateChanged : ClassVar[Signal] = ... # inverseYTranslateChanged(bool)
633+
upVectorChanged : ClassVar[Signal] = ... # upVectorChanged(QVector3D)
627634
zoomInLimitChanged : ClassVar[Signal] = ... # zoomInLimitChanged()
635+
zoomTranslateViewCenterChanged: ClassVar[Signal] = ... # zoomTranslateViewCenterChanged(bool)
628636

629637
def __init__(self, parent: Optional[PySide6.Qt3DCore.Qt3DCore.QNode] = ...) -> None: ...
630638

639+
def inversePan(self) -> bool: ...
640+
def inverseTilt(self) -> bool: ...
641+
def inverseXTranslate(self) -> bool: ...
642+
def inverseYTranslate(self) -> bool: ...
643+
def setInversePan(self, isInverse: bool) -> None: ...
644+
def setInverseTilt(self, isInverse: bool) -> None: ...
645+
def setInverseXTranslate(self, isInverse: bool) -> None: ...
646+
def setInverseYTranslate(self, isInverse: bool) -> None: ...
647+
def setUpVector(self, upVector: PySide6.QtGui.QVector3D) -> None: ...
631648
def setZoomInLimit(self, zoomInLimit: float) -> None: ...
649+
def setZoomTranslateViewCenter(self, isTranslate: bool) -> None: ...
650+
def upVector(self) -> PySide6.QtGui.QVector3D: ...
632651
def zoomInLimit(self) -> float: ...
652+
def zoomTranslateViewCenter(self) -> bool: ...
633653

634654
class QPerVertexColorMaterial(PySide6.Qt3DRender.Qt3DRender.QMaterial):
635655

@@ -658,15 +678,15 @@ class Qt3DExtras(Shiboken.Object):
658678
def destinationRgbArg(self) -> PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending: ...
659679
def diffuse(self) -> PySide6.QtGui.QColor: ...
660680
def setAlpha(self, alpha: float) -> None: ...
661-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
681+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
662682
def setBlendFunctionArg(self, blendFunctionArg: PySide6.Qt3DRender.Qt3DRender.QBlendEquation.BlendFunction) -> None: ...
663683
def setDestinationAlphaArg(self, destinationAlphaArg: PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending) -> None: ...
664684
def setDestinationRgbArg(self, destinationRgbArg: PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending) -> None: ...
665-
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
685+
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
666686
def setShininess(self, shininess: float) -> None: ...
667687
def setSourceAlphaArg(self, sourceAlphaArg: PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending) -> None: ...
668688
def setSourceRgbArg(self, sourceRgbArg: PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending) -> None: ...
669-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
689+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
670690
def shininess(self) -> float: ...
671691
def sourceAlphaArg(self) -> PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending: ...
672692
def sourceRgbArg(self) -> PySide6.Qt3DRender.Qt3DRender.QBlendEquationArguments.Blending: ...
@@ -683,10 +703,10 @@ class Qt3DExtras(Shiboken.Object):
683703

684704
def ambient(self) -> PySide6.QtGui.QColor: ...
685705
def diffuse(self) -> PySide6.QtGui.QColor: ...
686-
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
687-
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
706+
def setAmbient(self, ambient: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
707+
def setDiffuse(self, diffuse: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
688708
def setShininess(self, shininess: float) -> None: ...
689-
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
709+
def setSpecular(self, specular: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
690710
def shininess(self) -> float: ...
691711
def specular(self) -> PySide6.QtGui.QColor: ...
692712

@@ -914,7 +934,7 @@ class Qt3DExtras(Shiboken.Object):
914934
def color(self) -> PySide6.QtGui.QColor: ...
915935
def font(self) -> PySide6.QtGui.QFont: ...
916936
def height(self) -> float: ...
917-
def setColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None: ...
937+
def setColor(self, color: Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, int]) -> None: ...
918938
def setFont(self, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None: ...
919939
def setHeight(self, height: float) -> None: ...
920940
def setText(self, text: str) -> None: ...

0 commit comments

Comments
 (0)