@@ -15,12 +15,14 @@ import PySide6.QtGui
15
15
import PySide6 .Qt3DCore
16
16
import PySide6 .Qt3DRender
17
17
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
19
19
from PySide6 .QtCore import Signal
20
20
from shiboken6 import Shiboken
21
+ from typing import TypeAlias , TypeVar
21
22
22
23
23
- NoneType = type (None )
24
+ NoneType : TypeAlias = type [None ]
25
+ PlaceHolderType = TypeVar ("PlaceHolderType" , bound = QObject )
24
26
25
27
26
28
class QIntList (object ): ...
@@ -369,10 +371,10 @@ class Qt3DExtras(Shiboken.Object):
369
371
370
372
def ambient (self ) -> PySide6 .QtGui .QColor : ...
371
373
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 : ...
373
375
def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
374
376
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 : ...
376
378
def setTextureScale (self , textureScale : float ) -> None : ...
377
379
def shininess (self ) -> float : ...
378
380
def specular (self ) -> PySide6 .QtGui .QColor : ...
@@ -390,7 +392,7 @@ class Qt3DExtras(Shiboken.Object):
390
392
391
393
def ambient (self ) -> PySide6 .QtGui .QColor : ...
392
394
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 : ...
394
396
def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
395
397
def setShininess (self , shininess : float ) -> None : ...
396
398
def setSpecular (self , specular : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
@@ -416,7 +418,7 @@ class Qt3DExtras(Shiboken.Object):
416
418
def isAlphaBlendingEnabled (self ) -> bool : ...
417
419
def normal (self ) -> Any : ...
418
420
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 : ...
420
422
def setDiffuse (self , diffuse : Any ) -> None : ...
421
423
def setNormal (self , normal : Any ) -> None : ...
422
424
def setShininess (self , shininess : float ) -> None : ...
@@ -486,7 +488,7 @@ class Qt3DExtras(Shiboken.Object):
486
488
def isFrustumCullingEnabled (self ) -> bool : ...
487
489
def setBuffersToClear (self , arg__1 : PySide6 .Qt3DRender .Qt3DRender .QClearBuffers .BufferType ) -> None : ...
488
490
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 : ...
490
492
def setExternalRenderTargetSize (self , size : PySide6 .QtCore .QSize ) -> None : ...
491
493
def setFrustumCullingEnabled (self , enabled : bool ) -> None : ...
492
494
def setGamma (self , gamma : float ) -> None : ...
@@ -515,11 +517,11 @@ class Qt3DExtras(Shiboken.Object):
515
517
def diffuse (self ) -> PySide6 .QtGui .QColor : ...
516
518
def setAlpha (self , alpha : float ) -> None : ...
517
519
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 : ...
520
522
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 : ...
523
525
def shininess (self ) -> float : ...
524
526
def specular (self ) -> PySide6 .QtGui .QColor : ...
525
527
def warm (self ) -> PySide6 .QtGui .QColor : ...
@@ -561,11 +563,11 @@ class Qt3DExtras(Shiboken.Object):
561
563
def ambient (self ) -> PySide6 .QtGui .QColor : ...
562
564
def diffuse (self ) -> PySide6 .QtGui .QColor : ...
563
565
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 : ...
566
568
def setInterpolator (self , interpolator : float ) -> None : ...
567
569
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 : ...
569
571
def shininess (self ) -> float : ...
570
572
def specular (self ) -> PySide6 .QtGui .QColor : ...
571
573
@@ -588,11 +590,11 @@ class Qt3DExtras(Shiboken.Object):
588
590
def ambient (self ) -> PySide6 .QtGui .QColor : ...
589
591
def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
590
592
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 : ...
592
594
def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
593
595
def setNormal (self , normal : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
594
596
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 : ...
596
598
def setTextureScale (self , textureScale : float ) -> None : ...
597
599
def shininess (self ) -> float : ...
598
600
def specular (self ) -> PySide6 .QtGui .QColor : ...
@@ -612,7 +614,7 @@ class Qt3DExtras(Shiboken.Object):
612
614
def ambient (self ) -> PySide6 .QtGui .QColor : ...
613
615
def diffuse (self ) -> PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture : ...
614
616
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 : ...
616
618
def setDiffuse (self , diffuse : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
617
619
def setNormal (self , normal : PySide6 .Qt3DRender .Qt3DRender .QAbstractTexture ) -> None : ...
618
620
def setShininess (self , shininess : float ) -> None : ...
@@ -624,12 +626,30 @@ class Qt3DExtras(Shiboken.Object):
624
626
625
627
class QOrbitCameraController (PySide6 .Qt3DExtras .Qt3DExtras .QAbstractCameraController ):
626
628
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)
627
634
zoomInLimitChanged : ClassVar [Signal ] = ... # zoomInLimitChanged()
635
+ zoomTranslateViewCenterChanged : ClassVar [Signal ] = ... # zoomTranslateViewCenterChanged(bool)
628
636
629
637
def __init__ (self , parent : Optional [PySide6 .Qt3DCore .Qt3DCore .QNode ] = ...) -> None : ...
630
638
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 : ...
631
648
def setZoomInLimit (self , zoomInLimit : float ) -> None : ...
649
+ def setZoomTranslateViewCenter (self , isTranslate : bool ) -> None : ...
650
+ def upVector (self ) -> PySide6 .QtGui .QVector3D : ...
632
651
def zoomInLimit (self ) -> float : ...
652
+ def zoomTranslateViewCenter (self ) -> bool : ...
633
653
634
654
class QPerVertexColorMaterial (PySide6 .Qt3DRender .Qt3DRender .QMaterial ):
635
655
@@ -658,15 +678,15 @@ class Qt3DExtras(Shiboken.Object):
658
678
def destinationRgbArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
659
679
def diffuse (self ) -> PySide6 .QtGui .QColor : ...
660
680
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 : ...
662
682
def setBlendFunctionArg (self , blendFunctionArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquation .BlendFunction ) -> None : ...
663
683
def setDestinationAlphaArg (self , destinationAlphaArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
664
684
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 : ...
666
686
def setShininess (self , shininess : float ) -> None : ...
667
687
def setSourceAlphaArg (self , sourceAlphaArg : PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending ) -> None : ...
668
688
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 : ...
670
690
def shininess (self ) -> float : ...
671
691
def sourceAlphaArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
672
692
def sourceRgbArg (self ) -> PySide6 .Qt3DRender .Qt3DRender .QBlendEquationArguments .Blending : ...
@@ -683,10 +703,10 @@ class Qt3DExtras(Shiboken.Object):
683
703
684
704
def ambient (self ) -> PySide6 .QtGui .QColor : ...
685
705
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 : ...
688
708
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 : ...
690
710
def shininess (self ) -> float : ...
691
711
def specular (self ) -> PySide6 .QtGui .QColor : ...
692
712
@@ -914,7 +934,7 @@ class Qt3DExtras(Shiboken.Object):
914
934
def color (self ) -> PySide6 .QtGui .QColor : ...
915
935
def font (self ) -> PySide6 .QtGui .QFont : ...
916
936
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 : ...
918
938
def setFont (self , font : Union [PySide6 .QtGui .QFont , str , Sequence [str ]]) -> None : ...
919
939
def setHeight (self , height : float ) -> None : ...
920
940
def setText (self , text : str ) -> None : ...
0 commit comments