@@ -15,12 +15,14 @@ import PySide6.QtGui
1515import PySide6 .Qt3DCore
1616import 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
1919from PySide6 .QtCore import Signal
2020from 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
2628class 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