@@ -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 ): ...
@@ -357,10 +359,10 @@ class Qt3DExtras(Shiboken.Object):
357359
358360 def ambient (self ) -> PySide6 .QtGui .QColor : ...
359361 def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
360- def setAmbient (self , color : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
362+ def setAmbient (self , color : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
361363 def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
362364 def setShininess (self , shininess : float ) -> None : ...
363- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
365+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
364366 def setTextureScale (self , textureScale : float ) -> None : ...
365367 def shininess (self ) -> float : ...
366368 def specular (self ) -> PySide6 .QtGui .QColor : ...
@@ -378,7 +380,7 @@ class Qt3DExtras(Shiboken.Object):
378380
379381 def ambient (self ) -> PySide6 .QtGui .QColor : ...
380382 def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
381- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
383+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
382384 def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
383385 def setShininess (self , shininess : float ) -> None : ...
384386 def setSpecular (self , specular : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
@@ -404,7 +406,7 @@ class Qt3DExtras(Shiboken.Object):
404406 def isAlphaBlendingEnabled (self ) -> bool : ...
405407 def normal (self ) -> Any : ...
406408 def setAlphaBlendingEnabled (self , enabled : bool ) -> None : ...
407- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
409+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
408410 def setDiffuse (self , diffuse : Any ) -> None : ...
409411 def setNormal (self , normal : Any ) -> None : ...
410412 def setShininess (self , shininess : float ) -> None : ...
@@ -474,7 +476,7 @@ class Qt3DExtras(Shiboken.Object):
474476 def isFrustumCullingEnabled (self ) -> bool : ...
475477 def setBuffersToClear (self , arg__1 : PySide6 .Qt3DRender .Qt3DRender .QClearBuffers .BufferType ) -> None : ...
476478 def setCamera (self , camera : PySide6 .Qt3DCore .Qt3DCore .QEntity ) -> None : ...
477- def setClearColor (self , clearColor : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
479+ def setClearColor (self , clearColor : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
478480 def setExternalRenderTargetSize (self , size : PySide6 .QtCore .QSize ) -> None : ...
479481 def setFrustumCullingEnabled (self , enabled : bool ) -> None : ...
480482 def setGamma (self , gamma : float ) -> None : ...
@@ -503,11 +505,11 @@ class Qt3DExtras(Shiboken.Object):
503505 def diffuse (self ) -> PySide6 .QtGui .QColor : ...
504506 def setAlpha (self , alpha : float ) -> None : ...
505507 def setBeta (self , beta : float ) -> None : ...
506- def setCool (self , cool : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
507- def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
508+ def setCool (self , cool : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
509+ def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
508510 def setShininess (self , shininess : float ) -> None : ...
509- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
510- def setWarm (self , warm : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
511+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
512+ def setWarm (self , warm : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
511513 def shininess (self ) -> float : ...
512514 def specular (self ) -> PySide6 .QtGui .QColor : ...
513515 def warm (self ) -> PySide6 .QtGui .QColor : ...
@@ -549,11 +551,11 @@ class Qt3DExtras(Shiboken.Object):
549551 def ambient (self ) -> PySide6 .QtGui .QColor : ...
550552 def diffuse (self ) -> PySide6 .QtGui .QColor : ...
551553 def interpolator (self ) -> float : ...
552- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
553- def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
554+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
555+ def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
554556 def setInterpolator (self , interpolator : float ) -> None : ...
555557 def setShininess (self , shininess : float ) -> None : ...
556- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
558+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
557559 def shininess (self ) -> float : ...
558560 def specular (self ) -> PySide6 .QtGui .QColor : ...
559561
@@ -576,11 +578,11 @@ class Qt3DExtras(Shiboken.Object):
576578 def ambient (self ) -> PySide6 .QtGui .QColor : ...
577579 def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
578580 def normal (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
579- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
581+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
580582 def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
581583 def setNormal (self , normal : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
582584 def setShininess (self , shininess : float ) -> None : ...
583- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
585+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
584586 def setTextureScale (self , textureScale : float ) -> None : ...
585587 def shininess (self ) -> float : ...
586588 def specular (self ) -> PySide6 .QtGui .QColor : ...
@@ -600,7 +602,7 @@ class Qt3DExtras(Shiboken.Object):
600602 def ambient (self ) -> PySide6 .QtGui .QColor : ...
601603 def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
602604 def normal (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
603- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
605+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
604606 def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
605607 def setNormal (self , normal : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
606608 def setShininess (self , shininess : float ) -> None : ...
@@ -612,12 +614,30 @@ class Qt3DExtras(Shiboken.Object):
612614
613615 class QOrbitCameraController (PySide6 .Qt3DExtras .Qt3DExtras .QAbstractCameraController ):
614616
617+ inversePanChanged : ClassVar [Signal ] = ... # inversePanChanged(bool)
618+ inverseTiltChanged : ClassVar [Signal ] = ... # inverseTiltChanged(bool)
619+ inverseXTranslateChanged : ClassVar [Signal ] = ... # inverseXTranslateChanged(bool)
620+ inverseYTranslateChanged : ClassVar [Signal ] = ... # inverseYTranslateChanged(bool)
621+ upVectorChanged : ClassVar [Signal ] = ... # upVectorChanged(QVector3D)
615622 zoomInLimitChanged : ClassVar [Signal ] = ... # zoomInLimitChanged()
623+ zoomTranslateViewCenterChanged : ClassVar [Signal ] = ... # zoomTranslateViewCenterChanged(bool)
616624
617625 def __init__ (self , parent : Optional [PySide6 .Qt3DCore .Qt3DCore .QNode ] = ...) -> None : ...
618626
627+ def inversePan (self ) -> bool : ...
628+ def inverseTilt (self ) -> bool : ...
629+ def inverseXTranslate (self ) -> bool : ...
630+ def inverseYTranslate (self ) -> bool : ...
631+ def setInversePan (self , isInverse : bool ) -> None : ...
632+ def setInverseTilt (self , isInverse : bool ) -> None : ...
633+ def setInverseXTranslate (self , isInverse : bool ) -> None : ...
634+ def setInverseYTranslate (self , isInverse : bool ) -> None : ...
635+ def setUpVector (self , upVector : PySide6 .QtGui .QVector3D ) -> None : ...
619636 def setZoomInLimit (self , zoomInLimit : float ) -> None : ...
637+ def setZoomTranslateViewCenter (self , isTranslate : bool ) -> None : ...
638+ def upVector (self ) -> PySide6 .QtGui .QVector3D : ...
620639 def zoomInLimit (self ) -> float : ...
640+ def zoomTranslateViewCenter (self ) -> bool : ...
621641
622642 class QPerVertexColorMaterial (PySide6 .Qt3DRender .Qt3DRender .QMaterial ):
623643
@@ -646,15 +666,15 @@ class Qt3DExtras(Shiboken.Object):
646666 def destinationRgbArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
647667 def diffuse (self ) -> PySide6 .QtGui .QColor : ...
648668 def setAlpha (self , alpha : float ) -> None : ...
649- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
669+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
650670 def setBlendFunctionArg (self , blendFunctionArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquation .BlendFunction ) -> None : ...
651671 def setDestinationAlphaArg (self , destinationAlphaArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
652672 def setDestinationRgbArg (self , destinationRgbArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
653- def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
673+ def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
654674 def setShininess (self , shininess : float ) -> None : ...
655675 def setSourceAlphaArg (self , sourceAlphaArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
656676 def setSourceRgbArg (self , sourceRgbArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
657- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
677+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
658678 def shininess (self ) -> float : ...
659679 def sourceAlphaArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
660680 def sourceRgbArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
@@ -671,10 +691,10 @@ class Qt3DExtras(Shiboken.Object):
671691
672692 def ambient (self ) -> PySide6 .QtGui .QColor : ...
673693 def diffuse (self ) -> PySide6 .QtGui .QColor : ...
674- def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
675- def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
694+ def setAmbient (self , ambient : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
695+ def setDiffuse (self , diffuse : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
676696 def setShininess (self , shininess : float ) -> None : ...
677- def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
697+ def setSpecular (self , specular : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
678698 def shininess (self ) -> float : ...
679699 def specular (self ) -> PySide6 .QtGui .QColor : ...
680700
@@ -902,7 +922,7 @@ class Qt3DExtras(Shiboken.Object):
902922 def color (self ) -> PySide6 .QtGui .QColor : ...
903923 def font (self ) -> PySide6 .QtGui .QFont : ...
904924 def height (self ) -> float : ...
905- def setColor (self , color : Union [PySide6 .QtGui .QColor , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , str , int ]) -> None : ...
925+ def setColor (self , color : Union [PySide6 .QtGui .QColor , str , PySide6 .QtGui .QRgba64 , Any , PySide6 .QtCore .Qt .GlobalColor , int ]) -> None : ...
906926 def setFont (self , font : Union [PySide6 .QtGui .QFont , str , Sequence [str ]]) -> None : ...
907927 def setHeight (self , height : float ) -> None : ...
908928 def setText (self , text : str ) -> None : ...
0 commit comments