From 1f0f0b30f452481f3908ef1813f158d2db229ac9 Mon Sep 17 00:00:00 2001 From: TilmanK Date: Mon, 23 Aug 2021 22:39:34 +0200 Subject: [PATCH 1/5] Fixed signal type definitions in all modules with a LibCST script. --- PyQt5-stubs/Qt3DAnimation.pyi | 120 +++--- PyQt5-stubs/Qt3DCore.pyi | 66 ++- PyQt5-stubs/Qt3DExtras.pyi | 362 ++++++++--------- PyQt5-stubs/Qt3DInput.pyi | 166 ++++---- PyQt5-stubs/Qt3DLogic.pyi | 3 +- PyQt5-stubs/Qt3DRender.pyi | 599 +++++++++++++--------------- PyQt5-stubs/QtBluetooth.pyi | 106 ++--- PyQt5-stubs/QtChart.pyi | 596 +++++++++++++-------------- PyQt5-stubs/QtCore.pyi | 158 ++++---- PyQt5-stubs/QtDBus.pyi | 18 +- PyQt5-stubs/QtDataVisualization.pyi | 535 ++++++++++++------------- PyQt5-stubs/QtDesigner.pyi | 36 +- PyQt5-stubs/QtGui.pyi | 143 ++++--- PyQt5-stubs/QtHelp.pyi | 47 +-- PyQt5-stubs/QtLocation.pyi | 85 ++-- PyQt5-stubs/QtMultimedia.pyi | 543 +++++++++++-------------- PyQt5-stubs/QtMultimediaWidgets.pyi | 23 +- PyQt5-stubs/QtNetwork.pyi | 118 +++--- PyQt5-stubs/QtNetworkAuth.pyi | 61 ++- PyQt5-stubs/QtNfc.pyi | 36 +- PyQt5-stubs/QtPositioning.pyi | 33 +- PyQt5-stubs/QtPrintSupport.pyi | 6 +- PyQt5-stubs/QtPurchasing.pyi | 7 +- PyQt5-stubs/QtQml.pyi | 12 +- PyQt5-stubs/QtQuick.pyi | 40 +- PyQt5-stubs/QtQuickWidgets.pyi | 4 +- PyQt5-stubs/QtRemoteObjects.pyi | 26 +- PyQt5-stubs/QtSensors.pyi | 49 +-- PyQt5-stubs/QtSerialPort.pyi | 28 +- PyQt5-stubs/QtSql.pyi | 13 +- PyQt5-stubs/QtSvg.pyi | 2 +- PyQt5-stubs/QtWebChannel.pyi | 5 +- PyQt5-stubs/QtWebEngine.pyi | 41 +- PyQt5-stubs/QtWebEngineCore.pyi | 7 +- PyQt5-stubs/QtWebEngineWidgets.pyi | 91 +++-- PyQt5-stubs/QtWebSockets.pyi | 49 ++- PyQt5-stubs/QtWidgets.pyi | 39 +- signal_fixer.py | 76 ++++ 38 files changed, 2009 insertions(+), 2340 deletions(-) create mode 100644 signal_fixer.py diff --git a/PyQt5-stubs/Qt3DAnimation.pyi b/PyQt5-stubs/Qt3DAnimation.pyi index 90a0c766..9c4f0151 100644 --- a/PyQt5-stubs/Qt3DAnimation.pyi +++ b/PyQt5-stubs/Qt3DAnimation.pyi @@ -51,10 +51,9 @@ class QAbstractAnimation(QtCore.QObject): KeyframeAnimation = ... # type: QAbstractAnimation.AnimationType MorphingAnimation = ... # type: QAbstractAnimation.AnimationType VertexBlendAnimation = ... # type: QAbstractAnimation.AnimationType - - def durationChanged(self, duration: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def animationNameChanged(self, name: str) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + animationNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setDuration(self, duration: float) -> None: ... def setPosition(self, position: float) -> None: ... def setAnimationName(self, name: str) -> None: ... @@ -66,7 +65,7 @@ class QAbstractAnimation(QtCore.QObject): class QAbstractAnimationClip(Qt3DCore.QNode): def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def durationChanged(self, duration: float) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> float: ... class QAbstractChannelMapping(Qt3DCore.QNode): ... @@ -81,11 +80,11 @@ class QAbstractClipAnimator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def normalizedTimeChanged(self, index: float) -> None: ... - def clockChanged(self, clock: 'QClock') -> None: ... - def loopCountChanged(self, loops: int) -> None: ... - def channelMapperChanged(self, channelMapper: 'QChannelMapper') -> None: ... - def runningChanged(self, running: bool) -> None: ... + normalizedTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + clockChanged: typing.ClassVar[QtCore.pyqtSignal] + loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] + channelMapperChanged: typing.ClassVar[QtCore.pyqtSignal] + runningChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def setNormalizedTime(self, timeFraction: float) -> None: ... @@ -106,10 +105,9 @@ class QAbstractClipBlendNode(Qt3DCore.QNode): class QAdditiveClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def additiveClipChanged(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... - def baseClipChanged(self, baseClip: 'QAbstractClipBlendNode') -> None: ... - def additiveFactorChanged(self, additiveFactor: float) -> None: ... + additiveClipChanged: typing.ClassVar[QtCore.pyqtSignal] + baseClipChanged: typing.ClassVar[QtCore.pyqtSignal] + additiveFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setAdditiveClip(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... def setBaseClip(self, baseClip: 'QAbstractClipBlendNode') -> None: ... def setAdditiveFactor(self, additiveFactor: float) -> None: ... @@ -124,8 +122,7 @@ class QAnimationAspect(Qt3DCore.QAbstractAspect): class QAnimationClip('QAbstractAnimationClip'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def clipDataChanged(self, clipData: 'QAnimationClipData') -> None: ... + clipDataChanged: typing.ClassVar[QtCore.pyqtSignal] def setClipData(self, clipData: 'QAnimationClipData') -> None: ... def clipData(self) -> 'QAnimationClipData': ... @@ -162,8 +159,8 @@ class QAnimationClipLoader('QAbstractAnimationClip'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QAnimationClipLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QAnimationClipLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -171,13 +168,12 @@ class QAnimationClipLoader('QAbstractAnimationClip'): class QAnimationController(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def recursiveChanged(self, recursive: bool) -> None: ... - def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... - def positionOffsetChanged(self, offset: float) -> None: ... - def positionScaleChanged(self, scale: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def activeAnimationGroupChanged(self, index: int) -> None: ... + recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] + entityChanged: typing.ClassVar[QtCore.pyqtSignal] + positionOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + positionScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + activeAnimationGroupChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecursive(self, recursive: bool) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def setPositionOffset(self, offset: float) -> None: ... @@ -200,10 +196,9 @@ class QAnimationController(QtCore.QObject): class QAnimationGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def durationChanged(self, duration: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def nameChanged(self, name: str) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setPosition(self, position: float) -> None: ... def setName(self, name: str) -> None: ... def removeAnimation(self, animation: 'QAbstractAnimation') -> None: ... @@ -217,8 +212,7 @@ class QAnimationGroup(QtCore.QObject): class QBlendedClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def blendTreeChanged(self, blendTree: 'QAbstractClipBlendNode') -> None: ... + blendTreeChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendTree(self, blendTree: 'QAbstractClipBlendNode') -> None: ... def blendTree(self) -> 'QAbstractClipBlendNode': ... @@ -269,10 +263,9 @@ class QChannelMapper(Qt3DCore.QNode): class QChannelMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def propertyChanged(self, property: str) -> None: ... - def targetChanged(self, target: Qt3DCore.QNode) -> None: ... - def channelNameChanged(self, channelName: str) -> None: ... + propertyChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + channelNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setProperty(self, property: str) -> None: ... # type: ignore[override] def setTarget(self, target: Qt3DCore.QNode) -> None: ... def setChannelName(self, channelName: str) -> None: ... @@ -283,8 +276,7 @@ class QChannelMapping('QAbstractChannelMapping'): class QClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... + clipChanged: typing.ClassVar[QtCore.pyqtSignal] def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... @@ -298,16 +290,14 @@ class QClipBlendValue('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, clip: 'QAbstractAnimationClip', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... + clipChanged: typing.ClassVar[QtCore.pyqtSignal] def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... class QClock(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def playbackRateChanged(self, playbackRate: float) -> None: ... + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] def setPlaybackRate(self, playbackRate: float) -> None: ... def playbackRate(self) -> float: ... @@ -352,13 +342,12 @@ class QKeyframeAnimation('QAbstractAnimation'): Repeat = ... # type: QKeyframeAnimation.RepeatMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def endModeChanged(self, endMode: 'QKeyframeAnimation.RepeatMode') -> None: ... - def startModeChanged(self, startMode: 'QKeyframeAnimation.RepeatMode') -> None: ... - def targetNameChanged(self, name: str) -> None: ... - def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... - def targetChanged(self, target: Qt3DCore.QTransform) -> None: ... - def framePositionsChanged(self, positions: typing.Iterable[float]) -> None: ... + endModeChanged: typing.ClassVar[QtCore.pyqtSignal] + startModeChanged: typing.ClassVar[QtCore.pyqtSignal] + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + easingChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + framePositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setEndMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setStartMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -379,10 +368,9 @@ class QKeyframeAnimation('QAbstractAnimation'): class QLerpClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def endClipChanged(self, endClip: 'QAbstractClipBlendNode') -> None: ... - def startClipChanged(self, startClip: 'QAbstractClipBlendNode') -> None: ... - def blendFactorChanged(self, blendFactor: float) -> None: ... + endClipChanged: typing.ClassVar[QtCore.pyqtSignal] + startClipChanged: typing.ClassVar[QtCore.pyqtSignal] + blendFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setEndClip(self, endClip: 'QAbstractClipBlendNode') -> None: ... def setStartClip(self, startClip: 'QAbstractClipBlendNode') -> None: ... def setBlendFactor(self, blendFactor: float) -> None: ... @@ -400,13 +388,12 @@ class QMorphingAnimation('QAbstractAnimation'): Relative = ... # type: QMorphingAnimation.Method def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... - def methodChanged(self, method: 'QMorphingAnimation.Method') -> None: ... - def targetNameChanged(self, name: str) -> None: ... - def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... - def interpolatorChanged(self, interpolator: float) -> None: ... - def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... + easingChanged: typing.ClassVar[QtCore.pyqtSignal] + methodChanged: typing.ClassVar[QtCore.pyqtSignal] + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setEasing(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def setMethod(self, method: 'QMorphingAnimation.Method') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -428,8 +415,7 @@ class QMorphingAnimation('QAbstractAnimation'): class QMorphTarget(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def attributeNamesChanged(self, attributeNames: typing.Iterable[str]) -> None: ... + attributeNamesChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def fromGeometry(geometry: Qt3DRender.QGeometry, attributes: typing.Iterable[str]) -> 'QMorphTarget': ... def removeAttribute(self, attribute: Qt3DRender.QAttribute) -> None: ... @@ -441,19 +427,17 @@ class QMorphTarget(QtCore.QObject): class QSkeletonMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def skeletonChanged(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... + skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] def setSkeleton(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... def skeleton(self) -> Qt3DCore.QAbstractSkeleton: ... class QVertexBlendAnimation('QAbstractAnimation'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def targetNameChanged(self, name: str) -> None: ... - def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... - def interpolatorChanged(self, interpolator: float) -> None: ... - def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setTargetName(self, name: str) -> None: ... def setTarget(self, target: Qt3DRender.QGeometryRenderer) -> None: ... def setTargetPositions(self, targetPositions: typing.Iterable[float]) -> None: ... diff --git a/PyQt5-stubs/Qt3DCore.pyi b/PyQt5-stubs/Qt3DCore.pyi index 66970665..51a51533 100644 --- a/PyQt5-stubs/Qt3DCore.pyi +++ b/PyQt5-stubs/Qt3DCore.pyi @@ -115,7 +115,7 @@ class QNode(QtCore.QObject): def sendReply(self, command: 'QNodeCommand') -> None: ... def sendCommand(self, name: str, data: typing.Any = ..., replyTo: int = ...) -> int: ... - def defaultPropertyTrackingModeChanged(self, mode: 'QNode.PropertyTrackingMode') -> None: ... + defaultPropertyTrackingModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setDefaultPropertyTrackingMode(self, mode: 'QNode.PropertyTrackingMode') -> None: ... def clearPropertyTrackings(self) -> None: ... def clearPropertyTracking(self, propertyName: str) -> None: ... @@ -124,9 +124,9 @@ class QNode(QtCore.QObject): def defaultPropertyTrackingMode(self) -> 'QNode.PropertyTrackingMode': ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... def notifyObservers(self, change: 'QSceneChange') -> None: ... - def nodeDestroyed(self) -> None: ... - def enabledChanged(self, enabled: bool) -> None: ... - def parentChanged(self, parent: QtCore.QObject) -> None: ... + nodeDestroyed: typing.ClassVar[QtCore.pyqtSignal] + enabledChanged: typing.ClassVar[QtCore.pyqtSignal] + parentChanged: typing.ClassVar[QtCore.pyqtSignal] def setEnabled(self, isEnabled: bool) -> None: ... def setParent(self, parent: 'QNode') -> None: ... # type: ignore[override] def isEnabled(self) -> bool: ... @@ -139,16 +139,15 @@ class QNode(QtCore.QObject): class QAbstractSkeleton('QNode'): def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def jointCountChanged(self, jointCount: int) -> None: ... + jointCountChanged: typing.ClassVar[QtCore.pyqtSignal] def jointCount(self) -> int: ... class QComponent('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - - def removedFromEntity(self, entity: 'QEntity') -> None: ... - def addedToEntity(self, entity: 'QEntity') -> None: ... - def shareableChanged(self, isShareable: bool) -> None: ... + removedFromEntity: typing.ClassVar[QtCore.pyqtSignal] + addedToEntity: typing.ClassVar[QtCore.pyqtSignal] + shareableChanged: typing.ClassVar[QtCore.pyqtSignal] def setShareable(self, isShareable: bool) -> None: ... def entities(self) -> typing.List['QEntity']: ... def isShareable(self) -> bool: ... @@ -156,8 +155,7 @@ class QComponent('QNode'): class QArmature('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - - def skeletonChanged(self, skeleton: 'QAbstractSkeleton') -> None: ... + skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] def setSkeleton(self, skeleton: 'QAbstractSkeleton') -> None: ... def skeleton(self) -> 'QAbstractSkeleton': ... @@ -272,15 +270,14 @@ class QEntity('QNode'): class QJoint('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - - def nameChanged(self, name: str) -> None: ... - def rotationZChanged(self, rotationZ: float) -> None: ... - def rotationYChanged(self, rotationY: float) -> None: ... - def rotationXChanged(self, rotationX: float) -> None: ... - def inverseBindMatrixChanged(self, inverseBindMatrix: QtGui.QMatrix4x4) -> None: ... - def translationChanged(self, translation: QtGui.QVector3D) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scaleChanged(self, scale: QtGui.QVector3D) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] + inverseBindMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + translationChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setToIdentity(self) -> None: ... def setName(self, name: str) -> None: ... def setRotationZ(self, rotationZ: float) -> None: ... @@ -436,8 +433,7 @@ class ChangeFlags(sip.simplewrapper): class QSkeleton('QAbstractSkeleton'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - - def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... + rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] def setRootJoint(self, rootJoint: 'QJoint') -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -458,10 +454,10 @@ class QSkeletonLoader('QAbstractSkeleton'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... - def createJointsEnabledChanged(self, createJointsEnabled: bool) -> None: ... - def statusChanged(self, status: 'QSkeletonLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] + createJointsEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setCreateJointsEnabled(self, enabled: bool) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -474,16 +470,16 @@ class QTransform('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def worldMatrixChanged(self, worldMatrix: QtGui.QMatrix4x4) -> None: ... + worldMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] def worldMatrix(self) -> QtGui.QMatrix4x4: ... - def rotationZChanged(self, rotationZ: float) -> None: ... - def rotationYChanged(self, rotationY: float) -> None: ... - def rotationXChanged(self, rotationX: float) -> None: ... - def matrixChanged(self) -> None: ... - def translationChanged(self, translation: QtGui.QVector3D) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scale3DChanged(self, scale: QtGui.QVector3D) -> None: ... - def scaleChanged(self, scale: float) -> None: ... + rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] + matrixChanged: typing.ClassVar[QtCore.pyqtSignal] + translationChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scale3DChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setRotationZ(self, rotationZ: float) -> None: ... def setRotationY(self, rotationY: float) -> None: ... def setRotationX(self, rotationX: float) -> None: ... diff --git a/PyQt5-stubs/Qt3DExtras.pyi b/PyQt5-stubs/Qt3DExtras.pyi index 1c3d4358..12626883 100644 --- a/PyQt5-stubs/Qt3DExtras.pyi +++ b/PyQt5-stubs/Qt3DExtras.pyi @@ -48,11 +48,11 @@ class QAbstractCameraController(Qt3DCore.QEntity): def mouseDevice(self) -> Qt3DInput.QMouseDevice: ... def keyboardDevice(self) -> Qt3DInput.QKeyboardDevice: ... - def decelerationChanged(self, deceleration: float) -> None: ... - def accelerationChanged(self, acceleration: float) -> None: ... - def lookSpeedChanged(self) -> None: ... - def linearSpeedChanged(self) -> None: ... - def cameraChanged(self) -> None: ... + decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + lookSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + linearSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setLookSpeed(self, lookSpeed: float) -> None: ... @@ -65,10 +65,9 @@ class QAbstractCameraController(Qt3DCore.QEntity): def camera(self) -> Qt3DRender.QCamera: ... class QAbstractSpriteSheet(Qt3DCore.QNode): - - def currentIndexChanged(self, currentIndex: int) -> None: ... - def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... - def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setCurrentIndex(self, currentIndex: int) -> None: ... def setTexture(self, texture: Qt3DRender.QAbstractTexture) -> None: ... def currentIndex(self) -> int: ... @@ -78,14 +77,13 @@ class QAbstractSpriteSheet(Qt3DCore.QNode): class QConeGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def bottomRadiusChanged(self, bottomRadius: float) -> None: ... - def topRadiusChanged(self, topRadius: float) -> None: ... - def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... - def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -110,14 +108,13 @@ class QConeGeometry(Qt3DRender.QGeometry): class QConeMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def bottomRadiusChanged(self, bottomRadius: float) -> None: ... - def topRadiusChanged(self, topRadius: float) -> None: ... - def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... - def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -136,13 +133,12 @@ class QConeMesh(Qt3DRender.QGeometryRenderer): class QCuboidGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... - def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... - def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... - def zExtentChanged(self, zExtent: float) -> None: ... - def yExtentChanged(self, yExtent: float) -> None: ... - def xExtentChanged(self, xExtent: float) -> None: ... + xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -166,13 +162,12 @@ class QCuboidGeometry(Qt3DRender.QGeometry): class QCuboidMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... - def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... - def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... - def zExtentChanged(self, zExtent: float) -> None: ... - def yExtentChanged(self, yExtent: float) -> None: ... - def xExtentChanged(self, xExtent: float) -> None: ... + xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -189,11 +184,10 @@ class QCuboidMesh(Qt3DRender.QGeometryRenderer): class QCylinderGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -212,11 +206,10 @@ class QCylinderGeometry(Qt3DRender.QGeometry): class QCylinderMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -229,12 +222,11 @@ class QCylinderMesh(Qt3DRender.QGeometryRenderer): class QDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setDiffuse(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... def setShininess(self, shininess: float) -> None: ... @@ -249,12 +241,11 @@ class QDiffuseMapMaterial(Qt3DRender.QMaterial): class QDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -269,14 +260,13 @@ class QDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): class QDiffuseSpecularMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def normalChanged(self, normal: typing.Any) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Any) -> None: ... - def diffuseChanged(self, diffuse: typing.Any) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... @@ -295,10 +285,9 @@ class QDiffuseSpecularMaterial(Qt3DRender.QMaterial): class QExtrudedTextGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def depthChanged(self, extrusionLength: float) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepth(self, extrusionLength: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -312,10 +301,9 @@ class QExtrudedTextGeometry(Qt3DRender.QGeometry): class QExtrudedTextMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def depthChanged(self, depth: float) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepth(self, depth: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -330,24 +318,23 @@ class QFirstPersonCameraController('QAbstractCameraController'): class QForwardRenderer(Qt3DRender.QTechniqueFilter): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def showDebugOverlayChanged(self, showDebugOverlay: bool) -> None: ... + showDebugOverlayChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowDebugOverlay(self, showDebugOverlay: bool) -> None: ... def showDebugOverlay(self) -> bool: ... - def buffersToClearChanged(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... + buffersToClearChanged: typing.ClassVar[QtCore.pyqtSignal] def setBuffersToClear(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... def buffersToClear(self) -> Qt3DRender.QClearBuffers.BufferType: ... - def gammaChanged(self, gamma: float) -> None: ... - def frustumCullingEnabledChanged(self, enabled: bool) -> None: ... + gammaChanged: typing.ClassVar[QtCore.pyqtSignal] + frustumCullingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def setGamma(self, gamma: float) -> None: ... def setFrustumCullingEnabled(self, enabled: bool) -> None: ... def gamma(self) -> float: ... def isFrustumCullingEnabled(self) -> bool: ... - def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... - def surfaceChanged(self, surface: QtCore.QObject) -> None: ... - def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... - def clearColorChanged(self, clearColor: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def viewportRectChanged(self, viewportRect: QtCore.QRectF) -> None: ... + externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] + clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] + viewportRectChanged: typing.ClassVar[QtCore.pyqtSignal] def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... def setSurface(self, surface: QtCore.QObject) -> None: ... def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... @@ -362,14 +349,13 @@ class QForwardRenderer(Qt3DRender.QTechniqueFilter): class QGoochMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def shininessChanged(self, shininess: float) -> None: ... - def betaChanged(self, beta: float) -> None: ... - def alphaChanged(self, alpha: float) -> None: ... - def warmChanged(self, warm: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def coolChanged(self, cool: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + betaChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaChanged: typing.ClassVar[QtCore.pyqtSignal] + warmChanged: typing.ClassVar[QtCore.pyqtSignal] + coolChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] def setShininess(self, shininess: float) -> None: ... def setBeta(self, beta: float) -> None: ... def setAlpha(self, alpha: float) -> None: ... @@ -388,13 +374,12 @@ class QGoochMaterial(Qt3DRender.QMaterial): class QMetalRoughMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureScaleChanged(self, textureScale: float) -> None: ... - def normalChanged(self, normal: typing.Any) -> None: ... - def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... - def roughnessChanged(self, roughness: typing.Any) -> None: ... - def metalnessChanged(self, metalness: typing.Any) -> None: ... - def baseColorChanged(self, baseColor: typing.Any) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] + roughnessChanged: typing.ClassVar[QtCore.pyqtSignal] + metalnessChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... def setAmbientOcclusion(self, ambientOcclusion: typing.Any) -> None: ... @@ -411,12 +396,11 @@ class QMetalRoughMaterial(Qt3DRender.QMaterial): class QMorphPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def interpolatorChanged(self, interpolator: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setInterpolator(self, interpolator: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -431,13 +415,12 @@ class QMorphPhongMaterial(Qt3DRender.QMaterial): class QNormalDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setNormal(self, normal: Qt3DRender.QAbstractTexture) -> None: ... @@ -458,13 +441,12 @@ class QNormalDiffuseMapAlphaMaterial('QNormalDiffuseMapMaterial'): class QNormalDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... - def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -481,8 +463,7 @@ class QNormalDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): class QOrbitCameraController('QAbstractCameraController'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def zoomInLimitChanged(self) -> None: ... + zoomInLimitChanged: typing.ClassVar[QtCore.pyqtSignal] def setZoomInLimit(self, zoomInLimit: float) -> None: ... def zoomInLimit(self) -> float: ... @@ -493,12 +474,11 @@ class QPerVertexColorMaterial(Qt3DRender.QMaterial): class QPhongAlphaMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def blendFunctionArgChanged(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... - def destinationAlphaArgChanged(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def sourceAlphaArgChanged(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def destinationRgbArgChanged(self, destinationRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def sourceRgbArgChanged(self, sourceRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... + blendFunctionArgChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendFunctionArg(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... def setDestinationAlphaArg(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... def setSourceAlphaArg(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... @@ -509,11 +489,11 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): def sourceAlphaArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def destinationRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def sourceRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... - def alphaChanged(self, alpha: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + alphaChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlpha(self, alpha: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -528,11 +508,10 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): class QPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setDiffuse(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -545,13 +524,12 @@ class QPhongMaterial(Qt3DRender.QMaterial): class QPlaneGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def resolutionChanged(self, resolution: QtCore.QSize) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + resolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def setResolution(self, resolution: QtCore.QSize) -> None: ... @@ -569,13 +547,12 @@ class QPlaneGeometry(Qt3DRender.QGeometry): class QPlaneMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def meshResolutionChanged(self, meshResolution: QtCore.QSize) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + meshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... @@ -586,12 +563,11 @@ class QPlaneMesh(Qt3DRender.QGeometryRenderer): class QSkyboxEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def gammaCorrectEnabledChanged(self, enabled: bool) -> None: ... - def baseNameChanged(self, path: str) -> None: ... + gammaCorrectEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + baseNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setGammaCorrectEnabled(self, enabled: bool) -> None: ... def isGammaCorrectEnabled(self) -> bool: ... - def extensionChanged(self, extension: str) -> None: ... + extensionChanged: typing.ClassVar[QtCore.pyqtSignal] def extension(self) -> str: ... def setExtension(self, extension: str) -> None: ... def baseName(self) -> str: ... @@ -600,11 +576,10 @@ class QSkyboxEntity(Qt3DCore.QEntity): class QSphereGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def generateTangentsChanged(self, generateTangents: bool) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -624,11 +599,10 @@ class QSphereGeometry(Qt3DRender.QGeometry): class QSphereMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def generateTangentsChanged(self, generateTangents: bool) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -641,9 +615,8 @@ class QSphereMesh(Qt3DRender.QGeometryRenderer): class QSpriteGrid('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def columnsChanged(self, columns: int) -> None: ... - def rowsChanged(self, rows: int) -> None: ... + columnsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] def setColumns(self, columns: int) -> None: ... def setRows(self, rows: int) -> None: ... def columns(self) -> int: ... @@ -652,8 +625,7 @@ class QSpriteGrid('QAbstractSpriteSheet'): class QSpriteSheet('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def spritesChanged(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... + spritesChanged: typing.ClassVar[QtCore.pyqtSignal] def setSprites(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... def removeSprite(self, sprite: 'QSpriteSheetItem') -> None: ... @typing.overload @@ -665,11 +637,10 @@ class QSpriteSheet('QAbstractSpriteSheet'): class QSpriteSheetItem(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def yChanged(self, y: int) -> None: ... - def xChanged(self, x: int) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + yChanged: typing.ClassVar[QtCore.pyqtSignal] + xChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setY(self, y: int) -> None: ... @@ -700,12 +671,11 @@ class Qt3DWindow(QtGui.QWindow): class QText2DEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def textChanged(self, text: str) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def height(self) -> float: ... @@ -720,18 +690,16 @@ class QText2DEntity(Qt3DCore.QEntity): class QTexturedMetalRoughMaterial('QMetalRoughMaterial'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def normalChanged(self, normal: typing.Any) -> None: ... - def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] class QTextureMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... - def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... - def textureOffsetChanged(self, textureOffset: QtGui.QVector2D) -> None: ... - def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... + alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] + textureOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureTransform(self, matrix: QtGui.QMatrix3x3) -> None: ... def setTextureOffset(self, textureOffset: QtGui.QVector2D) -> None: ... @@ -744,11 +712,10 @@ class QTextureMaterial(Qt3DRender.QMaterial): class QTorusGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def minorRadiusChanged(self, minorRadius: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -767,11 +734,10 @@ class QTorusGeometry(Qt3DRender.QGeometry): class QTorusMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def minorRadiusChanged(self, minorRadius: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... diff --git a/PyQt5-stubs/Qt3DInput.pyi b/PyQt5-stubs/Qt3DInput.pyi index 5c6a8256..302b56c5 100644 --- a/PyQt5-stubs/Qt3DInput.pyi +++ b/PyQt5-stubs/Qt3DInput.pyi @@ -43,8 +43,7 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], class QAbstractActionInput(Qt3DCore.QNode): ... class QAbstractAxisInput(Qt3DCore.QNode): - - def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def sourceDevice(self) -> 'QAbstractPhysicalDevice': ... @@ -67,7 +66,7 @@ class QAction(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def activeChanged(self, isActive: bool) -> None: ... + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def inputs(self) -> typing.List['QAbstractActionInput']: ... def removeInput(self, input: 'QAbstractActionInput') -> None: ... def addInput(self, input: 'QAbstractActionInput') -> None: ... @@ -76,9 +75,8 @@ class QAction(Qt3DCore.QNode): class QActionInput('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... - def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... + buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setButtons(self, buttons: typing.Iterable[int]) -> None: ... def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def buttons(self) -> typing.List[int]: ... @@ -87,8 +85,7 @@ class QActionInput('QAbstractActionInput'): class QAnalogAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def axisChanged(self, axis: int) -> None: ... + axisChanged: typing.ClassVar[QtCore.pyqtSignal] def setAxis(self, axis: int) -> None: ... def axis(self) -> int: ... @@ -97,7 +94,7 @@ class QAxis(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def valueChanged(self, value: float) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def value(self) -> float: ... def inputs(self) -> typing.List['QAbstractAxisInput']: ... def removeInput(self, input: 'QAbstractAxisInput') -> None: ... @@ -115,11 +112,11 @@ class QAxisAccumulator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def scaleChanged(self, scale: float) -> None: ... - def velocityChanged(self, value: float) -> None: ... - def valueChanged(self, value: float) -> None: ... - def sourceAxisTypeChanged(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... - def sourceAxisChanged(self, sourceAxis: 'QAxis') -> None: ... + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] + velocityChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAxisTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAxisChanged: typing.ClassVar[QtCore.pyqtSignal] def setScale(self, scale: float) -> None: ... def setSourceAxisType(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... def setSourceAxis(self, sourceAxis: 'QAxis') -> None: ... @@ -132,10 +129,9 @@ class QAxisAccumulator(Qt3DCore.QComponent): class QAxisSetting(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def smoothChanged(self, smooth: bool) -> None: ... - def axesChanged(self, axes: typing.Iterable[int]) -> None: ... - def deadZoneRadiusChanged(self, deadZoneRadius: float) -> None: ... + smoothChanged: typing.ClassVar[QtCore.pyqtSignal] + axesChanged: typing.ClassVar[QtCore.pyqtSignal] + deadZoneRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setSmoothEnabled(self, enabled: bool) -> None: ... def setAxes(self, axes: typing.Iterable[int]) -> None: ... def setDeadZoneRadius(self, deadZoneRadius: float) -> None: ... @@ -146,11 +142,10 @@ class QAxisSetting(Qt3DCore.QNode): class QButtonAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def decelerationChanged(self, deceleration: float) -> None: ... - def accelerationChanged(self, acceleration: float) -> None: ... - def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... - def scaleChanged(self, scale: float) -> None: ... + decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setButtons(self, buttons: typing.Iterable[int]) -> None: ... @@ -170,8 +165,7 @@ class QInputAspect(Qt3DCore.QAbstractAspect): class QInputChord('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def timeoutChanged(self, timeout: int) -> None: ... + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] def setTimeout(self, timeout: int) -> None: ... def chords(self) -> typing.List['QAbstractActionInput']: ... def removeChord(self, input: 'QAbstractActionInput') -> None: ... @@ -181,9 +175,8 @@ class QInputChord('QAbstractActionInput'): class QInputSequence('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def buttonIntervalChanged(self, buttonInterval: int) -> None: ... - def timeoutChanged(self, timeout: int) -> None: ... + buttonIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] def setButtonInterval(self, buttonInterval: int) -> None: ... def setTimeout(self, timeout: int) -> None: ... def sequences(self) -> typing.List['QAbstractActionInput']: ... @@ -195,16 +188,14 @@ class QInputSequence('QAbstractActionInput'): class QInputSettings(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def eventSourceChanged(self, a0: QtCore.QObject) -> None: ... + eventSourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setEventSource(self, eventSource: QtCore.QObject) -> None: ... def eventSource(self) -> QtCore.QObject: ... class QKeyboardDevice('QAbstractPhysicalDevice'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def activeInputChanged(self, activeInput: 'QKeyboardHandler') -> None: ... + activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def buttonIdentifier(self, name: str) -> int: ... def axisIdentifier(self, name: str) -> int: ... @@ -219,48 +210,48 @@ class QKeyboardHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def released(self, event: 'QKeyEvent') -> None: ... - def pressed(self, event: 'QKeyEvent') -> None: ... - def volumeDownPressed(self, event: 'QKeyEvent') -> None: ... - def volumeUpPressed(self, event: 'QKeyEvent') -> None: ... - def menuPressed(self, event: 'QKeyEvent') -> None: ... - def flipPressed(self, event: 'QKeyEvent') -> None: ... - def hangupPressed(self, event: 'QKeyEvent') -> None: ... - def callPressed(self, event: 'QKeyEvent') -> None: ... - def context4Pressed(self, event: 'QKeyEvent') -> None: ... - def context3Pressed(self, event: 'QKeyEvent') -> None: ... - def context2Pressed(self, event: 'QKeyEvent') -> None: ... - def context1Pressed(self, event: 'QKeyEvent') -> None: ... - def noPressed(self, event: 'QKeyEvent') -> None: ... - def yesPressed(self, event: 'QKeyEvent') -> None: ... - def selectPressed(self, event: 'QKeyEvent') -> None: ... - def cancelPressed(self, event: 'QKeyEvent') -> None: ... - def backPressed(self, event: 'QKeyEvent') -> None: ... - def spacePressed(self, event: 'QKeyEvent') -> None: ... - def deletePressed(self, event: 'QKeyEvent') -> None: ... - def enterPressed(self, event: 'QKeyEvent') -> None: ... - def returnPressed(self, event: 'QKeyEvent') -> None: ... - def escapePressed(self, event: 'QKeyEvent') -> None: ... - def numberSignPressed(self, event: 'QKeyEvent') -> None: ... - def asteriskPressed(self, event: 'QKeyEvent') -> None: ... - def backtabPressed(self, event: 'QKeyEvent') -> None: ... - def tabPressed(self, event: 'QKeyEvent') -> None: ... - def downPressed(self, event: 'QKeyEvent') -> None: ... - def upPressed(self, event: 'QKeyEvent') -> None: ... - def rightPressed(self, event: 'QKeyEvent') -> None: ... - def leftPressed(self, event: 'QKeyEvent') -> None: ... - def digit9Pressed(self, event: 'QKeyEvent') -> None: ... - def digit8Pressed(self, event: 'QKeyEvent') -> None: ... - def digit7Pressed(self, event: 'QKeyEvent') -> None: ... - def digit6Pressed(self, event: 'QKeyEvent') -> None: ... - def digit5Pressed(self, event: 'QKeyEvent') -> None: ... - def digit4Pressed(self, event: 'QKeyEvent') -> None: ... - def digit3Pressed(self, event: 'QKeyEvent') -> None: ... - def digit2Pressed(self, event: 'QKeyEvent') -> None: ... - def digit1Pressed(self, event: 'QKeyEvent') -> None: ... - def digit0Pressed(self, event: 'QKeyEvent') -> None: ... - def focusChanged(self, focus: bool) -> None: ... - def sourceDeviceChanged(self, keyboardDevice: 'QKeyboardDevice') -> None: ... + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + volumeDownPressed: typing.ClassVar[QtCore.pyqtSignal] + volumeUpPressed: typing.ClassVar[QtCore.pyqtSignal] + menuPressed: typing.ClassVar[QtCore.pyqtSignal] + flipPressed: typing.ClassVar[QtCore.pyqtSignal] + hangupPressed: typing.ClassVar[QtCore.pyqtSignal] + callPressed: typing.ClassVar[QtCore.pyqtSignal] + context4Pressed: typing.ClassVar[QtCore.pyqtSignal] + context3Pressed: typing.ClassVar[QtCore.pyqtSignal] + context2Pressed: typing.ClassVar[QtCore.pyqtSignal] + context1Pressed: typing.ClassVar[QtCore.pyqtSignal] + noPressed: typing.ClassVar[QtCore.pyqtSignal] + yesPressed: typing.ClassVar[QtCore.pyqtSignal] + selectPressed: typing.ClassVar[QtCore.pyqtSignal] + cancelPressed: typing.ClassVar[QtCore.pyqtSignal] + backPressed: typing.ClassVar[QtCore.pyqtSignal] + spacePressed: typing.ClassVar[QtCore.pyqtSignal] + deletePressed: typing.ClassVar[QtCore.pyqtSignal] + enterPressed: typing.ClassVar[QtCore.pyqtSignal] + returnPressed: typing.ClassVar[QtCore.pyqtSignal] + escapePressed: typing.ClassVar[QtCore.pyqtSignal] + numberSignPressed: typing.ClassVar[QtCore.pyqtSignal] + asteriskPressed: typing.ClassVar[QtCore.pyqtSignal] + backtabPressed: typing.ClassVar[QtCore.pyqtSignal] + tabPressed: typing.ClassVar[QtCore.pyqtSignal] + downPressed: typing.ClassVar[QtCore.pyqtSignal] + upPressed: typing.ClassVar[QtCore.pyqtSignal] + rightPressed: typing.ClassVar[QtCore.pyqtSignal] + leftPressed: typing.ClassVar[QtCore.pyqtSignal] + digit9Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit8Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit7Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit6Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit5Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit4Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit3Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit2Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit1Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit0Pressed: typing.ClassVar[QtCore.pyqtSignal] + focusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setFocus(self, focus: bool) -> None: ... def setSourceDevice(self, keyboardDevice: 'QKeyboardDevice') -> None: ... def focus(self) -> bool: ... @@ -309,12 +300,11 @@ class QMouseDevice('QAbstractPhysicalDevice'): WheelY = ... # type: QMouseDevice.Axis def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def updateAxesContinuouslyChanged(self, updateAxesContinuously: bool) -> None: ... + updateAxesContinuouslyChanged: typing.ClassVar[QtCore.pyqtSignal] def setUpdateAxesContinuously(self, updateAxesContinuously: bool) -> None: ... def updateAxesContinuously(self) -> bool: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def sensitivityChanged(self, value: float) -> None: ... + sensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] def setSensitivity(self, value: float) -> None: ... def sensitivity(self) -> float: ... def buttonIdentifier(self, name: str) -> int: ... @@ -412,17 +402,17 @@ class QMouseHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def wheel(self, wheel: 'QWheelEvent') -> None: ... - def positionChanged(self, mouse: 'QMouseEvent') -> None: ... - def pressAndHold(self, mouse: 'QMouseEvent') -> None: ... - def released(self, mouse: 'QMouseEvent') -> None: ... - def pressed(self, mouse: 'QMouseEvent') -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def doubleClicked(self, mouse: 'QMouseEvent') -> None: ... - def clicked(self, mouse: 'QMouseEvent') -> None: ... - def containsMouseChanged(self, containsMouse: bool) -> None: ... - def sourceDeviceChanged(self, mouseDevice: 'QMouseDevice') -> None: ... + wheel: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + pressAndHold: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSourceDevice(self, mouseDevice: 'QMouseDevice') -> None: ... def containsMouse(self) -> bool: ... def sourceDevice(self) -> 'QMouseDevice': ... diff --git a/PyQt5-stubs/Qt3DLogic.pyi b/PyQt5-stubs/Qt3DLogic.pyi index dd8cabb8..03262555 100644 --- a/PyQt5-stubs/Qt3DLogic.pyi +++ b/PyQt5-stubs/Qt3DLogic.pyi @@ -42,8 +42,7 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], class QFrameAction(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def triggered(self, dt: float) -> None: ... + triggered: typing.ClassVar[QtCore.pyqtSignal] class QLogicAspect(Qt3DCore.QAbstractAspect): diff --git a/PyQt5-stubs/Qt3DRender.pyi b/PyQt5-stubs/Qt3DRender.pyi index 43b9e810..6258830a 100644 --- a/PyQt5-stubs/Qt3DRender.pyi +++ b/PyQt5-stubs/Qt3DRender.pyi @@ -54,9 +54,8 @@ class QAbstractLight(Qt3DCore.QComponent): PointLight = ... # type: QAbstractLight.Type DirectionalLight = ... # type: QAbstractLight.Type SpotLight = ... # type: QAbstractLight.Type - - def intensityChanged(self, intensity: float) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + intensityChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] def setIntensity(self, intensity: float) -> None: ... def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def intensity(self) -> float: ... @@ -86,9 +85,9 @@ class QAbstractRayCaster(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def filterModeChanged(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... - def hitsChanged(self, hits: typing.Iterable['QRayCasterHit']) -> None: ... - def runModeChanged(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... + filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] + hitsChanged: typing.ClassVar[QtCore.pyqtSignal] + runModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFilterMode(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... def setRunMode(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... def layers(self) -> typing.List['QLayer']: ... @@ -412,25 +411,25 @@ class QAbstractTexture(Qt3DCore.QNode): def __init__(self, target: 'QAbstractTexture.Target', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def updateData(self, update: 'QTextureDataUpdate') -> None: ... - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QAbstractTexture.HandleType') -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def handle(self) -> typing.Any: ... def handleType(self) -> 'QAbstractTexture.HandleType': ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def setStatus(self, status: 'QAbstractTexture.Status') -> None: ... - def samplesChanged(self, samples: int) -> None: ... - def layersChanged(self, layers: int) -> None: ... - def comparisonModeChanged(self, comparisonMode: 'QAbstractTexture.ComparisonMode') -> None: ... - def comparisonFunctionChanged(self, comparisonFunction: 'QAbstractTexture.ComparisonFunction') -> None: ... - def maximumAnisotropyChanged(self, maximumAnisotropy: float) -> None: ... - def minificationFilterChanged(self, minificationFilter: 'QAbstractTexture.Filter') -> None: ... - def magnificationFilterChanged(self, magnificationFilter: 'QAbstractTexture.Filter') -> None: ... - def depthChanged(self, depth: int) -> None: ... - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def generateMipMapsChanged(self, generateMipMaps: bool) -> None: ... - def statusChanged(self, status: 'QAbstractTexture.Status') -> None: ... - def formatChanged(self, format: 'QAbstractTexture.TextureFormat') -> None: ... + samplesChanged: typing.ClassVar[QtCore.pyqtSignal] + layersChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonModeChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumAnisotropyChanged: typing.ClassVar[QtCore.pyqtSignal] + minificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + magnificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + generateMipMapsChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] def setSamples(self, samples: int) -> None: ... def setLayers(self, layers: int) -> None: ... def setComparisonMode(self, mode: 'QAbstractTexture.ComparisonMode') -> None: ... @@ -471,9 +470,9 @@ class QAbstractTextureImage(Qt3DCore.QNode): def dataGenerator(self) -> 'QTextureImageDataGenerator': ... def notifyDataGeneratorChanged(self) -> None: ... - def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... + faceChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -509,9 +508,8 @@ class QAlphaTest('QRenderState'): NotEqual = ... # type: QAlphaTest.AlphaFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def referenceValueChanged(self, referenceValue: float) -> None: ... - def alphaFunctionChanged(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... + referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setReferenceValue(self, referenceValue: float) -> None: ... def setAlphaFunction(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... def referenceValue(self) -> float: ... @@ -555,18 +553,17 @@ class QAttribute(Qt3DCore.QNode): def __init__(self, buf: 'QBuffer', vertexBaseType: 'QAttribute.VertexBaseType', vertexSize: int, count: int, offset: int = ..., stride: int = ..., parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, buf: 'QBuffer', name: str, vertexBaseType: 'QAttribute.VertexBaseType', vertexSize: int, count: int, offset: int = ..., stride: int = ..., parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def vertexSizeChanged(self, vertexSize: int) -> None: ... - def vertexBaseTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... - def attributeTypeChanged(self, attributeType: 'QAttribute.AttributeType') -> None: ... - def divisorChanged(self, divisor: int) -> None: ... - def byteOffsetChanged(self, byteOffset: int) -> None: ... - def byteStrideChanged(self, byteStride: int) -> None: ... - def countChanged(self, count: int) -> None: ... - def dataSizeChanged(self, vertexSize: int) -> None: ... - def dataTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... - def nameChanged(self, name: str) -> None: ... - def bufferChanged(self, buffer: 'QBuffer') -> None: ... + vertexSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexBaseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + attributeTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + divisorChanged: typing.ClassVar[QtCore.pyqtSignal] + byteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + byteStrideChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + dataSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + dataTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferChanged: typing.ClassVar[QtCore.pyqtSignal] def setVertexSize(self, size: int) -> None: ... def setVertexBaseType(self, type: 'QAttribute.VertexBaseType') -> None: ... def setAttributeType(self, attributeType: 'QAttribute.AttributeType') -> None: ... @@ -622,8 +619,7 @@ class QBlendEquation('QRenderState'): Max = ... # type: QBlendEquation.BlendFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def blendFunctionChanged(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... + blendFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendFunction(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... def blendFunction(self) -> 'QBlendEquation.BlendFunction': ... @@ -673,14 +669,13 @@ class QBlendEquationArguments('QRenderState'): OneMinusSource1Color = ... # type: QBlendEquationArguments.Blending def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def bufferIndexChanged(self, index: int) -> None: ... - def destinationRgbaChanged(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... - def sourceRgbaChanged(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... - def destinationAlphaChanged(self, destinationAlpha: 'QBlendEquationArguments.Blending') -> None: ... - def destinationRgbChanged(self, destinationRgb: 'QBlendEquationArguments.Blending') -> None: ... - def sourceAlphaChanged(self, sourceAlpha: 'QBlendEquationArguments.Blending') -> None: ... - def sourceRgbChanged(self, sourceRgb: 'QBlendEquationArguments.Blending') -> None: ... + bufferIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbChanged: typing.ClassVar[QtCore.pyqtSignal] def setBufferIndex(self, index: int) -> None: ... def setDestinationRgba(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... def setSourceRgba(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... @@ -710,14 +705,13 @@ class QBlitFramebuffer('QFrameGraphNode'): Linear = ... # type: QBlitFramebuffer.InterpolationMethod def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def interpolationMethodChanged(self) -> None: ... - def destinationAttachmentPointChanged(self) -> None: ... - def sourceAttachmentPointChanged(self) -> None: ... - def destinationRectChanged(self) -> None: ... - def sourceRectChanged(self) -> None: ... - def destinationChanged(self) -> None: ... - def sourceChanged(self) -> None: ... + interpolationMethodChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRectChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRectChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setInterpolationMethod(self, interpolationMethod: 'QBlitFramebuffer.InterpolationMethod') -> None: ... def setDestinationAttachmentPoint(self, destinationAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... def setSourceAttachmentPoint(self, sourceAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... @@ -786,17 +780,16 @@ class QBuffer(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, ty: 'QBuffer.BufferType', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def dataAvailable(self) -> None: ... - def accessTypeChanged(self, access: 'QBuffer.AccessType') -> None: ... + dataAvailable: typing.ClassVar[QtCore.pyqtSignal] + accessTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setAccessType(self, access: 'QBuffer.AccessType') -> None: ... def accessType(self) -> 'QBuffer.AccessType': ... def updateData(self, offset: int, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def syncDataChanged(self, syncData: bool) -> None: ... - def usageChanged(self, usage: 'QBuffer.UsageType') -> None: ... - def typeChanged(self, type: 'QBuffer.BufferType') -> None: ... - def dataChanged(self, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + syncDataChanged: typing.ClassVar[QtCore.pyqtSignal] + usageChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] + dataChanged: typing.ClassVar[QtCore.pyqtSignal] def setSyncData(self, syncData: bool) -> None: ... def setUsage(self, usage: 'QBuffer.UsageType') -> None: ... def setType(self, type: 'QBuffer.BufferType') -> None: ... @@ -826,24 +819,24 @@ class QCamera(Qt3DCore.QEntity): def viewEntity(self, entity: Qt3DCore.QEntity) -> None: ... def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... def viewAll(self) -> None: ... - def exposureChanged(self, exposure: float) -> None: ... + exposureChanged: typing.ClassVar[QtCore.pyqtSignal] def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - def viewMatrixChanged(self) -> None: ... - def viewVectorChanged(self, viewVector: QtGui.QVector3D) -> None: ... - def viewCenterChanged(self, viewCenter: QtGui.QVector3D) -> None: ... - def upVectorChanged(self, upVector: QtGui.QVector3D) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... - def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... - def topChanged(self, top: float) -> None: ... - def bottomChanged(self, bottom: float) -> None: ... - def rightChanged(self, right: float) -> None: ... - def leftChanged(self, left: float) -> None: ... - def aspectRatioChanged(self, aspectRatio: float) -> None: ... - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... - def farPlaneChanged(self, farPlane: float) -> None: ... - def nearPlaneChanged(self, nearPlane: float) -> None: ... - def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... + viewMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + viewVectorChanged: typing.ClassVar[QtCore.pyqtSignal] + viewCenterChanged: typing.ClassVar[QtCore.pyqtSignal] + upVectorChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + topChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + rightChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] + farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setViewCenter(self, viewCenter: QtGui.QVector3D) -> None: ... def setUpVector(self, upVector: QtGui.QVector3D) -> None: ... def setPosition(self, position: QtGui.QVector3D) -> None: ... @@ -909,23 +902,22 @@ class QCameraLens(Qt3DCore.QComponent): CustomProjection = ... # type: QCameraLens.ProjectionType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... + viewSphere: typing.ClassVar[QtCore.pyqtSignal] def viewEntity(self, entityId: Qt3DCore.QNodeId, cameraId: Qt3DCore.QNodeId) -> None: ... def viewAll(self, cameraId: Qt3DCore.QNodeId) -> None: ... - def exposureChanged(self, exposure: float) -> None: ... + exposureChanged: typing.ClassVar[QtCore.pyqtSignal] def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... - def topChanged(self, top: float) -> None: ... - def bottomChanged(self, bottom: float) -> None: ... - def rightChanged(self, right: float) -> None: ... - def leftChanged(self, left: float) -> None: ... - def aspectRatioChanged(self, aspectRatio: float) -> None: ... - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... - def farPlaneChanged(self, farPlane: float) -> None: ... - def nearPlaneChanged(self, nearPlane: float) -> None: ... - def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... + projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + topChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + rightChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] + farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setProjectionMatrix(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... def setTop(self, top: float) -> None: ... def setBottom(self, bottom: float) -> None: ... @@ -953,8 +945,7 @@ class QCameraLens(Qt3DCore.QComponent): class QCameraSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... def camera(self) -> Qt3DCore.QEntity: ... @@ -995,12 +986,11 @@ class QClearBuffers('QFrameGraphNode'): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def colorBufferChanged(self, buffer: 'QRenderTargetOutput') -> None: ... - def clearStencilValueChanged(self, clearStencilValue: int) -> None: ... - def clearDepthValueChanged(self, clearDepthValue: float) -> None: ... - def clearColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def buffersChanged(self, buffers: 'QClearBuffers.BufferType') -> None: ... + colorBufferChanged: typing.ClassVar[QtCore.pyqtSignal] + clearStencilValueChanged: typing.ClassVar[QtCore.pyqtSignal] + clearDepthValueChanged: typing.ClassVar[QtCore.pyqtSignal] + clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] + buffersChanged: typing.ClassVar[QtCore.pyqtSignal] def setColorBuffer(self, buffer: 'QRenderTargetOutput') -> None: ... def setClearStencilValue(self, clearStencilValue: int) -> None: ... def setClearDepthValue(self, clearDepthValue: float) -> None: ... @@ -1015,10 +1005,9 @@ class QClearBuffers('QFrameGraphNode'): class QClipPlane('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def distanceChanged(self, distance: float) -> None: ... - def normalChanged(self, normal: QtGui.QVector3D) -> None: ... - def planeIndexChanged(self, planeIndex: int) -> None: ... + distanceChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + planeIndexChanged: typing.ClassVar[QtCore.pyqtSignal] def setDistance(self, a0: float) -> None: ... def setNormal(self, a0: QtGui.QVector3D) -> None: ... def setPlaneIndex(self, a0: int) -> None: ... @@ -1036,17 +1025,16 @@ class QComputeCommand(Qt3DCore.QComponent): Manual = ... # type: QComputeCommand.RunType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def runTypeChanged(self) -> None: ... + runTypeChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self, frameCount: int = ...) -> None: ... @typing.overload def trigger(self, workGroupX: int, workGroupY: int, workGroupZ: int, frameCount: int = ...) -> None: ... def setRunType(self, runType: 'QComputeCommand.RunType') -> None: ... def runType(self) -> 'QComputeCommand.RunType': ... - def workGroupZChanged(self) -> None: ... - def workGroupYChanged(self) -> None: ... - def workGroupXChanged(self) -> None: ... + workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1057,11 +1045,10 @@ class QComputeCommand(Qt3DCore.QComponent): class QColorMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def alphaMaskedChanged(self, alphaMasked: bool) -> None: ... - def blueMaskedChanged(self, blueMasked: bool) -> None: ... - def greenMaskedChanged(self, greenMasked: bool) -> None: ... - def redMaskedChanged(self, redMasked: bool) -> None: ... + alphaMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + blueMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + greenMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + redMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaMasked(self, alphaMasked: bool) -> None: ... def setBlueMasked(self, blueMasked: bool) -> None: ... def setGreenMasked(self, greenMasked: bool) -> None: ... @@ -1085,17 +1072,15 @@ class QCullFace('QRenderState'): FrontAndBack = ... # type: QCullFace.CullingMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def modeChanged(self, mode: 'QCullFace.CullingMode') -> None: ... + modeChanged: typing.ClassVar[QtCore.pyqtSignal] def setMode(self, mode: 'QCullFace.CullingMode') -> None: ... def mode(self) -> 'QCullFace.CullingMode': ... class QDepthRange('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def farValueChanged(self, farValue: float) -> None: ... - def nearValueChanged(self, nearValue: float) -> None: ... + farValueChanged: typing.ClassVar[QtCore.pyqtSignal] + nearValueChanged: typing.ClassVar[QtCore.pyqtSignal] def setFarValue(self, value: float) -> None: ... def setNearValue(self, value: float) -> None: ... def farValue(self) -> float: ... @@ -1123,26 +1108,23 @@ class QDepthTest('QRenderState'): NotEqual = ... # type: QDepthTest.DepthFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def depthFunctionChanged(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... + depthFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepthFunction(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... def depthFunction(self) -> 'QDepthTest.DepthFunction': ... class QDirectionalLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def worldDirectionChanged(self, worldDirection: QtGui.QVector3D) -> None: ... + worldDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorldDirection(self, worldDirection: QtGui.QVector3D) -> None: ... def worldDirection(self) -> QtGui.QVector3D: ... class QDispatchCompute('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def workGroupZChanged(self) -> None: ... - def workGroupYChanged(self) -> None: ... - def workGroupXChanged(self) -> None: ... + workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1168,9 +1150,8 @@ class QEffect(Qt3DCore.QNode): class QEnvironmentLight(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def specularChanged(self, environmentSpecular: 'QAbstractTexture') -> None: ... - def irradianceChanged(self, environmentIrradiance: 'QAbstractTexture') -> None: ... + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + irradianceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSpecular(self, specular: 'QAbstractTexture') -> None: ... def setIrradiance(self, irradiance: 'QAbstractTexture') -> None: ... def specular(self) -> 'QAbstractTexture': ... @@ -1179,9 +1160,8 @@ class QEnvironmentLight(Qt3DCore.QComponent): class QFilterKey(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def valueChanged(self, value: typing.Any) -> None: ... - def nameChanged(self, name: str) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setName(self, customType: str) -> None: ... def setValue(self, value: typing.Any) -> None: ... def name(self) -> str: ... @@ -1197,8 +1177,7 @@ class QFrontFace('QRenderState'): CounterClockWise = ... # type: QFrontFace.WindingDirection def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def directionChanged(self, direction: 'QFrontFace.WindingDirection') -> None: ... + directionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDirection(self, direction: 'QFrontFace.WindingDirection') -> None: ... def direction(self) -> 'QFrontFace.WindingDirection': ... @@ -1211,11 +1190,11 @@ class QGeometry(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def maxExtentChanged(self, maxExtent: QtGui.QVector3D) -> None: ... - def minExtentChanged(self, minExtent: QtGui.QVector3D) -> None: ... + maxExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + minExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def maxExtent(self) -> QtGui.QVector3D: ... def minExtent(self) -> QtGui.QVector3D: ... - def boundingVolumePositionAttributeChanged(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... + boundingVolumePositionAttributeChanged: typing.ClassVar[QtCore.pyqtSignal] def setBoundingVolumePositionAttribute(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... def boundingVolumePositionAttribute(self) -> 'QAttribute': ... def removeAttribute(self, attribute: 'QAttribute') -> None: ... @@ -1258,19 +1237,19 @@ class QGeometryRenderer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def indexBufferByteOffsetChanged(self, offset: int) -> None: ... + indexBufferByteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] def setIndexBufferByteOffset(self, offset: int) -> None: ... def indexBufferByteOffset(self) -> int: ... - def primitiveTypeChanged(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... - def geometryChanged(self, geometry: 'QGeometry') -> None: ... - def primitiveRestartEnabledChanged(self, primitiveRestartEnabled: bool) -> None: ... - def verticesPerPatchChanged(self, verticesPerPatch: int) -> None: ... - def restartIndexValueChanged(self, restartIndexValue: int) -> None: ... - def firstVertexChanged(self, firstVertex: int) -> None: ... - def firstInstanceChanged(self, firstInstance: int) -> None: ... - def indexOffsetChanged(self, indexOffset: int) -> None: ... - def vertexCountChanged(self, vertexCount: int) -> None: ... - def instanceCountChanged(self, instanceCount: int) -> None: ... + primitiveTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] + primitiveRestartEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + verticesPerPatchChanged: typing.ClassVar[QtCore.pyqtSignal] + restartIndexValueChanged: typing.ClassVar[QtCore.pyqtSignal] + firstVertexChanged: typing.ClassVar[QtCore.pyqtSignal] + firstInstanceChanged: typing.ClassVar[QtCore.pyqtSignal] + indexOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexCountChanged: typing.ClassVar[QtCore.pyqtSignal] + instanceCountChanged: typing.ClassVar[QtCore.pyqtSignal] def setPrimitiveType(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... def setGeometry(self, geometry: 'QGeometry') -> None: ... def setPrimitiveRestartEnabled(self, enabled: bool) -> None: ... @@ -1319,14 +1298,13 @@ class QGraphicsApiFilter(QtCore.QObject): RHI = ... # type: QGraphicsApiFilter.Api def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def graphicsApiFilterChanged(self) -> None: ... - def vendorChanged(self, vendor: str) -> None: ... - def extensionsChanged(self, extensions: typing.Iterable[str]) -> None: ... - def majorVersionChanged(self, majorVersion: int) -> None: ... - def minorVersionChanged(self, minorVersion: int) -> None: ... - def profileChanged(self, profile: 'QGraphicsApiFilter.OpenGLProfile') -> None: ... - def apiChanged(self, api: 'QGraphicsApiFilter.Api') -> None: ... + graphicsApiFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + vendorChanged: typing.ClassVar[QtCore.pyqtSignal] + extensionsChanged: typing.ClassVar[QtCore.pyqtSignal] + majorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] + minorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] + profileChanged: typing.ClassVar[QtCore.pyqtSignal] + apiChanged: typing.ClassVar[QtCore.pyqtSignal] def setVendor(self, vendor: str) -> None: ... def setExtensions(self, extensions: typing.Iterable[str]) -> None: ... def setMajorVersion(self, majorVersion: int) -> None: ... @@ -1343,8 +1321,7 @@ class QGraphicsApiFilter(QtCore.QObject): class QLayer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def recursiveChanged(self) -> None: ... + recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecursive(self, recursive: bool) -> None: ... def recursive(self) -> bool: ... @@ -1362,8 +1339,7 @@ class QLayerFilter('QFrameGraphNode'): DiscardAllMatchingLayers = ... # type: QLayerFilter.FilterMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def filterModeChanged(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... + filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFilterMode(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... def filterMode(self) -> 'QLayerFilter.FilterMode': ... def layers(self) -> typing.List['QLayer']: ... @@ -1382,11 +1358,11 @@ class QLevelOfDetail(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def volumeOverrideChanged(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... - def thresholdsChanged(self, thresholds: typing.Iterable[float]) -> None: ... - def thresholdTypeChanged(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... - def currentIndexChanged(self, currentIndex: int) -> None: ... - def cameraChanged(self, camera: 'QCamera') -> None: ... + volumeOverrideChanged: typing.ClassVar[QtCore.pyqtSignal] + thresholdsChanged: typing.ClassVar[QtCore.pyqtSignal] + thresholdTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setVolumeOverride(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... def setThresholds(self, thresholds: typing.Iterable[float]) -> None: ... def setThresholdType(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... @@ -1419,9 +1395,8 @@ class QLevelOfDetailSwitch('QLevelOfDetail'): class QLineWidth('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def smoothChanged(self, enabled: bool) -> None: ... - def valueChanged(self, value: float) -> None: ... + smoothChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setSmooth(self, enabled: bool) -> None: ... def setValue(self, value: float) -> None: ... def smooth(self) -> bool: ... @@ -1430,8 +1405,7 @@ class QLineWidth('QRenderState'): class QMaterial(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def effectChanged(self, effect: 'QEffect') -> None: ... + effectChanged: typing.ClassVar[QtCore.pyqtSignal] def setEffect(self, effect: 'QEffect') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, parameter: 'QParameter') -> None: ... @@ -1491,8 +1465,7 @@ class QMemoryBarrier('QFrameGraphNode'): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def waitOperationsChanged(self, barrierTypes: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... + waitOperationsChanged: typing.ClassVar[QtCore.pyqtSignal] def setWaitOperations(self, operations: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... def waitOperations(self) -> 'QMemoryBarrier.Operations': ... @@ -1512,10 +1485,10 @@ class QMesh('QGeometryRenderer'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QMesh.Status') -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QMesh.Status': ... - def meshNameChanged(self, meshName: str) -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + meshNameChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshName(self, meshName: str) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def meshName(self) -> str: ... @@ -1540,21 +1513,20 @@ class QNoPicking('QFrameGraphNode'): class QObjectPicker(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def priorityChanged(self, priority: int) -> None: ... + priorityChanged: typing.ClassVar[QtCore.pyqtSignal] def setPriority(self, priority: int) -> None: ... def priority(self) -> int: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def containsMouseChanged(self, containsMouse: bool) -> None: ... - def pressedChanged(self, pressed: bool) -> None: ... - def dragEnabledChanged(self, dragEnabled: bool) -> None: ... - def hoverEnabledChanged(self, hoverEnabled: bool) -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def moved(self, pick: 'QPickEvent') -> None: ... - def clicked(self, pick: 'QPickEvent') -> None: ... - def released(self, pick: 'QPickEvent') -> None: ... - def pressed(self, pick: 'QPickEvent') -> None: ... + containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] + pressedChanged: typing.ClassVar[QtCore.pyqtSignal] + dragEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + hoverEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + moved: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] def setDragEnabled(self, dragEnabled: bool) -> None: ... def setHoverEnabled(self, hoverEnabled: bool) -> None: ... def isPressed(self) -> bool: ... @@ -1567,9 +1539,9 @@ class QPaintedTextureImage('QAbstractTextureImage'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def paint(self, painter: QtGui.QPainter) -> None: ... - def sizeChanged(self, size: QtCore.QSize) -> None: ... - def heightChanged(self, w: int) -> None: ... - def widthChanged(self, w: int) -> None: ... + sizeChanged: typing.ClassVar[QtCore.pyqtSignal] + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] def setSize(self, size: QtCore.QSize) -> None: ... def setHeight(self, h: int) -> None: ... def setWidth(self, w: int) -> None: ... @@ -1586,9 +1558,8 @@ class QParameter(Qt3DCore.QNode): def __init__(self, name: str, value: typing.Any, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, name: str, texture: 'QAbstractTexture', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def nameChanged(self, name: str) -> None: ... - def valueChanged(self, value: typing.Any) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, dv: typing.Any) -> None: ... def setName(self, name: str) -> None: ... def value(self) -> typing.Any: ... @@ -1636,7 +1607,7 @@ class QPickEvent(QtCore.QObject): def modifiers(self) -> int: ... def buttons(self) -> int: ... def button(self) -> 'QPickEvent.Buttons': ... - def acceptedChanged(self, accepted: bool) -> None: ... + acceptedChanged: typing.ClassVar[QtCore.pyqtSignal] def setAccepted(self, accepted: bool) -> None: ... def localIntersection(self) -> QtGui.QVector3D: ... def worldIntersection(self) -> QtGui.QVector3D: ... @@ -1678,15 +1649,14 @@ class QPickingSettings(Qt3DCore.QNode): PrimitivePicking = ... # type: QPickingSettings.PickMethod def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def worldSpaceToleranceChanged(self, worldSpaceTolerance: float) -> None: ... + worldSpaceToleranceChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorldSpaceTolerance(self, worldSpaceTolerance: float) -> None: ... def worldSpaceTolerance(self) -> float: ... - def faceOrientationPickingModeChanged(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... + faceOrientationPickingModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFaceOrientationPickingMode(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... def faceOrientationPickingMode(self) -> 'QPickingSettings.FaceOrientationPickingMode': ... - def pickResultModeChanged(self, pickResult: 'QPickingSettings.PickResultMode') -> None: ... - def pickMethodChanged(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... + pickResultModeChanged: typing.ClassVar[QtCore.pyqtSignal] + pickMethodChanged: typing.ClassVar[QtCore.pyqtSignal] def setPickResultMode(self, pickResultMode: 'QPickingSettings.PickResultMode') -> None: ... def setPickMethod(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... def pickResultMode(self) -> 'QPickingSettings.PickResultMode': ... @@ -1730,10 +1700,9 @@ class QPickTriangleEvent('QPickEvent'): class QPointLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... - def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... - def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... + quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] def setQuadraticAttenuation(self, value: float) -> None: ... def setLinearAttenuation(self, value: float) -> None: ... def setConstantAttenuation(self, value: float) -> None: ... @@ -1751,9 +1720,8 @@ class QPointSize('QRenderState'): Programmable = ... # type: QPointSize.SizeMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def valueChanged(self, value: float) -> None: ... - def sizeModeChanged(self, sizeMode: 'QPointSize.SizeMode') -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + sizeModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, value: float) -> None: ... def setSizeMode(self, sizeMode: 'QPointSize.SizeMode') -> None: ... def value(self) -> float: ... @@ -1762,9 +1730,8 @@ class QPointSize('QRenderState'): class QPolygonOffset('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def depthStepsChanged(self, depthSteps: float) -> None: ... - def scaleFactorChanged(self, scaleFactor: float) -> None: ... + depthStepsChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepthSteps(self, depthSteps: float) -> None: ... def setScaleFactor(self, scaleFactor: float) -> None: ... def depthSteps(self) -> float: ... @@ -1773,9 +1740,8 @@ class QPolygonOffset('QRenderState'): class QProximityFilter('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def distanceThresholdChanged(self, distanceThreshold: float) -> None: ... - def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... + distanceThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] + entityChanged: typing.ClassVar[QtCore.pyqtSignal] def setDistanceThreshold(self, distanceThreshold: float) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def distanceThreshold(self) -> float: ... @@ -1802,9 +1768,8 @@ class QRasterMode('QRenderState'): Fill = ... # type: QRasterMode.RasterMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def faceModeChanged(self, faceMode: 'QRasterMode.FaceMode') -> None: ... - def rasterModeChanged(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + rasterModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFaceMode(self, faceMode: 'QRasterMode.FaceMode') -> None: ... def setRasterMode(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... def faceMode(self) -> 'QRasterMode.FaceMode': ... @@ -1813,10 +1778,9 @@ class QRasterMode('QRenderState'): class QRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def lengthChanged(self, length: float) -> None: ... - def directionChanged(self, direction: QtGui.QVector3D) -> None: ... - def originChanged(self, origin: QtGui.QVector3D) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + directionChanged: typing.ClassVar[QtCore.pyqtSignal] + originChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self) -> None: ... @typing.overload @@ -1934,10 +1898,9 @@ class QRenderCapabilities(QtCore.QObject): def isValid(self) -> bool: ... class QRenderCaptureReply(QtCore.QObject): - - def completed(self) -> None: ... + completed: typing.ClassVar[QtCore.pyqtSignal] def saveImage(self, fileName: str) -> bool: ... - def completeChanged(self, isComplete: bool) -> None: ... + completeChanged: typing.ClassVar[QtCore.pyqtSignal] def saveToFile(self, fileName: str) -> None: ... def isComplete(self) -> bool: ... def captureId(self) -> int: ... @@ -1958,8 +1921,7 @@ class QRenderCapture('QFrameGraphNode'): class QRenderPass(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... + shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] def setShaderProgram(self, shaderProgram: 'QShaderProgram') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, p: 'QParameter') -> None: ... @@ -1993,9 +1955,8 @@ class QRenderSettings(Qt3DCore.QComponent): Always = ... # type: QRenderSettings.RenderPolicy def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def renderPolicyChanged(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... - def activeFrameGraphChanged(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... + renderPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + activeFrameGraphChanged: typing.ClassVar[QtCore.pyqtSignal] def setRenderPolicy(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... def setActiveFrameGraph(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... def renderCapabilities(self) -> 'QRenderCapabilities': ... @@ -2014,10 +1975,9 @@ class QRenderStateSet('QFrameGraphNode'): class QRenderSurfaceSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def surfacePixelRatioChanged(self, ratio: float) -> None: ... - def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... - def surfaceChanged(self, surface: QtCore.QObject) -> None: ... + surfacePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSurfacePixelRatio(self, ratio: float) -> None: ... def setSurface(self, surfaceObject: QtCore.QObject) -> None: ... def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... @@ -2077,12 +2037,11 @@ class QRenderTargetOutput(Qt3DCore.QNode): DepthStencil = ... # type: QRenderTargetOutput.AttachmentPoint def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... - def textureChanged(self, texture: 'QAbstractTexture') -> None: ... - def attachmentPointChanged(self, attachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... + faceChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] + attachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -2097,8 +2056,7 @@ class QRenderTargetOutput(Qt3DCore.QNode): class QRenderTargetSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def targetChanged(self, target: 'QRenderTarget') -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] def setTarget(self, target: 'QRenderTarget') -> None: ... def target(self) -> 'QRenderTarget': ... def outputs(self) -> typing.List[QRenderTargetOutput.AttachmentPoint]: ... @@ -2136,8 +2094,8 @@ class QSceneLoader(Qt3DCore.QComponent): def component(self, entityName: str, componentType: 'QSceneLoader.ComponentType') -> Qt3DCore.QComponent: ... def entityNames(self) -> typing.List[str]: ... def entity(self, entityName: str) -> Qt3DCore.QEntity: ... - def statusChanged(self, status: 'QSceneLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, arg: QtCore.QUrl) -> None: ... def status(self) -> 'QSceneLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2146,11 +2104,10 @@ class QSceneLoader(Qt3DCore.QComponent): class QScissorTest('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def bottomChanged(self, bottom: int) -> None: ... - def leftChanged(self, left: int) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setBottom(self, bottom: int) -> None: ... @@ -2163,8 +2120,7 @@ class QScissorTest('QRenderState'): class QScreenRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def positionChanged(self, position: QtCore.QPoint) -> None: ... + positionChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self) -> None: ... @typing.overload @@ -2188,8 +2144,8 @@ class QSetFence('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QSetFence.HandleType') -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def handle(self) -> typing.Any: ... def handleType(self) -> 'QSetFence.HandleType': ... @@ -2301,13 +2257,12 @@ class QShaderImage(Qt3DCore.QNode): ReadWrite = ... # type: QShaderImage.Access def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def formatChanged(self, format: 'QShaderImage.ImageFormat') -> None: ... - def accessChanged(self, access: 'QShaderImage.Access') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... - def layeredChanged(self, layered: bool) -> None: ... - def textureChanged(self, texture: 'QAbstractTexture') -> None: ... + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + accessChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + layeredChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setFormat(self, format: 'QShaderImage.ImageFormat') -> None: ... def setAccess(self, access: 'QShaderImage.Access') -> None: ... def setLayer(self, layer: int) -> None: ... @@ -2355,21 +2310,20 @@ class QShaderProgram(Qt3DCore.QNode): Compute = ... # type: QShaderProgram.ShaderType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def formatChanged(self, format: 'QShaderProgram.Format') -> None: ... + formatChanged: typing.ClassVar[QtCore.pyqtSignal] def format(self) -> 'QShaderProgram.Format': ... def setFormat(self, format: 'QShaderProgram.Format') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QShaderProgram.Status') -> None: ... - def logChanged(self, log: str) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + logChanged: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QShaderProgram.Status': ... def log(self) -> str: ... - def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] def setComputeShaderCode(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setFragmentShaderCode(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setGeometryShaderCode(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... @@ -2392,26 +2346,26 @@ class QShaderProgramBuilder(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] def computeShaderCode(self) -> QtCore.QByteArray: ... def fragmentShaderCode(self) -> QtCore.QByteArray: ... def geometryShaderCode(self) -> QtCore.QByteArray: ... def tessellationEvaluationShaderCode(self) -> QtCore.QByteArray: ... def tessellationControlShaderCode(self) -> QtCore.QByteArray: ... def vertexShaderCode(self) -> QtCore.QByteArray: ... - def computeShaderGraphChanged(self, computeShaderGraph: QtCore.QUrl) -> None: ... - def fragmentShaderGraphChanged(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... - def geometryShaderGraphChanged(self, geometryShaderGraph: QtCore.QUrl) -> None: ... - def tessellationEvaluationShaderGraphChanged(self, tessellationEvaluationShaderGraph: QtCore.QUrl) -> None: ... - def tessellationControlShaderGraphChanged(self, tessellationControlShaderGraph: QtCore.QUrl) -> None: ... - def vertexShaderGraphChanged(self, vertexShaderGraph: QtCore.QUrl) -> None: ... - def enabledLayersChanged(self, layers: typing.Iterable[str]) -> None: ... - def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... + computeShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + enabledLayersChanged: typing.ClassVar[QtCore.pyqtSignal] + shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] def setComputeShaderGraph(self, computeShaderGraph: QtCore.QUrl) -> None: ... def setFragmentShaderGraph(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... def setGeometryShaderGraph(self, geometryShaderGraph: QtCore.QUrl) -> None: ... @@ -2447,11 +2401,7 @@ class QSortPolicy('QFrameGraphNode'): Uniform = ... # type: QSortPolicy.SortType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - @typing.overload - def sortTypesChanged(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... - @typing.overload - def sortTypesChanged(self, sortTypes: typing.Iterable[int]) -> None: ... + sortTypesChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def setSortTypes(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... @typing.overload @@ -2462,12 +2412,11 @@ class QSortPolicy('QFrameGraphNode'): class QSpotLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def cutOffAngleChanged(self, cutOffAngle: float) -> None: ... - def localDirectionChanged(self, localDirection: QtGui.QVector3D) -> None: ... - def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... - def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... - def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... + cutOffAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + localDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] def setCutOffAngle(self, cutOffAngle: float) -> None: ... def setLocalDirection(self, localDirection: QtGui.QVector3D) -> None: ... def setQuadraticAttenuation(self, value: float) -> None: ... @@ -2482,9 +2431,8 @@ class QSpotLight('QAbstractLight'): class QStencilMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def backOutputMaskChanged(self, backOutputMask: int) -> None: ... - def frontOutputMaskChanged(self, frontOutputMask: int) -> None: ... + backOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] + frontOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setBackOutputMask(self, backOutputMask: int) -> None: ... def setFrontOutputMask(self, frontOutputMask: int) -> None: ... def backOutputMask(self) -> int: ... @@ -2526,11 +2474,10 @@ class QStencilOperationArguments(QtCore.QObject): Front = ... # type: QStencilOperationArguments.FaceMode Back = ... # type: QStencilOperationArguments.FaceMode FrontAndBack = ... # type: QStencilOperationArguments.FaceMode - - def faceModeChanged(self, faceMode: 'QStencilOperationArguments.FaceMode') -> None: ... - def allTestsPassOperationChanged(self, stencilDepthPass: 'QStencilOperationArguments.Operation') -> None: ... - def depthTestFailureOperationChanged(self, depthFail: 'QStencilOperationArguments.Operation') -> None: ... - def stencilTestFailureOperationChanged(self, stencilFail: 'QStencilOperationArguments.Operation') -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + allTestsPassOperationChanged: typing.ClassVar[QtCore.pyqtSignal] + depthTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] + stencilTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] def setAllTestsPassOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setDepthTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setStencilTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... @@ -2575,11 +2522,10 @@ class QStencilTestArguments(QtCore.QObject): Front = ... # type: QStencilTestArguments.StencilFaceMode Back = ... # type: QStencilTestArguments.StencilFaceMode FrontAndBack = ... # type: QStencilTestArguments.StencilFaceMode - - def faceModeChanged(self, faceMode: 'QStencilTestArguments.StencilFaceMode') -> None: ... - def referenceValueChanged(self, referenceValue: int) -> None: ... - def stencilFunctionChanged(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... - def comparisonMaskChanged(self, comparisonMask: int) -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] + stencilFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setStencilFunction(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... def setReferenceValue(self, referenceValue: int) -> None: ... def setComparisonMask(self, comparisonMask: int) -> None: ... @@ -2598,8 +2544,7 @@ class QSubtreeEnabler('QFrameGraphNode'): SingleShot = ... # type: QSubtreeEnabler.Enablement def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def enablementChanged(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... + enablementChanged: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self) -> None: ... def setEnablement(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... def enablement(self) -> 'QSubtreeEnabler.Enablement': ... @@ -2677,19 +2622,17 @@ class QTextureBuffer('QAbstractTexture'): class QTextureLoader('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def source(self) -> QtCore.QUrl: ... class QSharedGLTexture('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def textureIdChanged(self, textureId: int) -> None: ... + textureIdChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureId(self, id: int) -> None: ... def textureId(self) -> int: ... @@ -2774,14 +2717,13 @@ class QTextureImage('QAbstractTextureImage'): Error = ... # type: QTextureImage.Status def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... def setStatus(self, status: 'QTextureImage.Status') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QTextureImage.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QTextureImage.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2840,10 +2782,9 @@ class QTextureWrapMode(QtCore.QObject): def __init__(self, wrapMode: 'QTextureWrapMode.WrapMode' = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, x: 'QTextureWrapMode.WrapMode', y: 'QTextureWrapMode.WrapMode', z: 'QTextureWrapMode.WrapMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def zChanged(self, z: 'QTextureWrapMode.WrapMode') -> None: ... - def yChanged(self, y: 'QTextureWrapMode.WrapMode') -> None: ... - def xChanged(self, x: 'QTextureWrapMode.WrapMode') -> None: ... + zChanged: typing.ClassVar[QtCore.pyqtSignal] + yChanged: typing.ClassVar[QtCore.pyqtSignal] + xChanged: typing.ClassVar[QtCore.pyqtSignal] def setZ(self, z: 'QTextureWrapMode.WrapMode') -> None: ... def setY(self, y: 'QTextureWrapMode.WrapMode') -> None: ... def setX(self, x: 'QTextureWrapMode.WrapMode') -> None: ... @@ -2854,11 +2795,10 @@ class QTextureWrapMode(QtCore.QObject): class QViewport('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def gammaChanged(self, gamma: float) -> None: ... + gammaChanged: typing.ClassVar[QtCore.pyqtSignal] def setGamma(self, gamma: float) -> None: ... def gamma(self) -> float: ... - def normalizedRectChanged(self, normalizedRect: QtCore.QRectF) -> None: ... + normalizedRectChanged: typing.ClassVar[QtCore.pyqtSignal] def setNormalizedRect(self, normalizedRect: QtCore.QRectF) -> None: ... def normalizedRect(self) -> QtCore.QRectF: ... @@ -2872,11 +2812,10 @@ class QWaitFence('QFrameGraphNode'): OpenGLFenceId = ... # type: QWaitFence.HandleType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QWaitFence.HandleType') -> None: ... - def timeoutChanged(self, timeoutChanged: int) -> None: ... - def waitOnCPUChanged(self, waitOnCPU: bool) -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] + waitOnCPUChanged: typing.ClassVar[QtCore.pyqtSignal] def setTimeout(self, timeout: int) -> None: ... def timeout(self) -> int: ... def setWaitOnCPU(self, waitOnCPU: bool) -> None: ... diff --git a/PyQt5-stubs/QtBluetooth.pyi b/PyQt5-stubs/QtBluetooth.pyi index b9bb57b5..a4b11401 100644 --- a/PyQt5-stubs/QtBluetooth.pyi +++ b/PyQt5-stubs/QtBluetooth.pyi @@ -163,10 +163,10 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def supportedDiscoveryMethods() -> 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods': ... def lowEnergyDiscoveryTimeout(self) -> int: ... def setLowEnergyDiscoveryTimeout(self, msTimeout: int) -> None: ... - def deviceUpdated(self, info: 'QBluetoothDeviceInfo', updatedFields: typing.Union['QBluetoothDeviceInfo.Fields', 'QBluetoothDeviceInfo.Field']) -> None: ... - def canceled(self) -> None: ... - def finished(self) -> None: ... - def deviceDiscovered(self, info: 'QBluetoothDeviceInfo') -> None: ... + deviceUpdated: typing.ClassVar[QtCore.pyqtSignal] + canceled: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + deviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... @typing.overload def start(self) -> None: ... @@ -174,10 +174,7 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def start(self, method: typing.Union['QBluetoothDeviceDiscoveryAgent.DiscoveryMethods', 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethod']) -> None: ... def discoveredDevices(self) -> typing.List['QBluetoothDeviceInfo']: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothDeviceDiscoveryAgent.Error': ... - @typing.overload - def error(self, error: 'QBluetoothDeviceDiscoveryAgent.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... def setInquiryType(self, type: 'QBluetoothDeviceDiscoveryAgent.InquiryType') -> None: ... def inquiryType(self) -> 'QBluetoothDeviceDiscoveryAgent.InquiryType': ... @@ -574,14 +571,13 @@ class QBluetoothLocalDevice(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, address: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def deviceDisconnected(self, address: QBluetoothAddress) -> None: ... - def deviceConnected(self, address: QBluetoothAddress) -> None: ... - def error(self, error: 'QBluetoothLocalDevice.Error') -> None: ... - def pairingDisplayConfirmation(self, address: QBluetoothAddress, pin: str) -> None: ... - def pairingDisplayPinCode(self, address: QBluetoothAddress, pin: str) -> None: ... - def pairingFinished(self, address: QBluetoothAddress, pairing: 'QBluetoothLocalDevice.Pairing') -> None: ... - def hostModeStateChanged(self, state: 'QBluetoothLocalDevice.HostMode') -> None: ... + deviceDisconnected: typing.ClassVar[QtCore.pyqtSignal] + deviceConnected: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + pairingDisplayConfirmation: typing.ClassVar[QtCore.pyqtSignal] + pairingDisplayPinCode: typing.ClassVar[QtCore.pyqtSignal] + pairingFinished: typing.ClassVar[QtCore.pyqtSignal] + hostModeStateChanged: typing.ClassVar[QtCore.pyqtSignal] def pairingConfirmation(self, confirmation: bool) -> None: ... def connectedDevices(self) -> typing.List[QBluetoothAddress]: ... @staticmethod @@ -614,12 +610,8 @@ class QBluetoothServer(QtCore.QObject): UnsupportedProtocolError = ... # type: QBluetoothServer.Error def __init__(self, serverType: 'QBluetoothServiceInfo.Protocol', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def newConnection(self) -> None: ... - @typing.overload - def error(self) -> 'QBluetoothServer.Error': ... - @typing.overload - def error(self, a0: 'QBluetoothServer.Error') -> None: ... + newConnection: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] def serverType(self) -> 'QBluetoothServiceInfo.Protocol': ... def securityFlags(self) -> QBluetooth.SecurityFlags: ... def setSecurityFlags(self, security: typing.Union[QBluetooth.SecurityFlags, QBluetooth.Security]) -> None: ... @@ -663,10 +655,9 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, deviceAdapter: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def canceled(self) -> None: ... - def finished(self) -> None: ... - def serviceDiscovered(self, info: 'QBluetoothServiceInfo') -> None: ... + canceled: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] def clear(self) -> None: ... def stop(self) -> None: ... def start(self, mode: 'QBluetoothServiceDiscoveryAgent.DiscoveryMode' = ...) -> None: ... @@ -679,10 +670,7 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): def setUuidFilter(self, uuid: 'QBluetoothUuid') -> None: ... def discoveredServices(self) -> typing.List['QBluetoothServiceInfo']: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothServiceDiscoveryAgent.Error': ... - @typing.overload - def error(self, error: 'QBluetoothServiceDiscoveryAgent.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @@ -825,14 +813,11 @@ class QBluetoothSocket(QtCore.QIODevice): def setSocketState(self, state: 'QBluetoothSocket.SocketState') -> None: ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def stateChanged(self, state: 'QBluetoothSocket.SocketState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothSocket.SocketError': ... - @typing.overload - def error(self, error: 'QBluetoothSocket.SocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QBluetoothSocket.SocketState': ... def socketType(self) -> QBluetoothServiceInfo.Protocol: ... def socketDescriptor(self) -> int: ... @@ -861,8 +846,7 @@ class QBluetoothSocket(QtCore.QIODevice): class QBluetoothTransferManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def finished(self, reply: 'QBluetoothTransferReply') -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def put(self, request: 'QBluetoothTransferRequest', data: QtCore.QIODevice) -> 'QBluetoothTransferReply': ... @@ -891,15 +875,12 @@ class QBluetoothTransferReply(QtCore.QObject): def setRequest(self, request: 'QBluetoothTransferRequest') -> None: ... def setManager(self, manager: QBluetoothTransferManager) -> None: ... - def transferProgress(self, bytesTransferred: int, bytesTotal: int) -> None: ... - def finished(self, a0: 'QBluetoothTransferReply') -> None: ... + transferProgress: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def request(self) -> 'QBluetoothTransferRequest': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothTransferReply.TransferError': ... - @typing.overload - def error(self, lastError: 'QBluetoothTransferReply.TransferError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def manager(self) -> QBluetoothTransferManager: ... def isRunning(self) -> bool: ... def isFinished(self) -> bool: ... @@ -1746,7 +1727,7 @@ class QLowEnergyController(QtCore.QObject): def __init__(self, remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def remoteDeviceUuid(self) -> QBluetoothUuid: ... - def connectionUpdated(self, parameters: QLowEnergyConnectionParameters) -> None: ... + connectionUpdated: typing.ClassVar[QtCore.pyqtSignal] def role(self) -> 'QLowEnergyController.Role': ... def requestConnectionUpdate(self, parameters: QLowEnergyConnectionParameters) -> None: ... def addService(self, service: 'QLowEnergyServiceData', parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... @@ -1760,17 +1741,14 @@ class QLowEnergyController(QtCore.QObject): @typing.overload @staticmethod def createCentral(remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... - def discoveryFinished(self) -> None: ... - def serviceDiscovered(self, newService: QBluetoothUuid) -> None: ... - def stateChanged(self, state: 'QLowEnergyController.ControllerState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + discoveryFinished: typing.ClassVar[QtCore.pyqtSignal] + serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def remoteName(self) -> str: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QLowEnergyController.Error': ... - @typing.overload - def error(self, newError: 'QLowEnergyController.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def createServiceObject(self, service: QBluetoothUuid, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... def services(self) -> typing.List[QBluetoothUuid]: ... def discoverServices(self) -> None: ... @@ -1883,25 +1861,21 @@ class QLowEnergyService(QtCore.QObject): def __invert__(self) -> 'QLowEnergyService.ServiceTypes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - - def descriptorRead(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicRead(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + descriptorRead: typing.ClassVar[QtCore.pyqtSignal] + characteristicRead: typing.ClassVar[QtCore.pyqtSignal] def readDescriptor(self, descriptor: QLowEnergyDescriptor) -> None: ... def readCharacteristic(self, characteristic: QLowEnergyCharacteristic) -> None: ... - def descriptorWritten(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicWritten(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicChanged(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def stateChanged(self, newState: 'QLowEnergyService.ServiceState') -> None: ... + descriptorWritten: typing.ClassVar[QtCore.pyqtSignal] + characteristicWritten: typing.ClassVar[QtCore.pyqtSignal] + characteristicChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def writeDescriptor(self, descriptor: QLowEnergyDescriptor, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def writeCharacteristic(self, characteristic: QLowEnergyCharacteristic, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray], mode: 'QLowEnergyService.WriteMode' = ...) -> None: ... @typing.overload def contains(self, characteristic: QLowEnergyCharacteristic) -> bool: ... @typing.overload def contains(self, descriptor: QLowEnergyDescriptor) -> bool: ... - @typing.overload - def error(self) -> 'QLowEnergyService.ServiceError': ... - @typing.overload - def error(self, error: 'QLowEnergyService.ServiceError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def discoverDetails(self) -> None: ... def serviceName(self) -> str: ... def serviceUuid(self) -> QBluetoothUuid: ... diff --git a/PyQt5-stubs/QtChart.pyi b/PyQt5-stubs/QtChart.pyi index 5520a571..a4bf36a9 100644 --- a/PyQt5-stubs/QtChart.pyi +++ b/PyQt5-stubs/QtChart.pyi @@ -71,15 +71,14 @@ class QAbstractAxis(QtCore.QObject): def __invert__(self) -> 'QAbstractAxis.AxisTypes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - - def labelsEditableChanged(self, editable: bool) -> None: ... + labelsEditableChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsEditable(self) -> bool: ... def setLabelsEditable(self, editable: bool = ...) -> None: ... - def reverseChanged(self, reverse: bool) -> None: ... - def minorGridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def minorGridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def minorGridVisibleChanged(self, visible: bool) -> None: ... + reverseChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] def isReverse(self) -> bool: ... def setReverse(self, reverse: bool = ...) -> None: ... def minorGridLineColor(self) -> QtGui.QColor: ... @@ -90,17 +89,17 @@ class QAbstractAxis(QtCore.QObject): def setMinorGridLinePen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setMinorGridLineVisible(self, visible: bool = ...) -> None: ... def isMinorGridLineVisible(self) -> bool: ... - def shadesBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesPenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def titleFontChanged(self, font: QtGui.QFont) -> None: ... - def titleVisibleChanged(self, visible: bool) -> None: ... - def titleBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def titleTextChanged(self, title: str) -> None: ... - def gridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def labelsAngleChanged(self, angle: int) -> None: ... - def labelsFontChanged(self, pen: QtGui.QFont) -> None: ... - def labelsBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def linePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + shadesBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesPenChanged: typing.ClassVar[QtCore.pyqtSignal] + titleFontChanged: typing.ClassVar[QtCore.pyqtSignal] + titleVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + titleBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + titleTextChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + linePenChanged: typing.ClassVar[QtCore.pyqtSignal] def alignment(self) -> QtCore.Qt.Alignment: ... def titleText(self) -> str: ... def setTitleText(self, title: str) -> None: ... @@ -110,15 +109,15 @@ class QAbstractAxis(QtCore.QObject): def setTitleBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def setTitleVisible(self, visible: bool = ...) -> None: ... def isTitleVisible(self) -> bool: ... - def shadesBorderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesVisibleChanged(self, visible: bool) -> None: ... - def labelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def gridVisibleChanged(self, visible: bool) -> None: ... - def labelsVisibleChanged(self, visible: bool) -> None: ... - def lineVisibleChanged(self, visible: bool) -> None: ... - def visibleChanged(self, visible: bool) -> None: ... + shadesBorderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesColorChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + lineVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] def orientation(self) -> QtCore.Qt.Orientation: ... def hide(self) -> None: ... def show(self) -> None: ... @@ -189,18 +188,17 @@ class QAbstractSeries(QtCore.QObject): SeriesTypeHorizontalPercentBar = ... # type: QAbstractSeries.SeriesType SeriesTypeBoxPlot = ... # type: QAbstractSeries.SeriesType SeriesTypeCandlestick = ... # type: QAbstractSeries.SeriesType - - def useOpenGLChanged(self) -> None: ... + useOpenGLChanged: typing.ClassVar[QtCore.pyqtSignal] def useOpenGL(self) -> bool: ... def setUseOpenGL(self, enable: bool = ...) -> None: ... - def opacityChanged(self) -> None: ... + opacityChanged: typing.ClassVar[QtCore.pyqtSignal] def attachedAxes(self) -> typing.List['QAbstractAxis']: ... def detachAxis(self, axis: 'QAbstractAxis') -> bool: ... def attachAxis(self, axis: 'QAbstractAxis') -> bool: ... def setOpacity(self, opacity: float) -> None: ... def opacity(self) -> float: ... - def visibleChanged(self) -> None: ... - def nameChanged(self) -> None: ... + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def hide(self) -> None: ... def show(self) -> None: ... def chart(self) -> 'QChart': ... @@ -222,28 +220,27 @@ class QAbstractBarSeries('QAbstractSeries'): LabelsInsideEnd = ... # type: QAbstractBarSeries.LabelsPosition LabelsInsideBase = ... # type: QAbstractBarSeries.LabelsPosition LabelsOutsideEnd = ... # type: QAbstractBarSeries.LabelsPosition - - def labelsPrecisionChanged(self, precision: int) -> None: ... + labelsPrecisionChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsPrecision(self) -> int: ... def setLabelsPrecision(self, precision: int) -> None: ... - def labelsAngleChanged(self, angle: float) -> None: ... + labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsAngle(self) -> float: ... def setLabelsAngle(self, angle: float) -> None: ... - def doubleClicked(self, index: int, barset: 'QBarSet') -> None: ... - def released(self, index: int, barset: 'QBarSet') -> None: ... - def pressed(self, index: int, barset: 'QBarSet') -> None: ... - def labelsPositionChanged(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... - def labelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsPosition(self) -> 'QAbstractBarSeries.LabelsPosition': ... def setLabelsPosition(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... def labelsFormat(self) -> str: ... def setLabelsFormat(self, format: str) -> None: ... - def barsetsRemoved(self, sets: typing.Iterable['QBarSet']) -> None: ... - def barsetsAdded(self, sets: typing.Iterable['QBarSet']) -> None: ... - def labelsVisibleChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, status: bool, index: int, barset: 'QBarSet') -> None: ... - def clicked(self, index: int, barset: 'QBarSet') -> None: ... + barsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + barsetsAdded: typing.ClassVar[QtCore.pyqtSignal] + labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def take(self, set: 'QBarSet') -> bool: ... def isLabelsVisible(self) -> bool: ... def setLabelsVisible(self, visible: bool = ...) -> None: ... @@ -276,18 +273,17 @@ class QLegendMarker(QtCore.QObject): LegendMarkerTypeXY = ... # type: QLegendMarker.LegendMarkerType LegendMarkerTypeBoxPlot = ... # type: QLegendMarker.LegendMarkerType LegendMarkerTypeCandlestick = ... # type: QLegendMarker.LegendMarkerType - - def shapeChanged(self) -> None: ... + shapeChanged: typing.ClassVar[QtCore.pyqtSignal] def setShape(self, shape: 'QLegend.MarkerShape') -> None: ... def shape(self) -> 'QLegend.MarkerShape': ... - def visibleChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def fontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def labelChanged(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QAbstractSeries': ... def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... @@ -316,17 +312,16 @@ class QAreaSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, upperSeries: 'QLineSeries', lowerSeries: typing.Optional['QLineSeries'] = ...) -> None: ... - - def pointLabelsClippingChanged(self, clipping: bool) -> None: ... + pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... - def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... - def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... - def pointLabelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -335,11 +330,11 @@ class QAreaSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... - def selected(self) -> None: ... - def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + hovered: typing.ClassVar[QtCore.pyqtSignal] + selected: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -359,12 +354,11 @@ class QAreaSeries('QAbstractSeries'): class QBarCategoryAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def countChanged(self) -> None: ... - def rangeChanged(self, min: str, max: str) -> None: ... - def maxChanged(self, max: str) -> None: ... - def minChanged(self, min: str) -> None: ... - def categoriesChanged(self) -> None: ... + countChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] + categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] def setRange(self, minCategory: str, maxCategory: str) -> None: ... def max(self) -> str: ... def setMax(self, maxCategory: str) -> None: ... @@ -402,23 +396,22 @@ class QBarSeries('QAbstractBarSeries'): class QBarSet(QtCore.QObject): def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def doubleClicked(self, index: int) -> None: ... - def released(self, index: int) -> None: ... - def pressed(self, index: int) -> None: ... - def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def hovered(self, status: bool, index: int) -> None: ... - def clicked(self, index: int) -> None: ... - def valueChanged(self, index: int) -> None: ... - def valuesRemoved(self, index: int, count: int) -> None: ... - def valuesAdded(self, index: int, count: int) -> None: ... - def labelFontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def labelChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesRemoved: typing.ClassVar[QtCore.pyqtSignal] + valuesAdded: typing.ClassVar[QtCore.pyqtSignal] + labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def labelColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -458,19 +451,18 @@ class QBoxPlotLegendMarker('QLegendMarker'): class QBoxPlotSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def doubleClicked(self, boxset: 'QBoxSet') -> None: ... - def released(self, boxset: 'QBoxSet') -> None: ... - def pressed(self, boxset: 'QBoxSet') -> None: ... - def boxsetsRemoved(self, sets: typing.Iterable['QBoxSet']) -> None: ... - def boxsetsAdded(self, sets: typing.Iterable['QBoxSet']) -> None: ... - def boxWidthChanged(self) -> None: ... - def boxOutlineVisibilityChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, status: bool, boxset: 'QBoxSet') -> None: ... - def clicked(self, boxset: 'QBoxSet') -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + boxsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + boxsetsAdded: typing.ClassVar[QtCore.pyqtSignal] + boxWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + boxOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -511,17 +503,16 @@ class QBoxSet(QtCore.QObject): def __init__(self, label: str = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, le: float, lq: float, m: float, uq: float, ue: float, label: str = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def cleared(self) -> None: ... - def valueChanged(self, index: int) -> None: ... - def valuesChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + cleared: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def brush(self) -> QtGui.QBrush: ... def setBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pen(self) -> QtGui.QPen: ... @@ -564,8 +555,8 @@ class QCandlestickModelMapper(QtCore.QObject): def setOpen(self, open: int) -> None: ... def timestamp(self) -> int: ... def setTimestamp(self, timestamp: int) -> None: ... - def seriesReplaced(self) -> None: ... - def modelReplaced(self) -> None: ... + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] def orientation(self) -> QtCore.Qt.Orientation: ... def series(self) -> 'QCandlestickSeries': ... def setSeries(self, series: 'QCandlestickSeries') -> None: ... @@ -575,25 +566,24 @@ class QCandlestickModelMapper(QtCore.QObject): class QCandlestickSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def penChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def decreasingColorChanged(self) -> None: ... - def increasingColorChanged(self) -> None: ... - def capsVisibilityChanged(self) -> None: ... - def capsWidthChanged(self) -> None: ... - def bodyOutlineVisibilityChanged(self) -> None: ... - def bodyWidthChanged(self) -> None: ... - def minimumColumnWidthChanged(self) -> None: ... - def maximumColumnWidthChanged(self) -> None: ... - def countChanged(self) -> None: ... - def candlestickSetsRemoved(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... - def candlestickSetsAdded(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... - def doubleClicked(self, set: 'QCandlestickSet') -> None: ... - def released(self, set: 'QCandlestickSet') -> None: ... - def pressed(self, set: 'QCandlestickSet') -> None: ... - def hovered(self, status: bool, set: 'QCandlestickSet') -> None: ... - def clicked(self, set: 'QCandlestickSet') -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + decreasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] + increasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] + capsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + capsWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + bodyOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + bodyWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + minimumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + candlestickSetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + candlestickSetsAdded: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -636,19 +626,18 @@ class QCandlestickSet(QtCore.QObject): def __init__(self, timestamp: float = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, open: float, high: float, low: float, close: float, timestamp: float = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def penChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def closeChanged(self) -> None: ... - def lowChanged(self) -> None: ... - def highChanged(self) -> None: ... - def openChanged(self) -> None: ... - def timestampChanged(self) -> None: ... - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + closeChanged: typing.ClassVar[QtCore.pyqtSignal] + lowChanged: typing.ClassVar[QtCore.pyqtSignal] + highChanged: typing.ClassVar[QtCore.pyqtSignal] + openChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampChanged: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -674,24 +663,23 @@ class QValueAxis('QAbstractAxis'): TicksFixed = ... # type: QValueAxis.TickType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def tickTypeChanged(self, type: 'QValueAxis.TickType') -> None: ... - def tickAnchorChanged(self, anchor: float) -> None: ... - def tickIntervalChanged(self, interval: float) -> None: ... + tickTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + tickAnchorChanged: typing.ClassVar[QtCore.pyqtSignal] + tickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] def tickType(self) -> 'QValueAxis.TickType': ... def setTickType(self, type: 'QValueAxis.TickType') -> None: ... def tickInterval(self) -> float: ... def setTickInterval(self, insterval: float) -> None: ... def tickAnchor(self) -> float: ... def setTickAnchor(self, anchor: float) -> None: ... - def minorTickCountChanged(self, tickCount: int) -> None: ... + minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] def minorTickCount(self) -> int: ... def setMinorTickCount(self, count: int) -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def tickCountChanged(self, tickCount: int) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, max: float) -> None: ... - def minChanged(self, min: float) -> None: ... + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def applyNiceNumbers(self) -> None: ... def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... @@ -714,11 +702,10 @@ class QCategoryAxis('QValueAxis'): AxisLabelsPositionOnValue = ... # type: QCategoryAxis.AxisLabelsPosition def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def labelsPositionChanged(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... + labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelsPosition(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... def labelsPosition(self) -> 'QCategoryAxis.AxisLabelsPosition': ... - def categoriesChanged(self) -> None: ... + categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] def __len__(self) -> int: ... def count(self) -> int: ... def categoriesLabels(self) -> typing.List[str]: ... @@ -792,7 +779,7 @@ class QChart(QtWidgets.QGraphicsWidget): def setAnimationEasingCurve(self, curve: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def animationDuration(self) -> int: ... def setAnimationDuration(self, msecs: int) -> None: ... - def plotAreaChanged(self, plotArea: QtCore.QRectF) -> None: ... + plotAreaChanged: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def localizeNumbers(self) -> bool: ... @@ -899,12 +886,11 @@ class QChartView(QtWidgets.QGraphicsView): class QDateTimeAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def tickCountChanged(self, tick: int) -> None: ... - def formatChanged(self, format: str) -> None: ... - def rangeChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime], max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def maxChanged(self, max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def minChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def tickCount(self) -> int: ... def setTickCount(self, count: int) -> None: ... def format(self) -> str: ... @@ -919,13 +905,12 @@ class QDateTimeAxis('QAbstractAxis'): class QHBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def lastBarSetRowChanged(self) -> None: ... - def firstBarSetRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -942,13 +927,12 @@ class QHBarModelMapper(QtCore.QObject): class QHBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def lastBoxSetRowChanged(self) -> None: ... - def firstBoxSetRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, rowCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -965,14 +949,13 @@ class QHBoxPlotModelMapper(QtCore.QObject): class QHCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def lastSetRowChanged(self) -> None: ... - def firstSetRowChanged(self) -> None: ... - def closeColumnChanged(self) -> None: ... - def lowColumnChanged(self) -> None: ... - def highColumnChanged(self) -> None: ... - def openColumnChanged(self) -> None: ... - def timestampColumnChanged(self) -> None: ... + lastSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + closeColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lowColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + highColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + openColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampColumnChanged: typing.ClassVar[QtCore.pyqtSignal] def lastSetRow(self) -> int: ... def setLastSetRow(self, lastSetRow: int) -> None: ... def firstSetRow(self) -> int: ... @@ -1010,13 +993,12 @@ class QHorizontalStackedBarSeries('QAbstractBarSeries'): class QHPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def labelsRowChanged(self) -> None: ... - def valuesRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsRowChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1033,13 +1015,12 @@ class QHPieModelMapper(QtCore.QObject): class QHXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def yRowChanged(self) -> None: ... - def xRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + yRowChanged: typing.ClassVar[QtCore.pyqtSignal] + xRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1065,23 +1046,22 @@ class QLegend(QtWidgets.QGraphicsWidget): MarkerShapeRectangle = ... # type: QLegend.MarkerShape MarkerShapeCircle = ... # type: QLegend.MarkerShape MarkerShapeFromSeries = ... # type: QLegend.MarkerShape - - def markerShapeChanged(self, shape: 'QLegend.MarkerShape') -> None: ... + markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] def setMarkerShape(self, shape: 'QLegend.MarkerShape') -> None: ... def markerShape(self) -> 'QLegend.MarkerShape': ... - def showToolTipsChanged(self, showToolTips: bool) -> None: ... + showToolTipsChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowToolTips(self, show: bool) -> None: ... def showToolTips(self) -> bool: ... - def reverseMarkersChanged(self, reverseMarkers: bool) -> None: ... + reverseMarkersChanged: typing.ClassVar[QtCore.pyqtSignal] def setReverseMarkers(self, reverseMarkers: bool = ...) -> None: ... def reverseMarkers(self) -> bool: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def hideEvent(self, event: QtGui.QHideEvent) -> None: ... - def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def backgroundVisibleChanged(self, visible: bool) -> None: ... + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] def markers(self, series: typing.Optional['QAbstractSeries'] = ...) -> typing.List['QLegendMarker']: ... def labelColor(self) -> QtGui.QColor: ... def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -1107,21 +1087,20 @@ class QLegend(QtWidgets.QGraphicsWidget): def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... class QXYSeries('QAbstractSeries'): - - def penChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointsRemoved(self, index: int, count: int) -> None: ... - def pointLabelsClippingChanged(self, clipping: bool) -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + pointsRemoved: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... def pointsVector(self) -> typing.List[QtCore.QPointF]: ... def removePoints(self, index: int, count: int) -> None: ... - def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... - def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... - def pointLabelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -1130,13 +1109,13 @@ class QXYSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... - def pointsReplaced(self) -> None: ... - def pointAdded(self, index: int) -> None: ... - def pointRemoved(self, index: int) -> None: ... - def pointReplaced(self, index: int) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + hovered: typing.ClassVar[QtCore.pyqtSignal] + pointsReplaced: typing.ClassVar[QtCore.pyqtSignal] + pointAdded: typing.ClassVar[QtCore.pyqtSignal] + pointRemoved: typing.ClassVar[QtCore.pyqtSignal] + pointReplaced: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def at(self, index: int) -> QtCore.QPointF: ... def pointsVisible(self) -> bool: ... def setPointsVisible(self, visible: bool = ...) -> None: ... @@ -1182,17 +1161,16 @@ class QLineSeries('QXYSeries'): class QLogValueAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def minorTickCountChanged(self, minorTickCount: int) -> None: ... - def tickCountChanged(self, tickCount: int) -> None: ... + minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] def minorTickCount(self) -> int: ... def setMinorTickCount(self, minorTickCount: int) -> None: ... def tickCount(self) -> int: ... - def baseChanged(self, base: float) -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, max: float) -> None: ... - def minChanged(self, min: float) -> None: ... + baseChanged: typing.ClassVar[QtCore.pyqtSignal] + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def base(self) -> float: ... def setBase(self, base: float) -> None: ... def labelFormat(self) -> str: ... @@ -1221,20 +1199,19 @@ class QPieLegendMarker('QLegendMarker'): class QPieSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def doubleClicked(self, slice: 'QPieSlice') -> None: ... - def released(self, slice: 'QPieSlice') -> None: ... - def pressed(self, slice: 'QPieSlice') -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] def setLabelsPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def holeSize(self) -> float: ... def setHoleSize(self, holeSize: float) -> None: ... def take(self, slice: 'QPieSlice') -> bool: ... - def sumChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, slice: 'QPieSlice', state: bool) -> None: ... - def clicked(self, slice: 'QPieSlice') -> None: ... - def removed(self, slices: typing.Iterable['QPieSlice']) -> None: ... - def added(self, slices: typing.Iterable['QPieSlice']) -> None: ... + sumChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + removed: typing.ClassVar[QtCore.pyqtSignal] + added: typing.ClassVar[QtCore.pyqtSignal] def setLabelsVisible(self, visible: bool = ...) -> None: ... def pieEndAngle(self) -> float: ... def setPieEndAngle(self, endAngle: float) -> None: ... @@ -1279,26 +1256,25 @@ class QPieSlice(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, label: str, value: float, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def hovered(self, state: bool) -> None: ... - def clicked(self) -> None: ... - def labelColorChanged(self) -> None: ... - def borderWidthChanged(self) -> None: ... - def borderColorChanged(self) -> None: ... - def colorChanged(self) -> None: ... - def angleSpanChanged(self) -> None: ... - def startAngleChanged(self) -> None: ... - def percentageChanged(self) -> None: ... - def labelFontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def labelVisibleChanged(self) -> None: ... - def valueChanged(self) -> None: ... - def labelChanged(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + angleSpanChanged: typing.ClassVar[QtCore.pyqtSignal] + startAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + percentageChanged: typing.ClassVar[QtCore.pyqtSignal] + labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + labelVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def labelPosition(self) -> 'QPieSlice.LabelPosition': ... def series(self) -> 'QPieSeries': ... @@ -1375,11 +1351,10 @@ class QScatterSeries('QXYSeries'): MarkerShapeRectangle = ... # type: QScatterSeries.MarkerShape def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def markerSizeChanged(self, size: float) -> None: ... - def markerShapeChanged(self, shape: 'QScatterSeries.MarkerShape') -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + markerSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -1408,13 +1383,12 @@ class QStackedBarSeries('QAbstractBarSeries'): class QVBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def lastBarSetColumnChanged(self) -> None: ... - def firstBarSetColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1431,13 +1405,12 @@ class QVBarModelMapper(QtCore.QObject): class QVBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def lastBoxSetColumnChanged(self) -> None: ... - def firstBoxSetColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1454,14 +1427,13 @@ class QVBoxPlotModelMapper(QtCore.QObject): class QVCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def lastSetColumnChanged(self) -> None: ... - def firstSetColumnChanged(self) -> None: ... - def closeRowChanged(self) -> None: ... - def lowRowChanged(self) -> None: ... - def highRowChanged(self) -> None: ... - def openRowChanged(self) -> None: ... - def timestampRowChanged(self) -> None: ... + lastSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + closeRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lowRowChanged: typing.ClassVar[QtCore.pyqtSignal] + highRowChanged: typing.ClassVar[QtCore.pyqtSignal] + openRowChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampRowChanged: typing.ClassVar[QtCore.pyqtSignal] def lastSetColumn(self) -> int: ... def setLastSetColumn(self, lastSetColumn: int) -> None: ... def firstSetColumn(self) -> int: ... @@ -1481,13 +1453,12 @@ class QVCandlestickModelMapper('QCandlestickModelMapper'): class QVPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def labelsColumnChanged(self) -> None: ... - def valuesColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1504,13 +1475,12 @@ class QVPieModelMapper(QtCore.QObject): class QVXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def yColumnChanged(self) -> None: ... - def xColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + yColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + xColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... diff --git a/PyQt5-stubs/QtCore.pyi b/PyQt5-stubs/QtCore.pyi index e430ea9a..8b89b18a 100644 --- a/PyQt5-stubs/QtCore.pyi +++ b/PyQt5-stubs/QtCore.pyi @@ -3135,10 +3135,10 @@ class QAbstractAnimation(QObject): def resume(self) -> None: ... def pause(self) -> None: ... def start(self, policy: 'QAbstractAnimation.DeletionPolicy' = ...) -> None: ... - def directionChanged(self, a0: 'QAbstractAnimation.Direction') -> None: ... - def currentLoopChanged(self, currentLoop: int) -> None: ... - def stateChanged(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ... - def finished(self) -> None: ... + directionChanged: typing.ClassVar[QtCore.pyqtSignal] + currentLoopChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def totalDuration(self) -> int: ... def duration(self) -> int: ... def currentLoop(self) -> int: ... @@ -3166,9 +3166,8 @@ class QAbstractEventDispatcher(QObject): def __init__(self, a0: 'QAbstractEventDispatcher.TimerInfo') -> None: ... def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - - def awake(self) -> None: ... - def aboutToBlock(self) -> None: ... + awake: typing.ClassVar[QtCore.pyqtSignal] + aboutToBlock: typing.ClassVar[QtCore.pyqtSignal] def filterNativeEvent(self, eventType: typing.Union['QByteArray', bytes, bytearray], message: sip.voidptr) -> typing.Tuple[bool, int]: ... def removeNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... def installNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... @@ -3292,10 +3291,10 @@ class QAbstractItemModel(QObject): def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ... def endMoveRows(self) -> None: ... def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ... - def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... - def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... - def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... - def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... + columnsMoved: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] + rowsMoved: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ... def roleNames(self) -> typing.Dict[int, 'QByteArray']: ... def supportedDragActions(self) -> Qt.DropActions: ... @@ -3318,19 +3317,19 @@ class QAbstractItemModel(QObject): def encodeData(self, indexes: typing.Iterable[QModelIndex], stream: 'QDataStream') -> None: ... def revert(self) -> None: ... def submit(self) -> bool: ... - def modelReset(self) -> None: ... - def modelAboutToBeReset(self) -> None: ... - def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def layoutChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... - def layoutAboutToBeChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... - def headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) -> None: ... + modelReset: typing.ClassVar[QtCore.pyqtSignal] + modelAboutToBeReset: typing.ClassVar[QtCore.pyqtSignal] + columnsRemoved: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + columnsInserted: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + layoutChanged: typing.ClassVar[QtCore.pyqtSignal] + layoutAboutToBeChanged: typing.ClassVar[QtCore.pyqtSignal] + headerDataChanged: typing.ClassVar[QtCore.pyqtSignal] dataChanged: typing.ClassVar[pyqtSignal] def span(self, index: QModelIndex) -> 'QSize': ... def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... @@ -3401,7 +3400,7 @@ class QAbstractProxyModel(QAbstractItemModel): def supportedDragActions(self) -> Qt.DropActions: ... def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... - def sourceModelChanged(self) -> None: ... + sourceModelChanged: typing.ClassVar[QtCore.pyqtSignal] def resetInternalData(self) -> None: ... def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... def supportedDropActions(self) -> Qt.DropActions: ... @@ -3437,9 +3436,9 @@ class QAbstractState(QObject): def event(self, e: 'QEvent') -> bool: ... def onExit(self, event: 'QEvent') -> None: ... def onEntry(self, event: 'QEvent') -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def activeChanged(self, active: bool) -> None: ... + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def active(self) -> bool: ... def machine(self) -> 'QStateMachine': ... def parentState(self) -> 'QState': ... @@ -3461,9 +3460,9 @@ class QAbstractTransition(QObject): def event(self, e: 'QEvent') -> bool: ... def onTransition(self, event: 'QEvent') -> None: ... def eventTest(self, event: 'QEvent') -> bool: ... - def targetStatesChanged(self) -> None: ... - def targetStateChanged(self) -> None: ... - def triggered(self) -> None: ... + targetStatesChanged: typing.ClassVar[QtCore.pyqtSignal] + targetStateChanged: typing.ClassVar[QtCore.pyqtSignal] + triggered: typing.ClassVar[QtCore.pyqtSignal] def animations(self) -> typing.List[QAbstractAnimation]: ... def removeAnimation(self, animation: QAbstractAnimation) -> None: ... def addAnimation(self, animation: QAbstractAnimation) -> None: ... @@ -3604,8 +3603,8 @@ class QIODevice(QObject): def __init__(self, parent: QObject) -> None: ... def skip(self, maxSize: int) -> int: ... - def channelBytesWritten(self, channel: int, bytes: int) -> None: ... - def channelReadyRead(self, channel: int) -> None: ... + channelBytesWritten: typing.ClassVar[QtCore.pyqtSignal] + channelReadyRead: typing.ClassVar[QtCore.pyqtSignal] def isTransactionStarted(self) -> bool: ... def rollbackTransaction(self) -> None: ... def commitTransaction(self) -> None: ... @@ -3621,10 +3620,10 @@ class QIODevice(QObject): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def readChannelFinished(self) -> None: ... - def aboutToClose(self) -> None: ... - def bytesWritten(self, bytes: int) -> None: ... - def readyRead(self) -> None: ... + readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] + aboutToClose: typing.ClassVar[QtCore.pyqtSignal] + bytesWritten: typing.ClassVar[QtCore.pyqtSignal] + readyRead: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... def getChar(self) -> typing.Tuple[bool, bytes]: ... def putChar(self, c: str) -> bool: ... @@ -6073,9 +6072,8 @@ class QFileSystemWatcher(QObject): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... @typing.overload def __init__(self, paths: typing.Iterable[str], parent: typing.Optional[QObject] = ...) -> None: ... - - def fileChanged(self, path: str) -> None: ... - def directoryChanged(self, path: str) -> None: ... + fileChanged: typing.ClassVar[QtCore.pyqtSignal] + directoryChanged: typing.ClassVar[QtCore.pyqtSignal] def removePaths(self, files: typing.Iterable[str]) -> typing.List[str]: ... def removePath(self, file: str) -> bool: ... def files(self) -> typing.List[str]: ... @@ -6106,12 +6104,11 @@ class QHistoryState(QAbstractState): def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, type: 'QHistoryState.HistoryType', parent: typing.Optional['QState'] = ...) -> None: ... - - def defaultTransitionChanged(self) -> None: ... + defaultTransitionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDefaultTransition(self, transition: QAbstractTransition) -> None: ... def defaultTransition(self) -> QAbstractTransition: ... - def historyTypeChanged(self) -> None: ... - def defaultStateChanged(self) -> None: ... + historyTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + defaultStateChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... @@ -6226,16 +6223,15 @@ class QItemSelectionModel(QObject): def __init__(self, model: typing.Optional[QAbstractItemModel] = ...) -> None: ... @typing.overload def __init__(self, model: QAbstractItemModel, parent: QObject) -> None: ... - - def modelChanged(self, model: QAbstractItemModel) -> None: ... + modelChanged: typing.ClassVar[QtCore.pyqtSignal] def setModel(self, model: QAbstractItemModel) -> None: ... def selectedColumns(self, row: int = ...) -> typing.List[QModelIndex]: ... def selectedRows(self, column: int = ...) -> typing.List[QModelIndex]: ... def hasSelection(self) -> bool: ... def emitSelectionChanged(self, newSelection: 'QItemSelection', oldSelection: 'QItemSelection') -> None: ... - def currentColumnChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... - def currentRowChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... - def currentChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + currentColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + currentRowChanged: typing.ClassVar[QtCore.pyqtSignal] + currentChanged: typing.ClassVar[QtCore.pyqtSignal] selectionChanged: typing.ClassVar[pyqtSignal] def clearCurrentIndex(self) -> None: ... def setCurrentIndex(self, index: QModelIndex, command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... @@ -9302,7 +9298,7 @@ class QVariantAnimation(QAbstractAnimation): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - def valueChanged(self, value: typing.Any) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setEasingCurve(self, easing: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def setDuration(self, msecs: int) -> None: ... @@ -9540,10 +9536,7 @@ class QProcess(QIODevice): def waitForStarted(self, msecs: int = ...) -> bool: ... def pid(self) -> int: ... def state(self) -> 'QProcess.ProcessState': ... - @typing.overload - def error(self) -> 'QProcess.ProcessError': ... - @typing.overload - def error(self, error: 'QProcess.ProcessError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def setWorkingDirectory(self, dir: str) -> None: ... def workingDirectory(self) -> str: ... def closeWriteChannel(self) -> None: ... @@ -10166,7 +10159,7 @@ class QSequentialAnimationGroup(QAnimationGroup): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - def currentAnimationChanged(self, current: QAbstractAnimation) -> None: ... + currentAnimationChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> int: ... def currentAnimation(self) -> QAbstractAnimation: ... def insertPause(self, index: int, msecs: int) -> QPauseAnimation: ... @@ -10314,10 +10307,10 @@ class QSignalMapper(QObject): def map(self) -> None: ... @typing.overload def map(self, sender: QObject) -> None: ... - def mappedObject(self, a0: QObject) -> None: ... - def mappedWidget(self, a0: QtWidgets.QWidget) -> None: ... - def mappedString(self, a0: str) -> None: ... - def mappedInt(self, a0: int) -> None: ... + mappedObject: typing.ClassVar[QtCore.pyqtSignal] + mappedWidget: typing.ClassVar[QtCore.pyqtSignal] + mappedString: typing.ClassVar[QtCore.pyqtSignal] + mappedInt: typing.ClassVar[QtCore.pyqtSignal] mapped: typing.ClassVar[pyqtSignal] @typing.overload def mapping(self, id: int) -> QObject: ... @@ -10344,9 +10337,8 @@ class QSignalTransition(QAbstractTransition): def __init__(self, sourceState: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, signal: pyqtBoundSignal, sourceState: typing.Optional['QState'] = ...) -> None: ... - - def signalChanged(self) -> None: ... - def senderObjectChanged(self) -> None: ... + signalChanged: typing.ClassVar[QtCore.pyqtSignal] + senderObjectChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onTransition(self, event: QEvent) -> None: ... def eventTest(self, event: QEvent) -> bool: ... @@ -10441,7 +10433,7 @@ class QSocketNotifier(QObject): def __init__(self, socket: sip.voidptr, a1: 'QSocketNotifier.Type', parent: typing.Optional[QObject] = ...) -> None: ... def event(self, a0: QEvent) -> bool: ... - def activated(self, socket: int) -> None: ... + activated: typing.ClassVar[QtCore.pyqtSignal] def setEnabled(self, a0: bool) -> None: ... def isEnabled(self) -> bool: ... def type(self) -> 'QSocketNotifier.Type': ... @@ -10451,14 +10443,13 @@ class QSocketNotifier(QObject): class QSortFilterProxyModel(QAbstractProxyModel): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - - def recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) -> None: ... - def filterRoleChanged(self, filterRole: int) -> None: ... - def sortRoleChanged(self, sortRole: int) -> None: ... - def sortLocaleAwareChanged(self, sortLocaleAware: bool) -> None: ... - def sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) -> None: ... - def filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) -> None: ... - def dynamicSortFilterChanged(self, dynamicSortFilter: bool) -> None: ... + recursiveFilteringEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + filterRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + sortRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + sortLocaleAwareChanged: typing.ClassVar[QtCore.pyqtSignal] + sortCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + filterCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + dynamicSortFilterChanged: typing.ClassVar[QtCore.pyqtSignal] def invalidateFilter(self) -> None: ... def setRecursiveFilteringEnabled(self, recursive: bool) -> None: ... def isRecursiveFilteringEnabled(self) -> bool: ... @@ -10636,15 +10627,14 @@ class QState(QAbstractState): def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, childMode: 'QState.ChildMode', parent: typing.Optional['QState'] = ...) -> None: ... - - def errorStateChanged(self) -> None: ... - def initialStateChanged(self) -> None: ... - def childModeChanged(self) -> None: ... + errorStateChanged: typing.ClassVar[QtCore.pyqtSignal] + initialStateChanged: typing.ClassVar[QtCore.pyqtSignal] + childModeChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - def propertiesAssigned(self) -> None: ... - def finished(self) -> None: ... + propertiesAssigned: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def assignProperty(self, object: QObject, name: str, value: typing.Any) -> None: ... def setChildMode(self, mode: 'QState.ChildMode') -> None: ... def childMode(self) -> 'QState.ChildMode': ... @@ -10703,9 +10693,9 @@ class QStateMachine(QState): def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - def runningChanged(self, running: bool) -> None: ... - def stopped(self) -> None: ... - def started(self) -> None: ... + runningChanged: typing.ClassVar[QtCore.pyqtSignal] + stopped: typing.ClassVar[QtCore.pyqtSignal] + started: typing.ClassVar[QtCore.pyqtSignal] def setRunning(self, running: bool) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... @@ -11273,10 +11263,10 @@ class QTimeLine(QObject): def setEasingCurve(self, curve: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def timerEvent(self, event: QTimerEvent) -> None: ... - def valueChanged(self, x: float) -> None: ... - def stateChanged(self, newState: 'QTimeLine.State') -> None: ... - def frameChanged(self, a0: int) -> None: ... - def finished(self) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + frameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def toggleDirection(self) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... diff --git a/PyQt5-stubs/QtDBus.pyi b/PyQt5-stubs/QtDBus.pyi index ac26141b..c84f0755 100644 --- a/PyQt5-stubs/QtDBus.pyi +++ b/PyQt5-stubs/QtDBus.pyi @@ -282,10 +282,10 @@ class QDBusConnectionInterface(QDBusAbstractInterface): def disconnectNotify(self, a0: QtCore.QMetaMethod) -> None: ... def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... - def callWithCallbackFailed(self, error: 'QDBusError', call: 'QDBusMessage') -> None: ... - def serviceOwnerChanged(self, name: str, oldOwner: str, newOwner: str) -> None: ... - def serviceUnregistered(self, service: str) -> None: ... - def serviceRegistered(self, service: str) -> None: ... + callWithCallbackFailed: typing.ClassVar[QtCore.pyqtSignal] + serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] + serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] + serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] def startService(self, name: str) -> QDBusReply: ... def serviceUid(self, serviceName: str) -> QDBusReply: ... def servicePid(self, serviceName: str) -> QDBusReply: ... @@ -497,8 +497,7 @@ class QDBusPendingCall(sip.simplewrapper): class QDBusPendingCallWatcher(QtCore.QObject, QDBusPendingCall): def __init__(self, call: QDBusPendingCall, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def finished(self, watcher: typing.Optional['QDBusPendingCallWatcher'] = ...) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def waitForFinished(self) -> None: ... def isFinished(self) -> bool: ... @@ -533,10 +532,9 @@ class QDBusServiceWatcher(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, service: str, connection: QDBusConnection, watchMode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag'] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def serviceOwnerChanged(self, service: str, oldOwner: str, newOwner: str) -> None: ... - def serviceUnregistered(self, service: str) -> None: ... - def serviceRegistered(self, service: str) -> None: ... + serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] + serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] + serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] def setConnection(self, connection: QDBusConnection) -> None: ... def connection(self) -> QDBusConnection: ... def setWatchMode(self, mode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag']) -> None: ... diff --git a/PyQt5-stubs/QtDataVisualization.pyi b/PyQt5-stubs/QtDataVisualization.pyi index b4c86933..fcf79057 100644 --- a/PyQt5-stubs/QtDataVisualization.pyi +++ b/PyQt5-stubs/QtDataVisualization.pyi @@ -134,14 +134,14 @@ class QAbstract3DGraph(QtGui.QWindow): def __int__(self) -> int: ... def hasContext(self) -> bool: ... - def marginChanged(self, margin: float) -> None: ... - def queriedGraphPositionChanged(self, data: QtGui.QVector3D) -> None: ... - def localeChanged(self, locale: QtCore.QLocale) -> None: ... - def reflectivityChanged(self, reflectivity: float) -> None: ... - def reflectionChanged(self, enabled: bool) -> None: ... - def horizontalAspectRatioChanged(self, ratio: float) -> None: ... - def radialLabelOffsetChanged(self, offset: float) -> None: ... - def polarChanged(self, enabled: bool) -> None: ... + marginChanged: typing.ClassVar[QtCore.pyqtSignal] + queriedGraphPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + localeChanged: typing.ClassVar[QtCore.pyqtSignal] + reflectivityChanged: typing.ClassVar[QtCore.pyqtSignal] + reflectionChanged: typing.ClassVar[QtCore.pyqtSignal] + horizontalAspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + radialLabelOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + polarChanged: typing.ClassVar[QtCore.pyqtSignal] def margin(self) -> float: ... def setMargin(self, margin: float) -> None: ... def queriedGraphPosition(self) -> QtGui.QVector3D: ... @@ -158,12 +158,12 @@ class QAbstract3DGraph(QtGui.QWindow): def isPolar(self) -> bool: ... def setPolar(self, enable: bool) -> None: ... def customItems(self) -> typing.List['QCustom3DItem']: ... - def optimizationHintsChanged(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... - def aspectRatioChanged(self, ratio: float) -> None: ... - def orthoProjectionChanged(self, enabled: bool) -> None: ... - def currentFpsChanged(self, fps: float) -> None: ... - def measureFpsChanged(self, enabled: bool) -> None: ... - def selectedElementChanged(self, type: 'QAbstract3DGraph.ElementType') -> None: ... + optimizationHintsChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + orthoProjectionChanged: typing.ClassVar[QtCore.pyqtSignal] + currentFpsChanged: typing.ClassVar[QtCore.pyqtSignal] + measureFpsChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedElementChanged: typing.ClassVar[QtCore.pyqtSignal] def optimizationHints(self) -> 'QAbstract3DGraph.OptimizationHints': ... def setOptimizationHints(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... def aspectRatio(self) -> float: ... @@ -193,10 +193,10 @@ class QAbstract3DGraph(QtGui.QWindow): def exposeEvent(self, event: QtGui.QExposeEvent) -> None: ... def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - def shadowQualityChanged(self, quality: 'QAbstract3DGraph.ShadowQuality') -> None: ... - def selectionModeChanged(self, mode: typing.Union['QAbstract3DGraph.SelectionFlags', 'QAbstract3DGraph.SelectionFlag']) -> None: ... - def activeThemeChanged(self, theme: 'Q3DTheme') -> None: ... - def activeInputHandlerChanged(self, inputHandler: 'QAbstract3DInputHandler') -> None: ... + shadowQualityChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionModeChanged: typing.ClassVar[QtCore.pyqtSignal] + activeThemeChanged: typing.ClassVar[QtCore.pyqtSignal] + activeInputHandlerChanged: typing.ClassVar[QtCore.pyqtSignal] def shadowsSupported(self) -> bool: ... def activeInputHandler(self) -> 'QAbstract3DInputHandler': ... def clearSelection(self) -> None: ... @@ -218,19 +218,18 @@ class QAbstract3DGraph(QtGui.QWindow): class Q3DBars('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - - def floorLevelChanged(self, level: float) -> None: ... + floorLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def floorLevel(self) -> float: ... def setFloorLevel(self, level: float) -> None: ... - def selectedSeriesChanged(self, series: 'QBar3DSeries') -> None: ... - def primarySeriesChanged(self, series: 'QBar3DSeries') -> None: ... - def valueAxisChanged(self, axis: 'QValue3DAxis') -> None: ... - def columnAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... - def rowAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... - def barSpacingRelativeChanged(self, relative: bool) -> None: ... - def barSpacingChanged(self, spacing: QtCore.QSizeF) -> None: ... - def barThicknessChanged(self, thicknessRatio: float) -> None: ... - def multiSeriesUniformChanged(self, uniform: bool) -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + primarySeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + valueAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + columnAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + rowAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + barSpacingRelativeChanged: typing.ClassVar[QtCore.pyqtSignal] + barSpacingChanged: typing.ClassVar[QtCore.pyqtSignal] + barThicknessChanged: typing.ClassVar[QtCore.pyqtSignal] + multiSeriesUniformChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QBar3DSeries': ... def axes(self) -> typing.List['QAbstract3DAxis']: ... def releaseAxis(self, axis: 'QAbstract3DAxis') -> None: ... @@ -262,7 +261,7 @@ class Q3DObject(QtCore.QObject): def isDirty(self) -> bool: ... def setDirty(self, dirty: bool) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... + positionChanged: typing.ClassVar[QtCore.pyqtSignal] def setPosition(self, position: QtGui.QVector3D) -> None: ... def position(self) -> QtGui.QVector3D: ... def parentScene(self) -> 'Q3DScene': ... @@ -324,22 +323,21 @@ class Q3DCamera('Q3DObject'): CameraPresetDirectlyBelow = ... # type: Q3DCamera.CameraPreset def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def targetChanged(self, target: QtGui.QVector3D) -> None: ... - def maxZoomLevelChanged(self, zoomLevel: float) -> None: ... - def minZoomLevelChanged(self, zoomLevel: float) -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + maxZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + minZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def setTarget(self, target: QtGui.QVector3D) -> None: ... def target(self) -> QtGui.QVector3D: ... def setMaxZoomLevel(self, zoomLevel: float) -> None: ... def maxZoomLevel(self) -> float: ... def setMinZoomLevel(self, zoomLevel: float) -> None: ... def minZoomLevel(self) -> float: ... - def wrapYRotationChanged(self, isEnabled: bool) -> None: ... - def wrapXRotationChanged(self, isEnabled: bool) -> None: ... - def cameraPresetChanged(self, preset: 'Q3DCamera.CameraPreset') -> None: ... - def zoomLevelChanged(self, zoomLevel: float) -> None: ... - def yRotationChanged(self, rotation: float) -> None: ... - def xRotationChanged(self, rotation: float) -> None: ... + wrapYRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + wrapXRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraPresetChanged: typing.ClassVar[QtCore.pyqtSignal] + zoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + yRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + xRotationChanged: typing.ClassVar[QtCore.pyqtSignal] def setZoomLevel(self, zoomLevel: float) -> None: ... def zoomLevel(self) -> float: ... def setCameraPosition(self, horizontal: float, vertical: float, zoom: float = ...) -> None: ... @@ -372,9 +370,9 @@ class QAbstract3DInputHandler(QtCore.QObject): def setPreviousInputPos(self, position: QtCore.QPoint) -> None: ... def prevDistance(self) -> int: ... def setPrevDistance(self, distance: int) -> None: ... - def sceneChanged(self, scene: 'Q3DScene') -> None: ... - def inputViewChanged(self, view: 'QAbstract3DInputHandler.InputView') -> None: ... - def positionChanged(self, position: QtCore.QPoint) -> None: ... + sceneChanged: typing.ClassVar[QtCore.pyqtSignal] + inputViewChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] def setScene(self, scene: 'Q3DScene') -> None: ... def scene(self) -> 'Q3DScene': ... def setInputPosition(self, position: QtCore.QPoint) -> None: ... @@ -391,11 +389,10 @@ class QAbstract3DInputHandler(QtCore.QObject): class Q3DInputHandler('QAbstract3DInputHandler'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def zoomAtTargetEnabledChanged(self, enable: bool) -> None: ... - def selectionEnabledChanged(self, enable: bool) -> None: ... - def zoomEnabledChanged(self, enable: bool) -> None: ... - def rotationEnabledChanged(self, enable: bool) -> None: ... + zoomAtTargetEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + zoomEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def isZoomAtTargetEnabled(self) -> bool: ... def setZoomAtTargetEnabled(self, enable: bool) -> None: ... def isSelectionEnabled(self) -> bool: ... @@ -412,19 +409,17 @@ class Q3DInputHandler('QAbstract3DInputHandler'): class Q3DLight('Q3DObject'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def autoPositionChanged(self, autoPosition: bool) -> None: ... + autoPositionChanged: typing.ClassVar[QtCore.pyqtSignal] def isAutoPosition(self) -> bool: ... def setAutoPosition(self, enabled: bool) -> None: ... class Q3DScatter('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - - def selectedSeriesChanged(self, series: 'QScatter3DSeries') -> None: ... - def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + axisZChanged: typing.ClassVar[QtCore.pyqtSignal] + axisYChanged: typing.ClassVar[QtCore.pyqtSignal] + axisXChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QScatter3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -442,19 +437,18 @@ class Q3DScatter('QAbstract3DGraph'): class Q3DScene(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def graphPositionQueryChanged(self, position: QtCore.QPoint) -> None: ... + graphPositionQueryChanged: typing.ClassVar[QtCore.pyqtSignal] def graphPositionQuery(self) -> QtCore.QPoint: ... def setGraphPositionQuery(self, point: QtCore.QPoint) -> None: ... - def selectionQueryPositionChanged(self, position: QtCore.QPoint) -> None: ... - def devicePixelRatioChanged(self, pixelRatio: float) -> None: ... - def activeLightChanged(self, light: 'Q3DLight') -> None: ... - def activeCameraChanged(self, camera: 'Q3DCamera') -> None: ... - def slicingActiveChanged(self, isSlicingActive: bool) -> None: ... - def secondarySubviewOnTopChanged(self, isSecondaryOnTop: bool) -> None: ... - def secondarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... - def primarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... - def viewportChanged(self, viewport: QtCore.QRect) -> None: ... + selectionQueryPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + devicePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + activeLightChanged: typing.ClassVar[QtCore.pyqtSignal] + activeCameraChanged: typing.ClassVar[QtCore.pyqtSignal] + slicingActiveChanged: typing.ClassVar[QtCore.pyqtSignal] + secondarySubviewOnTopChanged: typing.ClassVar[QtCore.pyqtSignal] + secondarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] + primarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] + viewportChanged: typing.ClassVar[QtCore.pyqtSignal] def setDevicePixelRatio(self, pixelRatio: float) -> None: ... def devicePixelRatio(self) -> float: ... def setActiveLight(self, light: 'Q3DLight') -> None: ... @@ -480,14 +474,13 @@ class Q3DScene(QtCore.QObject): class Q3DSurface('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - - def flipHorizontalGridChanged(self, flip: bool) -> None: ... + flipHorizontalGridChanged: typing.ClassVar[QtCore.pyqtSignal] def flipHorizontalGrid(self) -> bool: ... def setFlipHorizontalGrid(self, flip: bool) -> None: ... - def selectedSeriesChanged(self, series: 'QSurface3DSeries') -> None: ... - def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + axisZChanged: typing.ClassVar[QtCore.pyqtSignal] + axisYChanged: typing.ClassVar[QtCore.pyqtSignal] + axisXChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QSurface3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -538,29 +531,28 @@ class Q3DTheme(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, themeType: 'Q3DTheme.Theme', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... - def labelBackgroundEnabledChanged(self, enabled: bool) -> None: ... - def gridEnabledChanged(self, enabled: bool) -> None: ... - def backgroundEnabledChanged(self, enabled: bool) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def labelBorderEnabledChanged(self, enabled: bool) -> None: ... - def highlightLightStrengthChanged(self, strength: float) -> None: ... - def ambientLightStrengthChanged(self, strength: float) -> None: ... - def lightStrengthChanged(self, strength: float) -> None: ... - def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def baseGradientsChanged(self, gradients: typing.Iterable[QtGui.QLinearGradient]) -> None: ... - def lightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def labelBackgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def labelTextColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def windowColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def baseColorsChanged(self, colors: typing.Iterable[typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]]) -> None: ... - def typeChanged(self, themeType: 'Q3DTheme.Theme') -> None: ... + colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBackgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + gridEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBorderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + highlightLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + lightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + baseGradientsChanged: typing.ClassVar[QtCore.pyqtSignal] + lightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBackgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + labelTextColorChanged: typing.ClassVar[QtCore.pyqtSignal] + windowColorChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorsChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] def colorStyle(self) -> 'Q3DTheme.ColorStyle': ... def setColorStyle(self, style: 'Q3DTheme.ColorStyle') -> None: ... def isLabelBackgroundEnabled(self) -> bool: ... @@ -627,23 +619,22 @@ class QAbstract3DAxis(QtCore.QObject): AxisOrientationX = ... # type: QAbstract3DAxis.AxisOrientation AxisOrientationY = ... # type: QAbstract3DAxis.AxisOrientation AxisOrientationZ = ... # type: QAbstract3DAxis.AxisOrientation - - def titleFixedChanged(self, fixed: bool) -> None: ... - def titleVisibilityChanged(self, visible: bool) -> None: ... - def labelAutoRotationChanged(self, angle: float) -> None: ... + titleFixedChanged: typing.ClassVar[QtCore.pyqtSignal] + titleVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + labelAutoRotationChanged: typing.ClassVar[QtCore.pyqtSignal] def isTitleFixed(self) -> bool: ... def setTitleFixed(self, fixed: bool) -> None: ... def isTitleVisible(self) -> bool: ... def setTitleVisible(self, visible: bool) -> None: ... def labelAutoRotation(self) -> float: ... def setLabelAutoRotation(self, angle: float) -> None: ... - def autoAdjustRangeChanged(self, autoAdjust: bool) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, value: float) -> None: ... - def minChanged(self, value: float) -> None: ... - def orientationChanged(self, orientation: 'QAbstract3DAxis.AxisOrientation') -> None: ... - def labelsChanged(self) -> None: ... - def titleChanged(self, newTitle: str) -> None: ... + autoAdjustRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] + orientationChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] def setTitle(self, title: str) -> None: ... def setRange(self, min: float, max: float) -> None: ... def isAutoAdjustRange(self) -> bool: ... @@ -697,26 +688,25 @@ class QAbstract3DSeries(QtCore.QObject): SeriesTypeBar = ... # type: QAbstract3DSeries.SeriesType SeriesTypeScatter = ... # type: QAbstract3DSeries.SeriesType SeriesTypeSurface = ... # type: QAbstract3DSeries.SeriesType - - def itemLabelVisibilityChanged(self, visible: bool) -> None: ... - def itemLabelChanged(self, label: str) -> None: ... + itemLabelVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + itemLabelChanged: typing.ClassVar[QtCore.pyqtSignal] def isItemLabelVisible(self) -> bool: ... def setItemLabelVisible(self, visible: bool) -> None: ... def itemLabel(self) -> str: ... - def nameChanged(self, name: str) -> None: ... - def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def baseGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def baseColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... - def userDefinedMeshChanged(self, fileName: str) -> None: ... - def meshRotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def meshSmoothChanged(self, enabled: bool) -> None: ... - def meshChanged(self, mesh: 'QAbstract3DSeries.Mesh') -> None: ... - def visibilityChanged(self, visible: bool) -> None: ... - def itemLabelFormatChanged(self, format: str) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + baseGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] + userDefinedMeshChanged: typing.ClassVar[QtCore.pyqtSignal] + meshRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + meshSmoothChanged: typing.ClassVar[QtCore.pyqtSignal] + meshChanged: typing.ClassVar[QtCore.pyqtSignal] + visibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + itemLabelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def name(self) -> str: ... def setName(self, name: str) -> None: ... @@ -769,10 +759,9 @@ class QBar3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QBarDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def meshAngleChanged(self, angle: float) -> None: ... - def selectedBarChanged(self, position: QtCore.QPoint) -> None: ... - def dataProxyChanged(self, proxy: 'QBarDataProxy') -> None: ... + meshAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedBarChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def meshAngle(self) -> float: ... def setMeshAngle(self, angle: float) -> None: ... @staticmethod @@ -801,17 +790,16 @@ class QBarDataItem(sip.simplewrapper): class QBarDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def seriesChanged(self, series: 'QBar3DSeries') -> None: ... - def columnLabelsChanged(self) -> None: ... - def rowLabelsChanged(self) -> None: ... - def rowCountChanged(self, count: int) -> None: ... - def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... - def rowsInserted(self, startIndex: int, count: int) -> None: ... - def rowsRemoved(self, startIndex: int, count: int) -> None: ... - def rowsChanged(self, startIndex: int, count: int) -> None: ... - def rowsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QBar3DSeries': ... def removeRows(self, rowIndex: int, removeCount: int, removeLabels: bool = ...) -> None: ... @typing.overload @@ -863,8 +851,7 @@ class QBarDataProxy('QAbstractDataProxy'): class QCategory3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def labelsChanged(self) -> None: ... + labelsChanged: typing.ClassVar[QtCore.pyqtSignal] def labels(self) -> typing.List[str]: ... def setLabels(self, labels: typing.Iterable[str]) -> None: ... @@ -874,18 +861,17 @@ class QCustom3DItem(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, meshFile: str, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, texture: QtGui.QImage, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def scalingAbsoluteChanged(self, scalingAbsolute: bool) -> None: ... + scalingAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] def isScalingAbsolute(self) -> bool: ... def setScalingAbsolute(self, scalingAbsolute: bool) -> None: ... - def shadowCastingChanged(self, shadowCasting: bool) -> None: ... - def visibleChanged(self, visible: bool) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scalingChanged(self, scaling: QtGui.QVector3D) -> None: ... - def positionAbsoluteChanged(self, positionAbsolute: bool) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... - def textureFileChanged(self, textureFile: str) -> None: ... - def meshFileChanged(self, meshFile: str) -> None: ... + shadowCastingChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scalingChanged: typing.ClassVar[QtCore.pyqtSignal] + positionAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] + meshFileChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureImage(self, textureImage: QtGui.QImage) -> None: ... def setRotationAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def isShadowCasting(self) -> bool: ... @@ -911,14 +897,13 @@ class QCustom3DLabel('QCustom3DItem'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, text: str, font: QtGui.QFont, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def facingCameraChanged(self, enabled: bool) -> None: ... - def backgroundEnabledChanged(self, enabled: bool) -> None: ... - def borderEnabledChanged(self, enabled: bool) -> None: ... - def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def textColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + facingCameraChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + borderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + textColorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def isFacingCamera(self) -> bool: ... def setFacingCamera(self, enabled: bool) -> None: ... def isBackgroundEnabled(self) -> bool: ... @@ -940,25 +925,24 @@ class QCustom3DVolume('QCustom3DItem'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, textureWidth: int, textureHeight: int, textureDepth: int, textureData: sip.array[int], textureFormat: QtGui.QImage.Format, colorTable: typing.Iterable[int], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def sliceFrameThicknessesChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameGapsChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameWidthsChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def drawSliceFramesChanged(self, enabled: bool) -> None: ... - def drawSlicesChanged(self, enabled: bool) -> None: ... - def useHighDefShaderChanged(self, enabled: bool) -> None: ... - def preserveOpacityChanged(self, enabled: bool) -> None: ... - def alphaMultiplierChanged(self, mult: float) -> None: ... - def textureFormatChanged(self, format: QtGui.QImage.Format) -> None: ... - def textureDataChanged(self, data: sip.array[int]) -> None: ... - def colorTableChanged(self) -> None: ... - def sliceIndexZChanged(self, value: int) -> None: ... - def sliceIndexYChanged(self, value: int) -> None: ... - def sliceIndexXChanged(self, value: int) -> None: ... - def textureDepthChanged(self, value: int) -> None: ... - def textureHeightChanged(self, value: int) -> None: ... - def textureWidthChanged(self, value: int) -> None: ... + sliceFrameThicknessesChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameGapsChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameWidthsChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameColorChanged: typing.ClassVar[QtCore.pyqtSignal] + drawSliceFramesChanged: typing.ClassVar[QtCore.pyqtSignal] + drawSlicesChanged: typing.ClassVar[QtCore.pyqtSignal] + useHighDefShaderChanged: typing.ClassVar[QtCore.pyqtSignal] + preserveOpacityChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaMultiplierChanged: typing.ClassVar[QtCore.pyqtSignal] + textureFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + textureDataChanged: typing.ClassVar[QtCore.pyqtSignal] + colorTableChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexZChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexYChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexXChanged: typing.ClassVar[QtCore.pyqtSignal] + textureDepthChanged: typing.ClassVar[QtCore.pyqtSignal] + textureHeightChanged: typing.ClassVar[QtCore.pyqtSignal] + textureWidthChanged: typing.ClassVar[QtCore.pyqtSignal] def renderSlice(self, axis: QtCore.Qt.Axis, index: int) -> QtGui.QImage: ... def sliceFrameThicknesses(self) -> QtGui.QVector3D: ... def setSliceFrameThicknesses(self, values: QtGui.QVector3D) -> None: ... @@ -1008,16 +992,15 @@ class QCustom3DVolume('QCustom3DItem'): class QSurfaceDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def seriesChanged(self, series: 'QSurface3DSeries') -> None: ... - def columnCountChanged(self, count: int) -> None: ... - def rowCountChanged(self, count: int) -> None: ... - def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... - def rowsInserted(self, startIndex: int, count: int) -> None: ... - def rowsRemoved(self, startIndex: int, count: int) -> None: ... - def rowsChanged(self, startIndex: int, count: int) -> None: ... - def rowsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def itemAt(self, rowIndex: int, columnIndex: int) -> 'QSurfaceDataItem': ... @typing.overload @@ -1047,13 +1030,12 @@ class QHeightMapSurfaceDataProxy('QSurfaceDataProxy'): def __init__(self, image: QtGui.QImage, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, filename: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def maxZValueChanged(self, value: float) -> None: ... - def minZValueChanged(self, value: float) -> None: ... - def maxXValueChanged(self, value: float) -> None: ... - def minXValueChanged(self, value: float) -> None: ... - def heightMapFileChanged(self, filename: str) -> None: ... - def heightMapChanged(self, image: QtGui.QImage) -> None: ... + maxZValueChanged: typing.ClassVar[QtCore.pyqtSignal] + minZValueChanged: typing.ClassVar[QtCore.pyqtSignal] + maxXValueChanged: typing.ClassVar[QtCore.pyqtSignal] + minXValueChanged: typing.ClassVar[QtCore.pyqtSignal] + heightMapFileChanged: typing.ClassVar[QtCore.pyqtSignal] + heightMapChanged: typing.ClassVar[QtCore.pyqtSignal] def maxZValue(self) -> float: ... def setMaxZValue(self, max: float) -> None: ... def minZValue(self) -> float: ... @@ -1095,16 +1077,15 @@ class QItemModelBarDataProxy('QBarDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, rowRole: str, columnRole: str, valueRole: str, rotationRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def multiMatchBehaviorChanged(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... - def rotationRoleReplaceChanged(self, replace: str) -> None: ... - def valueRoleReplaceChanged(self, replace: str) -> None: ... - def columnRoleReplaceChanged(self, replace: str) -> None: ... - def rowRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def valueRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def multiMatchBehavior(self) -> 'QItemModelBarDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... def rotationRoleReplace(self) -> str: ... @@ -1123,16 +1104,16 @@ class QItemModelBarDataProxy('QBarDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def autoColumnCategoriesChanged(self, enable: bool) -> None: ... - def autoRowCategoriesChanged(self, enable: bool) -> None: ... - def useModelCategoriesChanged(self, enable: bool) -> None: ... - def columnCategoriesChanged(self) -> None: ... - def rowCategoriesChanged(self) -> None: ... - def rotationRoleChanged(self, role: str) -> None: ... - def valueRoleChanged(self, role: str) -> None: ... - def columnRoleChanged(self, role: str) -> None: ... - def rowRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, rowRole: str, columnRole: str, valueRole: str, rotationRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1160,14 +1141,13 @@ class QItemModelBarDataProxy('QBarDataProxy'): class QScatterDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def seriesChanged(self, series: 'QScatter3DSeries') -> None: ... - def itemCountChanged(self, count: int) -> None: ... - def itemsInserted(self, startIndex: int, count: int) -> None: ... - def itemsRemoved(self, startIndex: int, count: int) -> None: ... - def itemsChanged(self, startIndex: int, count: int) -> None: ... - def itemsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + itemCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemsInserted: typing.ClassVar[QtCore.pyqtSignal] + itemsRemoved: typing.ClassVar[QtCore.pyqtSignal] + itemsChanged: typing.ClassVar[QtCore.pyqtSignal] + itemsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QScatter3DSeries': ... def removeItems(self, index: int, removeCount: int) -> None: ... def insertItems(self, index: int, items: typing.Iterable['QScatterDataItem']) -> None: ... @@ -1191,15 +1171,14 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, xPosRole: str, yPosRole: str, zPosRole: str, rotationRole: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def zPosRoleReplaceChanged(self, replace: str) -> None: ... - def yPosRoleReplaceChanged(self, replace: str) -> None: ... - def xPosRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def rotationRoleReplace(self) -> str: ... def setRotationRoleReplace(self, replace: str) -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1216,11 +1195,11 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): def setYPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def xPosRolePattern(self) -> QtCore.QRegExp: ... def setXPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def rotationRoleChanged(self, role: str) -> None: ... - def zPosRoleChanged(self, role: str) -> None: ... - def yPosRoleChanged(self, role: str) -> None: ... - def xPosRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, xPosRole: str, yPosRole: str, zPosRole: str, rotationRole: str) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1260,18 +1239,17 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, rowRole: str, columnRole: str, xPosRole: str, yPosRole: str, zPosRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def multiMatchBehaviorChanged(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... - def zPosRoleReplaceChanged(self, replace: str) -> None: ... - def yPosRoleReplaceChanged(self, replace: str) -> None: ... - def xPosRoleReplaceChanged(self, replace: str) -> None: ... - def columnRoleReplaceChanged(self, replace: str) -> None: ... - def rowRoleReplaceChanged(self, replace: str) -> None: ... - def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def multiMatchBehavior(self) -> 'QItemModelSurfaceDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1294,17 +1272,17 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def autoColumnCategoriesChanged(self, enable: bool) -> None: ... - def autoRowCategoriesChanged(self, enable: bool) -> None: ... - def useModelCategoriesChanged(self, enable: bool) -> None: ... - def columnCategoriesChanged(self) -> None: ... - def rowCategoriesChanged(self) -> None: ... - def zPosRoleChanged(self, role: str) -> None: ... - def yPosRoleChanged(self, role: str) -> None: ... - def xPosRoleChanged(self, role: str) -> None: ... - def columnRoleChanged(self, role: str) -> None: ... - def rowRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, rowRole: str, columnRole: str, xPosRole: str, yPosRole: str, zPosRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def zPosRole(self) -> str: ... def setZPosRole(self, role: str) -> None: ... @@ -1363,9 +1341,9 @@ class QLogValue3DAxisFormatter('QValue3DAxisFormatter'): def positionAt(self, value: float) -> float: ... def recalculate(self) -> None: ... def createNewInstance(self) -> 'QValue3DAxisFormatter': ... - def showEdgeLabelsChanged(self, enabled: bool) -> None: ... - def autoSubGridChanged(self, enabled: bool) -> None: ... - def baseChanged(self, base: float) -> None: ... + showEdgeLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + autoSubGridChanged: typing.ClassVar[QtCore.pyqtSignal] + baseChanged: typing.ClassVar[QtCore.pyqtSignal] def showEdgeLabels(self) -> bool: ... def setShowEdgeLabels(self, enabled: bool) -> None: ... def autoSubGrid(self) -> bool: ... @@ -1379,10 +1357,9 @@ class QScatter3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QScatterDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def itemSizeChanged(self, size: float) -> None: ... - def selectedItemChanged(self, index: int) -> None: ... - def dataProxyChanged(self, proxy: 'QScatterDataProxy') -> None: ... + itemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedItemChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def itemSize(self) -> float: ... def setItemSize(self, size: float) -> None: ... @staticmethod @@ -1444,18 +1421,17 @@ class QSurface3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QSurfaceDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def textureFileChanged(self, filename: str) -> None: ... - def textureChanged(self, image: QtGui.QImage) -> None: ... + textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def textureFile(self) -> str: ... def setTextureFile(self, filename: str) -> None: ... def texture(self) -> QtGui.QImage: ... def setTexture(self, texture: QtGui.QImage) -> None: ... - def drawModeChanged(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... - def flatShadingSupportedChanged(self, enable: bool) -> None: ... - def flatShadingEnabledChanged(self, enable: bool) -> None: ... - def selectedPointChanged(self, position: QtCore.QPoint) -> None: ... - def dataProxyChanged(self, proxy: 'QSurfaceDataProxy') -> None: ... + drawModeChanged: typing.ClassVar[QtCore.pyqtSignal] + flatShadingSupportedChanged: typing.ClassVar[QtCore.pyqtSignal] + flatShadingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedPointChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def isFlatShadingSupported(self) -> bool: ... def drawMode(self) -> 'QSurface3DSeries.DrawFlags': ... def setDrawMode(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... @@ -1495,16 +1471,15 @@ class QTouch3DInputHandler('Q3DInputHandler'): class QValue3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def reversedChanged(self, enable: bool) -> None: ... - def formatterChanged(self, formatter: 'QValue3DAxisFormatter') -> None: ... + reversedChanged: typing.ClassVar[QtCore.pyqtSignal] + formatterChanged: typing.ClassVar[QtCore.pyqtSignal] def reversed(self) -> bool: ... def setReversed(self, enable: bool) -> None: ... def formatter(self) -> 'QValue3DAxisFormatter': ... def setFormatter(self, formatter: 'QValue3DAxisFormatter') -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def subSegmentCountChanged(self, count: int) -> None: ... - def segmentCountChanged(self, count: int) -> None: ... + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + subSegmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] + segmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... def subSegmentCount(self) -> int: ... diff --git a/PyQt5-stubs/QtDesigner.pyi b/PyQt5-stubs/QtDesigner.pyi index 8bd1874d..e24e8cf4 100644 --- a/PyQt5-stubs/QtDesigner.pyi +++ b/PyQt5-stubs/QtDesigner.pyi @@ -112,19 +112,19 @@ class QDesignerFormWindowInterface(QtWidgets.QWidget): def formContainer(self) -> QtWidgets.QWidget: ... def activeResourceFilePaths(self) -> typing.List[str]: ... def checkContents(self) -> typing.List[str]: ... - def objectRemoved(self, o: QtCore.QObject) -> None: ... - def widgetRemoved(self, w: QtWidgets.QWidget) -> None: ... - def changed(self) -> None: ... - def activated(self, widget: QtWidgets.QWidget) -> None: ... - def aboutToUnmanageWidget(self, widget: QtWidgets.QWidget) -> None: ... - def widgetUnmanaged(self, widget: QtWidgets.QWidget) -> None: ... - def widgetManaged(self, widget: QtWidgets.QWidget) -> None: ... - def resourceFilesChanged(self) -> None: ... - def geometryChanged(self) -> None: ... - def selectionChanged(self) -> None: ... - def featureChanged(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... - def fileNameChanged(self, fileName: str) -> None: ... - def mainContainerChanged(self, mainContainer: QtWidgets.QWidget) -> None: ... + objectRemoved: typing.ClassVar[QtCore.pyqtSignal] + widgetRemoved: typing.ClassVar[QtCore.pyqtSignal] + changed: typing.ClassVar[QtCore.pyqtSignal] + activated: typing.ClassVar[QtCore.pyqtSignal] + aboutToUnmanageWidget: typing.ClassVar[QtCore.pyqtSignal] + widgetUnmanaged: typing.ClassVar[QtCore.pyqtSignal] + widgetManaged: typing.ClassVar[QtCore.pyqtSignal] + resourceFilesChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + featureChanged: typing.ClassVar[QtCore.pyqtSignal] + fileNameChanged: typing.ClassVar[QtCore.pyqtSignal] + mainContainerChanged: typing.ClassVar[QtCore.pyqtSignal] def setFileName(self, fileName: str) -> None: ... def setGrid(self, grid: QtCore.QPoint) -> None: ... def selectWidget(self, widget: QtWidgets.QWidget, select: bool = ...) -> None: ... @@ -286,10 +286,10 @@ class QDesignerFormWindowManagerInterface(QtCore.QObject): def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def removeFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def addFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowSettingsChanged(self, fw: QDesignerFormWindowInterface) -> None: ... - def activeFormWindowChanged(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowRemoved(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowAdded(self, formWindow: QDesignerFormWindowInterface) -> None: ... + formWindowSettingsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeFormWindowChanged: typing.ClassVar[QtCore.pyqtSignal] + formWindowRemoved: typing.ClassVar[QtCore.pyqtSignal] + formWindowAdded: typing.ClassVar[QtCore.pyqtSignal] def core(self) -> QDesignerFormEditorInterface: ... def createFormWindow(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QDesignerFormWindowInterface: ... def formWindow(self, index: int) -> QDesignerFormWindowInterface: ... @@ -314,7 +314,7 @@ class QDesignerPropertyEditorInterface(QtWidgets.QWidget): def setReadOnly(self, readOnly: bool) -> None: ... def setPropertyValue(self, name: str, value: typing.Any, changed: bool = ...) -> None: ... def setObject(self, object: QtCore.QObject) -> None: ... - def propertyChanged(self, name: str, value: typing.Any) -> None: ... + propertyChanged: typing.ClassVar[QtCore.pyqtSignal] def currentPropertyName(self) -> str: ... def object(self) -> QtCore.QObject: ... def isReadOnly(self) -> bool: ... diff --git a/PyQt5-stubs/QtGui.pyi b/PyQt5-stubs/QtGui.pyi index 2dddd700..bc251f19 100644 --- a/PyQt5-stubs/QtGui.pyi +++ b/PyQt5-stubs/QtGui.pyi @@ -80,10 +80,10 @@ class QAbstractTextDocumentLayout(QtCore.QObject): def positionInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def resizeInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) -> None: ... - def updateBlock(self, block: 'QTextBlock') -> None: ... - def pageCountChanged(self, newPages: int) -> None: ... - def documentSizeChanged(self, newSize: QtCore.QSizeF) -> None: ... - def update(self, rect: QtCore.QRectF = ...) -> None: ... + updateBlock: typing.ClassVar[QtCore.pyqtSignal] + pageCountChanged: typing.ClassVar[QtCore.pyqtSignal] + documentSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + update: typing.ClassVar[QtCore.pyqtSignal] def handlerForObject(self, objectType: int) -> 'QTextObjectInterface': ... def unregisterHandler(self, objectType: int, component: typing.Optional[QtCore.QObject] = ...) -> None: ... def registerHandler(self, objectType: int, component: QtCore.QObject) -> None: ... @@ -1291,8 +1291,8 @@ class QDrag(QtCore.QObject): def defaultAction(self) -> QtCore.Qt.DropAction: ... def supportedActions(self) -> QtCore.Qt.DropActions: ... def dragCursor(self, action: QtCore.Qt.DropAction) -> QPixmap: ... - def targetChanged(self, newTarget: QtCore.QObject) -> None: ... - def actionChanged(self, action: QtCore.Qt.DropAction) -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + actionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDragCursor(self, cursor: QPixmap, action: QtCore.Qt.DropAction) -> None: ... def target(self) -> QtCore.QObject: ... def source(self) -> QtCore.QObject: ... @@ -2653,21 +2653,21 @@ class QGuiApplication(QtCore.QCoreApplication): def highDpiScaleFactorRoundingPolicy() -> QtCore.Qt.HighDpiScaleFactorRoundingPolicy: ... @staticmethod def setHighDpiScaleFactorRoundingPolicy(policy: QtCore.Qt.HighDpiScaleFactorRoundingPolicy) -> None: ... - def fontChanged(self, font: QFont) -> None: ... + fontChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def screenAt(point: QtCore.QPoint) -> 'QScreen': ... @staticmethod def desktopFileName() -> str: ... @staticmethod def setDesktopFileName(name: str) -> None: ... - def primaryScreenChanged(self, screen: 'QScreen') -> None: ... + primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def setFallbackSessionManagementEnabled(a0: bool) -> None: ... @staticmethod def isFallbackSessionManagementEnabled() -> bool: ... - def paletteChanged(self, pal: 'QPalette') -> None: ... - def layoutDirectionChanged(self, direction: QtCore.Qt.LayoutDirection) -> None: ... - def screenRemoved(self, screen: 'QScreen') -> None: ... + paletteChanged: typing.ClassVar[QtCore.pyqtSignal] + layoutDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + screenRemoved: typing.ClassVar[QtCore.pyqtSignal] def event(self, a0: QtCore.QEvent) -> bool: ... @staticmethod def windowIcon() -> 'QIcon': ... @@ -2692,15 +2692,15 @@ class QGuiApplication(QtCore.QCoreApplication): def applicationDisplayName() -> str: ... @staticmethod def setApplicationDisplayName(name: str) -> None: ... - def applicationDisplayNameChanged(self) -> None: ... - def applicationStateChanged(self, state: QtCore.Qt.ApplicationState) -> None: ... - def focusWindowChanged(self, focusWindow: 'QWindow') -> None: ... - def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ... - def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ... - def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ... + applicationDisplayNameChanged: typing.ClassVar[QtCore.pyqtSignal] + applicationStateChanged: typing.ClassVar[QtCore.pyqtSignal] + focusWindowChanged: typing.ClassVar[QtCore.pyqtSignal] + saveStateRequest: typing.ClassVar[QtCore.pyqtSignal] + commitDataRequest: typing.ClassVar[QtCore.pyqtSignal] + focusObjectChanged: typing.ClassVar[QtCore.pyqtSignal] lastWindowClosed: typing.ClassVar[QtCore.pyqtSignal] - def screenAdded(self, screen: 'QScreen') -> None: ... - def fontDatabaseChanged(self) -> None: ... + screenAdded: typing.ClassVar[QtCore.pyqtSignal] + fontDatabaseChanged: typing.ClassVar[QtCore.pyqtSignal] def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... @staticmethod def exec() -> int: ... @@ -3375,17 +3375,16 @@ class QInputMethod(QtCore.QObject): Click = ... # type: QInputMethod.Action ContextMenu = ... # type: QInputMethod.Action - - def inputItemClipRectangleChanged(self) -> None: ... - def anchorRectangleChanged(self) -> None: ... + inputItemClipRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + anchorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] def inputItemClipRectangle(self) -> QtCore.QRectF: ... def anchorRectangle(self) -> QtCore.QRectF: ... - def inputDirectionChanged(self, newDirection: QtCore.Qt.LayoutDirection) -> None: ... - def localeChanged(self) -> None: ... - def animatingChanged(self) -> None: ... - def visibleChanged(self) -> None: ... - def keyboardRectangleChanged(self) -> None: ... - def cursorRectangleChanged(self) -> None: ... + inputDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + localeChanged: typing.ClassVar[QtCore.pyqtSignal] + animatingChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + keyboardRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] def invokeAction(self, a: 'QInputMethod.Action', cursorPosition: int) -> None: ... def commit(self) -> None: ... def reset(self) -> None: ... @@ -3717,13 +3716,13 @@ class QMovie(QtCore.QObject): def setPaused(self, paused: bool) -> None: ... def jumpToNextFrame(self) -> bool: ... def start(self) -> None: ... - def frameChanged(self, frameNumber: int) -> None: ... - def finished(self) -> None: ... - def error(self, error: QImageReader.ImageReaderError) -> None: ... - def stateChanged(self, state: 'QMovie.MovieState') -> None: ... - def updated(self, rect: QtCore.QRect) -> None: ... - def resized(self, size: QtCore.QSize) -> None: ... - def started(self) -> None: ... + frameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + updated: typing.ClassVar[QtCore.pyqtSignal] + resized: typing.ClassVar[QtCore.pyqtSignal] + started: typing.ClassVar[QtCore.pyqtSignal] def setCacheMode(self, mode: 'QMovie.CacheMode') -> None: ... def cacheMode(self) -> 'QMovie.CacheMode': ... def setScaledSize(self, size: QtCore.QSize) -> None: ... @@ -3797,7 +3796,7 @@ class QOffscreenSurface(QtCore.QObject, QSurface): def setNativeHandle(self, handle: sip.voidptr) -> None: ... def nativeHandle(self) -> sip.voidptr: ... - def screenChanged(self, screen: 'QScreen') -> None: ... + screenChanged: typing.ClassVar[QtCore.pyqtSignal] def setScreen(self, screen: 'QScreen') -> None: ... def screen(self) -> 'QScreen': ... def size(self) -> QtCore.QSize: ... @@ -3946,7 +3945,7 @@ class QOpenGLContext(QtCore.QObject): @staticmethod def openGLModuleHandle() -> sip.voidptr: ... def versionFunctions(self, versionProfile: typing.Optional['QOpenGLVersionProfile'] = ...) -> typing.Any: ... - def aboutToBeDestroyed(self) -> None: ... + aboutToBeDestroyed: typing.ClassVar[QtCore.pyqtSignal] def hasExtension(self, extension: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def extensions(self) -> typing.Set[QtCore.QByteArray]: ... @staticmethod @@ -4121,8 +4120,7 @@ class QOpenGLDebugLogger(QtCore.QObject): SynchronousLogging = ... # type: QOpenGLDebugLogger.LoggingMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def messageLogged(self, debugMessage: QOpenGLDebugMessage) -> None: ... + messageLogged: typing.ClassVar[QtCore.pyqtSignal] def stopLogging(self) -> None: ... def startLogging(self, loggingMode: 'QOpenGLDebugLogger.LoggingMode' = ...) -> None: ... def logMessage(self, debugMessage: QOpenGLDebugMessage) -> None: ... @@ -5548,7 +5546,7 @@ class QOpenGLWindow(QPaintDeviceWindow): def paintGL(self) -> None: ... def resizeGL(self, w: int, h: int) -> None: ... def initializeGL(self) -> None: ... - def frameSwapped(self) -> None: ... + frameSwapped: typing.ClassVar[QtCore.pyqtSignal] def shareContext(self) -> QOpenGLContext: ... def grabFramebuffer(self) -> QImage: ... def defaultFramebufferObject(self) -> int: ... @@ -8088,15 +8086,15 @@ class QScreen(QtCore.QObject): def serialNumber(self) -> str: ... def model(self) -> str: ... def manufacturer(self) -> str: ... - def availableGeometryChanged(self, geometry: QtCore.QRect) -> None: ... - def virtualGeometryChanged(self, rect: QtCore.QRect) -> None: ... - def physicalSizeChanged(self, size: QtCore.QSizeF) -> None: ... - def refreshRateChanged(self, refreshRate: float) -> None: ... - def orientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... - def primaryOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... - def logicalDotsPerInchChanged(self, dpi: float) -> None: ... - def physicalDotsPerInchChanged(self, dpi: float) -> None: ... - def geometryChanged(self, geometry: QtCore.QRect) -> None: ... + availableGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] + virtualGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] + physicalSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + refreshRateChanged: typing.ClassVar[QtCore.pyqtSignal] + orientationChanged: typing.ClassVar[QtCore.pyqtSignal] + primaryOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + logicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] + physicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] def devicePixelRatio(self) -> float: ... def refreshRate(self) -> float: ... def grabWindow(self, window: sip.voidptr, x: int = ..., y: int = ..., width: int = ..., height: int = ...) -> QPixmap: ... @@ -8171,7 +8169,7 @@ class QStandardItemModel(QtCore.QAbstractItemModel): def __init__(self, rows: int, columns: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def clearItemData(self, index: QtCore.QModelIndex) -> bool: ... - def itemChanged(self, item: 'QStandardItem') -> None: ... + itemChanged: typing.ClassVar[QtCore.pyqtSignal] def setItemRoleNames(self, roleNames: typing.Dict[int, typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> None: ... def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ... def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... @@ -8392,24 +8390,24 @@ class QStyleHints(QtCore.QObject): def touchDoubleTapDistance(self) -> int: ... def mouseDoubleClickDistance(self) -> int: ... - def showShortcutsInContextMenusChanged(self, a0: bool) -> None: ... + showShortcutsInContextMenusChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowShortcutsInContextMenus(self, showShortcutsInContextMenus: bool) -> None: ... - def mouseQuickSelectionThresholdChanged(self, threshold: int) -> None: ... + mouseQuickSelectionThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] def mouseQuickSelectionThreshold(self) -> int: ... def showShortcutsInContextMenus(self) -> bool: ... - def wheelScrollLinesChanged(self, scrollLines: int) -> None: ... + wheelScrollLinesChanged: typing.ClassVar[QtCore.pyqtSignal] def wheelScrollLines(self) -> int: ... - def useHoverEffectsChanged(self, useHoverEffects: bool) -> None: ... + useHoverEffectsChanged: typing.ClassVar[QtCore.pyqtSignal] def setUseHoverEffects(self, useHoverEffects: bool) -> None: ... def useHoverEffects(self) -> bool: ... def showIsMaximized(self) -> bool: ... - def tabFocusBehaviorChanged(self, tabFocusBehavior: QtCore.Qt.TabFocusBehavior) -> None: ... - def mousePressAndHoldIntervalChanged(self, mousePressAndHoldInterval: int) -> None: ... - def startDragTimeChanged(self, startDragTime: int) -> None: ... - def startDragDistanceChanged(self, startDragDistance: int) -> None: ... - def mouseDoubleClickIntervalChanged(self, mouseDoubleClickInterval: int) -> None: ... - def keyboardInputIntervalChanged(self, keyboardInputInterval: int) -> None: ... - def cursorFlashTimeChanged(self, cursorFlashTime: int) -> None: ... + tabFocusBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + mousePressAndHoldIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + startDragTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + startDragDistanceChanged: typing.ClassVar[QtCore.pyqtSignal] + mouseDoubleClickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + keyboardInputIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorFlashTimeChanged: typing.ClassVar[QtCore.pyqtSignal] def singleClickActivation(self) -> bool: ... def tabFocusBehavior(self) -> QtCore.Qt.TabFocusBehavior: ... def mousePressAndHoldInterval(self) -> int: ... @@ -8834,7 +8832,7 @@ class QTextDocument(QtCore.QObject): def setMarkdown(self, markdown: str, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> None: ... def toMarkdown(self, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> str: ... def toRawText(self) -> str: ... - def baseUrlChanged(self, url: QtCore.QUrl) -> None: ... + baseUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def setBaseUrl(self, url: QtCore.QUrl) -> None: ... def baseUrl(self) -> QtCore.QUrl: ... def setDefaultCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... @@ -8847,8 +8845,8 @@ class QTextDocument(QtCore.QObject): def setDocumentMargin(self, margin: float) -> None: ... def documentMargin(self) -> float: ... def characterAt(self, pos: int) -> str: ... - def documentLayoutChanged(self) -> None: ... - def undoCommandAdded(self) -> None: ... + documentLayoutChanged: typing.ClassVar[QtCore.pyqtSignal] + undoCommandAdded: typing.ClassVar[QtCore.pyqtSignal] def setIndentWidth(self, width: float) -> None: ... def indentWidth(self) -> float: ... def lastBlock(self) -> 'QTextBlock': ... @@ -8880,13 +8878,13 @@ class QTextDocument(QtCore.QObject): def undo(self) -> None: ... @typing.overload def undo(self, cursor: QTextCursor) -> None: ... - def undoAvailable(self, a0: bool) -> None: ... - def redoAvailable(self, a0: bool) -> None: ... - def modificationChanged(self, m: bool) -> None: ... - def cursorPositionChanged(self, cursor: QTextCursor) -> None: ... - def contentsChanged(self) -> None: ... - def contentsChange(self, from_: int, charsRemoves: int, charsAdded: int) -> None: ... - def blockCountChanged(self, newBlockCount: int) -> None: ... + undoAvailable: typing.ClassVar[QtCore.pyqtSignal] + redoAvailable: typing.ClassVar[QtCore.pyqtSignal] + modificationChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsChange: typing.ClassVar[QtCore.pyqtSignal] + blockCountChanged: typing.ClassVar[QtCore.pyqtSignal] def useDesignMetrics(self) -> bool: ... def setUseDesignMetrics(self, b: bool) -> None: ... def markContentsDirty(self, from_: int, length: int) -> None: ... @@ -10313,8 +10311,7 @@ class QValidator(QtCore.QObject): Acceptable = ... # type: QValidator.State def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def changed(self) -> None: ... + changed: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def fixup(self, a0: str) -> str: ... diff --git a/PyQt5-stubs/QtHelp.pyi b/PyQt5-stubs/QtHelp.pyi index 0b87c478..4b2dca21 100644 --- a/PyQt5-stubs/QtHelp.pyi +++ b/PyQt5-stubs/QtHelp.pyi @@ -68,9 +68,8 @@ class QHelpContentItem(sip.simplewrapper): class QHelpContentModel(QtCore.QAbstractItemModel): - - def contentsCreated(self) -> None: ... - def contentsCreationStarted(self) -> None: ... + contentsCreated: typing.ClassVar[QtCore.pyqtSignal] + contentsCreationStarted: typing.ClassVar[QtCore.pyqtSignal] def isCreatingContents(self) -> bool: ... def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... @@ -82,8 +81,7 @@ class QHelpContentModel(QtCore.QAbstractItemModel): class QHelpContentWidget(QtWidgets.QTreeView): - - def linkActivated(self, link: QtCore.QUrl) -> None: ... + linkActivated: typing.ClassVar[QtCore.pyqtSignal] def indexOf(self, link: QtCore.QUrl) -> QtCore.QModelIndex: ... @@ -102,11 +100,11 @@ class QHelpEngineCore(QtCore.QObject): def usesFilterEngine(self) -> bool: ... def setUsesFilterEngine(self, uses: bool) -> None: ... def filterEngine(self) -> 'QHelpFilterEngine': ... - def readersAboutToBeInvalidated(self) -> None: ... - def warning(self, msg: str) -> None: ... - def currentFilterChanged(self, newFilter: str) -> None: ... - def setupFinished(self) -> None: ... - def setupStarted(self) -> None: ... + readersAboutToBeInvalidated: typing.ClassVar[QtCore.pyqtSignal] + warning: typing.ClassVar[QtCore.pyqtSignal] + currentFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + setupFinished: typing.ClassVar[QtCore.pyqtSignal] + setupStarted: typing.ClassVar[QtCore.pyqtSignal] def setAutoSaveFilter(self, save: bool) -> None: ... def autoSaveFilter(self) -> bool: ... def error(self) -> str: ... @@ -177,7 +175,7 @@ class QHelpFilterEngine(QtCore.QObject): @typing.overload def indices(self, filterName: str) -> typing.List[str]: ... def availableVersions(self) -> typing.List[QtCore.QVersionNumber]: ... - def filterActivated(self, newFilter: str) -> None: ... + filterActivated: typing.ClassVar[QtCore.pyqtSignal] def namespacesForFilter(self, filterName: str) -> typing.List[str]: ... def removeFilter(self, filterName: str) -> bool: ... def setFilterData(self, filterName: str, filterData: QHelpFilterData) -> bool: ... @@ -201,9 +199,8 @@ class QHelpFilterSettingsWidget(QtWidgets.QWidget): class QHelpIndexModel(QtCore.QStringListModel): - - def indexCreated(self) -> None: ... - def indexCreationStarted(self) -> None: ... + indexCreated: typing.ClassVar[QtCore.pyqtSignal] + indexCreationStarted: typing.ClassVar[QtCore.pyqtSignal] def isCreatingIndex(self) -> bool: ... def linksForKeyword(self, keyword: str) -> typing.Dict[str, QtCore.QUrl]: ... def filter(self, filter: str, wildcard: str = ...) -> QtCore.QModelIndex: ... @@ -212,13 +209,12 @@ class QHelpIndexModel(QtCore.QStringListModel): class QHelpIndexWidget(QtWidgets.QListView): - - def documentsActivated(self, documents: typing.Iterable['QHelpLink'], keyword: str) -> None: ... - def documentActivated(self, document: 'QHelpLink', keyword: str) -> None: ... + documentsActivated: typing.ClassVar[QtCore.pyqtSignal] + documentActivated: typing.ClassVar[QtCore.pyqtSignal] def activateCurrentItem(self) -> None: ... def filterIndices(self, filter: str, wildcard: str = ...) -> None: ... - def linksActivated(self, links: typing.Dict[str, QtCore.QUrl], keyword: str) -> None: ... - def linkActivated(self, link: QtCore.QUrl, keyword: str) -> None: ... + linksActivated: typing.ClassVar[QtCore.pyqtSignal] + linkActivated: typing.ClassVar[QtCore.pyqtSignal] class QHelpLink(sip.simplewrapper): @@ -264,10 +260,10 @@ class QHelpSearchEngine(QtCore.QObject): def searchInput(self) -> str: ... def searchResults(self, start: int, end: int) -> typing.List['QHelpSearchResult']: ... def searchResultCount(self) -> int: ... - def searchingFinished(self, hits: int) -> None: ... - def searchingStarted(self) -> None: ... - def indexingFinished(self) -> None: ... - def indexingStarted(self) -> None: ... + searchingFinished: typing.ClassVar[QtCore.pyqtSignal] + searchingStarted: typing.ClassVar[QtCore.pyqtSignal] + indexingFinished: typing.ClassVar[QtCore.pyqtSignal] + indexingStarted: typing.ClassVar[QtCore.pyqtSignal] def cancelSearching(self) -> None: ... @typing.overload def search(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -304,7 +300,7 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): def searchInput(self) -> str: ... def setCompactMode(self, on: bool) -> None: ... def isCompactMode(self) -> bool: ... - def search(self) -> None: ... + search: typing.ClassVar[QtCore.pyqtSignal] def collapseExtendedSearch(self) -> None: ... def expandExtendedSearch(self) -> None: ... def setQuery(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -312,6 +308,5 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): class QHelpSearchResultWidget(QtWidgets.QWidget): - - def requestShowLink(self, url: QtCore.QUrl) -> None: ... + requestShowLink: typing.ClassVar[QtCore.pyqtSignal] def linkAt(self, point: QtCore.QPoint) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtLocation.pyi b/PyQt5-stubs/QtLocation.pyi index 3926f660..492c2180 100644 --- a/PyQt5-stubs/QtLocation.pyi +++ b/PyQt5-stubs/QtLocation.pyi @@ -64,25 +64,21 @@ class QGeoCodeReply(QtCore.QObject): def setViewport(self, viewport: QtPositioning.QGeoShape) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoCodeReply.Error', errorString: str) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def offset(self) -> int: ... def limit(self) -> int: ... def locations(self) -> typing.List[QtPositioning.QGeoLocation]: ... def viewport(self) -> QtPositioning.QGeoShape: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QGeoCodeReply.Error': ... - @typing.overload - def error(self, error: 'QGeoCodeReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isFinished(self) -> bool: ... class QGeoCodingManager(QtCore.QObject): - - def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoCodeReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... @@ -97,9 +93,8 @@ class QGeoCodingManager(QtCore.QObject): class QGeoCodingManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoCodeReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... @@ -230,16 +225,13 @@ class QGeoRouteReply(QtCore.QObject): def setRoutes(self, routes: typing.Iterable[QGeoRoute]) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoRouteReply.Error', errorString: str) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def routes(self) -> typing.List[QGeoRoute]: ... def request(self) -> 'QGeoRouteRequest': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QGeoRouteReply.Error': ... - @typing.overload - def error(self, error: 'QGeoRouteReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isFinished(self) -> bool: ... @@ -463,9 +455,8 @@ class QGeoRouteSegment(sip.simplewrapper): class QGeoRoutingManager(QtCore.QObject): - - def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoRouteReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -492,8 +483,8 @@ class QGeoRoutingManagerEngine(QtCore.QObject): def setSupportedFeatureWeights(self, featureWeights: typing.Union[QGeoRouteRequest.FeatureWeights, QGeoRouteRequest.FeatureWeight]) -> None: ... def setSupportedFeatureTypes(self, featureTypes: typing.Union[QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.FeatureType]) -> None: ... def setSupportedTravelModes(self, travelModes: typing.Union[QGeoRouteRequest.TravelModes, QGeoRouteRequest.TravelMode]) -> None: ... - def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoRouteReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -930,14 +921,11 @@ class QPlaceReply(QtCore.QObject): def setError(self, error: 'QPlaceReply.Error', errorString: str) -> None: ... def setFinished(self, finished: bool) -> None: ... - def contentUpdated(self) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + contentUpdated: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... - @typing.overload - def error(self) -> 'QPlaceReply.Error': ... - @typing.overload - def error(self, error: 'QPlaceReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... def type(self) -> 'QPlaceReply.Type': ... def isFinished(self) -> bool: ... @@ -1060,16 +1048,15 @@ class QPlaceImage(QPlaceContent): class QPlaceManager(QtCore.QObject): - - def dataChanged(self) -> None: ... - def categoryRemoved(self, categoryId: str, parentId: str) -> None: ... - def categoryUpdated(self, category: QPlaceCategory, parentId: str) -> None: ... - def categoryAdded(self, category: QPlaceCategory, parentId: str) -> None: ... - def placeRemoved(self, placeId: str) -> None: ... - def placeUpdated(self, placeId: str) -> None: ... - def placeAdded(self, placeId: str) -> None: ... - def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QPlaceReply) -> None: ... + dataChanged: typing.ClassVar[QtCore.pyqtSignal] + categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] + categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] + categoryAdded: typing.ClassVar[QtCore.pyqtSignal] + placeRemoved: typing.ClassVar[QtCore.pyqtSignal] + placeUpdated: typing.ClassVar[QtCore.pyqtSignal] + placeAdded: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, place: QPlace) -> QPlace: ... def setLocales(self, locale: typing.Iterable[QtCore.QLocale]) -> None: ... @@ -1097,15 +1084,15 @@ class QPlaceManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def manager(self) -> QPlaceManager: ... - def dataChanged(self) -> None: ... - def categoryRemoved(self, categoryId: str, parentCategoryId: str) -> None: ... - def categoryUpdated(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... - def categoryAdded(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... - def placeRemoved(self, placeId: str) -> None: ... - def placeUpdated(self, placeId: str) -> None: ... - def placeAdded(self, placeId: str) -> None: ... - def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QPlaceReply) -> None: ... + dataChanged: typing.ClassVar[QtCore.pyqtSignal] + categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] + categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] + categoryAdded: typing.ClassVar[QtCore.pyqtSignal] + placeRemoved: typing.ClassVar[QtCore.pyqtSignal] + placeUpdated: typing.ClassVar[QtCore.pyqtSignal] + placeAdded: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, original: QPlace) -> QPlace: ... def constructIconUrl(self, icon: QPlaceIcon, size: QtCore.QSize) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtMultimedia.pyi b/PyQt5-stubs/QtMultimedia.pyi index e574b8cd..d57f1f63 100644 --- a/PyQt5-stubs/QtMultimedia.pyi +++ b/PyQt5-stubs/QtMultimedia.pyi @@ -114,8 +114,7 @@ class QVideoFilterRunnable(sip.simplewrapper): class QAbstractVideoFilter(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def activeChanged(self) -> None: ... + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def createFilterRunnable(self) -> QVideoFilterRunnable: ... def isActive(self) -> bool: ... @@ -136,14 +135,13 @@ class QAbstractVideoSurface(QtCore.QObject): ResourceError = ... # type: QAbstractVideoSurface.Error def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def nativeResolutionChanged(self, a0: QtCore.QSize) -> None: ... + nativeResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setNativeResolution(self, resolution: QtCore.QSize) -> None: ... def nativeResolution(self) -> QtCore.QSize: ... def setError(self, error: 'QAbstractVideoSurface.Error') -> None: ... - def supportedFormatsChanged(self) -> None: ... - def surfaceFormatChanged(self, format: 'QVideoSurfaceFormat') -> None: ... - def activeChanged(self, active: bool) -> None: ... + supportedFormatsChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def error(self) -> 'QAbstractVideoSurface.Error': ... def present(self, frame: 'QVideoFrame') -> bool: ... def isActive(self) -> bool: ... @@ -257,16 +255,10 @@ class QMediaObject(QtCore.QObject): def removePropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def addPropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - @typing.overload - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... - @typing.overload - def availabilityChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - def notifyIntervalChanged(self, milliSeconds: int) -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + notifyIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -305,14 +297,14 @@ class QAudioDecoder(QMediaObject): def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - def durationChanged(self, duration: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def sourceChanged(self) -> None: ... - def formatChanged(self, format: 'QAudioFormat') -> None: ... - def stateChanged(self, newState: 'QAudioDecoder.State') -> None: ... - def finished(self) -> None: ... - def bufferReady(self) -> None: ... - def bufferAvailableChanged(self, a0: bool) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + bufferReady: typing.ClassVar[QtCore.pyqtSignal] + bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def duration(self) -> int: ... @@ -320,10 +312,7 @@ class QAudioDecoder(QMediaObject): def bufferAvailable(self) -> bool: ... def read(self) -> QAudioBuffer: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QAudioDecoder.Error': ... - @typing.overload - def error(self, error: 'QAudioDecoder.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def setAudioFormat(self, format: 'QAudioFormat') -> None: ... def audioFormat(self) -> 'QAudioFormat': ... def setSourceDevice(self, device: QtCore.QIODevice) -> None: ... @@ -343,16 +332,15 @@ class QMediaControl(QtCore.QObject): class QAudioDecoderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def durationChanged(self, duration: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def finished(self) -> None: ... - def bufferAvailableChanged(self, available: bool) -> None: ... - def bufferReady(self) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def sourceChanged(self) -> None: ... - def formatChanged(self, format: 'QAudioFormat') -> None: ... - def stateChanged(self, newState: QAudioDecoder.State) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferReady: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> int: ... def position(self) -> int: ... def bufferAvailable(self) -> bool: ... @@ -462,8 +450,8 @@ class QAudioInput(QtCore.QObject): def volume(self) -> float: ... def setVolume(self, volume: float) -> None: ... - def notify(self) -> None: ... - def stateChanged(self, a0: QAudio.State) -> None: ... + notify: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -488,9 +476,8 @@ class QAudioInput(QtCore.QObject): class QAudioInputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def availableInputsChanged(self) -> None: ... - def activeInputChanged(self, name: str) -> None: ... + availableInputsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] def setActiveInput(self, name: str) -> None: ... def activeInput(self) -> str: ... def defaultInput(self) -> str: ... @@ -509,8 +496,8 @@ class QAudioOutput(QtCore.QObject): def category(self) -> str: ... def volume(self) -> float: ... def setVolume(self, a0: float) -> None: ... - def notify(self) -> None: ... - def stateChanged(self, a0: QAudio.State) -> None: ... + notify: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -535,9 +522,8 @@ class QAudioOutput(QtCore.QObject): class QAudioOutputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def availableOutputsChanged(self) -> None: ... - def activeOutputChanged(self, name: str) -> None: ... + availableOutputsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeOutputChanged: typing.ClassVar[QtCore.pyqtSignal] def setActiveOutput(self, name: str) -> None: ... def activeOutput(self) -> str: ... def defaultOutput(self) -> str: ... @@ -548,9 +534,8 @@ class QAudioOutputSelectorControl(QMediaControl): class QAudioProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def flush(self) -> None: ... - def audioBufferProbed(self, audioBuffer: QAudioBuffer) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -613,22 +598,16 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - @typing.overload - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... - @typing.overload - def availabilityChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - def metaDataWritableChanged(self, writable: bool) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... - def volumeChanged(self, volume: float) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def statusChanged(self, status: 'QMediaRecorder.Status') -> None: ... - def stateChanged(self, state: 'QMediaRecorder.State') -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataWritableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def stop(self) -> None: ... @@ -659,10 +638,7 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def isMuted(self) -> bool: ... def duration(self) -> int: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QMediaRecorder.Error': ... - @typing.overload - def error(self, error: 'QMediaRecorder.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QMediaRecorder.Status': ... def state(self) -> 'QMediaRecorder.State': ... def actualLocation(self) -> QtCore.QUrl: ... @@ -676,9 +652,8 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): class QAudioRecorder(QMediaRecorder): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def availableAudioInputsChanged(self) -> None: ... - def audioInputChanged(self, name: str) -> None: ... + availableAudioInputsChanged: typing.ClassVar[QtCore.pyqtSignal] + audioInputChanged: typing.ClassVar[QtCore.pyqtSignal] def setAudioInput(self, name: str) -> None: ... def audioInput(self) -> str: ... def audioInputDescription(self, name: str) -> str: ... @@ -689,8 +664,7 @@ class QAudioRecorder(QMediaRecorder): class QAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def audioRoleChanged(self, role: QAudio.Role) -> None: ... + audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, role: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... @@ -849,16 +823,13 @@ class QCamera(QMediaObject): def supportedViewfinderSettings(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QCameraViewfinderSettings']: ... def setViewfinderSettings(self, settings: 'QCameraViewfinderSettings') -> None: ... def viewfinderSettings(self) -> 'QCameraViewfinderSettings': ... - def errorOccurred(self, a0: 'QCamera.Error') -> None: ... - @typing.overload - def lockStatusChanged(self, a0: 'QCamera.LockStatus', a1: 'QCamera.LockChangeReason') -> None: ... - @typing.overload - def lockStatusChanged(self, a0: 'QCamera.LockType', a1: 'QCamera.LockStatus', a2: 'QCamera.LockChangeReason') -> None: ... - def lockFailed(self) -> None: ... - def locked(self) -> None: ... - def statusChanged(self, a0: 'QCamera.Status') -> None: ... - def captureModeChanged(self, a0: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... - def stateChanged(self, a0: 'QCamera.State') -> None: ... + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + lockFailed: typing.ClassVar[QtCore.pyqtSignal] + locked: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def unlock(self) -> None: ... @typing.overload @@ -879,10 +850,7 @@ class QCamera(QMediaObject): def requestedLocks(self) -> 'QCamera.LockTypes': ... def supportedLocks(self) -> 'QCamera.LockTypes': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QCamera.Error': ... - @typing.overload - def error(self, a0: 'QCamera.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def setViewfinder(self, viewfinder: QtMultimediaWidgets.QVideoWidget) -> None: ... @typing.overload @@ -906,8 +874,7 @@ class QCamera(QMediaObject): class QCameraCaptureBufferFormatControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def bufferFormatChanged(self, format: 'QVideoFrame.PixelFormat') -> None: ... + bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def setBufferFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... def bufferFormat(self) -> 'QVideoFrame.PixelFormat': ... def supportedBufferFormats(self) -> typing.List['QVideoFrame.PixelFormat']: ... @@ -916,8 +883,7 @@ class QCameraCaptureBufferFormatControl(QMediaControl): class QCameraCaptureDestinationControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def captureDestinationChanged(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... def captureDestination(self) -> 'QCameraImageCapture.CaptureDestinations': ... def isCaptureDestinationSupported(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> bool: ... @@ -939,11 +905,10 @@ class QCameraControl(QMediaControl): ViewfinderSettings = ... # type: QCameraControl.PropertyChangeType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def captureModeChanged(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def statusChanged(self, a0: QCamera.Status) -> None: ... - def stateChanged(self, a0: QCamera.State) -> None: ... + captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def canChangeProperty(self, changeType: 'QCameraControl.PropertyChangeType', status: QCamera.Status) -> bool: ... def isCaptureModeSupported(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> bool: ... def setCaptureMode(self, a0: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... @@ -1048,14 +1013,13 @@ class QCameraExposure(QtCore.QObject): def __invert__(self) -> 'QCameraExposure.FlashModes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - - def exposureCompensationChanged(self, a0: float) -> None: ... - def isoSensitivityChanged(self, a0: int) -> None: ... - def shutterSpeedRangeChanged(self) -> None: ... - def shutterSpeedChanged(self, a0: float) -> None: ... - def apertureRangeChanged(self) -> None: ... - def apertureChanged(self, a0: float) -> None: ... - def flashReady(self, a0: bool) -> None: ... + exposureCompensationChanged: typing.ClassVar[QtCore.pyqtSignal] + isoSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + shutterSpeedRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + shutterSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + apertureRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + apertureChanged: typing.ClassVar[QtCore.pyqtSignal] + flashReady: typing.ClassVar[QtCore.pyqtSignal] def setAutoShutterSpeed(self) -> None: ... def setManualShutterSpeed(self, seconds: float) -> None: ... def setAutoAperture(self) -> None: ... @@ -1116,10 +1080,9 @@ class QCameraExposureControl(QMediaControl): ExtendedExposureParameter = ... # type: QCameraExposureControl.ExposureParameter def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def parameterRangeChanged(self, parameter: int) -> None: ... - def actualValueChanged(self, parameter: int) -> None: ... - def requestedValueChanged(self, parameter: int) -> None: ... + parameterRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + actualValueChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedValueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, parameter: 'QCameraExposureControl.ExposureParameter', value: typing.Any) -> bool: ... def actualValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... def requestedValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... @@ -1166,8 +1129,7 @@ class QCameraFeedbackControl(QMediaControl): class QCameraFlashControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def flashReady(self, a0: bool) -> None: ... + flashReady: typing.ClassVar[QtCore.pyqtSignal] def isFlashReady(self) -> bool: ... def isFlashModeSupported(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> bool: ... def setFlashMode(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> None: ... @@ -1236,12 +1198,11 @@ class QCameraFocus(QtCore.QObject): def __invert__(self) -> 'QCameraFocus.FocusModes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - - def maximumDigitalZoomChanged(self, a0: float) -> None: ... - def maximumOpticalZoomChanged(self, a0: float) -> None: ... - def focusZonesChanged(self) -> None: ... - def digitalZoomChanged(self, a0: float) -> None: ... - def opticalZoomChanged(self, a0: float) -> None: ... + maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] + digitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + opticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] def zoomTo(self, opticalZoom: float, digitalZoom: float) -> None: ... def digitalZoom(self) -> float: ... def opticalZoom(self) -> float: ... @@ -1262,11 +1223,10 @@ class QCameraFocus(QtCore.QObject): class QCameraFocusControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def focusZonesChanged(self) -> None: ... - def customFocusPointChanged(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def focusPointModeChanged(self, mode: QCameraFocus.FocusPointMode) -> None: ... - def focusModeChanged(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> None: ... + focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] + customFocusPointChanged: typing.ClassVar[QtCore.pyqtSignal] + focusPointModeChanged: typing.ClassVar[QtCore.pyqtSignal] + focusModeChanged: typing.ClassVar[QtCore.pyqtSignal] def focusZones(self) -> typing.List[QCameraFocusZone]: ... def setCustomFocusPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... def customFocusPoint(self) -> QtCore.QPointF: ... @@ -1325,14 +1285,14 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - def imageSaved(self, id: int, fileName: str) -> None: ... - def imageAvailable(self, id: int, image: 'QVideoFrame') -> None: ... - def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... - def imageCaptured(self, id: int, preview: QtGui.QImage) -> None: ... - def imageExposed(self, id: int) -> None: ... - def captureDestinationChanged(self, a0: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... - def bufferFormatChanged(self, a0: 'QVideoFrame.PixelFormat') -> None: ... - def readyForCaptureChanged(self, a0: bool) -> None: ... + imageSaved: typing.ClassVar[QtCore.pyqtSignal] + imageAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageCaptured: typing.ClassVar[QtCore.pyqtSignal] + imageExposed: typing.ClassVar[QtCore.pyqtSignal] + captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] def cancelCapture(self) -> None: ... def capture(self, file: str = ...) -> int: ... def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... @@ -1348,10 +1308,7 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def supportedImageCodecs(self) -> typing.List[str]: ... def isReadyForCapture(self) -> bool: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QCameraImageCapture.Error': ... - @typing.overload - def error(self, id: int, error: 'QCameraImageCapture.Error', errorString: str) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def mediaObject(self) -> QMediaObject: ... def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def isAvailable(self) -> bool: ... @@ -1360,14 +1317,13 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): class QCameraImageCaptureControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def error(self, id: int, error: int, errorString: str) -> None: ... - def imageSaved(self, requestId: int, fileName: str) -> None: ... - def imageAvailable(self, requestId: int, buffer: 'QVideoFrame') -> None: ... - def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... - def imageCaptured(self, requestId: int, preview: QtGui.QImage) -> None: ... - def imageExposed(self, requestId: int) -> None: ... - def readyForCaptureChanged(self, ready: bool) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + imageSaved: typing.ClassVar[QtCore.pyqtSignal] + imageAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageCaptured: typing.ClassVar[QtCore.pyqtSignal] + imageExposed: typing.ClassVar[QtCore.pyqtSignal] + readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] def cancelCapture(self) -> None: ... def capture(self, fileName: str) -> int: ... def setDriveMode(self, mode: QCameraImageCapture.DriveMode) -> None: ... @@ -1516,8 +1472,7 @@ class QCameraInfoControl(QMediaControl): class QCameraLocksControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def lockStatusChanged(self, type: QCamera.LockType, status: QCamera.LockStatus, reason: QCamera.LockChangeReason) -> None: ... + lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] def unlock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def searchAndLock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def lockStatus(self, lock: QCamera.LockType) -> QCamera.LockStatus: ... @@ -1587,13 +1542,12 @@ class QCameraViewfinderSettingsControl2(QMediaControl): class QCameraZoomControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def currentDigitalZoomChanged(self, digitalZoom: float) -> None: ... - def currentOpticalZoomChanged(self, opticalZoom: float) -> None: ... - def requestedDigitalZoomChanged(self, digitalZoom: float) -> None: ... - def requestedOpticalZoomChanged(self, opticalZoom: float) -> None: ... - def maximumDigitalZoomChanged(self, a0: float) -> None: ... - def maximumOpticalZoomChanged(self, a0: float) -> None: ... + currentDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + currentOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] def zoomTo(self, optical: float, digital: float) -> None: ... def currentDigitalZoom(self) -> float: ... def currentOpticalZoom(self) -> float: ... @@ -1606,8 +1560,7 @@ class QCameraZoomControl(QMediaControl): class QCustomAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def customAudioRoleChanged(self, role: str) -> None: ... + customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, role: str) -> None: ... def customAudioRole(self) -> str: ... @@ -1627,16 +1580,14 @@ class QImageEncoderControl(QMediaControl): class QMediaAudioProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def flush(self) -> None: ... - def audioBufferProbed(self, buffer: QAudioBuffer) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] class QMediaAvailabilityControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] def availability(self) -> 'QMultimedia.AvailabilityStatus': ... @@ -1757,10 +1708,9 @@ class QImageEncoderSettings(sip.simplewrapper): class QMediaGaplessPlaybackControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def advancedToNextMedia(self) -> None: ... - def nextMediaChanged(self, media: QMediaContent) -> None: ... - def crossfadeTimeChanged(self, crossfadeTime: float) -> None: ... + advancedToNextMedia: typing.ClassVar[QtCore.pyqtSignal] + nextMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + crossfadeTimeChanged: typing.ClassVar[QtCore.pyqtSignal] def setCrossfadeTime(self, crossfadeTime: float) -> None: ... def crossfadeTime(self) -> float: ... def isCrossfadeSupported(self) -> bool: ... @@ -1866,8 +1816,7 @@ class QMediaMetaData(sip.simplewrapper): class QMediaNetworkAccessControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def configurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... + configurationChanged: typing.ClassVar[QtCore.pyqtSignal] def currentConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def setConfigurations(self, configuration: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... @@ -1944,31 +1893,30 @@ class QMediaPlayer(QMediaObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> None: ... - - def customAudioRoleChanged(self, role: str) -> None: ... + customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, audioRole: str) -> None: ... def customAudioRole(self) -> str: ... - def audioRoleChanged(self, role: QAudio.Role) -> None: ... + audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, audioRole: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - def networkConfigurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... - def playbackRateChanged(self, rate: float) -> None: ... - def seekableChanged(self, seekable: bool) -> None: ... - def bufferStatusChanged(self, percentFilled: int) -> None: ... - def videoAvailableChanged(self, videoAvailable: bool) -> None: ... - def audioAvailableChanged(self, available: bool) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def mediaStatusChanged(self, status: 'QMediaPlayer.MediaStatus') -> None: ... - def stateChanged(self, newState: 'QMediaPlayer.State') -> None: ... - def currentMediaChanged(self, media: QMediaContent) -> None: ... - def mediaChanged(self, media: QMediaContent) -> None: ... + networkConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] + seekableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] def setNetworkConfigurations(self, configurations: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... def setPlaylist(self, playlist: 'QMediaPlaylist') -> None: ... def setMedia(self, media: QMediaContent, stream: typing.Optional[QtCore.QIODevice] = ...) -> None: ... @@ -1982,10 +1930,7 @@ class QMediaPlayer(QMediaObject): def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def currentNetworkConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QMediaPlayer.Error': ... - @typing.overload - def error(self, error: 'QMediaPlayer.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def playbackRate(self) -> float: ... def isSeekable(self) -> bool: ... def bufferStatus(self) -> int: ... @@ -2018,21 +1963,20 @@ class QMediaPlayer(QMediaObject): class QMediaPlayerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def error(self, error: int, errorString: str) -> None: ... - def playbackRateChanged(self, rate: float) -> None: ... - def availablePlaybackRangesChanged(self, ranges: 'QMediaTimeRange') -> None: ... - def seekableChanged(self, seekable: bool) -> None: ... - def bufferStatusChanged(self, percentFilled: int) -> None: ... - def videoAvailableChanged(self, videoAvailable: bool) -> None: ... - def audioAvailableChanged(self, audioAvailable: bool) -> None: ... - def mutedChanged(self, mute: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def mediaStatusChanged(self, status: QMediaPlayer.MediaStatus) -> None: ... - def stateChanged(self, newState: QMediaPlayer.State) -> None: ... - def positionChanged(self, position: int) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def mediaChanged(self, content: QMediaContent) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] + availablePlaybackRangesChanged: typing.ClassVar[QtCore.pyqtSignal] + seekableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def pause(self) -> None: ... def play(self) -> None: ... @@ -2088,16 +2032,16 @@ class QMediaPlaylist(QtCore.QObject, QMediaBindableInterface): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - def loadFailed(self) -> None: ... - def loaded(self) -> None: ... - def mediaChanged(self, start: int, end: int) -> None: ... - def mediaRemoved(self, start: int, end: int) -> None: ... - def mediaAboutToBeRemoved(self, start: int, end: int) -> None: ... - def mediaInserted(self, start: int, end: int) -> None: ... - def mediaAboutToBeInserted(self, start: int, end: int) -> None: ... - def currentMediaChanged(self, a0: QMediaContent) -> None: ... - def playbackModeChanged(self, mode: 'QMediaPlaylist.PlaybackMode') -> None: ... - def currentIndexChanged(self, index: int) -> None: ... + loadFailed: typing.ClassVar[QtCore.pyqtSignal] + loaded: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaRemoved: typing.ClassVar[QtCore.pyqtSignal] + mediaAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + mediaInserted: typing.ClassVar[QtCore.pyqtSignal] + mediaAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + playbackModeChanged: typing.ClassVar[QtCore.pyqtSignal] + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] def setCurrentIndex(self, index: int) -> None: ... def previous(self) -> None: ... def next(self) -> None: ... @@ -2148,13 +2092,13 @@ class QMediaRecorderControl(QMediaControl): def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def setState(self, state: QMediaRecorder.State) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... - def volumeChanged(self, volume: float) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def durationChanged(self, position: int) -> None: ... - def statusChanged(self, status: QMediaRecorder.Status) -> None: ... - def stateChanged(self, state: QMediaRecorder.State) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def applySettings(self) -> None: ... def volume(self) -> float: ... def isMuted(self) -> bool: ... @@ -2227,9 +2171,8 @@ class QMediaStreamsControl(QMediaControl): DataStream = ... # type: QMediaStreamsControl.StreamType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def activeStreamsChanged(self) -> None: ... - def streamsChanged(self) -> None: ... + activeStreamsChanged: typing.ClassVar[QtCore.pyqtSignal] + streamsChanged: typing.ClassVar[QtCore.pyqtSignal] def setActive(self, streamNumber: int, state: bool) -> None: ... def isActive(self, streamNumber: int) -> bool: ... def metaData(self, streamNumber: int, key: str) -> typing.Any: ... @@ -2287,20 +2230,15 @@ class QMediaTimeRange(sip.simplewrapper): class QMediaVideoProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def flush(self) -> None: ... - def videoFrameProbed(self, frame: 'QVideoFrame') -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] class QMetaDataReaderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def metaDataAvailableChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -2309,13 +2247,9 @@ class QMetaDataReaderControl(QMediaControl): class QMetaDataWriterControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def metaDataAvailableChanged(self, available: bool) -> None: ... - def writableChanged(self, writable: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + writableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def setMetaData(self, key: str, value: typing.Any) -> None: ... def metaData(self, key: str) -> typing.Any: ... @@ -2487,18 +2421,15 @@ class QRadioData(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... - def radioTextChanged(self, radioText: str) -> None: ... - def stationNameChanged(self, stationName: str) -> None: ... - def programTypeNameChanged(self, programTypeName: str) -> None: ... - def programTypeChanged(self, programType: 'QRadioData.ProgramType') -> None: ... - def stationIdChanged(self, stationId: str) -> None: ... + alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] + stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QRadioData.Error': ... - @typing.overload - def error(self, error: 'QRadioData.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAlternativeFrequenciesEnabled(self) -> bool: ... def radioText(self) -> str: ... def stationName(self) -> str: ... @@ -2512,18 +2443,14 @@ class QRadioData(QtCore.QObject, QMediaBindableInterface): class QRadioDataControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... - def radioTextChanged(self, radioText: str) -> None: ... - def stationNameChanged(self, stationName: str) -> None: ... - def programTypeNameChanged(self, programTypeName: str) -> None: ... - def programTypeChanged(self, programType: QRadioData.ProgramType) -> None: ... - def stationIdChanged(self, stationId: str) -> None: ... + alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] + stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> QRadioData.Error: ... - @typing.overload - def error(self, err: QRadioData.Error) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAlternativeFrequenciesEnabled(self) -> bool: ... def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def radioText(self) -> str: ... @@ -2583,17 +2510,16 @@ class QRadioTuner(QMediaObject): StoppedState = ... # type: QRadioTuner.State def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... - def stationFound(self, frequency: int, stationId: str) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def signalStrengthChanged(self, signalStrength: int) -> None: ... - def searchingChanged(self, searching: bool) -> None: ... - def stereoStatusChanged(self, stereo: bool) -> None: ... - def frequencyChanged(self, frequency: int) -> None: ... - def bandChanged(self, band: 'QRadioTuner.Band') -> None: ... - def stateChanged(self, state: 'QRadioTuner.State') -> None: ... + antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] + stationFound: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + searchingChanged: typing.ClassVar[QtCore.pyqtSignal] + stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] + bandChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def setMuted(self, muted: bool) -> None: ... @@ -2606,10 +2532,7 @@ class QRadioTuner(QMediaObject): def searchForward(self) -> None: ... def radioData(self) -> QRadioData: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QRadioTuner.Error': ... - @typing.overload - def error(self, error: 'QRadioTuner.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAntennaConnected(self) -> bool: ... def isSearching(self) -> bool: ... def isMuted(self) -> bool: ... @@ -2630,22 +2553,18 @@ class QRadioTuner(QMediaObject): class QRadioTunerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... - def stationFound(self, frequency: int, stationId: str) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def signalStrengthChanged(self, signalStrength: int) -> None: ... - def searchingChanged(self, searching: bool) -> None: ... - def stereoStatusChanged(self, stereo: bool) -> None: ... - def frequencyChanged(self, frequency: int) -> None: ... - def bandChanged(self, band: QRadioTuner.Band) -> None: ... - def stateChanged(self, state: QRadioTuner.State) -> None: ... + antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] + stationFound: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + searchingChanged: typing.ClassVar[QtCore.pyqtSignal] + stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] + bandChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> QRadioTuner.Error: ... - @typing.overload - def error(self, err: QRadioTuner.Error) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def cancelSearch(self) -> None: ... @@ -2719,15 +2638,15 @@ class QSoundEffect(QtCore.QObject): def stop(self) -> None: ... def play(self) -> None: ... - def categoryChanged(self) -> None: ... - def statusChanged(self) -> None: ... - def playingChanged(self) -> None: ... - def loadedChanged(self) -> None: ... - def mutedChanged(self) -> None: ... - def volumeChanged(self) -> None: ... - def loopsRemainingChanged(self) -> None: ... - def loopCountChanged(self) -> None: ... - def sourceChanged(self) -> None: ... + categoryChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + playingChanged: typing.ClassVar[QtCore.pyqtSignal] + loadedChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + loopsRemainingChanged: typing.ClassVar[QtCore.pyqtSignal] + loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setCategory(self, category: str) -> None: ... def category(self) -> str: ... def status(self) -> 'QSoundEffect.Status': ... @@ -2749,12 +2668,8 @@ class QSoundEffect(QtCore.QObject): class QVideoDeviceSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def devicesChanged(self) -> None: ... - @typing.overload - def selectedDeviceChanged(self, index: int) -> None: ... - @typing.overload - def selectedDeviceChanged(self, name: str) -> None: ... + devicesChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSelectedDevice(self, index: int) -> None: ... def selectedDevice(self) -> int: ... def defaultDevice(self) -> int: ... @@ -2917,9 +2832,8 @@ class QVideoFrame(sip.simplewrapper): class QVideoProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def flush(self) -> None: ... - def videoFrameProbed(self, videoFrame: QVideoFrame) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -3000,13 +2914,12 @@ class QVideoSurfaceFormat(sip.simplewrapper): class QVideoWindowControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def nativeSizeChanged(self) -> None: ... - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtMultimediaWidgets.pyi b/PyQt5-stubs/QtMultimediaWidgets.pyi index c7a0cc68..d9b678fb 100644 --- a/PyQt5-stubs/QtMultimediaWidgets.pyi +++ b/PyQt5-stubs/QtMultimediaWidgets.pyi @@ -53,11 +53,11 @@ class QVideoWidget(QtWidgets.QWidget, QtMultimedia.QMediaBindableInterface): def hideEvent(self, event: QtGui.QHideEvent) -> None: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def setHue(self, hue: int) -> None: ... def setContrast(self, contrast: int) -> None: ... @@ -89,7 +89,7 @@ class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableI def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... def itemChange(self, change: QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... - def nativeSizeChanged(self, size: QtCore.QSizeF) -> None: ... + nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... def boundingRect(self) -> QtCore.QRectF: ... def nativeSize(self) -> QtCore.QSizeF: ... @@ -105,12 +105,11 @@ class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableI class QVideoWidgetControl(QtMultimedia.QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtNetwork.pyi b/PyQt5-stubs/QtNetwork.pyi index 4acd10cb..e7186771 100644 --- a/PyQt5-stubs/QtNetwork.pyi +++ b/PyQt5-stubs/QtNetwork.pyi @@ -270,12 +270,12 @@ class QAbstractSocket(QtCore.QIODevice): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: 'QAuthenticator') -> None: ... - def errorOccurred(self, a0: 'QAbstractSocket.SocketError') -> None: ... - def stateChanged(self, a0: 'QAbstractSocket.SocketState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... - def hostFound(self) -> None: ... + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] + hostFound: typing.ClassVar[QtCore.pyqtSignal] def proxy(self) -> 'QNetworkProxy': ... def setProxy(self, networkProxy: 'QNetworkProxy') -> None: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... @@ -286,10 +286,7 @@ class QAbstractSocket(QtCore.QIODevice): def atEnd(self) -> bool: ... def isSequential(self) -> bool: ... def close(self) -> None: ... - @typing.overload - def error(self) -> 'QAbstractSocket.SocketError': ... - @typing.overload - def error(self, a0: 'QAbstractSocket.SocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QAbstractSocket.SocketState': ... def socketType(self) -> 'QAbstractSocket.SocketType': ... def socketDescriptor(self) -> sip.voidptr: ... @@ -448,13 +445,12 @@ class QDnsLookup(QtCore.QObject): def __init__(self, type: 'QDnsLookup.Type', name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, type: 'QDnsLookup.Type', name: str, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def nameserverChanged(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + nameserverChanged: typing.ClassVar[QtCore.pyqtSignal] def setNameserver(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... def nameserver(self) -> 'QHostAddress': ... - def typeChanged(self, type: 'QDnsLookup.Type') -> None: ... - def nameChanged(self, name: str) -> None: ... - def finished(self) -> None: ... + typeChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def lookup(self) -> None: ... def abort(self) -> None: ... def textRecords(self) -> typing.List[QDnsTextRecord]: ... @@ -739,7 +735,7 @@ class QLocalServer(QtCore.QObject): def socketOptions(self) -> 'QLocalServer.SocketOptions': ... def setSocketOptions(self, options: typing.Union['QLocalServer.SocketOptions', 'QLocalServer.SocketOption']) -> None: ... def incomingConnection(self, socketDescriptor: sip.voidptr) -> None: ... - def newConnection(self) -> None: ... + newConnection: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def removeServer(name: str) -> bool: ... def waitForNewConnection(self, msecs: int = ...) -> typing.Tuple[bool, bool]: ... @@ -801,10 +797,10 @@ class QLocalSocket(QtCore.QIODevice): def writeData(self, a0: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def stateChanged(self, socketState: 'QLocalSocket.LocalSocketState') -> None: ... - def errorOccurred(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def waitForReadyRead(self, msecs: int = ...) -> bool: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForConnected(self, msecs: int = ...) -> bool: ... @@ -816,10 +812,7 @@ class QLocalSocket(QtCore.QIODevice): def readBufferSize(self) -> int: ... def isValid(self) -> bool: ... def flush(self) -> bool: ... - @typing.overload - def error(self) -> 'QLocalSocket.LocalSocketError': ... - @typing.overload - def error(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def close(self) -> None: ... def canReadLine(self) -> bool: ... def bytesToWrite(self) -> int: ... @@ -965,12 +958,11 @@ class QNetworkConfigurationManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def updateCompleted(self) -> None: ... - def onlineStateChanged(self, isOnline: bool) -> None: ... - def configurationChanged(self, config: 'QNetworkConfiguration') -> None: ... - def configurationRemoved(self, config: 'QNetworkConfiguration') -> None: ... - def configurationAdded(self, config: 'QNetworkConfiguration') -> None: ... + updateCompleted: typing.ClassVar[QtCore.pyqtSignal] + onlineStateChanged: typing.ClassVar[QtCore.pyqtSignal] + configurationChanged: typing.ClassVar[QtCore.pyqtSignal] + configurationRemoved: typing.ClassVar[QtCore.pyqtSignal] + configurationAdded: typing.ClassVar[QtCore.pyqtSignal] def isOnline(self) -> bool: ... def updateConfigurations(self) -> None: ... def configurationFromIdentifier(self, identifier: str) -> 'QNetworkConfiguration': ... @@ -1552,16 +1544,16 @@ class QNetworkReply(QtCore.QIODevice): def setRequest(self, request: 'QNetworkRequest') -> None: ... def setOperation(self, operation: QNetworkAccessManager.Operation) -> None: ... def writeData(self, data: bytes) -> int: ... - def redirectAllowed(self) -> None: ... - def redirected(self, url: QtCore.QUrl) -> None: ... - def preSharedKeyAuthenticationRequired(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... - def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... - def uploadProgress(self, bytesSent: int, bytesTotal: int) -> None: ... - def sslErrors(self, errors: typing.Iterable['QSslError']) -> None: ... - def errorOccurred(self, a0: 'QNetworkReply.NetworkError') -> None: ... - def encrypted(self) -> None: ... - def finished(self) -> None: ... - def metaDataChanged(self) -> None: ... + redirectAllowed: typing.ClassVar[QtCore.pyqtSignal] + redirected: typing.ClassVar[QtCore.pyqtSignal] + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + downloadProgress: typing.ClassVar[QtCore.pyqtSignal] + uploadProgress: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + encrypted: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -1574,10 +1566,7 @@ class QNetworkReply(QtCore.QIODevice): def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... def url(self) -> QtCore.QUrl: ... - @typing.overload - def error(self) -> 'QNetworkReply.NetworkError': ... - @typing.overload - def error(self, a0: 'QNetworkReply.NetworkError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def request(self) -> 'QNetworkRequest': ... def operation(self) -> QNetworkAccessManager.Operation: ... def manager(self) -> QNetworkAccessManager: ... @@ -1810,16 +1799,15 @@ class QNetworkSession(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, connConfig: QNetworkConfiguration, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def usagePoliciesChanged(self, usagePolicies: typing.Union['QNetworkSession.UsagePolicies', 'QNetworkSession.UsagePolicy']) -> None: ... + usagePoliciesChanged: typing.ClassVar[QtCore.pyqtSignal] def usagePolicies(self) -> 'QNetworkSession.UsagePolicies': ... def disconnectNotify(self, signal: QtCore.QMetaMethod) -> None: ... def connectNotify(self, signal: QtCore.QMetaMethod) -> None: ... - def newConfigurationActivated(self) -> None: ... - def preferredConfigurationChanged(self, config: QNetworkConfiguration, isSeamless: bool) -> None: ... - def closed(self) -> None: ... - def opened(self) -> None: ... - def stateChanged(self, a0: 'QNetworkSession.State') -> None: ... + newConfigurationActivated: typing.ClassVar[QtCore.pyqtSignal] + preferredConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] + closed: typing.ClassVar[QtCore.pyqtSignal] + opened: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def reject(self) -> None: ... def accept(self) -> None: ... def ignore(self) -> None: ... @@ -1834,10 +1822,7 @@ class QNetworkSession(QtCore.QObject): def setSessionProperty(self, key: str, value: typing.Any) -> None: ... def sessionProperty(self, key: str) -> typing.Any: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QNetworkSession.SessionError': ... - @typing.overload - def error(self, a0: 'QNetworkSession.SessionError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QNetworkSession.State': ... def interface(self) -> QNetworkInterface: ... def configuration(self) -> QNetworkConfiguration: ... @@ -2391,8 +2376,7 @@ class QSslSocket(QTcpSocket): SslServerMode = ... # type: QSslSocket.SslMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def newSessionTicketReceived(self) -> None: ... + newSessionTicketReceived: typing.ClassVar[QtCore.pyqtSignal] def sslHandshakeErrors(self) -> typing.List[QSslError]: ... def ocspResponses(self) -> typing.List[QOcspResponse]: ... @staticmethod @@ -2413,8 +2397,8 @@ class QSslSocket(QTcpSocket): def peerVerifyName(self) -> str: ... def socketOption(self, option: QAbstractSocket.SocketOption) -> typing.Any: ... def setSocketOption(self, option: QAbstractSocket.SocketOption, value: typing.Any) -> None: ... - def encryptedBytesWritten(self, totalBytes: int) -> None: ... - def peerVerifyError(self, error: QSslError) -> None: ... + encryptedBytesWritten: typing.ClassVar[QtCore.pyqtSignal] + peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] def setSslConfiguration(self, config: QSslConfiguration) -> None: ... def sslConfiguration(self) -> QSslConfiguration: ... def encryptedBytesToWrite(self) -> int: ... @@ -2426,9 +2410,9 @@ class QSslSocket(QTcpSocket): def peerVerifyMode(self) -> 'QSslSocket.PeerVerifyMode': ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QSslPreSharedKeyAuthenticator) -> None: ... - def modeChanged(self, newMode: 'QSslSocket.SslMode') -> None: ... - def encrypted(self) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + modeChanged: typing.ClassVar[QtCore.pyqtSignal] + encrypted: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -2437,10 +2421,7 @@ class QSslSocket(QTcpSocket): def startClientEncryption(self) -> None: ... @staticmethod def supportsSsl() -> bool: ... - @typing.overload - def sslErrors(self) -> typing.List[QSslError]: ... - @typing.overload - def sslErrors(self, errors: typing.Iterable[QSslError]) -> None: ... + sslErrors: typing.ClassVar[QtCore.pyqtSignal] def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... def waitForReadyRead(self, msecs: int = ...) -> bool: ... @@ -2512,9 +2493,8 @@ class QSslSocket(QTcpSocket): class QTcpServer(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def acceptError(self, socketError: QAbstractSocket.SocketError) -> None: ... - def newConnection(self) -> None: ... + acceptError: typing.ClassVar[QtCore.pyqtSignal] + newConnection: typing.ClassVar[QtCore.pyqtSignal] def addPendingConnection(self, socket: QTcpSocket) -> None: ... def incomingConnection(self, handle: sip.voidptr) -> None: ... def resumeAccepting(self) -> None: ... diff --git a/PyQt5-stubs/QtNetworkAuth.pyi b/PyQt5-stubs/QtNetworkAuth.pyi index b9f650b4..6fb0f628 100644 --- a/PyQt5-stubs/QtNetworkAuth.pyi +++ b/PyQt5-stubs/QtNetworkAuth.pyi @@ -64,17 +64,17 @@ class QAbstractOAuth(QtCore.QObject): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any]) -> None: ... def callback(self) -> str: ... def setStatus(self, status: 'QAbstractOAuth.Status') -> None: ... - def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def finished(self, reply: QtNetwork.QNetworkReply) -> None: ... - def granted(self) -> None: ... - def authorizeWithBrowser(self, url: QtCore.QUrl) -> None: ... - def requestFailed(self, error: 'QAbstractOAuth.Error') -> None: ... - def contentTypeChanged(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... - def extraTokensChanged(self, tokens: typing.Dict[str, typing.Any]) -> None: ... - def authorizationUrlChanged(self, url: QtCore.QUrl) -> None: ... - def statusChanged(self, status: 'QAbstractOAuth.Status') -> None: ... - def tokenChanged(self, token: str) -> None: ... - def clientIdentifierChanged(self, clientIdentifier: str) -> None: ... + replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + granted: typing.ClassVar[QtCore.pyqtSignal] + authorizeWithBrowser: typing.ClassVar[QtCore.pyqtSignal] + requestFailed: typing.ClassVar[QtCore.pyqtSignal] + contentTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + extraTokensChanged: typing.ClassVar[QtCore.pyqtSignal] + authorizationUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + tokenChanged: typing.ClassVar[QtCore.pyqtSignal] + clientIdentifierChanged: typing.ClassVar[QtCore.pyqtSignal] def grant(self) -> None: ... def prepareRequest(self, request: QtNetwork.QNetworkRequest, verb: typing.Union[QtCore.QByteArray, bytes, bytearray], body: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... def setContentType(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... @@ -108,15 +108,15 @@ class QAbstractOAuth2(QAbstractOAuth): def __init__(self, manager: QtNetwork.QNetworkAccessManager, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setResponseType(self, responseType: str) -> None: ... - def authorizationCallbackReceived(self, data: typing.Dict[str, typing.Any]) -> None: ... - def error(self, error: str, errorDescription: str, uri: QtCore.QUrl) -> None: ... - def expirationAtChanged(self, expiration: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def stateChanged(self, state: str) -> None: ... - def clientIdentifierSharedKeyChanged(self, clientIdentifierSharedKey: str) -> None: ... - def responseTypeChanged(self, responseType: str) -> None: ... - def refreshTokenChanged(self, refreshToken: str) -> None: ... - def userAgentChanged(self, userAgent: str) -> None: ... - def scopeChanged(self, scope: str) -> None: ... + authorizationCallbackReceived: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + expirationAtChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + clientIdentifierSharedKeyChanged: typing.ClassVar[QtCore.pyqtSignal] + responseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + refreshTokenChanged: typing.ClassVar[QtCore.pyqtSignal] + userAgentChanged: typing.ClassVar[QtCore.pyqtSignal] + scopeChanged: typing.ClassVar[QtCore.pyqtSignal] def setRefreshToken(self, refreshToken: str) -> None: ... def refreshToken(self) -> str: ... def expirationAt(self) -> QtCore.QDateTime: ... @@ -150,11 +150,10 @@ class QAbstractOAuth2(QAbstractOAuth): class QAbstractOAuthReplyHandler(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def callbackDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tokensReceived(self, tokens: typing.Dict[str, typing.Any]) -> None: ... - def callbackReceived(self, values: typing.Dict[str, typing.Any]) -> None: ... + callbackDataReceived: typing.ClassVar[QtCore.pyqtSignal] + replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] + tokensReceived: typing.ClassVar[QtCore.pyqtSignal] + callbackReceived: typing.ClassVar[QtCore.pyqtSignal] def networkReplyFinished(self, reply: QtNetwork.QNetworkReply) -> None: ... def callback(self) -> str: ... @@ -183,11 +182,11 @@ class QOAuth1(QAbstractOAuth): def setup(self, request: QtNetwork.QNetworkRequest, signingParameters: typing.Dict[str, typing.Any], operationVerb: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def requestTokenCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, temporaryToken: typing.Tuple[str, str], parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... def requestTemporaryCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... - def tokenCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... - def temporaryCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... - def tokenSecretChanged(self, token: str) -> None: ... - def clientSharedSecretChanged(self, credential: str) -> None: ... - def signatureMethodChanged(self, method: 'QOAuth1.SignatureMethod') -> None: ... + tokenCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + temporaryCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + tokenSecretChanged: typing.ClassVar[QtCore.pyqtSignal] + clientSharedSecretChanged: typing.ClassVar[QtCore.pyqtSignal] + signatureMethodChanged: typing.ClassVar[QtCore.pyqtSignal] def continueGrantWithVerifier(self, verifier: str) -> None: ... def grant(self) -> None: ... def deleteResource(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... @@ -278,7 +277,7 @@ class QOAuth2AuthorizationCodeFlow(QAbstractOAuth2): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> None: ... def requestAccessToken(self, code: str) -> None: ... def buildAuthenticateUrl(self, parameters: typing.Dict[str, typing.Any] = ...) -> QtCore.QUrl: ... - def accessTokenUrlChanged(self, accessTokenUrl: QtCore.QUrl) -> None: ... + accessTokenUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def refreshAccessToken(self) -> None: ... def grant(self) -> None: ... def setAccessTokenUrl(self, accessTokenUrl: QtCore.QUrl) -> None: ... diff --git a/PyQt5-stubs/QtNfc.pyi b/PyQt5-stubs/QtNfc.pyi index 669afa27..caaa56c0 100644 --- a/PyQt5-stubs/QtNfc.pyi +++ b/PyQt5-stubs/QtNfc.pyi @@ -273,11 +273,10 @@ class QNearFieldManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def adapterStateChanged(self, state: 'QNearFieldManager.AdapterState') -> None: ... + adapterStateChanged: typing.ClassVar[QtCore.pyqtSignal] def isSupported(self) -> bool: ... - def targetLost(self, target: 'QNearFieldTarget') -> None: ... - def targetDetected(self, target: 'QNearFieldTarget') -> None: ... + targetLost: typing.ClassVar[QtCore.pyqtSignal] + targetDetected: typing.ClassVar[QtCore.pyqtSignal] def unregisterNdefMessageHandler(self, handlerId: int) -> bool: ... @typing.overload def registerNdefMessageHandler(self, slot: PYQT_SLOT) -> int: ... @@ -340,10 +339,9 @@ class QNearFieldShareManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def error(self, error: 'QNearFieldShareManager.ShareError') -> None: ... - def shareModesChanged(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... - def targetDetected(self, shareTarget: 'QNearFieldShareTarget') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + shareModesChanged: typing.ClassVar[QtCore.pyqtSignal] + targetDetected: typing.ClassVar[QtCore.pyqtSignal] def shareError(self) -> 'QNearFieldShareManager.ShareError': ... def shareModes(self) -> 'QNearFieldShareManager.ShareModes': ... def setShareModes(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... @@ -352,9 +350,8 @@ class QNearFieldShareManager(QtCore.QObject): class QNearFieldShareTarget(QtCore.QObject): - - def shareFinished(self) -> None: ... - def error(self, error: QNearFieldShareManager.ShareError) -> None: ... + shareFinished: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] def shareError(self) -> QNearFieldShareManager.ShareError: ... def isShareInProgress(self) -> bool: ... def cancel(self) -> None: ... @@ -447,11 +444,11 @@ class QNearFieldTarget(QtCore.QObject): def disconnect(self) -> bool: ... # type: ignore[override] def setKeepConnection(self, isPersistent: bool) -> bool: ... def keepConnection(self) -> bool: ... - def error(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... - def requestCompleted(self, id: 'QNearFieldTarget.RequestId') -> None: ... - def ndefMessagesWritten(self) -> None: ... - def ndefMessageRead(self, message: QNdefMessage) -> None: ... - def disconnected(self) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + requestCompleted: typing.ClassVar[QtCore.pyqtSignal] + ndefMessagesWritten: typing.ClassVar[QtCore.pyqtSignal] + ndefMessageRead: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] def reportError(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... def handleResponse(self, id: 'QNearFieldTarget.RequestId', response: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def setResponseForRequest(self, id: 'QNearFieldTarget.RequestId', response: typing.Any, emitRequestCompleted: bool = ...) -> None: ... @@ -490,10 +487,9 @@ class QQmlNdefRecord(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, record: QNdefRecord, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def recordChanged(self) -> None: ... - def typeNameFormatChanged(self) -> None: ... - def typeChanged(self) -> None: ... + recordChanged: typing.ClassVar[QtCore.pyqtSignal] + typeNameFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecord(self, record: QNdefRecord) -> None: ... def record(self) -> QNdefRecord: ... def typeNameFormat(self) -> 'QQmlNdefRecord.TypeNameFormat': ... diff --git a/PyQt5-stubs/QtPositioning.pyi b/PyQt5-stubs/QtPositioning.pyi index de57e255..d4914699 100644 --- a/PyQt5-stubs/QtPositioning.pyi +++ b/PyQt5-stubs/QtPositioning.pyi @@ -119,10 +119,9 @@ class QGeoAreaMonitorSource(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: QtCore.QObject) -> None: ... - - def monitorExpired(self, monitor: QGeoAreaMonitorInfo) -> None: ... - def areaExited(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... - def areaEntered(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... + monitorExpired: typing.ClassVar[QtCore.pyqtSignal] + areaExited: typing.ClassVar[QtCore.pyqtSignal] + areaEntered: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def activeMonitors(self) -> typing.List[QGeoAreaMonitorInfo]: ... @typing.overload @@ -131,10 +130,7 @@ class QGeoAreaMonitorSource(QtCore.QObject): def stopMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def startMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def supportedAreaMonitorFeatures(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeatures': ... - @typing.overload - def error(self) -> 'QGeoAreaMonitorSource.Error': ... - @typing.overload - def error(self, error: 'QGeoAreaMonitorSource.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def sourceName(self) -> str: ... def positionInfoSource(self) -> 'QGeoPositionInfoSource': ... def setPositionInfoSource(self, source: 'QGeoPositionInfoSource') -> None: ... @@ -414,14 +410,13 @@ class QGeoPositionInfoSource(QtCore.QObject): def backendProperty(self, name: str) -> typing.Any: ... def setBackendProperty(self, name: str, value: typing.Any) -> bool: ... - def supportedPositioningMethodsChanged(self) -> None: ... - def updateTimeout(self) -> None: ... - def positionUpdated(self, update: QGeoPositionInfo) -> None: ... + supportedPositioningMethodsChanged: typing.ClassVar[QtCore.pyqtSignal] + updateTimeout: typing.ClassVar[QtCore.pyqtSignal] + positionUpdated: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... - # If the error signal is real, it isn't accessible in PyQt 5.15.1 - def error(self) -> 'QGeoPositionInfoSource.Error': ... + error: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def availableSources() -> typing.List[str]: ... @typing.overload @@ -533,17 +528,13 @@ class QGeoSatelliteInfoSource(QtCore.QObject): UnknownSourceError = ... # type: QGeoSatelliteInfoSource.Error def __init__(self, parent: QtCore.QObject) -> None: ... - - def requestTimeout(self) -> None: ... - def satellitesInUseUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... - def satellitesInViewUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... + requestTimeout: typing.ClassVar[QtCore.pyqtSignal] + satellitesInUseUpdated: typing.ClassVar[QtCore.pyqtSignal] + satellitesInViewUpdated: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... - @typing.overload - def error(self) -> 'QGeoSatelliteInfoSource.Error': ... - @typing.overload - def error(self, a0: 'QGeoSatelliteInfoSource.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def minimumUpdateInterval(self) -> int: ... def updateInterval(self) -> int: ... def setUpdateInterval(self, msec: int) -> None: ... diff --git a/PyQt5-stubs/QtPrintSupport.pyi b/PyQt5-stubs/QtPrintSupport.pyi index c49a0efa..4c6c6977 100644 --- a/PyQt5-stubs/QtPrintSupport.pyi +++ b/PyQt5-stubs/QtPrintSupport.pyi @@ -128,11 +128,7 @@ class QPrintDialog(QAbstractPrintDialog): def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... - - @typing.overload # type: ignore[override] - def accepted(self) -> None: ... - @typing.overload - def accepted(self, printer: 'QPrinter') -> None: ... + accepted: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def open(self) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtPurchasing.pyi b/PyQt5-stubs/QtPurchasing.pyi index 5dc2605a..45707d83 100644 --- a/PyQt5-stubs/QtPurchasing.pyi +++ b/PyQt5-stubs/QtPurchasing.pyi @@ -52,10 +52,9 @@ class QInAppProduct(QtCore.QObject): class QInAppStore(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def transactionReady(self, transaction: 'QInAppTransaction') -> None: ... - def productUnknown(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... - def productRegistered(self, product: QInAppProduct) -> None: ... + transactionReady: typing.ClassVar[QtCore.pyqtSignal] + productUnknown: typing.ClassVar[QtCore.pyqtSignal] + productRegistered: typing.ClassVar[QtCore.pyqtSignal] def setPlatformProperty(self, propertyName: str, value: str) -> None: ... def registeredProduct(self, identifier: str) -> QInAppProduct: ... def registerProduct(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... diff --git a/PyQt5-stubs/QtQml.pyi b/PyQt5-stubs/QtQml.pyi index 78e530bd..c285e435 100644 --- a/PyQt5-stubs/QtQml.pyi +++ b/PyQt5-stubs/QtQml.pyi @@ -65,8 +65,7 @@ class QJSEngine(QtCore.QObject): def __init__(self) -> None: ... @typing.overload def __init__(self, parent: QtCore.QObject) -> None: ... - - def uiLanguageChanged(self) -> None: ... + uiLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] def setUiLanguage(self, language: str) -> None: ... def uiLanguage(self) -> str: ... def isInterrupted(self) -> bool: ... @@ -299,8 +298,8 @@ class QQmlComponent(QtCore.QObject): def setInitialProperties(self, component: QtCore.QObject, properties: typing.Dict[str, typing.Any]) -> None: ... def engine(self) -> QQmlEngine: ... - def progressChanged(self, a0: float) -> None: ... - def statusChanged(self, a0: 'QQmlComponent.Status') -> None: ... + progressChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setData(self, a0: typing.Union[QtCore.QByteArray, bytes, bytearray], baseUrl: QtCore.QUrl) -> None: ... @typing.overload def loadUrl(self, url: QtCore.QUrl) -> None: ... @@ -428,8 +427,7 @@ class QQmlExpression(QtCore.QObject): def __init__(self, a0: QQmlContext, a1: QtCore.QObject, a2: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, a0: 'QQmlScriptString', context: typing.Optional[QQmlContext] = ..., scope: typing.Optional[QtCore.QObject] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def valueChanged(self) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def evaluate(self) -> typing.Tuple[typing.Any, bool]: ... def error(self) -> QQmlError: ... def clearError(self) -> None: ... @@ -663,7 +661,7 @@ class QQmlPropertyMap(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def updateValue(self, key: str, input: typing.Any) -> typing.Any: ... - def valueChanged(self, key: str, value: typing.Any) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def __getitem__(self, key: str) -> typing.Any: ... def contains(self, key: str) -> bool: ... def isEmpty(self) -> bool: ... diff --git a/PyQt5-stubs/QtQuick.pyi b/PyQt5-stubs/QtQuick.pyi index 0f9ea248..662e8c63 100644 --- a/PyQt5-stubs/QtQuick.pyi +++ b/PyQt5-stubs/QtQuick.pyi @@ -141,8 +141,7 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def __init__(self, a0: 'QQuickItem.UpdatePaintNodeData') -> None: ... def __init__(self, parent: typing.Optional['QQuickItem'] = ...) -> None: ... - - def containmentMaskChanged(self) -> None: ... + containmentMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setContainmentMask(self, mask: QtCore.QObject) -> None: ... def containmentMask(self) -> QtCore.QObject: ... def setAcceptTouchEvents(self, accept: bool) -> None: ... @@ -153,7 +152,7 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def isAncestorOf(self, child: 'QQuickItem') -> bool: ... def grabToImage(self, targetSize: QtCore.QSize = ...) -> 'QQuickItemGrabResult': ... def resetAntialiasing(self) -> None: ... - def windowChanged(self, window: 'QQuickWindow') -> None: ... + windowChanged: typing.ClassVar[QtCore.pyqtSignal] def nextItemInFocusChain(self, forward: bool = ...) -> 'QQuickItem': ... def setActiveFocusOnTab(self, a0: bool) -> None: ... def activeFocusOnTab(self) -> bool: ... @@ -301,14 +300,13 @@ class QQuickFramebufferObject(QQuickItem): def render(self) -> None: ... def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - - def mirrorVerticallyChanged(self, a0: bool) -> None: ... + mirrorVerticallyChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrorVertically(self, enable: bool) -> None: ... def mirrorVertically(self) -> bool: ... def releaseResources(self) -> None: ... def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... - def textureFollowsItemSizeChanged(self, a0: bool) -> None: ... + textureFollowsItemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... def geometryChanged(self, newGeometry: QtCore.QRectF, oldGeometry: QtCore.QRectF) -> None: ... def createRenderer(self) -> 'QQuickFramebufferObject.Renderer': ... @@ -345,8 +343,7 @@ class QQuickImageProvider(QtQml.QQmlImageProviderBase): class QQuickImageResponse(QtCore.QObject): def __init__(self) -> None: ... - - def finished(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def cancel(self) -> None: ... def errorString(self) -> str: ... def textureFactory(self) -> QQuickTextureFactory: ... @@ -363,8 +360,7 @@ class QQuickAsyncImageProvider(QQuickImageProvider): class QQuickItemGrabResult(QtCore.QObject): - - def ready(self) -> None: ... + ready: typing.ClassVar[QtCore.pyqtSignal] def event(self, a0: QtCore.QEvent) -> bool: ... def saveToFile(self, fileName: str) -> bool: ... def url(self) -> QtCore.QUrl: ... @@ -403,8 +399,7 @@ class QQuickPaintedItem(QQuickItem): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - - def textureSizeChanged(self) -> None: ... + textureSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureSize(self, size: QtCore.QSize) -> None: ... def textureSize(self) -> QtCore.QSize: ... def itemChange(self, a0: QQuickItem.ItemChange, a1: QQuickItem.ItemChangeData) -> None: ... @@ -412,10 +407,10 @@ class QQuickPaintedItem(QQuickItem): def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... - def renderTargetChanged(self) -> None: ... - def contentsScaleChanged(self) -> None: ... - def contentsSizeChanged(self) -> None: ... - def fillColorChanged(self) -> None: ... + renderTargetChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + fillColorChanged: typing.ClassVar[QtCore.pyqtSignal] def paint(self, painter: QtGui.QPainter) -> None: ... def setRenderTarget(self, target: 'QQuickPaintedItem.RenderTarget') -> None: ... def renderTarget(self) -> 'QQuickPaintedItem.RenderTarget': ... @@ -442,9 +437,8 @@ class QQuickPaintedItem(QQuickItem): class QQuickRenderControl(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def sceneChanged(self) -> None: ... - def renderRequested(self) -> None: ... + sceneChanged: typing.ClassVar[QtCore.pyqtSignal] + renderRequested: typing.ClassVar[QtCore.pyqtSignal] def prepareThread(self, targetThread: QtCore.QThread) -> None: ... def renderWindow(self, offset: QtCore.QPoint) -> QtGui.QWindow: ... @staticmethod @@ -651,7 +645,7 @@ class QQuickView(QQuickWindow): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - def statusChanged(self, a0: 'QQuickView.Status') -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... def setSource(self, a0: QtCore.QUrl) -> None: ... def initialSize(self) -> QtCore.QSize: ... @@ -713,8 +707,7 @@ class QSGAbstractRenderer(QtCore.QObject): def __invert__(self) -> 'QSGAbstractRenderer.MatrixTransformFlags': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - - def sceneGraphChanged(self) -> None: ... + sceneGraphChanged: typing.ClassVar[QtCore.pyqtSignal] def renderScene(self, fboId: int = ...) -> None: ... def clearMode(self) -> 'QSGAbstractRenderer.ClearMode': ... def setClearMode(self, mode: typing.Union['QSGAbstractRenderer.ClearMode', 'QSGAbstractRenderer.ClearModeBit']) -> None: ... @@ -1804,8 +1797,7 @@ class QSGTextureMaterial(QSGOpaqueTextureMaterial): class QSGTextureProvider(QtCore.QObject): def __init__(self) -> None: ... - - def textureChanged(self) -> None: ... + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def texture(self) -> QSGTexture: ... diff --git a/PyQt5-stubs/QtQuickWidgets.pyi b/PyQt5-stubs/QtQuickWidgets.pyi index e3cc6b57..62c14f4b 100644 --- a/PyQt5-stubs/QtQuickWidgets.pyi +++ b/PyQt5-stubs/QtQuickWidgets.pyi @@ -92,8 +92,8 @@ class QQuickWidget(QtWidgets.QWidget): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - def sceneGraphError(self, error: QtQuick.QQuickWindow.SceneGraphError, message: str) -> None: ... - def statusChanged(self, a0: 'QQuickWidget.Status') -> None: ... + sceneGraphError: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, a0: QtCore.QUrl) -> None: ... def format(self) -> QtGui.QSurfaceFormat: ... def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ... diff --git a/PyQt5-stubs/QtRemoteObjects.pyi b/PyQt5-stubs/QtRemoteObjects.pyi index 8ae155b2..142f600d 100644 --- a/PyQt5-stubs/QtRemoteObjects.pyi +++ b/PyQt5-stubs/QtRemoteObjects.pyi @@ -33,8 +33,7 @@ PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] class QAbstractItemModelReplica(QtCore.QAbstractItemModel): - - def initialized(self) -> None: ... + initialized: typing.ClassVar[QtCore.pyqtSignal] def setRootCacheSize(self, rootCacheSize: int) -> None: ... def rootCacheSize(self) -> int: ... def hasData(self, index: QtCore.QModelIndex, role: int) -> bool: ... @@ -67,10 +66,9 @@ class QRemoteObjectReplica(QtCore.QObject): Valid = ... # type: QRemoteObjectReplica.State Suspect = ... # type: QRemoteObjectReplica.State SignatureMismatch = ... # type: QRemoteObjectReplica.State - - def notified(self) -> None: ... - def stateChanged(self, state: 'QRemoteObjectReplica.State', oldState: 'QRemoteObjectReplica.State') -> None: ... - def initialized(self) -> None: ... + notified: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + initialized: typing.ClassVar[QtCore.pyqtSignal] def setNode(self, node: 'QRemoteObjectNode') -> None: ... def node(self) -> 'QRemoteObjectNode': ... def state(self) -> 'QRemoteObjectReplica.State': ... @@ -125,10 +123,10 @@ class QRemoteObjectNode(QtCore.QObject): def __init__(self, registryAddress: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... - def heartbeatIntervalChanged(self, heartbeatInterval: int) -> None: ... - def error(self, errorCode: 'QRemoteObjectNode.ErrorCode') -> None: ... - def remoteObjectRemoved(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... - def remoteObjectAdded(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + heartbeatIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] def setHeartbeatInterval(self, interval: int) -> None: ... def heartbeatInterval(self) -> int: ... def lastError(self) -> 'QRemoteObjectNode.ErrorCode': ... @@ -174,8 +172,7 @@ class QRemoteObjectHost(QRemoteObjectHostBase): def __init__(self, address: QtCore.QUrl, registryAddress: QtCore.QUrl = ..., allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, address: QtCore.QUrl, parent: QtCore.QObject) -> None: ... - - def hostUrlChanged(self) -> None: ... + hostUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def setHostUrl(self, hostAddress: QtCore.QUrl, allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ... def hostUrl(self) -> QtCore.QUrl: ... @@ -188,9 +185,8 @@ class QRemoteObjectRegistryHost(QRemoteObjectHostBase): class QRemoteObjectRegistry(QRemoteObjectReplica): - - def remoteObjectRemoved(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... - def remoteObjectAdded(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] def sourceLocations(self) -> typing.Dict[str, 'QRemoteObjectSourceLocationInfo']: ... diff --git a/PyQt5-stubs/QtSensors.pyi b/PyQt5-stubs/QtSensors.pyi index 017cbd80..b94922ec 100644 --- a/PyQt5-stubs/QtSensors.pyi +++ b/PyQt5-stubs/QtSensors.pyi @@ -101,21 +101,20 @@ class QSensor(QtCore.QObject): PressureSensorTemperature = ... # type: QSensor.Feature def __init__(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def bufferSizeChanged(self, bufferSize: int) -> None: ... - def efficientBufferSizeChanged(self, efficientBufferSize: int) -> None: ... - def maxBufferSizeChanged(self, maxBufferSize: int) -> None: ... - def userOrientationChanged(self, userOrientation: int) -> None: ... - def currentOrientationChanged(self, currentOrientation: int) -> None: ... - def axesOrientationModeChanged(self, axesOrientationMode: 'QSensor.AxesOrientationMode') -> None: ... - def skipDuplicatesChanged(self, skipDuplicates: bool) -> None: ... - def dataRateChanged(self) -> None: ... - def alwaysOnChanged(self) -> None: ... - def availableSensorsChanged(self) -> None: ... - def sensorError(self, error: int) -> None: ... - def readingChanged(self) -> None: ... - def activeChanged(self) -> None: ... - def busyChanged(self) -> None: ... + bufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + efficientBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + userOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + currentOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + axesOrientationModeChanged: typing.ClassVar[QtCore.pyqtSignal] + skipDuplicatesChanged: typing.ClassVar[QtCore.pyqtSignal] + dataRateChanged: typing.ClassVar[QtCore.pyqtSignal] + alwaysOnChanged: typing.ClassVar[QtCore.pyqtSignal] + availableSensorsChanged: typing.ClassVar[QtCore.pyqtSignal] + sensorError: typing.ClassVar[QtCore.pyqtSignal] + readingChanged: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] + busyChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> bool: ... def setBufferSize(self, bufferSize: int) -> None: ... @@ -175,8 +174,7 @@ class QAccelerometer(QSensor): User = ... # type: QAccelerometer.AccelerationMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def accelerationModeChanged(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... + accelerationModeChanged: typing.ClassVar[QtCore.pyqtSignal] def reading(self) -> QAccelerometerReading: ... def setAccelerationMode(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... def accelerationMode(self) -> 'QAccelerometer.AccelerationMode': ... @@ -413,9 +411,8 @@ class QIRProximitySensor(QSensor): class QLidReading(QSensorReading): - - def frontLidChanged(self, closed: bool) -> None: ... - def backLidChanged(self, closed: bool) -> None: ... + frontLidChanged: typing.ClassVar[QtCore.pyqtSignal] + backLidChanged: typing.ClassVar[QtCore.pyqtSignal] def setFrontLidClosed(self, closed: bool) -> None: ... def frontLidClosed(self) -> bool: ... def setBackLidClosed(self, closed: bool) -> None: ... @@ -458,8 +455,7 @@ class QLightFilter(QSensorFilter): class QLightSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] def setFieldOfView(self, fieldOfView: float) -> None: ... def fieldOfView(self) -> float: ... def reading(self) -> QLightReading: ... @@ -490,8 +486,7 @@ class QMagnetometerFilter(QSensorFilter): class QMagnetometer(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def returnGeoValuesChanged(self, returnGeoValues: bool) -> None: ... + returnGeoValuesChanged: typing.ClassVar[QtCore.pyqtSignal] def setReturnGeoValues(self, returnGeoValues: bool) -> None: ... def returnGeoValues(self) -> bool: ... def reading(self) -> QMagnetometerReading: ... @@ -647,8 +642,7 @@ class QTapFilter(QSensorFilter): class QTapSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def returnDoubleTapEventsChanged(self, returnDoubleTapEvents: bool) -> None: ... + returnDoubleTapEventsChanged: typing.ClassVar[QtCore.pyqtSignal] def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool) -> None: ... def returnDoubleTapEvents(self) -> bool: ... def reading(self) -> QTapReading: ... @@ -701,8 +695,7 @@ class QRotationFilter(QSensorFilter): class QRotationSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def hasZChanged(self, hasZ: bool) -> None: ... + hasZChanged: typing.ClassVar[QtCore.pyqtSignal] def setHasZ(self, hasZ: bool) -> None: ... def hasZ(self) -> bool: ... def reading(self) -> QRotationReading: ... diff --git a/PyQt5-stubs/QtSerialPort.pyi b/PyQt5-stubs/QtSerialPort.pyi index 607e7f50..aea12ea3 100644 --- a/PyQt5-stubs/QtSerialPort.pyi +++ b/PyQt5-stubs/QtSerialPort.pyi @@ -219,23 +219,22 @@ class QSerialPort(QtCore.QIODevice): def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, info: 'QSerialPortInfo', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def errorOccurred(self, error: 'QSerialPort.SerialPortError') -> None: ... - def breakEnabledChanged(self, set: bool) -> None: ... + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + breakEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def isBreakEnabled(self) -> bool: ... def handle(self) -> int: ... def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def settingsRestoredOnCloseChanged(self, restore: bool) -> None: ... - def requestToSendChanged(self, set: bool) -> None: ... - def dataTerminalReadyChanged(self, set: bool) -> None: ... - def dataErrorPolicyChanged(self, policy: 'QSerialPort.DataErrorPolicy') -> None: ... - def flowControlChanged(self, flow: 'QSerialPort.FlowControl') -> None: ... - def stopBitsChanged(self, stopBits: 'QSerialPort.StopBits') -> None: ... - def parityChanged(self, parity: 'QSerialPort.Parity') -> None: ... - def dataBitsChanged(self, dataBits: 'QSerialPort.DataBits') -> None: ... - def baudRateChanged(self, baudRate: int, directions: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction']) -> None: ... + settingsRestoredOnCloseChanged: typing.ClassVar[QtCore.pyqtSignal] + requestToSendChanged: typing.ClassVar[QtCore.pyqtSignal] + dataTerminalReadyChanged: typing.ClassVar[QtCore.pyqtSignal] + dataErrorPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + flowControlChanged: typing.ClassVar[QtCore.pyqtSignal] + stopBitsChanged: typing.ClassVar[QtCore.pyqtSignal] + parityChanged: typing.ClassVar[QtCore.pyqtSignal] + dataBitsChanged: typing.ClassVar[QtCore.pyqtSignal] + baudRateChanged: typing.ClassVar[QtCore.pyqtSignal] def setBreakEnabled(self, enabled: bool = ...) -> bool: ... def sendBreak(self, duration: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... @@ -247,10 +246,7 @@ class QSerialPort(QtCore.QIODevice): def setReadBufferSize(self, size: int) -> None: ... def readBufferSize(self) -> int: ... def clearError(self) -> None: ... - @typing.overload - def error(self) -> 'QSerialPort.SerialPortError': ... - @typing.overload - def error(self, serialPortError: 'QSerialPort.SerialPortError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def dataErrorPolicy(self) -> 'QSerialPort.DataErrorPolicy': ... def setDataErrorPolicy(self, policy: 'QSerialPort.DataErrorPolicy' = ...) -> bool: ... def atEnd(self) -> bool: ... diff --git a/PyQt5-stubs/QtSql.pyi b/PyQt5-stubs/QtSql.pyi index 160fcf4e..558e4ea9 100644 --- a/PyQt5-stubs/QtSql.pyi +++ b/PyQt5-stubs/QtSql.pyi @@ -213,10 +213,7 @@ class QSqlDriver(QtCore.QObject): def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... def stripDelimiters(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> str: ... def isIdentifierEscaped(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> bool: ... - @typing.overload - def notification(self, name: str) -> None: ... - @typing.overload - def notification(self, name: str, source: 'QSqlDriver.NotificationSource', payload: typing.Any) -> None: ... + notification: typing.ClassVar[QtCore.pyqtSignal] def subscribedToNotifications(self) -> typing.List[str]: ... def unsubscribeFromNotification(self, name: str) -> bool: ... def subscribeToNotification(self, name: str) -> bool: ... @@ -560,10 +557,10 @@ class QSqlTableModel(QSqlQueryModel): def deleteRowFromTable(self, row: int) -> bool: ... def insertRowIntoTable(self, values: QSqlRecord) -> bool: ... def updateRowInTable(self, row: int, values: QSqlRecord) -> bool: ... - def beforeDelete(self, row: int) -> None: ... - def beforeUpdate(self, row: int, record: QSqlRecord) -> None: ... - def beforeInsert(self, record: QSqlRecord) -> None: ... - def primeInsert(self, row: int, record: QSqlRecord) -> None: ... + beforeDelete: typing.ClassVar[QtCore.pyqtSignal] + beforeUpdate: typing.ClassVar[QtCore.pyqtSignal] + beforeInsert: typing.ClassVar[QtCore.pyqtSignal] + primeInsert: typing.ClassVar[QtCore.pyqtSignal] def revertAll(self) -> None: ... def submitAll(self) -> bool: ... def revert(self) -> None: ... diff --git a/PyQt5-stubs/QtSvg.pyi b/PyQt5-stubs/QtSvg.pyi index 97d2b50b..608b3393 100644 --- a/PyQt5-stubs/QtSvg.pyi +++ b/PyQt5-stubs/QtSvg.pyi @@ -98,7 +98,7 @@ class QSvgRenderer(QtCore.QObject): def transformForElement(self, id: str) -> QtGui.QTransform: ... def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... - def repaintNeeded(self) -> None: ... + repaintNeeded: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def render(self, p: QtGui.QPainter) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtWebChannel.pyi b/PyQt5-stubs/QtWebChannel.pyi index 4ff9b336..2a5bd122 100644 --- a/PyQt5-stubs/QtWebChannel.pyi +++ b/PyQt5-stubs/QtWebChannel.pyi @@ -38,7 +38,7 @@ class QWebChannel(QtCore.QObject): def disconnectFrom(self, transport: 'QWebChannelAbstractTransport') -> None: ... def connectTo(self, transport: 'QWebChannelAbstractTransport') -> None: ... - def blockUpdatesChanged(self, block: bool) -> None: ... + blockUpdatesChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlockUpdates(self, block: bool) -> None: ... def blockUpdates(self) -> bool: ... def deregisterObject(self, object: QtCore.QObject) -> None: ... @@ -50,6 +50,5 @@ class QWebChannel(QtCore.QObject): class QWebChannelAbstractTransport(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def messageReceived(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]], transport: 'QWebChannelAbstractTransport') -> None: ... + messageReceived: typing.ClassVar[QtCore.pyqtSignal] def sendMessage(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]]) -> None: ... diff --git a/PyQt5-stubs/QtWebEngine.pyi b/PyQt5-stubs/QtWebEngine.pyi index 7b3c7fe0..2b78da94 100644 --- a/PyQt5-stubs/QtWebEngine.pyi +++ b/PyQt5-stubs/QtWebEngine.pyi @@ -60,30 +60,29 @@ class QQuickWebEngineProfile(QtCore.QObject): NoCache = ... # type: QQuickWebEngineProfile.HttpCacheType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def presentNotification(self, notification: QtWebEngineCore.QWebEngineNotification) -> None: ... - def downloadPathChanged(self) -> None: ... - def useForGlobalCertificateVerificationChanged(self) -> None: ... + presentNotification: typing.ClassVar[QtCore.pyqtSignal] + downloadPathChanged: typing.ClassVar[QtCore.pyqtSignal] + useForGlobalCertificateVerificationChanged: typing.ClassVar[QtCore.pyqtSignal] def clientCertificateStore(self) -> QtWebEngineCore.QWebEngineClientCertificateStore: ... def setDownloadPath(self, path: str) -> None: ... def downloadPath(self) -> str: ... def isUsedForGlobalCertificateVerification(self) -> bool: ... def setUseForGlobalCertificateVerification(self, b: bool) -> None: ... - def spellCheckEnabledChanged(self) -> None: ... - def spellCheckLanguagesChanged(self) -> None: ... + spellCheckEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + spellCheckLanguagesChanged: typing.ClassVar[QtCore.pyqtSignal] def isSpellCheckEnabled(self) -> bool: ... def setSpellCheckEnabled(self, enabled: bool) -> None: ... def spellCheckLanguages(self) -> typing.List[str]: ... def setSpellCheckLanguages(self, languages: typing.Iterable[str]) -> None: ... - def httpAcceptLanguageChanged(self) -> None: ... - def httpCacheMaximumSizeChanged(self) -> None: ... - def persistentCookiesPolicyChanged(self) -> None: ... - def httpCacheTypeChanged(self) -> None: ... - def httpUserAgentChanged(self) -> None: ... - def cachePathChanged(self) -> None: ... - def persistentStoragePathChanged(self) -> None: ... - def offTheRecordChanged(self) -> None: ... - def storageNameChanged(self) -> None: ... + httpAcceptLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] + httpCacheMaximumSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + persistentCookiesPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + httpCacheTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + httpUserAgentChanged: typing.ClassVar[QtCore.pyqtSignal] + cachePathChanged: typing.ClassVar[QtCore.pyqtSignal] + persistentStoragePathChanged: typing.ClassVar[QtCore.pyqtSignal] + offTheRecordChanged: typing.ClassVar[QtCore.pyqtSignal] + storageNameChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def defaultProfile() -> 'QQuickWebEngineProfile': ... def clearHttpCache(self) -> None: ... @@ -138,12 +137,12 @@ class QQuickWebEngineScript(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... - def runOnSubframesChanged(self, on: bool) -> None: ... - def worldIdChanged(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... - def injectionPointChanged(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... - def sourceCodeChanged(self, code: str) -> None: ... - def sourceUrlChanged(self, url: QtCore.QUrl) -> None: ... - def nameChanged(self, name: str) -> None: ... + runOnSubframesChanged: typing.ClassVar[QtCore.pyqtSignal] + worldIdChanged: typing.ClassVar[QtCore.pyqtSignal] + injectionPointChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setRunOnSubframes(self, on: bool) -> None: ... def setWorldId(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... def setInjectionPoint(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... diff --git a/PyQt5-stubs/QtWebEngineCore.pyi b/PyQt5-stubs/QtWebEngineCore.pyi index 4fd28480..8b60c11b 100644 --- a/PyQt5-stubs/QtWebEngineCore.pyi +++ b/PyQt5-stubs/QtWebEngineCore.pyi @@ -65,8 +65,8 @@ class QWebEngineCookieStore(QtCore.QObject): def __init__(self, a0: 'QWebEngineCookieStore.FilterRequest') -> None: ... def setCookieFilter(self, filterCallback: typing.Optional[typing.Callable[[FilterRequest], bool]] = ...) -> None: ... - def cookieRemoved(self, cookie: QtNetwork.QNetworkCookie) -> None: ... - def cookieAdded(self, cookie: QtNetwork.QNetworkCookie) -> None: ... + cookieRemoved: typing.ClassVar[QtCore.pyqtSignal] + cookieAdded: typing.ClassVar[QtCore.pyqtSignal] def loadAllCookies(self) -> None: ... def deleteAllCookies(self) -> None: ... def deleteSessionCookies(self) -> None: ... @@ -116,8 +116,7 @@ class QWebEngineHttpRequest(sip.simplewrapper): class QWebEngineNotification(QtCore.QObject): - - def closed(self) -> None: ... + closed: typing.ClassVar[QtCore.pyqtSignal] def close(self) -> None: ... def click(self) -> None: ... def show(self) -> None: ... diff --git a/PyQt5-stubs/QtWebEngineWidgets.pyi b/PyQt5-stubs/QtWebEngineWidgets.pyi index fe699fc7..f7cda7ee 100644 --- a/PyQt5-stubs/QtWebEngineWidgets.pyi +++ b/PyQt5-stubs/QtWebEngineWidgets.pyi @@ -312,7 +312,7 @@ class QWebEngineDownloadItem(QtCore.QObject): def suggestedFileName(self) -> str: ... def page(self) -> 'QWebEnginePage': ... def isSavePageDownload(self) -> bool: ... - def isPausedChanged(self, isPaused: bool) -> None: ... + isPausedChanged: typing.ClassVar[QtCore.pyqtSignal] def resume(self) -> None: ... def pause(self) -> None: ... def isPaused(self) -> bool: ... @@ -322,9 +322,9 @@ class QWebEngineDownloadItem(QtCore.QObject): def setSavePageFormat(self, format: 'QWebEngineDownloadItem.SavePageFormat') -> None: ... def savePageFormat(self) -> 'QWebEngineDownloadItem.SavePageFormat': ... def mimeType(self) -> str: ... - def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... - def stateChanged(self, state: 'QWebEngineDownloadItem.DownloadState') -> None: ... - def finished(self) -> None: ... + downloadProgress: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def cancel(self) -> None: ... def accept(self) -> None: ... def isFinished(self) -> bool: ... @@ -593,23 +593,22 @@ class QWebEnginePage(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, profile: 'QWebEngineProfile', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def renderProcessPidChanged(self, pid: int) -> None: ... + renderProcessPidChanged: typing.ClassVar[QtCore.pyqtSignal] def renderProcessPid(self) -> int: ... - def findTextFinished(self, result: QtWebEngineCore.QWebEngineFindTextResult) -> None: ... - def recommendedStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... - def lifecycleStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... - def visibleChanged(self, visible: bool) -> None: ... + findTextFinished: typing.ClassVar[QtCore.pyqtSignal] + recommendedStateChanged: typing.ClassVar[QtCore.pyqtSignal] + lifecycleStateChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... def recommendedState(self) -> 'QWebEnginePage.LifecycleState': ... def setLifecycleState(self, state: 'QWebEnginePage.LifecycleState') -> None: ... def lifecycleState(self) -> 'QWebEnginePage.LifecycleState': ... def setUrlRequestInterceptor(self, interceptor: QtWebEngineCore.QWebEngineUrlRequestInterceptor) -> None: ... - def printRequested(self) -> None: ... - def selectClientCertificate(self, clientCertSelection: QWebEngineClientCertificateSelection) -> None: ... - def registerProtocolHandlerRequested(self, request: QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest) -> None: ... - def quotaRequested(self, quotaRequest: QtWebEngineCore.QWebEngineQuotaRequest) -> None: ... + printRequested: typing.ClassVar[QtCore.pyqtSignal] + selectClientCertificate: typing.ClassVar[QtCore.pyqtSignal] + registerProtocolHandlerRequested: typing.ClassVar[QtCore.pyqtSignal] + quotaRequested: typing.ClassVar[QtCore.pyqtSignal] def devToolsPage(self) -> 'QWebEnginePage': ... def setDevToolsPage(self, page: 'QWebEnginePage') -> None: ... def inspectedPage(self) -> 'QWebEnginePage': ... @@ -618,12 +617,12 @@ class QWebEnginePage(QtCore.QObject): def print(self, printer: QtPrintSupport.QPrinter, resultCallback: typing.Callable[[bool], None]) -> None: ... def save(self, filePath: str, format: QWebEngineDownloadItem.SavePageFormat = ...) -> None: ... def replaceMisspelledWord(self, replacement: str) -> None: ... - def pdfPrintingFinished(self, filePath: str, success: bool) -> None: ... - def recentlyAudibleChanged(self, recentlyAudible: bool) -> None: ... - def audioMutedChanged(self, muted: bool) -> None: ... - def contentsSizeChanged(self, size: QtCore.QSizeF) -> None: ... - def scrollPositionChanged(self, position: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def iconChanged(self, icon: QtGui.QIcon) -> None: ... + pdfPrintingFinished: typing.ClassVar[QtCore.pyqtSignal] + recentlyAudibleChanged: typing.ClassVar[QtCore.pyqtSignal] + audioMutedChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + scrollPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + iconChanged: typing.ClassVar[QtCore.pyqtSignal] def contextMenuData(self) -> QWebEngineContextMenuData: ... @typing.overload def printToPdf(self, filePath: str, pageLayout: QtGui.QPageLayout = ...) -> None: ... @@ -635,8 +634,8 @@ class QWebEnginePage(QtCore.QObject): def contentsSize(self) -> QtCore.QSizeF: ... def scrollPosition(self) -> QtCore.QPointF: ... def icon(self) -> QtGui.QIcon: ... - def renderProcessTerminated(self, terminationStatus: 'QWebEnginePage.RenderProcessTerminationStatus', exitCode: int) -> None: ... - def fullScreenRequested(self, fullScreenRequest: QWebEngineFullScreenRequest) -> None: ... + renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] + fullScreenRequested: typing.ClassVar[QtCore.pyqtSignal] def setBackgroundColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def backgroundColor(self) -> QtGui.QColor: ... def acceptNavigationRequest(self, url: QtCore.QUrl, type: 'QWebEnginePage.NavigationType', isMainFrame: bool) -> bool: ... @@ -654,20 +653,20 @@ class QWebEnginePage(QtCore.QObject): def javaScriptAlert(self, securityOrigin: QtCore.QUrl, msg: str) -> None: ... def chooseFiles(self, mode: 'QWebEnginePage.FileSelectionMode', oldFiles: typing.Iterable[str], acceptedMimeTypes: typing.Iterable[str]) -> typing.List[str]: ... def createWindow(self, type: 'QWebEnginePage.WebWindowType') -> 'QWebEnginePage': ... - def iconUrlChanged(self, url: QtCore.QUrl) -> None: ... - def urlChanged(self, url: QtCore.QUrl) -> None: ... - def titleChanged(self, title: str) -> None: ... - def proxyAuthenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator, proxyHost: str) -> None: ... - def authenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator) -> None: ... - def featurePermissionRequestCanceled(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... - def featurePermissionRequested(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... - def windowCloseRequested(self) -> None: ... - def geometryChangeRequested(self, geom: QtCore.QRect) -> None: ... - def selectionChanged(self) -> None: ... - def linkHovered(self, url: str) -> None: ... - def loadFinished(self, ok: bool) -> None: ... - def loadProgress(self, progress: int) -> None: ... - def loadStarted(self) -> None: ... + iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + urlChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + authenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + featurePermissionRequestCanceled: typing.ClassVar[QtCore.pyqtSignal] + featurePermissionRequested: typing.ClassVar[QtCore.pyqtSignal] + windowCloseRequested: typing.ClassVar[QtCore.pyqtSignal] + geometryChangeRequested: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + linkHovered: typing.ClassVar[QtCore.pyqtSignal] + loadFinished: typing.ClassVar[QtCore.pyqtSignal] + loadProgress: typing.ClassVar[QtCore.pyqtSignal] + loadStarted: typing.ClassVar[QtCore.pyqtSignal] def settings(self) -> 'QWebEngineSettings': ... @typing.overload def runJavaScript(self, scriptSource: str, worldId: int) -> None: ... @@ -751,7 +750,7 @@ class QWebEngineProfile(QtCore.QObject): def cookieStore(self) -> QtWebEngineCore.QWebEngineCookieStore: ... def httpAcceptLanguage(self) -> str: ... def setHttpAcceptLanguage(self, httpAcceptLanguage: str) -> None: ... - def downloadRequested(self, download: QWebEngineDownloadItem) -> None: ... + downloadRequested: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def defaultProfile() -> 'QWebEngineProfile': ... def scripts(self) -> 'QWebEngineScriptCollection': ... @@ -964,21 +963,21 @@ class QWebEngineView(QtWidgets.QWidget): def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... - def iconChanged(self, a0: QtGui.QIcon) -> None: ... + iconChanged: typing.ClassVar[QtCore.pyqtSignal] def icon(self) -> QtGui.QIcon: ... def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... def showEvent(self, a0: QtGui.QShowEvent) -> None: ... def event(self, a0: QtCore.QEvent) -> bool: ... def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... def createWindow(self, type: QWebEnginePage.WebWindowType) -> 'QWebEngineView': ... - def renderProcessTerminated(self, terminationStatus: QWebEnginePage.RenderProcessTerminationStatus, exitCode: int) -> None: ... - def iconUrlChanged(self, a0: QtCore.QUrl) -> None: ... - def urlChanged(self, a0: QtCore.QUrl) -> None: ... - def selectionChanged(self) -> None: ... - def titleChanged(self, title: str) -> None: ... - def loadFinished(self, a0: bool) -> None: ... - def loadProgress(self, progress: int) -> None: ... - def loadStarted(self) -> None: ... + renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] + iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + urlChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] + loadFinished: typing.ClassVar[QtCore.pyqtSignal] + loadProgress: typing.ClassVar[QtCore.pyqtSignal] + loadStarted: typing.ClassVar[QtCore.pyqtSignal] def reload(self) -> None: ... def forward(self) -> None: ... def back(self) -> None: ... diff --git a/PyQt5-stubs/QtWebSockets.pyi b/PyQt5-stubs/QtWebSockets.pyi index bdb0d168..b331369a 100644 --- a/PyQt5-stubs/QtWebSockets.pyi +++ b/PyQt5-stubs/QtWebSockets.pyi @@ -58,20 +58,20 @@ class QWebSocket(QtCore.QObject): def maxAllowedIncomingFrameSize(self) -> int: ... def setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None: ... def bytesToWrite(self) -> int: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... - def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... - def bytesWritten(self, bytes: int) -> None: ... - def pong(self, elapsedTime: int, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def binaryMessageReceived(self, message: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def textMessageReceived(self, message: str) -> None: ... - def binaryFrameReceived(self, frame: typing.Union[QtCore.QByteArray, bytes, bytearray], isLastFrame: bool) -> None: ... - def textFrameReceived(self, frame: str, isLastFrame: bool) -> None: ... - def readChannelFinished(self) -> None: ... - def proxyAuthenticationRequired(self, proxy: QtNetwork.QNetworkProxy, pAuthenticator: QtNetwork.QAuthenticator) -> None: ... - def stateChanged(self, state: QtNetwork.QAbstractSocket.SocketState) -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... - def aboutToClose(self) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + bytesWritten: typing.ClassVar[QtCore.pyqtSignal] + pong: typing.ClassVar[QtCore.pyqtSignal] + binaryMessageReceived: typing.ClassVar[QtCore.pyqtSignal] + textMessageReceived: typing.ClassVar[QtCore.pyqtSignal] + binaryFrameReceived: typing.ClassVar[QtCore.pyqtSignal] + textFrameReceived: typing.ClassVar[QtCore.pyqtSignal] + readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] + aboutToClose: typing.ClassVar[QtCore.pyqtSignal] def ping(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... @typing.overload def open(self, url: QtCore.QUrl) -> None: ... @@ -111,10 +111,7 @@ class QWebSocket(QtCore.QObject): def isValid(self) -> bool: ... def flush(self) -> bool: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> QtNetwork.QAbstractSocket.SocketError: ... - @typing.overload - def error(self, error: QtNetwork.QAbstractSocket.SocketError) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... @@ -199,14 +196,14 @@ class QWebSocketServer(QtCore.QObject): def setHandshakeTimeout(self, msec: int) -> None: ... def nativeDescriptor(self) -> sip.voidptr: ... def setNativeDescriptor(self, descriptor: sip.voidptr) -> bool: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... - def closed(self) -> None: ... - def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... - def peerVerifyError(self, error: QtNetwork.QSslError) -> None: ... - def newConnection(self) -> None: ... - def originAuthenticationRequired(self, pAuthenticator: QWebSocketCorsAuthenticator) -> None: ... - def serverError(self, closeCode: QWebSocketProtocol.CloseCode) -> None: ... - def acceptError(self, socketError: QtNetwork.QAbstractSocket.SocketError) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + closed: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] + newConnection: typing.ClassVar[QtCore.pyqtSignal] + originAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + serverError: typing.ClassVar[QtCore.pyqtSignal] + acceptError: typing.ClassVar[QtCore.pyqtSignal] def handleConnection(self, socket: QtNetwork.QTcpSocket) -> None: ... def serverUrl(self) -> QtCore.QUrl: ... def supportedVersions(self) -> typing.List[QWebSocketProtocol.Version]: ... diff --git a/PyQt5-stubs/QtWidgets.pyi b/PyQt5-stubs/QtWidgets.pyi index 92d28ffb..284bf8ba 100644 --- a/PyQt5-stubs/QtWidgets.pyi +++ b/PyQt5-stubs/QtWidgets.pyi @@ -1514,11 +1514,10 @@ class QVBoxLayout(QBoxLayout): class QButtonGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - - def idToggled(self, a0: int, a1: bool) -> None: ... - def idReleased(self, a0: int) -> None: ... - def idPressed(self, a0: int) -> None: ... - def idClicked(self, a0: int) -> None: ... + idToggled: typing.ClassVar[QtCore.pyqtSignal] + idReleased: typing.ClassVar[QtCore.pyqtSignal] + idPressed: typing.ClassVar[QtCore.pyqtSignal] + idClicked: typing.ClassVar[QtCore.pyqtSignal] buttonToggled: typing.ClassVar[QtCore.pyqtSignal] buttonReleased: typing.ClassVar[QtCore.pyqtSignal] buttonPressed: typing.ClassVar[QtCore.pyqtSignal] @@ -1810,8 +1809,8 @@ class QComboBox(QWidget): def placeholderText(self) -> str: ... def setPlaceholderText(self, placeholderText: str) -> None: ... - def textHighlighted(self, a0: str) -> None: ... - def textActivated(self, a0: str) -> None: ... + textHighlighted: typing.ClassVar[QtCore.pyqtSignal] + textActivated: typing.ClassVar[QtCore.pyqtSignal] def currentData(self, role: int = ...) -> typing.Any: ... @typing.overload def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... @@ -1832,10 +1831,7 @@ class QComboBox(QWidget): def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ... - @typing.overload - def highlighted(self, index: int) -> None: ... - @typing.overload - def highlighted(self, a0: str) -> None: ... + highlighted: typing.ClassVar[QtCore.pyqtSignal] currentTextChanged: typing.ClassVar[QtCore.pyqtSignal] currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] activated: typing.ClassVar[QtCore.pyqtSignal] @@ -3478,10 +3474,10 @@ class QDesktopWidget(QWidget): def __init__(self) -> None: ... def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... - def primaryScreenChanged(self) -> None: ... - def screenCountChanged(self, a0: int) -> None: ... - def workAreaResized(self, a0: int) -> None: ... - def resized(self, a0: int) -> None: ... + primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + screenCountChanged: typing.ClassVar[QtCore.pyqtSignal] + workAreaResized: typing.ClassVar[QtCore.pyqtSignal] + resized: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def availableGeometry(self, screen: int = ...) -> QtCore.QRect: ... @typing.overload @@ -5748,7 +5744,7 @@ class QGraphicsScene(QtCore.QObject): def setFocusOnTouch(self, enabled: bool) -> None: ... focusOnTouch: typing.ClassVar[QtCore.pyqtSignal] - def focusItemChanged(self, newFocus: QGraphicsItem, oldFocus: QGraphicsItem, reason: QtCore.Qt.FocusReason) -> None: ... + focusItemChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinimumRenderSize(self, minSize: float) -> None: ... def minimumRenderSize(self) -> float: ... def sendEvent(self, item: QGraphicsItem, event: QtCore.QEvent) -> bool: ... @@ -5991,7 +5987,7 @@ class QGraphicsScale(QGraphicsTransform): yScaleChanged: typing.ClassVar[QtCore.pyqtSignal] xScaleChanged: typing.ClassVar[QtCore.pyqtSignal] scaleChanged: typing.ClassVar[QtCore.pyqtSignal] - def originChanged(self) -> None: ... + originChanged: typing.ClassVar[QtCore.pyqtSignal] def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... def setZScale(self, a0: float) -> None: ... def zScale(self) -> float: ... @@ -6838,8 +6834,7 @@ class QLineEdit(QWidget): def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @typing.overload def __init__(self, contents: str, parent: typing.Optional[QWidget] = ...) -> None: ... - - def inputRejected(self) -> None: ... + inputRejected: typing.ClassVar[QtCore.pyqtSignal] def selectionLength(self) -> int: ... def selectionEnd(self) -> int: ... @typing.overload @@ -7702,7 +7697,7 @@ class QMessageBox(QDialog): def setCheckBox(self, cb: QCheckBox) -> None: ... def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... - def buttonClicked(self, button: QAbstractButton) -> None: ... + buttonClicked: typing.ClassVar[QtCore.pyqtSignal] def buttonRole(self, button: QAbstractButton) -> 'QMessageBox.ButtonRole': ... def buttons(self) -> typing.List[QAbstractButton]: ... @typing.overload @@ -8536,7 +8531,7 @@ class QSpinBox(QAbstractSpinBox): def stepType(self) -> QAbstractSpinBox.StepType: ... def setDisplayIntegerBase(self, base: int) -> None: ... def displayIntegerBase(self) -> int: ... - def textChanged(self, a0: str) -> None: ... + textChanged: typing.ClassVar[QtCore.pyqtSignal] valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: int) -> None: ... def event(self, e: QtCore.QEvent) -> bool: ... @@ -8565,7 +8560,7 @@ class QDoubleSpinBox(QAbstractSpinBox): def setStepType(self, stepType: QAbstractSpinBox.StepType) -> None: ... def stepType(self) -> QAbstractSpinBox.StepType: ... - def textChanged(self, a0: str) -> None: ... + textChanged: typing.ClassVar[QtCore.pyqtSignal] valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: float) -> None: ... def fixup(self, str: str) -> str: ... diff --git a/signal_fixer.py b/signal_fixer.py new file mode 100644 index 00000000..6524f9eb --- /dev/null +++ b/signal_fixer.py @@ -0,0 +1,76 @@ +"""Script that will check stub files and fix signal annotations.""" +import importlib +import os +from typing import List, Optional, Union + +import libcst as cst +from PyQt5 import QtCore + + +def is_signal(module: object, cls_name: str, func_name: str) -> bool: + """Check if a method of the given Qt class is a signal.""" + cls = getattr(module, cls_name) + try: + func = getattr(cls, func_name) + except AttributeError: + print(f"Warning! Could not find {cls_name}.{func_name}") + return False + return isinstance(func, QtCore.pyqtSignal) + + +class TypingTransformer(cst.CSTTransformer): + """TypingTransformer that visits classes and methods.""" + + def __init__(self, mod_name: str): + super().__init__() + self._last_class: List[cst.ClassDef] = [] + self._fixed_signals: List[str] = [] + self._module = importlib.import_module(f"PyQt5.{mod_name}") + + def visit_ClassDef(self, node: cst.ClassDef) -> Optional[bool]: + """Put a class on top of the stack when visiting.""" + self._last_class.append(node) + return True + + def leave_FunctionDef( + self, original_node: cst.FunctionDef, _: cst.FunctionDef + ) -> Union[cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel]: + """Leave the method and change signature if a signal.""" + if not self._last_class: + return original_node + if len(self._last_class) > 1: + return original_node + + f_name = original_node.name.value + if is_signal(self._module, self._last_class[-1].name.value, f_name): + full_name = f"{self._last_class[-1].name.value}.{f_name}" + if full_name in self._fixed_signals: + # Handle the use-case of overloaded signals, i.e.: + # QComboBox.highlighted + return cst.RemovalSentinel.REMOVE + self._fixed_signals.append(full_name) + return cst.parse_statement(f"{f_name}: typing.ClassVar[QtCore.pyqtSignal]") + return original_node + + def leave_ClassDef( + self, original_node: cst.ClassDef, updated_node: cst.ClassDef + ) -> Union[cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel]: + """Remove a class from the stack and return the updated node.""" + self._last_class.pop() + return updated_node + + +if __name__ == '__main__': + for file in os.listdir("PyQt5-stubs"): + if file.startswith("QtWebKit") or file in ["QtX11Extras.pyi", "sip.pyi", "__init__.pyi"]: + continue + print("Fixing signals in " + file) + path = os.path.join("PyQt5-stubs", file) + with open(path, "r", encoding="utf-8") as fhandle: + stub_tree = cst.parse_module(fhandle.read()) + + transformer = TypingTransformer(file.replace(".pyi", "")) + modified_tree = stub_tree.visit(transformer) + + with open(path, "w", encoding="utf-8") as fhandle: + fhandle.write(modified_tree.code) From e90634c030b49b8108d8bea64db4763681724957 Mon Sep 17 00:00:00 2001 From: TilmanK Date: Mon, 23 Aug 2021 22:42:13 +0200 Subject: [PATCH 2/5] Reverted changes on files. --- PyQt5-stubs/Qt3DAnimation.pyi | 120 +++--- PyQt5-stubs/Qt3DCore.pyi | 66 +-- PyQt5-stubs/Qt3DExtras.pyi | 362 +++++++++-------- PyQt5-stubs/Qt3DInput.pyi | 166 ++++---- PyQt5-stubs/Qt3DLogic.pyi | 3 +- PyQt5-stubs/Qt3DRender.pyi | 599 +++++++++++++++------------- PyQt5-stubs/QtBluetooth.pyi | 106 +++-- PyQt5-stubs/QtChart.pyi | 596 ++++++++++++++------------- PyQt5-stubs/QtCore.pyi | 158 ++++---- PyQt5-stubs/QtDBus.pyi | 18 +- PyQt5-stubs/QtDataVisualization.pyi | 535 +++++++++++++------------ PyQt5-stubs/QtDesigner.pyi | 36 +- PyQt5-stubs/QtGui.pyi | 143 +++---- PyQt5-stubs/QtHelp.pyi | 47 ++- PyQt5-stubs/QtLocation.pyi | 85 ++-- PyQt5-stubs/QtMultimedia.pyi | 543 ++++++++++++++----------- PyQt5-stubs/QtMultimediaWidgets.pyi | 23 +- PyQt5-stubs/QtNetwork.pyi | 118 +++--- PyQt5-stubs/QtNetworkAuth.pyi | 61 +-- PyQt5-stubs/QtNfc.pyi | 36 +- PyQt5-stubs/QtPositioning.pyi | 33 +- PyQt5-stubs/QtPrintSupport.pyi | 6 +- PyQt5-stubs/QtPurchasing.pyi | 7 +- PyQt5-stubs/QtQml.pyi | 12 +- PyQt5-stubs/QtQuick.pyi | 40 +- PyQt5-stubs/QtQuickWidgets.pyi | 4 +- PyQt5-stubs/QtRemoteObjects.pyi | 26 +- PyQt5-stubs/QtSensors.pyi | 49 ++- PyQt5-stubs/QtSerialPort.pyi | 28 +- PyQt5-stubs/QtSql.pyi | 13 +- PyQt5-stubs/QtSvg.pyi | 2 +- PyQt5-stubs/QtWebChannel.pyi | 5 +- PyQt5-stubs/QtWebEngine.pyi | 41 +- PyQt5-stubs/QtWebEngineCore.pyi | 7 +- PyQt5-stubs/QtWebEngineWidgets.pyi | 91 ++--- PyQt5-stubs/QtWebSockets.pyi | 49 +-- PyQt5-stubs/QtWidgets.pyi | 39 +- 37 files changed, 2340 insertions(+), 1933 deletions(-) diff --git a/PyQt5-stubs/Qt3DAnimation.pyi b/PyQt5-stubs/Qt3DAnimation.pyi index 9c4f0151..90a0c766 100644 --- a/PyQt5-stubs/Qt3DAnimation.pyi +++ b/PyQt5-stubs/Qt3DAnimation.pyi @@ -51,9 +51,10 @@ class QAbstractAnimation(QtCore.QObject): KeyframeAnimation = ... # type: QAbstractAnimation.AnimationType MorphingAnimation = ... # type: QAbstractAnimation.AnimationType VertexBlendAnimation = ... # type: QAbstractAnimation.AnimationType - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - animationNameChanged: typing.ClassVar[QtCore.pyqtSignal] + + def durationChanged(self, duration: float) -> None: ... + def positionChanged(self, position: float) -> None: ... + def animationNameChanged(self, name: str) -> None: ... def setDuration(self, duration: float) -> None: ... def setPosition(self, position: float) -> None: ... def setAnimationName(self, name: str) -> None: ... @@ -65,7 +66,7 @@ class QAbstractAnimation(QtCore.QObject): class QAbstractAnimationClip(Qt3DCore.QNode): def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - durationChanged: typing.ClassVar[QtCore.pyqtSignal] + def durationChanged(self, duration: float) -> None: ... def duration(self) -> float: ... class QAbstractChannelMapping(Qt3DCore.QNode): ... @@ -80,11 +81,11 @@ class QAbstractClipAnimator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - normalizedTimeChanged: typing.ClassVar[QtCore.pyqtSignal] - clockChanged: typing.ClassVar[QtCore.pyqtSignal] - loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] - channelMapperChanged: typing.ClassVar[QtCore.pyqtSignal] - runningChanged: typing.ClassVar[QtCore.pyqtSignal] + def normalizedTimeChanged(self, index: float) -> None: ... + def clockChanged(self, clock: 'QClock') -> None: ... + def loopCountChanged(self, loops: int) -> None: ... + def channelMapperChanged(self, channelMapper: 'QChannelMapper') -> None: ... + def runningChanged(self, running: bool) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... def setNormalizedTime(self, timeFraction: float) -> None: ... @@ -105,9 +106,10 @@ class QAbstractClipBlendNode(Qt3DCore.QNode): class QAdditiveClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - additiveClipChanged: typing.ClassVar[QtCore.pyqtSignal] - baseClipChanged: typing.ClassVar[QtCore.pyqtSignal] - additiveFactorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def additiveClipChanged(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... + def baseClipChanged(self, baseClip: 'QAbstractClipBlendNode') -> None: ... + def additiveFactorChanged(self, additiveFactor: float) -> None: ... def setAdditiveClip(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... def setBaseClip(self, baseClip: 'QAbstractClipBlendNode') -> None: ... def setAdditiveFactor(self, additiveFactor: float) -> None: ... @@ -122,7 +124,8 @@ class QAnimationAspect(Qt3DCore.QAbstractAspect): class QAnimationClip('QAbstractAnimationClip'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - clipDataChanged: typing.ClassVar[QtCore.pyqtSignal] + + def clipDataChanged(self, clipData: 'QAnimationClipData') -> None: ... def setClipData(self, clipData: 'QAnimationClipData') -> None: ... def clipData(self) -> 'QAnimationClipData': ... @@ -159,8 +162,8 @@ class QAnimationClipLoader('QAbstractAnimationClip'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, status: 'QAnimationClipLoader.Status') -> None: ... + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QAnimationClipLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -168,12 +171,13 @@ class QAnimationClipLoader('QAbstractAnimationClip'): class QAnimationController(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] - entityChanged: typing.ClassVar[QtCore.pyqtSignal] - positionOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] - positionScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - activeAnimationGroupChanged: typing.ClassVar[QtCore.pyqtSignal] + + def recursiveChanged(self, recursive: bool) -> None: ... + def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... + def positionOffsetChanged(self, offset: float) -> None: ... + def positionScaleChanged(self, scale: float) -> None: ... + def positionChanged(self, position: float) -> None: ... + def activeAnimationGroupChanged(self, index: int) -> None: ... def setRecursive(self, recursive: bool) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def setPositionOffset(self, offset: float) -> None: ... @@ -196,9 +200,10 @@ class QAnimationController(QtCore.QObject): class QAnimationGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] + + def durationChanged(self, duration: float) -> None: ... + def positionChanged(self, position: float) -> None: ... + def nameChanged(self, name: str) -> None: ... def setPosition(self, position: float) -> None: ... def setName(self, name: str) -> None: ... def removeAnimation(self, animation: 'QAbstractAnimation') -> None: ... @@ -212,7 +217,8 @@ class QAnimationGroup(QtCore.QObject): class QBlendedClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - blendTreeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def blendTreeChanged(self, blendTree: 'QAbstractClipBlendNode') -> None: ... def setBlendTree(self, blendTree: 'QAbstractClipBlendNode') -> None: ... def blendTree(self) -> 'QAbstractClipBlendNode': ... @@ -263,9 +269,10 @@ class QChannelMapper(Qt3DCore.QNode): class QChannelMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - propertyChanged: typing.ClassVar[QtCore.pyqtSignal] - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - channelNameChanged: typing.ClassVar[QtCore.pyqtSignal] + + def propertyChanged(self, property: str) -> None: ... + def targetChanged(self, target: Qt3DCore.QNode) -> None: ... + def channelNameChanged(self, channelName: str) -> None: ... def setProperty(self, property: str) -> None: ... # type: ignore[override] def setTarget(self, target: Qt3DCore.QNode) -> None: ... def setChannelName(self, channelName: str) -> None: ... @@ -276,7 +283,8 @@ class QChannelMapping('QAbstractChannelMapping'): class QClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - clipChanged: typing.ClassVar[QtCore.pyqtSignal] + + def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... @@ -290,14 +298,16 @@ class QClipBlendValue('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, clip: 'QAbstractAnimationClip', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - clipChanged: typing.ClassVar[QtCore.pyqtSignal] + + def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... class QClock(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def playbackRateChanged(self, playbackRate: float) -> None: ... def setPlaybackRate(self, playbackRate: float) -> None: ... def playbackRate(self) -> float: ... @@ -342,12 +352,13 @@ class QKeyframeAnimation('QAbstractAnimation'): Repeat = ... # type: QKeyframeAnimation.RepeatMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - endModeChanged: typing.ClassVar[QtCore.pyqtSignal] - startModeChanged: typing.ClassVar[QtCore.pyqtSignal] - targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] - easingChanged: typing.ClassVar[QtCore.pyqtSignal] - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - framePositionsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def endModeChanged(self, endMode: 'QKeyframeAnimation.RepeatMode') -> None: ... + def startModeChanged(self, startMode: 'QKeyframeAnimation.RepeatMode') -> None: ... + def targetNameChanged(self, name: str) -> None: ... + def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... + def targetChanged(self, target: Qt3DCore.QTransform) -> None: ... + def framePositionsChanged(self, positions: typing.Iterable[float]) -> None: ... def setEndMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setStartMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -368,9 +379,10 @@ class QKeyframeAnimation('QAbstractAnimation'): class QLerpClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - endClipChanged: typing.ClassVar[QtCore.pyqtSignal] - startClipChanged: typing.ClassVar[QtCore.pyqtSignal] - blendFactorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def endClipChanged(self, endClip: 'QAbstractClipBlendNode') -> None: ... + def startClipChanged(self, startClip: 'QAbstractClipBlendNode') -> None: ... + def blendFactorChanged(self, blendFactor: float) -> None: ... def setEndClip(self, endClip: 'QAbstractClipBlendNode') -> None: ... def setStartClip(self, startClip: 'QAbstractClipBlendNode') -> None: ... def setBlendFactor(self, blendFactor: float) -> None: ... @@ -388,12 +400,13 @@ class QMorphingAnimation('QAbstractAnimation'): Relative = ... # type: QMorphingAnimation.Method def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - easingChanged: typing.ClassVar[QtCore.pyqtSignal] - methodChanged: typing.ClassVar[QtCore.pyqtSignal] - targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] - targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... + def methodChanged(self, method: 'QMorphingAnimation.Method') -> None: ... + def targetNameChanged(self, name: str) -> None: ... + def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... + def interpolatorChanged(self, interpolator: float) -> None: ... + def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... def setEasing(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def setMethod(self, method: 'QMorphingAnimation.Method') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -415,7 +428,8 @@ class QMorphingAnimation('QAbstractAnimation'): class QMorphTarget(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - attributeNamesChanged: typing.ClassVar[QtCore.pyqtSignal] + + def attributeNamesChanged(self, attributeNames: typing.Iterable[str]) -> None: ... @staticmethod def fromGeometry(geometry: Qt3DRender.QGeometry, attributes: typing.Iterable[str]) -> 'QMorphTarget': ... def removeAttribute(self, attribute: Qt3DRender.QAttribute) -> None: ... @@ -427,17 +441,19 @@ class QMorphTarget(QtCore.QObject): class QSkeletonMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] + + def skeletonChanged(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... def setSkeleton(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... def skeleton(self) -> Qt3DCore.QAbstractSkeleton: ... class QVertexBlendAnimation('QAbstractAnimation'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] - targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def targetNameChanged(self, name: str) -> None: ... + def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... + def interpolatorChanged(self, interpolator: float) -> None: ... + def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... def setTargetName(self, name: str) -> None: ... def setTarget(self, target: Qt3DRender.QGeometryRenderer) -> None: ... def setTargetPositions(self, targetPositions: typing.Iterable[float]) -> None: ... diff --git a/PyQt5-stubs/Qt3DCore.pyi b/PyQt5-stubs/Qt3DCore.pyi index 51a51533..66970665 100644 --- a/PyQt5-stubs/Qt3DCore.pyi +++ b/PyQt5-stubs/Qt3DCore.pyi @@ -115,7 +115,7 @@ class QNode(QtCore.QObject): def sendReply(self, command: 'QNodeCommand') -> None: ... def sendCommand(self, name: str, data: typing.Any = ..., replyTo: int = ...) -> int: ... - defaultPropertyTrackingModeChanged: typing.ClassVar[QtCore.pyqtSignal] + def defaultPropertyTrackingModeChanged(self, mode: 'QNode.PropertyTrackingMode') -> None: ... def setDefaultPropertyTrackingMode(self, mode: 'QNode.PropertyTrackingMode') -> None: ... def clearPropertyTrackings(self) -> None: ... def clearPropertyTracking(self, propertyName: str) -> None: ... @@ -124,9 +124,9 @@ class QNode(QtCore.QObject): def defaultPropertyTrackingMode(self) -> 'QNode.PropertyTrackingMode': ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... def notifyObservers(self, change: 'QSceneChange') -> None: ... - nodeDestroyed: typing.ClassVar[QtCore.pyqtSignal] - enabledChanged: typing.ClassVar[QtCore.pyqtSignal] - parentChanged: typing.ClassVar[QtCore.pyqtSignal] + def nodeDestroyed(self) -> None: ... + def enabledChanged(self, enabled: bool) -> None: ... + def parentChanged(self, parent: QtCore.QObject) -> None: ... def setEnabled(self, isEnabled: bool) -> None: ... def setParent(self, parent: 'QNode') -> None: ... # type: ignore[override] def isEnabled(self) -> bool: ... @@ -139,15 +139,16 @@ class QNode(QtCore.QObject): class QAbstractSkeleton('QNode'): def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - jointCountChanged: typing.ClassVar[QtCore.pyqtSignal] + def jointCountChanged(self, jointCount: int) -> None: ... def jointCount(self) -> int: ... class QComponent('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - removedFromEntity: typing.ClassVar[QtCore.pyqtSignal] - addedToEntity: typing.ClassVar[QtCore.pyqtSignal] - shareableChanged: typing.ClassVar[QtCore.pyqtSignal] + + def removedFromEntity(self, entity: 'QEntity') -> None: ... + def addedToEntity(self, entity: 'QEntity') -> None: ... + def shareableChanged(self, isShareable: bool) -> None: ... def setShareable(self, isShareable: bool) -> None: ... def entities(self) -> typing.List['QEntity']: ... def isShareable(self) -> bool: ... @@ -155,7 +156,8 @@ class QComponent('QNode'): class QArmature('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] + + def skeletonChanged(self, skeleton: 'QAbstractSkeleton') -> None: ... def setSkeleton(self, skeleton: 'QAbstractSkeleton') -> None: ... def skeleton(self) -> 'QAbstractSkeleton': ... @@ -270,14 +272,15 @@ class QEntity('QNode'): class QJoint('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - nameChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] - inverseBindMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] - translationChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationChanged: typing.ClassVar[QtCore.pyqtSignal] - scaleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def nameChanged(self, name: str) -> None: ... + def rotationZChanged(self, rotationZ: float) -> None: ... + def rotationYChanged(self, rotationY: float) -> None: ... + def rotationXChanged(self, rotationX: float) -> None: ... + def inverseBindMatrixChanged(self, inverseBindMatrix: QtGui.QMatrix4x4) -> None: ... + def translationChanged(self, translation: QtGui.QVector3D) -> None: ... + def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... + def scaleChanged(self, scale: QtGui.QVector3D) -> None: ... def setToIdentity(self) -> None: ... def setName(self, name: str) -> None: ... def setRotationZ(self, rotationZ: float) -> None: ... @@ -433,7 +436,8 @@ class ChangeFlags(sip.simplewrapper): class QSkeleton('QAbstractSkeleton'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] + + def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... def setRootJoint(self, rootJoint: 'QJoint') -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -454,10 +458,10 @@ class QSkeletonLoader('QAbstractSkeleton'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] - createJointsEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... + def createJointsEnabledChanged(self, createJointsEnabled: bool) -> None: ... + def statusChanged(self, status: 'QSkeletonLoader.Status') -> None: ... + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setCreateJointsEnabled(self, enabled: bool) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -470,16 +474,16 @@ class QTransform('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - worldMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + def worldMatrixChanged(self, worldMatrix: QtGui.QMatrix4x4) -> None: ... def worldMatrix(self) -> QtGui.QMatrix4x4: ... - rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] - matrixChanged: typing.ClassVar[QtCore.pyqtSignal] - translationChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationChanged: typing.ClassVar[QtCore.pyqtSignal] - scale3DChanged: typing.ClassVar[QtCore.pyqtSignal] - scaleChanged: typing.ClassVar[QtCore.pyqtSignal] + def rotationZChanged(self, rotationZ: float) -> None: ... + def rotationYChanged(self, rotationY: float) -> None: ... + def rotationXChanged(self, rotationX: float) -> None: ... + def matrixChanged(self) -> None: ... + def translationChanged(self, translation: QtGui.QVector3D) -> None: ... + def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... + def scale3DChanged(self, scale: QtGui.QVector3D) -> None: ... + def scaleChanged(self, scale: float) -> None: ... def setRotationZ(self, rotationZ: float) -> None: ... def setRotationY(self, rotationY: float) -> None: ... def setRotationX(self, rotationX: float) -> None: ... diff --git a/PyQt5-stubs/Qt3DExtras.pyi b/PyQt5-stubs/Qt3DExtras.pyi index 12626883..1c3d4358 100644 --- a/PyQt5-stubs/Qt3DExtras.pyi +++ b/PyQt5-stubs/Qt3DExtras.pyi @@ -48,11 +48,11 @@ class QAbstractCameraController(Qt3DCore.QEntity): def mouseDevice(self) -> Qt3DInput.QMouseDevice: ... def keyboardDevice(self) -> Qt3DInput.QKeyboardDevice: ... - decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] - accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] - lookSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] - linearSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] - cameraChanged: typing.ClassVar[QtCore.pyqtSignal] + def decelerationChanged(self, deceleration: float) -> None: ... + def accelerationChanged(self, acceleration: float) -> None: ... + def lookSpeedChanged(self) -> None: ... + def linearSpeedChanged(self) -> None: ... + def cameraChanged(self) -> None: ... def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setLookSpeed(self, lookSpeed: float) -> None: ... @@ -65,9 +65,10 @@ class QAbstractCameraController(Qt3DCore.QEntity): def camera(self) -> Qt3DRender.QCamera: ... class QAbstractSpriteSheet(Qt3DCore.QNode): - currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] - textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] - textureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def currentIndexChanged(self, currentIndex: int) -> None: ... + def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... + def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... def setCurrentIndex(self, currentIndex: int) -> None: ... def setTexture(self, texture: Qt3DRender.QAbstractTexture) -> None: ... def currentIndex(self) -> int: ... @@ -77,13 +78,14 @@ class QAbstractSpriteSheet(Qt3DCore.QNode): class QConeGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - lengthChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] - hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lengthChanged(self, length: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def bottomRadiusChanged(self, bottomRadius: float) -> None: ... + def topRadiusChanged(self, topRadius: float) -> None: ... + def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... + def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -108,13 +110,14 @@ class QConeGeometry(Qt3DRender.QGeometry): class QConeMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - lengthChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] - hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lengthChanged(self, length: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def bottomRadiusChanged(self, bottomRadius: float) -> None: ... + def topRadiusChanged(self, topRadius: float) -> None: ... + def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... + def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -133,12 +136,13 @@ class QConeMesh(Qt3DRender.QGeometryRenderer): class QCuboidGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] - yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] - xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + + def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... + def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... + def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... + def zExtentChanged(self, zExtent: float) -> None: ... + def yExtentChanged(self, yExtent: float) -> None: ... + def xExtentChanged(self, xExtent: float) -> None: ... def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -162,12 +166,13 @@ class QCuboidGeometry(Qt3DRender.QGeometry): class QCuboidMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] - zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] - yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] - xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + + def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... + def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... + def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... + def zExtentChanged(self, zExtent: float) -> None: ... + def yExtentChanged(self, yExtent: float) -> None: ... + def xExtentChanged(self, xExtent: float) -> None: ... def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -184,10 +189,11 @@ class QCuboidMesh(Qt3DRender.QGeometryRenderer): class QCylinderGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - lengthChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lengthChanged(self, length: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -206,10 +212,11 @@ class QCylinderGeometry(Qt3DRender.QGeometry): class QCylinderMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - lengthChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lengthChanged(self, length: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -222,11 +229,12 @@ class QCylinderMesh(Qt3DRender.QGeometryRenderer): class QDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureScaleChanged(self, textureScale: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setDiffuse(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... def setShininess(self, shininess: float) -> None: ... @@ -241,11 +249,12 @@ class QDiffuseMapMaterial(Qt3DRender.QMaterial): class QDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureScaleChanged(self, textureScale: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... + def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -260,13 +269,14 @@ class QDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): class QDiffuseSpecularMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... + def textureScaleChanged(self, textureScale: float) -> None: ... + def normalChanged(self, normal: typing.Any) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Any) -> None: ... + def diffuseChanged(self, diffuse: typing.Any) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... @@ -285,9 +295,10 @@ class QDiffuseSpecularMaterial(Qt3DRender.QMaterial): class QExtrudedTextGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - depthChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - textChanged: typing.ClassVar[QtCore.pyqtSignal] + + def depthChanged(self, extrusionLength: float) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... + def textChanged(self, text: str) -> None: ... def setDepth(self, extrusionLength: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -301,9 +312,10 @@ class QExtrudedTextGeometry(Qt3DRender.QGeometry): class QExtrudedTextMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - depthChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - textChanged: typing.ClassVar[QtCore.pyqtSignal] + + def depthChanged(self, depth: float) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... + def textChanged(self, text: str) -> None: ... def setDepth(self, depth: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -318,23 +330,24 @@ class QFirstPersonCameraController('QAbstractCameraController'): class QForwardRenderer(Qt3DRender.QTechniqueFilter): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - showDebugOverlayChanged: typing.ClassVar[QtCore.pyqtSignal] + + def showDebugOverlayChanged(self, showDebugOverlay: bool) -> None: ... def setShowDebugOverlay(self, showDebugOverlay: bool) -> None: ... def showDebugOverlay(self) -> bool: ... - buffersToClearChanged: typing.ClassVar[QtCore.pyqtSignal] + def buffersToClearChanged(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... def setBuffersToClear(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... def buffersToClear(self) -> Qt3DRender.QClearBuffers.BufferType: ... - gammaChanged: typing.ClassVar[QtCore.pyqtSignal] - frustumCullingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + def gammaChanged(self, gamma: float) -> None: ... + def frustumCullingEnabledChanged(self, enabled: bool) -> None: ... def setGamma(self, gamma: float) -> None: ... def setFrustumCullingEnabled(self, enabled: bool) -> None: ... def gamma(self) -> float: ... def isFrustumCullingEnabled(self) -> bool: ... - externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] - cameraChanged: typing.ClassVar[QtCore.pyqtSignal] - clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] - viewportRectChanged: typing.ClassVar[QtCore.pyqtSignal] + def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... + def surfaceChanged(self, surface: QtCore.QObject) -> None: ... + def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... + def clearColorChanged(self, clearColor: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def viewportRectChanged(self, viewportRect: QtCore.QRectF) -> None: ... def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... def setSurface(self, surface: QtCore.QObject) -> None: ... def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... @@ -349,13 +362,14 @@ class QForwardRenderer(Qt3DRender.QTechniqueFilter): class QGoochMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - betaChanged: typing.ClassVar[QtCore.pyqtSignal] - alphaChanged: typing.ClassVar[QtCore.pyqtSignal] - warmChanged: typing.ClassVar[QtCore.pyqtSignal] - coolChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + + def shininessChanged(self, shininess: float) -> None: ... + def betaChanged(self, beta: float) -> None: ... + def alphaChanged(self, alpha: float) -> None: ... + def warmChanged(self, warm: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def coolChanged(self, cool: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setShininess(self, shininess: float) -> None: ... def setBeta(self, beta: float) -> None: ... def setAlpha(self, alpha: float) -> None: ... @@ -374,12 +388,13 @@ class QGoochMaterial(Qt3DRender.QMaterial): class QMetalRoughMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] - roughnessChanged: typing.ClassVar[QtCore.pyqtSignal] - metalnessChanged: typing.ClassVar[QtCore.pyqtSignal] - baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureScaleChanged(self, textureScale: float) -> None: ... + def normalChanged(self, normal: typing.Any) -> None: ... + def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... + def roughnessChanged(self, roughness: typing.Any) -> None: ... + def metalnessChanged(self, metalness: typing.Any) -> None: ... + def baseColorChanged(self, baseColor: typing.Any) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... def setAmbientOcclusion(self, ambientOcclusion: typing.Any) -> None: ... @@ -396,11 +411,12 @@ class QMetalRoughMaterial(Qt3DRender.QMaterial): class QMorphPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def interpolatorChanged(self, interpolator: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setInterpolator(self, interpolator: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -415,12 +431,13 @@ class QMorphPhongMaterial(Qt3DRender.QMaterial): class QNormalDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureScaleChanged(self, textureScale: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... + def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setNormal(self, normal: Qt3DRender.QAbstractTexture) -> None: ... @@ -441,12 +458,13 @@ class QNormalDiffuseMapAlphaMaterial('QNormalDiffuseMapMaterial'): class QNormalDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureScaleChanged(self, textureScale: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... + def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... + def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -463,7 +481,8 @@ class QNormalDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): class QOrbitCameraController('QAbstractCameraController'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - zoomInLimitChanged: typing.ClassVar[QtCore.pyqtSignal] + + def zoomInLimitChanged(self) -> None: ... def setZoomInLimit(self, zoomInLimit: float) -> None: ... def zoomInLimit(self) -> float: ... @@ -474,11 +493,12 @@ class QPerVertexColorMaterial(Qt3DRender.QMaterial): class QPhongAlphaMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - blendFunctionArgChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] + + def blendFunctionArgChanged(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... + def destinationAlphaArgChanged(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... + def sourceAlphaArgChanged(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... + def destinationRgbArgChanged(self, destinationRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... + def sourceRgbArgChanged(self, sourceRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... def setBlendFunctionArg(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... def setDestinationAlphaArg(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... def setSourceAlphaArg(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... @@ -489,11 +509,11 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): def sourceAlphaArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def destinationRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def sourceRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... - alphaChanged: typing.ClassVar[QtCore.pyqtSignal] - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + def alphaChanged(self, alpha: float) -> None: ... + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setAlpha(self, alpha: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -508,10 +528,11 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): class QPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - shininessChanged: typing.ClassVar[QtCore.pyqtSignal] - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientChanged: typing.ClassVar[QtCore.pyqtSignal] + + def shininessChanged(self, shininess: float) -> None: ... + def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setDiffuse(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -524,12 +545,13 @@ class QPhongMaterial(Qt3DRender.QMaterial): class QPlaneGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] + + def mirroredChanged(self, mirrored: bool) -> None: ... def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - resolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + def heightChanged(self, height: float) -> None: ... + def widthChanged(self, width: float) -> None: ... + def resolutionChanged(self, resolution: QtCore.QSize) -> None: ... def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def setResolution(self, resolution: QtCore.QSize) -> None: ... @@ -547,12 +569,13 @@ class QPlaneGeometry(Qt3DRender.QGeometry): class QPlaneMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] + + def mirroredChanged(self, mirrored: bool) -> None: ... def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - meshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + def heightChanged(self, height: float) -> None: ... + def widthChanged(self, width: float) -> None: ... + def meshResolutionChanged(self, meshResolution: QtCore.QSize) -> None: ... def setMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... @@ -563,11 +586,12 @@ class QPlaneMesh(Qt3DRender.QGeometryRenderer): class QSkyboxEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - gammaCorrectEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - baseNameChanged: typing.ClassVar[QtCore.pyqtSignal] + + def gammaCorrectEnabledChanged(self, enabled: bool) -> None: ... + def baseNameChanged(self, path: str) -> None: ... def setGammaCorrectEnabled(self, enabled: bool) -> None: ... def isGammaCorrectEnabled(self) -> bool: ... - extensionChanged: typing.ClassVar[QtCore.pyqtSignal] + def extensionChanged(self, extension: str) -> None: ... def extension(self) -> str: ... def setExtension(self, extension: str) -> None: ... def baseName(self) -> str: ... @@ -576,10 +600,11 @@ class QSkyboxEntity(Qt3DCore.QEntity): class QSphereGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def generateTangentsChanged(self, generateTangents: bool) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -599,10 +624,11 @@ class QSphereGeometry(Qt3DRender.QGeometry): class QSphereMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def generateTangentsChanged(self, generateTangents: bool) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -615,8 +641,9 @@ class QSphereMesh(Qt3DRender.QGeometryRenderer): class QSpriteGrid('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - columnsChanged: typing.ClassVar[QtCore.pyqtSignal] - rowsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def columnsChanged(self, columns: int) -> None: ... + def rowsChanged(self, rows: int) -> None: ... def setColumns(self, columns: int) -> None: ... def setRows(self, rows: int) -> None: ... def columns(self) -> int: ... @@ -625,7 +652,8 @@ class QSpriteGrid('QAbstractSpriteSheet'): class QSpriteSheet('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - spritesChanged: typing.ClassVar[QtCore.pyqtSignal] + + def spritesChanged(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... def setSprites(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... def removeSprite(self, sprite: 'QSpriteSheetItem') -> None: ... @typing.overload @@ -637,10 +665,11 @@ class QSpriteSheet('QAbstractSpriteSheet'): class QSpriteSheetItem(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - yChanged: typing.ClassVar[QtCore.pyqtSignal] - xChanged: typing.ClassVar[QtCore.pyqtSignal] + + def heightChanged(self, height: int) -> None: ... + def widthChanged(self, width: int) -> None: ... + def yChanged(self, y: int) -> None: ... + def xChanged(self, x: int) -> None: ... def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setY(self, y: int) -> None: ... @@ -671,11 +700,12 @@ class Qt3DWindow(QtGui.QWindow): class QText2DEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - textChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] + + def heightChanged(self, height: float) -> None: ... + def widthChanged(self, width: float) -> None: ... + def textChanged(self, text: str) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def height(self) -> float: ... @@ -690,16 +720,18 @@ class QText2DEntity(Qt3DCore.QEntity): class QTexturedMetalRoughMaterial('QMetalRoughMaterial'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def normalChanged(self, normal: typing.Any) -> None: ... + def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... class QTextureMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] - textureOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] - textureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... + def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... + def textureOffsetChanged(self, textureOffset: QtGui.QVector2D) -> None: ... + def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureTransform(self, matrix: QtGui.QMatrix3x3) -> None: ... def setTextureOffset(self, textureOffset: QtGui.QVector2D) -> None: ... @@ -712,10 +744,11 @@ class QTextureMaterial(Qt3DRender.QMaterial): class QTorusGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def minorRadiusChanged(self, minorRadius: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -734,10 +767,11 @@ class QTorusGeometry(Qt3DRender.QGeometry): class QTorusMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] - slicesChanged: typing.ClassVar[QtCore.pyqtSignal] - ringsChanged: typing.ClassVar[QtCore.pyqtSignal] - radiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def minorRadiusChanged(self, minorRadius: float) -> None: ... + def slicesChanged(self, slices: int) -> None: ... + def ringsChanged(self, rings: int) -> None: ... + def radiusChanged(self, radius: float) -> None: ... def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... diff --git a/PyQt5-stubs/Qt3DInput.pyi b/PyQt5-stubs/Qt3DInput.pyi index 302b56c5..5c6a8256 100644 --- a/PyQt5-stubs/Qt3DInput.pyi +++ b/PyQt5-stubs/Qt3DInput.pyi @@ -43,7 +43,8 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], class QAbstractActionInput(Qt3DCore.QNode): ... class QAbstractAxisInput(Qt3DCore.QNode): - sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def sourceDevice(self) -> 'QAbstractPhysicalDevice': ... @@ -66,7 +67,7 @@ class QAction(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - activeChanged: typing.ClassVar[QtCore.pyqtSignal] + def activeChanged(self, isActive: bool) -> None: ... def inputs(self) -> typing.List['QAbstractActionInput']: ... def removeInput(self, input: 'QAbstractActionInput') -> None: ... def addInput(self, input: 'QAbstractActionInput') -> None: ... @@ -75,8 +76,9 @@ class QAction(Qt3DCore.QNode): class QActionInput('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... + def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def setButtons(self, buttons: typing.Iterable[int]) -> None: ... def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def buttons(self) -> typing.List[int]: ... @@ -85,7 +87,8 @@ class QActionInput('QAbstractActionInput'): class QAnalogAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - axisChanged: typing.ClassVar[QtCore.pyqtSignal] + + def axisChanged(self, axis: int) -> None: ... def setAxis(self, axis: int) -> None: ... def axis(self) -> int: ... @@ -94,7 +97,7 @@ class QAxis(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + def valueChanged(self, value: float) -> None: ... def value(self) -> float: ... def inputs(self) -> typing.List['QAbstractAxisInput']: ... def removeInput(self, input: 'QAbstractAxisInput') -> None: ... @@ -112,11 +115,11 @@ class QAxisAccumulator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - scaleChanged: typing.ClassVar[QtCore.pyqtSignal] - velocityChanged: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceAxisTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + def scaleChanged(self, scale: float) -> None: ... + def velocityChanged(self, value: float) -> None: ... + def valueChanged(self, value: float) -> None: ... + def sourceAxisTypeChanged(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... + def sourceAxisChanged(self, sourceAxis: 'QAxis') -> None: ... def setScale(self, scale: float) -> None: ... def setSourceAxisType(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... def setSourceAxis(self, sourceAxis: 'QAxis') -> None: ... @@ -129,9 +132,10 @@ class QAxisAccumulator(Qt3DCore.QComponent): class QAxisSetting(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - smoothChanged: typing.ClassVar[QtCore.pyqtSignal] - axesChanged: typing.ClassVar[QtCore.pyqtSignal] - deadZoneRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def smoothChanged(self, smooth: bool) -> None: ... + def axesChanged(self, axes: typing.Iterable[int]) -> None: ... + def deadZoneRadiusChanged(self, deadZoneRadius: float) -> None: ... def setSmoothEnabled(self, enabled: bool) -> None: ... def setAxes(self, axes: typing.Iterable[int]) -> None: ... def setDeadZoneRadius(self, deadZoneRadius: float) -> None: ... @@ -142,10 +146,11 @@ class QAxisSetting(Qt3DCore.QNode): class QButtonAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] - accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] - buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] - scaleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def decelerationChanged(self, deceleration: float) -> None: ... + def accelerationChanged(self, acceleration: float) -> None: ... + def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... + def scaleChanged(self, scale: float) -> None: ... def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setButtons(self, buttons: typing.Iterable[int]) -> None: ... @@ -165,7 +170,8 @@ class QInputAspect(Qt3DCore.QAbstractAspect): class QInputChord('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] + + def timeoutChanged(self, timeout: int) -> None: ... def setTimeout(self, timeout: int) -> None: ... def chords(self) -> typing.List['QAbstractActionInput']: ... def removeChord(self, input: 'QAbstractActionInput') -> None: ... @@ -175,8 +181,9 @@ class QInputChord('QAbstractActionInput'): class QInputSequence('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - buttonIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] - timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] + + def buttonIntervalChanged(self, buttonInterval: int) -> None: ... + def timeoutChanged(self, timeout: int) -> None: ... def setButtonInterval(self, buttonInterval: int) -> None: ... def setTimeout(self, timeout: int) -> None: ... def sequences(self) -> typing.List['QAbstractActionInput']: ... @@ -188,14 +195,16 @@ class QInputSequence('QAbstractActionInput'): class QInputSettings(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - eventSourceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def eventSourceChanged(self, a0: QtCore.QObject) -> None: ... def setEventSource(self, eventSource: QtCore.QObject) -> None: ... def eventSource(self) -> QtCore.QObject: ... class QKeyboardDevice('QAbstractPhysicalDevice'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] + + def activeInputChanged(self, activeInput: 'QKeyboardHandler') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def buttonIdentifier(self, name: str) -> int: ... def axisIdentifier(self, name: str) -> int: ... @@ -210,48 +219,48 @@ class QKeyboardHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - volumeDownPressed: typing.ClassVar[QtCore.pyqtSignal] - volumeUpPressed: typing.ClassVar[QtCore.pyqtSignal] - menuPressed: typing.ClassVar[QtCore.pyqtSignal] - flipPressed: typing.ClassVar[QtCore.pyqtSignal] - hangupPressed: typing.ClassVar[QtCore.pyqtSignal] - callPressed: typing.ClassVar[QtCore.pyqtSignal] - context4Pressed: typing.ClassVar[QtCore.pyqtSignal] - context3Pressed: typing.ClassVar[QtCore.pyqtSignal] - context2Pressed: typing.ClassVar[QtCore.pyqtSignal] - context1Pressed: typing.ClassVar[QtCore.pyqtSignal] - noPressed: typing.ClassVar[QtCore.pyqtSignal] - yesPressed: typing.ClassVar[QtCore.pyqtSignal] - selectPressed: typing.ClassVar[QtCore.pyqtSignal] - cancelPressed: typing.ClassVar[QtCore.pyqtSignal] - backPressed: typing.ClassVar[QtCore.pyqtSignal] - spacePressed: typing.ClassVar[QtCore.pyqtSignal] - deletePressed: typing.ClassVar[QtCore.pyqtSignal] - enterPressed: typing.ClassVar[QtCore.pyqtSignal] - returnPressed: typing.ClassVar[QtCore.pyqtSignal] - escapePressed: typing.ClassVar[QtCore.pyqtSignal] - numberSignPressed: typing.ClassVar[QtCore.pyqtSignal] - asteriskPressed: typing.ClassVar[QtCore.pyqtSignal] - backtabPressed: typing.ClassVar[QtCore.pyqtSignal] - tabPressed: typing.ClassVar[QtCore.pyqtSignal] - downPressed: typing.ClassVar[QtCore.pyqtSignal] - upPressed: typing.ClassVar[QtCore.pyqtSignal] - rightPressed: typing.ClassVar[QtCore.pyqtSignal] - leftPressed: typing.ClassVar[QtCore.pyqtSignal] - digit9Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit8Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit7Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit6Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit5Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit4Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit3Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit2Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit1Pressed: typing.ClassVar[QtCore.pyqtSignal] - digit0Pressed: typing.ClassVar[QtCore.pyqtSignal] - focusChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] + def released(self, event: 'QKeyEvent') -> None: ... + def pressed(self, event: 'QKeyEvent') -> None: ... + def volumeDownPressed(self, event: 'QKeyEvent') -> None: ... + def volumeUpPressed(self, event: 'QKeyEvent') -> None: ... + def menuPressed(self, event: 'QKeyEvent') -> None: ... + def flipPressed(self, event: 'QKeyEvent') -> None: ... + def hangupPressed(self, event: 'QKeyEvent') -> None: ... + def callPressed(self, event: 'QKeyEvent') -> None: ... + def context4Pressed(self, event: 'QKeyEvent') -> None: ... + def context3Pressed(self, event: 'QKeyEvent') -> None: ... + def context2Pressed(self, event: 'QKeyEvent') -> None: ... + def context1Pressed(self, event: 'QKeyEvent') -> None: ... + def noPressed(self, event: 'QKeyEvent') -> None: ... + def yesPressed(self, event: 'QKeyEvent') -> None: ... + def selectPressed(self, event: 'QKeyEvent') -> None: ... + def cancelPressed(self, event: 'QKeyEvent') -> None: ... + def backPressed(self, event: 'QKeyEvent') -> None: ... + def spacePressed(self, event: 'QKeyEvent') -> None: ... + def deletePressed(self, event: 'QKeyEvent') -> None: ... + def enterPressed(self, event: 'QKeyEvent') -> None: ... + def returnPressed(self, event: 'QKeyEvent') -> None: ... + def escapePressed(self, event: 'QKeyEvent') -> None: ... + def numberSignPressed(self, event: 'QKeyEvent') -> None: ... + def asteriskPressed(self, event: 'QKeyEvent') -> None: ... + def backtabPressed(self, event: 'QKeyEvent') -> None: ... + def tabPressed(self, event: 'QKeyEvent') -> None: ... + def downPressed(self, event: 'QKeyEvent') -> None: ... + def upPressed(self, event: 'QKeyEvent') -> None: ... + def rightPressed(self, event: 'QKeyEvent') -> None: ... + def leftPressed(self, event: 'QKeyEvent') -> None: ... + def digit9Pressed(self, event: 'QKeyEvent') -> None: ... + def digit8Pressed(self, event: 'QKeyEvent') -> None: ... + def digit7Pressed(self, event: 'QKeyEvent') -> None: ... + def digit6Pressed(self, event: 'QKeyEvent') -> None: ... + def digit5Pressed(self, event: 'QKeyEvent') -> None: ... + def digit4Pressed(self, event: 'QKeyEvent') -> None: ... + def digit3Pressed(self, event: 'QKeyEvent') -> None: ... + def digit2Pressed(self, event: 'QKeyEvent') -> None: ... + def digit1Pressed(self, event: 'QKeyEvent') -> None: ... + def digit0Pressed(self, event: 'QKeyEvent') -> None: ... + def focusChanged(self, focus: bool) -> None: ... + def sourceDeviceChanged(self, keyboardDevice: 'QKeyboardDevice') -> None: ... def setFocus(self, focus: bool) -> None: ... def setSourceDevice(self, keyboardDevice: 'QKeyboardDevice') -> None: ... def focus(self) -> bool: ... @@ -300,11 +309,12 @@ class QMouseDevice('QAbstractPhysicalDevice'): WheelY = ... # type: QMouseDevice.Axis def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - updateAxesContinuouslyChanged: typing.ClassVar[QtCore.pyqtSignal] + + def updateAxesContinuouslyChanged(self, updateAxesContinuously: bool) -> None: ... def setUpdateAxesContinuously(self, updateAxesContinuously: bool) -> None: ... def updateAxesContinuously(self) -> bool: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - sensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + def sensitivityChanged(self, value: float) -> None: ... def setSensitivity(self, value: float) -> None: ... def sensitivity(self) -> float: ... def buttonIdentifier(self, name: str) -> int: ... @@ -402,17 +412,17 @@ class QMouseHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - wheel: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - pressAndHold: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - exited: typing.ClassVar[QtCore.pyqtSignal] - entered: typing.ClassVar[QtCore.pyqtSignal] - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] + def wheel(self, wheel: 'QWheelEvent') -> None: ... + def positionChanged(self, mouse: 'QMouseEvent') -> None: ... + def pressAndHold(self, mouse: 'QMouseEvent') -> None: ... + def released(self, mouse: 'QMouseEvent') -> None: ... + def pressed(self, mouse: 'QMouseEvent') -> None: ... + def exited(self) -> None: ... + def entered(self) -> None: ... + def doubleClicked(self, mouse: 'QMouseEvent') -> None: ... + def clicked(self, mouse: 'QMouseEvent') -> None: ... + def containsMouseChanged(self, containsMouse: bool) -> None: ... + def sourceDeviceChanged(self, mouseDevice: 'QMouseDevice') -> None: ... def setSourceDevice(self, mouseDevice: 'QMouseDevice') -> None: ... def containsMouse(self) -> bool: ... def sourceDevice(self) -> 'QMouseDevice': ... diff --git a/PyQt5-stubs/Qt3DLogic.pyi b/PyQt5-stubs/Qt3DLogic.pyi index 03262555..dd8cabb8 100644 --- a/PyQt5-stubs/Qt3DLogic.pyi +++ b/PyQt5-stubs/Qt3DLogic.pyi @@ -42,7 +42,8 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], class QFrameAction(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - triggered: typing.ClassVar[QtCore.pyqtSignal] + + def triggered(self, dt: float) -> None: ... class QLogicAspect(Qt3DCore.QAbstractAspect): diff --git a/PyQt5-stubs/Qt3DRender.pyi b/PyQt5-stubs/Qt3DRender.pyi index 6258830a..43b9e810 100644 --- a/PyQt5-stubs/Qt3DRender.pyi +++ b/PyQt5-stubs/Qt3DRender.pyi @@ -54,8 +54,9 @@ class QAbstractLight(Qt3DCore.QComponent): PointLight = ... # type: QAbstractLight.Type DirectionalLight = ... # type: QAbstractLight.Type SpotLight = ... # type: QAbstractLight.Type - intensityChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def intensityChanged(self, intensity: float) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setIntensity(self, intensity: float) -> None: ... def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def intensity(self) -> float: ... @@ -85,9 +86,9 @@ class QAbstractRayCaster(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] - hitsChanged: typing.ClassVar[QtCore.pyqtSignal] - runModeChanged: typing.ClassVar[QtCore.pyqtSignal] + def filterModeChanged(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... + def hitsChanged(self, hits: typing.Iterable['QRayCasterHit']) -> None: ... + def runModeChanged(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... def setFilterMode(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... def setRunMode(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... def layers(self) -> typing.List['QLayer']: ... @@ -411,25 +412,25 @@ class QAbstractTexture(Qt3DCore.QNode): def __init__(self, target: 'QAbstractTexture.Target', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def updateData(self, update: 'QTextureDataUpdate') -> None: ... - handleChanged: typing.ClassVar[QtCore.pyqtSignal] - handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + def handleChanged(self, handle: typing.Any) -> None: ... + def handleTypeChanged(self, handleType: 'QAbstractTexture.HandleType') -> None: ... def handle(self) -> typing.Any: ... def handleType(self) -> 'QAbstractTexture.HandleType': ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def setStatus(self, status: 'QAbstractTexture.Status') -> None: ... - samplesChanged: typing.ClassVar[QtCore.pyqtSignal] - layersChanged: typing.ClassVar[QtCore.pyqtSignal] - comparisonModeChanged: typing.ClassVar[QtCore.pyqtSignal] - comparisonFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] - maximumAnisotropyChanged: typing.ClassVar[QtCore.pyqtSignal] - minificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] - magnificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] - depthChanged: typing.ClassVar[QtCore.pyqtSignal] - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - generateMipMapsChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - formatChanged: typing.ClassVar[QtCore.pyqtSignal] + def samplesChanged(self, samples: int) -> None: ... + def layersChanged(self, layers: int) -> None: ... + def comparisonModeChanged(self, comparisonMode: 'QAbstractTexture.ComparisonMode') -> None: ... + def comparisonFunctionChanged(self, comparisonFunction: 'QAbstractTexture.ComparisonFunction') -> None: ... + def maximumAnisotropyChanged(self, maximumAnisotropy: float) -> None: ... + def minificationFilterChanged(self, minificationFilter: 'QAbstractTexture.Filter') -> None: ... + def magnificationFilterChanged(self, magnificationFilter: 'QAbstractTexture.Filter') -> None: ... + def depthChanged(self, depth: int) -> None: ... + def heightChanged(self, height: int) -> None: ... + def widthChanged(self, width: int) -> None: ... + def generateMipMapsChanged(self, generateMipMaps: bool) -> None: ... + def statusChanged(self, status: 'QAbstractTexture.Status') -> None: ... + def formatChanged(self, format: 'QAbstractTexture.TextureFormat') -> None: ... def setSamples(self, samples: int) -> None: ... def setLayers(self, layers: int) -> None: ... def setComparisonMode(self, mode: 'QAbstractTexture.ComparisonMode') -> None: ... @@ -470,9 +471,9 @@ class QAbstractTextureImage(Qt3DCore.QNode): def dataGenerator(self) -> 'QTextureImageDataGenerator': ... def notifyDataGeneratorChanged(self) -> None: ... - faceChanged: typing.ClassVar[QtCore.pyqtSignal] - layerChanged: typing.ClassVar[QtCore.pyqtSignal] - mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... + def layerChanged(self, layer: int) -> None: ... + def mipLevelChanged(self, mipLevel: int) -> None: ... def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -508,8 +509,9 @@ class QAlphaTest('QRenderState'): NotEqual = ... # type: QAlphaTest.AlphaFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] - alphaFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def referenceValueChanged(self, referenceValue: float) -> None: ... + def alphaFunctionChanged(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... def setReferenceValue(self, referenceValue: float) -> None: ... def setAlphaFunction(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... def referenceValue(self) -> float: ... @@ -553,17 +555,18 @@ class QAttribute(Qt3DCore.QNode): def __init__(self, buf: 'QBuffer', vertexBaseType: 'QAttribute.VertexBaseType', vertexSize: int, count: int, offset: int = ..., stride: int = ..., parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, buf: 'QBuffer', name: str, vertexBaseType: 'QAttribute.VertexBaseType', vertexSize: int, count: int, offset: int = ..., stride: int = ..., parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - vertexSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - vertexBaseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - attributeTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - divisorChanged: typing.ClassVar[QtCore.pyqtSignal] - byteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] - byteStrideChanged: typing.ClassVar[QtCore.pyqtSignal] - countChanged: typing.ClassVar[QtCore.pyqtSignal] - dataSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - dataTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] - bufferChanged: typing.ClassVar[QtCore.pyqtSignal] + + def vertexSizeChanged(self, vertexSize: int) -> None: ... + def vertexBaseTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... + def attributeTypeChanged(self, attributeType: 'QAttribute.AttributeType') -> None: ... + def divisorChanged(self, divisor: int) -> None: ... + def byteOffsetChanged(self, byteOffset: int) -> None: ... + def byteStrideChanged(self, byteStride: int) -> None: ... + def countChanged(self, count: int) -> None: ... + def dataSizeChanged(self, vertexSize: int) -> None: ... + def dataTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... + def nameChanged(self, name: str) -> None: ... + def bufferChanged(self, buffer: 'QBuffer') -> None: ... def setVertexSize(self, size: int) -> None: ... def setVertexBaseType(self, type: 'QAttribute.VertexBaseType') -> None: ... def setAttributeType(self, attributeType: 'QAttribute.AttributeType') -> None: ... @@ -619,7 +622,8 @@ class QBlendEquation('QRenderState'): Max = ... # type: QBlendEquation.BlendFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - blendFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def blendFunctionChanged(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... def setBlendFunction(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... def blendFunction(self) -> 'QBlendEquation.BlendFunction': ... @@ -669,13 +673,14 @@ class QBlendEquationArguments('QRenderState'): OneMinusSource1Color = ... # type: QBlendEquationArguments.Blending def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - bufferIndexChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationRgbChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceRgbChanged: typing.ClassVar[QtCore.pyqtSignal] + + def bufferIndexChanged(self, index: int) -> None: ... + def destinationRgbaChanged(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... + def sourceRgbaChanged(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... + def destinationAlphaChanged(self, destinationAlpha: 'QBlendEquationArguments.Blending') -> None: ... + def destinationRgbChanged(self, destinationRgb: 'QBlendEquationArguments.Blending') -> None: ... + def sourceAlphaChanged(self, sourceAlpha: 'QBlendEquationArguments.Blending') -> None: ... + def sourceRgbChanged(self, sourceRgb: 'QBlendEquationArguments.Blending') -> None: ... def setBufferIndex(self, index: int) -> None: ... def setDestinationRgba(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... def setSourceRgba(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... @@ -705,13 +710,14 @@ class QBlitFramebuffer('QFrameGraphNode'): Linear = ... # type: QBlitFramebuffer.InterpolationMethod def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - interpolationMethodChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationRectChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceRectChanged: typing.ClassVar[QtCore.pyqtSignal] - destinationChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def interpolationMethodChanged(self) -> None: ... + def destinationAttachmentPointChanged(self) -> None: ... + def sourceAttachmentPointChanged(self) -> None: ... + def destinationRectChanged(self) -> None: ... + def sourceRectChanged(self) -> None: ... + def destinationChanged(self) -> None: ... + def sourceChanged(self) -> None: ... def setInterpolationMethod(self, interpolationMethod: 'QBlitFramebuffer.InterpolationMethod') -> None: ... def setDestinationAttachmentPoint(self, destinationAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... def setSourceAttachmentPoint(self, sourceAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... @@ -780,16 +786,17 @@ class QBuffer(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, ty: 'QBuffer.BufferType', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - dataAvailable: typing.ClassVar[QtCore.pyqtSignal] - accessTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def dataAvailable(self) -> None: ... + def accessTypeChanged(self, access: 'QBuffer.AccessType') -> None: ... def setAccessType(self, access: 'QBuffer.AccessType') -> None: ... def accessType(self) -> 'QBuffer.AccessType': ... def updateData(self, offset: int, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - syncDataChanged: typing.ClassVar[QtCore.pyqtSignal] - usageChanged: typing.ClassVar[QtCore.pyqtSignal] - typeChanged: typing.ClassVar[QtCore.pyqtSignal] - dataChanged: typing.ClassVar[QtCore.pyqtSignal] + def syncDataChanged(self, syncData: bool) -> None: ... + def usageChanged(self, usage: 'QBuffer.UsageType') -> None: ... + def typeChanged(self, type: 'QBuffer.BufferType') -> None: ... + def dataChanged(self, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setSyncData(self, syncData: bool) -> None: ... def setUsage(self, usage: 'QBuffer.UsageType') -> None: ... def setType(self, type: 'QBuffer.BufferType') -> None: ... @@ -819,24 +826,24 @@ class QCamera(Qt3DCore.QEntity): def viewEntity(self, entity: Qt3DCore.QEntity) -> None: ... def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... def viewAll(self) -> None: ... - exposureChanged: typing.ClassVar[QtCore.pyqtSignal] + def exposureChanged(self, exposure: float) -> None: ... def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - viewMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] - viewVectorChanged: typing.ClassVar[QtCore.pyqtSignal] - viewCenterChanged: typing.ClassVar[QtCore.pyqtSignal] - upVectorChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] - topChanged: typing.ClassVar[QtCore.pyqtSignal] - bottomChanged: typing.ClassVar[QtCore.pyqtSignal] - rightChanged: typing.ClassVar[QtCore.pyqtSignal] - leftChanged: typing.ClassVar[QtCore.pyqtSignal] - aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] - farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] - nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] - projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + def viewMatrixChanged(self) -> None: ... + def viewVectorChanged(self, viewVector: QtGui.QVector3D) -> None: ... + def viewCenterChanged(self, viewCenter: QtGui.QVector3D) -> None: ... + def upVectorChanged(self, upVector: QtGui.QVector3D) -> None: ... + def positionChanged(self, position: QtGui.QVector3D) -> None: ... + def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... + def topChanged(self, top: float) -> None: ... + def bottomChanged(self, bottom: float) -> None: ... + def rightChanged(self, right: float) -> None: ... + def leftChanged(self, left: float) -> None: ... + def aspectRatioChanged(self, aspectRatio: float) -> None: ... + def fieldOfViewChanged(self, fieldOfView: float) -> None: ... + def farPlaneChanged(self, farPlane: float) -> None: ... + def nearPlaneChanged(self, nearPlane: float) -> None: ... + def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... def setViewCenter(self, viewCenter: QtGui.QVector3D) -> None: ... def setUpVector(self, upVector: QtGui.QVector3D) -> None: ... def setPosition(self, position: QtGui.QVector3D) -> None: ... @@ -902,22 +909,23 @@ class QCameraLens(Qt3DCore.QComponent): CustomProjection = ... # type: QCameraLens.ProjectionType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - viewSphere: typing.ClassVar[QtCore.pyqtSignal] + + def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... def viewEntity(self, entityId: Qt3DCore.QNodeId, cameraId: Qt3DCore.QNodeId) -> None: ... def viewAll(self, cameraId: Qt3DCore.QNodeId) -> None: ... - exposureChanged: typing.ClassVar[QtCore.pyqtSignal] + def exposureChanged(self, exposure: float) -> None: ... def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] - topChanged: typing.ClassVar[QtCore.pyqtSignal] - bottomChanged: typing.ClassVar[QtCore.pyqtSignal] - rightChanged: typing.ClassVar[QtCore.pyqtSignal] - leftChanged: typing.ClassVar[QtCore.pyqtSignal] - aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] - farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] - nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] - projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... + def topChanged(self, top: float) -> None: ... + def bottomChanged(self, bottom: float) -> None: ... + def rightChanged(self, right: float) -> None: ... + def leftChanged(self, left: float) -> None: ... + def aspectRatioChanged(self, aspectRatio: float) -> None: ... + def fieldOfViewChanged(self, fieldOfView: float) -> None: ... + def farPlaneChanged(self, farPlane: float) -> None: ... + def nearPlaneChanged(self, nearPlane: float) -> None: ... + def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... def setProjectionMatrix(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... def setTop(self, top: float) -> None: ... def setBottom(self, bottom: float) -> None: ... @@ -945,7 +953,8 @@ class QCameraLens(Qt3DCore.QComponent): class QCameraSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - cameraChanged: typing.ClassVar[QtCore.pyqtSignal] + + def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... def camera(self) -> Qt3DCore.QEntity: ... @@ -986,11 +995,12 @@ class QClearBuffers('QFrameGraphNode'): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - colorBufferChanged: typing.ClassVar[QtCore.pyqtSignal] - clearStencilValueChanged: typing.ClassVar[QtCore.pyqtSignal] - clearDepthValueChanged: typing.ClassVar[QtCore.pyqtSignal] - clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] - buffersChanged: typing.ClassVar[QtCore.pyqtSignal] + + def colorBufferChanged(self, buffer: 'QRenderTargetOutput') -> None: ... + def clearStencilValueChanged(self, clearStencilValue: int) -> None: ... + def clearDepthValueChanged(self, clearDepthValue: float) -> None: ... + def clearColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def buffersChanged(self, buffers: 'QClearBuffers.BufferType') -> None: ... def setColorBuffer(self, buffer: 'QRenderTargetOutput') -> None: ... def setClearStencilValue(self, clearStencilValue: int) -> None: ... def setClearDepthValue(self, clearDepthValue: float) -> None: ... @@ -1005,9 +1015,10 @@ class QClearBuffers('QFrameGraphNode'): class QClipPlane('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - distanceChanged: typing.ClassVar[QtCore.pyqtSignal] - normalChanged: typing.ClassVar[QtCore.pyqtSignal] - planeIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + + def distanceChanged(self, distance: float) -> None: ... + def normalChanged(self, normal: QtGui.QVector3D) -> None: ... + def planeIndexChanged(self, planeIndex: int) -> None: ... def setDistance(self, a0: float) -> None: ... def setNormal(self, a0: QtGui.QVector3D) -> None: ... def setPlaneIndex(self, a0: int) -> None: ... @@ -1025,16 +1036,17 @@ class QComputeCommand(Qt3DCore.QComponent): Manual = ... # type: QComputeCommand.RunType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - runTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def runTypeChanged(self) -> None: ... @typing.overload def trigger(self, frameCount: int = ...) -> None: ... @typing.overload def trigger(self, workGroupX: int, workGroupY: int, workGroupZ: int, frameCount: int = ...) -> None: ... def setRunType(self, runType: 'QComputeCommand.RunType') -> None: ... def runType(self) -> 'QComputeCommand.RunType': ... - workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] - workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] - workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] + def workGroupZChanged(self) -> None: ... + def workGroupYChanged(self) -> None: ... + def workGroupXChanged(self) -> None: ... def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1045,10 +1057,11 @@ class QComputeCommand(Qt3DCore.QComponent): class QColorMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - alphaMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] - blueMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] - greenMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] - redMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + + def alphaMaskedChanged(self, alphaMasked: bool) -> None: ... + def blueMaskedChanged(self, blueMasked: bool) -> None: ... + def greenMaskedChanged(self, greenMasked: bool) -> None: ... + def redMaskedChanged(self, redMasked: bool) -> None: ... def setAlphaMasked(self, alphaMasked: bool) -> None: ... def setBlueMasked(self, blueMasked: bool) -> None: ... def setGreenMasked(self, greenMasked: bool) -> None: ... @@ -1072,15 +1085,17 @@ class QCullFace('QRenderState'): FrontAndBack = ... # type: QCullFace.CullingMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - modeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def modeChanged(self, mode: 'QCullFace.CullingMode') -> None: ... def setMode(self, mode: 'QCullFace.CullingMode') -> None: ... def mode(self) -> 'QCullFace.CullingMode': ... class QDepthRange('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - farValueChanged: typing.ClassVar[QtCore.pyqtSignal] - nearValueChanged: typing.ClassVar[QtCore.pyqtSignal] + + def farValueChanged(self, farValue: float) -> None: ... + def nearValueChanged(self, nearValue: float) -> None: ... def setFarValue(self, value: float) -> None: ... def setNearValue(self, value: float) -> None: ... def farValue(self) -> float: ... @@ -1108,23 +1123,26 @@ class QDepthTest('QRenderState'): NotEqual = ... # type: QDepthTest.DepthFunction def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - depthFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def depthFunctionChanged(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... def setDepthFunction(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... def depthFunction(self) -> 'QDepthTest.DepthFunction': ... class QDirectionalLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - worldDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def worldDirectionChanged(self, worldDirection: QtGui.QVector3D) -> None: ... def setWorldDirection(self, worldDirection: QtGui.QVector3D) -> None: ... def worldDirection(self) -> QtGui.QVector3D: ... class QDispatchCompute('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] - workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] - workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] + + def workGroupZChanged(self) -> None: ... + def workGroupYChanged(self) -> None: ... + def workGroupXChanged(self) -> None: ... def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1150,8 +1168,9 @@ class QEffect(Qt3DCore.QNode): class QEnvironmentLight(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - specularChanged: typing.ClassVar[QtCore.pyqtSignal] - irradianceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def specularChanged(self, environmentSpecular: 'QAbstractTexture') -> None: ... + def irradianceChanged(self, environmentIrradiance: 'QAbstractTexture') -> None: ... def setSpecular(self, specular: 'QAbstractTexture') -> None: ... def setIrradiance(self, irradiance: 'QAbstractTexture') -> None: ... def specular(self) -> 'QAbstractTexture': ... @@ -1160,8 +1179,9 @@ class QEnvironmentLight(Qt3DCore.QComponent): class QFilterKey(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] + + def valueChanged(self, value: typing.Any) -> None: ... + def nameChanged(self, name: str) -> None: ... def setName(self, customType: str) -> None: ... def setValue(self, value: typing.Any) -> None: ... def name(self) -> str: ... @@ -1177,7 +1197,8 @@ class QFrontFace('QRenderState'): CounterClockWise = ... # type: QFrontFace.WindingDirection def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - directionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def directionChanged(self, direction: 'QFrontFace.WindingDirection') -> None: ... def setDirection(self, direction: 'QFrontFace.WindingDirection') -> None: ... def direction(self) -> 'QFrontFace.WindingDirection': ... @@ -1190,11 +1211,11 @@ class QGeometry(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - maxExtentChanged: typing.ClassVar[QtCore.pyqtSignal] - minExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + def maxExtentChanged(self, maxExtent: QtGui.QVector3D) -> None: ... + def minExtentChanged(self, minExtent: QtGui.QVector3D) -> None: ... def maxExtent(self) -> QtGui.QVector3D: ... def minExtent(self) -> QtGui.QVector3D: ... - boundingVolumePositionAttributeChanged: typing.ClassVar[QtCore.pyqtSignal] + def boundingVolumePositionAttributeChanged(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... def setBoundingVolumePositionAttribute(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... def boundingVolumePositionAttribute(self) -> 'QAttribute': ... def removeAttribute(self, attribute: 'QAttribute') -> None: ... @@ -1237,19 +1258,19 @@ class QGeometryRenderer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - indexBufferByteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + def indexBufferByteOffsetChanged(self, offset: int) -> None: ... def setIndexBufferByteOffset(self, offset: int) -> None: ... def indexBufferByteOffset(self) -> int: ... - primitiveTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryChanged: typing.ClassVar[QtCore.pyqtSignal] - primitiveRestartEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - verticesPerPatchChanged: typing.ClassVar[QtCore.pyqtSignal] - restartIndexValueChanged: typing.ClassVar[QtCore.pyqtSignal] - firstVertexChanged: typing.ClassVar[QtCore.pyqtSignal] - firstInstanceChanged: typing.ClassVar[QtCore.pyqtSignal] - indexOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] - vertexCountChanged: typing.ClassVar[QtCore.pyqtSignal] - instanceCountChanged: typing.ClassVar[QtCore.pyqtSignal] + def primitiveTypeChanged(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... + def geometryChanged(self, geometry: 'QGeometry') -> None: ... + def primitiveRestartEnabledChanged(self, primitiveRestartEnabled: bool) -> None: ... + def verticesPerPatchChanged(self, verticesPerPatch: int) -> None: ... + def restartIndexValueChanged(self, restartIndexValue: int) -> None: ... + def firstVertexChanged(self, firstVertex: int) -> None: ... + def firstInstanceChanged(self, firstInstance: int) -> None: ... + def indexOffsetChanged(self, indexOffset: int) -> None: ... + def vertexCountChanged(self, vertexCount: int) -> None: ... + def instanceCountChanged(self, instanceCount: int) -> None: ... def setPrimitiveType(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... def setGeometry(self, geometry: 'QGeometry') -> None: ... def setPrimitiveRestartEnabled(self, enabled: bool) -> None: ... @@ -1298,13 +1319,14 @@ class QGraphicsApiFilter(QtCore.QObject): RHI = ... # type: QGraphicsApiFilter.Api def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - graphicsApiFilterChanged: typing.ClassVar[QtCore.pyqtSignal] - vendorChanged: typing.ClassVar[QtCore.pyqtSignal] - extensionsChanged: typing.ClassVar[QtCore.pyqtSignal] - majorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] - minorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] - profileChanged: typing.ClassVar[QtCore.pyqtSignal] - apiChanged: typing.ClassVar[QtCore.pyqtSignal] + + def graphicsApiFilterChanged(self) -> None: ... + def vendorChanged(self, vendor: str) -> None: ... + def extensionsChanged(self, extensions: typing.Iterable[str]) -> None: ... + def majorVersionChanged(self, majorVersion: int) -> None: ... + def minorVersionChanged(self, minorVersion: int) -> None: ... + def profileChanged(self, profile: 'QGraphicsApiFilter.OpenGLProfile') -> None: ... + def apiChanged(self, api: 'QGraphicsApiFilter.Api') -> None: ... def setVendor(self, vendor: str) -> None: ... def setExtensions(self, extensions: typing.Iterable[str]) -> None: ... def setMajorVersion(self, majorVersion: int) -> None: ... @@ -1321,7 +1343,8 @@ class QGraphicsApiFilter(QtCore.QObject): class QLayer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] + + def recursiveChanged(self) -> None: ... def setRecursive(self, recursive: bool) -> None: ... def recursive(self) -> bool: ... @@ -1339,7 +1362,8 @@ class QLayerFilter('QFrameGraphNode'): DiscardAllMatchingLayers = ... # type: QLayerFilter.FilterMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def filterModeChanged(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... def setFilterMode(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... def filterMode(self) -> 'QLayerFilter.FilterMode': ... def layers(self) -> typing.List['QLayer']: ... @@ -1358,11 +1382,11 @@ class QLevelOfDetail(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - volumeOverrideChanged: typing.ClassVar[QtCore.pyqtSignal] - thresholdsChanged: typing.ClassVar[QtCore.pyqtSignal] - thresholdTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] - cameraChanged: typing.ClassVar[QtCore.pyqtSignal] + def volumeOverrideChanged(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... + def thresholdsChanged(self, thresholds: typing.Iterable[float]) -> None: ... + def thresholdTypeChanged(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... + def currentIndexChanged(self, currentIndex: int) -> None: ... + def cameraChanged(self, camera: 'QCamera') -> None: ... def setVolumeOverride(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... def setThresholds(self, thresholds: typing.Iterable[float]) -> None: ... def setThresholdType(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... @@ -1395,8 +1419,9 @@ class QLevelOfDetailSwitch('QLevelOfDetail'): class QLineWidth('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - smoothChanged: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + + def smoothChanged(self, enabled: bool) -> None: ... + def valueChanged(self, value: float) -> None: ... def setSmooth(self, enabled: bool) -> None: ... def setValue(self, value: float) -> None: ... def smooth(self) -> bool: ... @@ -1405,7 +1430,8 @@ class QLineWidth('QRenderState'): class QMaterial(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - effectChanged: typing.ClassVar[QtCore.pyqtSignal] + + def effectChanged(self, effect: 'QEffect') -> None: ... def setEffect(self, effect: 'QEffect') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, parameter: 'QParameter') -> None: ... @@ -1465,7 +1491,8 @@ class QMemoryBarrier('QFrameGraphNode'): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - waitOperationsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def waitOperationsChanged(self, barrierTypes: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... def setWaitOperations(self, operations: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... def waitOperations(self) -> 'QMemoryBarrier.Operations': ... @@ -1485,10 +1512,10 @@ class QMesh('QGeometryRenderer'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, status: 'QMesh.Status') -> None: ... def status(self) -> 'QMesh.Status': ... - meshNameChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def meshNameChanged(self, meshName: str) -> None: ... + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setMeshName(self, meshName: str) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def meshName(self) -> str: ... @@ -1513,20 +1540,21 @@ class QNoPicking('QFrameGraphNode'): class QObjectPicker(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - priorityChanged: typing.ClassVar[QtCore.pyqtSignal] + + def priorityChanged(self, priority: int) -> None: ... def setPriority(self, priority: int) -> None: ... def priority(self) -> int: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] - pressedChanged: typing.ClassVar[QtCore.pyqtSignal] - dragEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - hoverEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - exited: typing.ClassVar[QtCore.pyqtSignal] - entered: typing.ClassVar[QtCore.pyqtSignal] - moved: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] + def containsMouseChanged(self, containsMouse: bool) -> None: ... + def pressedChanged(self, pressed: bool) -> None: ... + def dragEnabledChanged(self, dragEnabled: bool) -> None: ... + def hoverEnabledChanged(self, hoverEnabled: bool) -> None: ... + def exited(self) -> None: ... + def entered(self) -> None: ... + def moved(self, pick: 'QPickEvent') -> None: ... + def clicked(self, pick: 'QPickEvent') -> None: ... + def released(self, pick: 'QPickEvent') -> None: ... + def pressed(self, pick: 'QPickEvent') -> None: ... def setDragEnabled(self, dragEnabled: bool) -> None: ... def setHoverEnabled(self, hoverEnabled: bool) -> None: ... def isPressed(self) -> bool: ... @@ -1539,9 +1567,9 @@ class QPaintedTextureImage('QAbstractTextureImage'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def paint(self, painter: QtGui.QPainter) -> None: ... - sizeChanged: typing.ClassVar[QtCore.pyqtSignal] - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] + def sizeChanged(self, size: QtCore.QSize) -> None: ... + def heightChanged(self, w: int) -> None: ... + def widthChanged(self, w: int) -> None: ... def setSize(self, size: QtCore.QSize) -> None: ... def setHeight(self, h: int) -> None: ... def setWidth(self, w: int) -> None: ... @@ -1558,8 +1586,9 @@ class QParameter(Qt3DCore.QNode): def __init__(self, name: str, value: typing.Any, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... @typing.overload def __init__(self, name: str, texture: 'QAbstractTexture', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - nameChanged: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + + def nameChanged(self, name: str) -> None: ... + def valueChanged(self, value: typing.Any) -> None: ... def setValue(self, dv: typing.Any) -> None: ... def setName(self, name: str) -> None: ... def value(self) -> typing.Any: ... @@ -1607,7 +1636,7 @@ class QPickEvent(QtCore.QObject): def modifiers(self) -> int: ... def buttons(self) -> int: ... def button(self) -> 'QPickEvent.Buttons': ... - acceptedChanged: typing.ClassVar[QtCore.pyqtSignal] + def acceptedChanged(self, accepted: bool) -> None: ... def setAccepted(self, accepted: bool) -> None: ... def localIntersection(self) -> QtGui.QVector3D: ... def worldIntersection(self) -> QtGui.QVector3D: ... @@ -1649,14 +1678,15 @@ class QPickingSettings(Qt3DCore.QNode): PrimitivePicking = ... # type: QPickingSettings.PickMethod def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - worldSpaceToleranceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def worldSpaceToleranceChanged(self, worldSpaceTolerance: float) -> None: ... def setWorldSpaceTolerance(self, worldSpaceTolerance: float) -> None: ... def worldSpaceTolerance(self) -> float: ... - faceOrientationPickingModeChanged: typing.ClassVar[QtCore.pyqtSignal] + def faceOrientationPickingModeChanged(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... def setFaceOrientationPickingMode(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... def faceOrientationPickingMode(self) -> 'QPickingSettings.FaceOrientationPickingMode': ... - pickResultModeChanged: typing.ClassVar[QtCore.pyqtSignal] - pickMethodChanged: typing.ClassVar[QtCore.pyqtSignal] + def pickResultModeChanged(self, pickResult: 'QPickingSettings.PickResultMode') -> None: ... + def pickMethodChanged(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... def setPickResultMode(self, pickResultMode: 'QPickingSettings.PickResultMode') -> None: ... def setPickMethod(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... def pickResultMode(self) -> 'QPickingSettings.PickResultMode': ... @@ -1700,9 +1730,10 @@ class QPickTriangleEvent('QPickEvent'): class QPointLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] - linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] - constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... + def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... + def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... def setQuadraticAttenuation(self, value: float) -> None: ... def setLinearAttenuation(self, value: float) -> None: ... def setConstantAttenuation(self, value: float) -> None: ... @@ -1720,8 +1751,9 @@ class QPointSize('QRenderState'): Programmable = ... # type: QPointSize.SizeMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - sizeModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def valueChanged(self, value: float) -> None: ... + def sizeModeChanged(self, sizeMode: 'QPointSize.SizeMode') -> None: ... def setValue(self, value: float) -> None: ... def setSizeMode(self, sizeMode: 'QPointSize.SizeMode') -> None: ... def value(self) -> float: ... @@ -1730,8 +1762,9 @@ class QPointSize('QRenderState'): class QPolygonOffset('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - depthStepsChanged: typing.ClassVar[QtCore.pyqtSignal] - scaleFactorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def depthStepsChanged(self, depthSteps: float) -> None: ... + def scaleFactorChanged(self, scaleFactor: float) -> None: ... def setDepthSteps(self, depthSteps: float) -> None: ... def setScaleFactor(self, scaleFactor: float) -> None: ... def depthSteps(self) -> float: ... @@ -1740,8 +1773,9 @@ class QPolygonOffset('QRenderState'): class QProximityFilter('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - distanceThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] - entityChanged: typing.ClassVar[QtCore.pyqtSignal] + + def distanceThresholdChanged(self, distanceThreshold: float) -> None: ... + def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... def setDistanceThreshold(self, distanceThreshold: float) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def distanceThreshold(self) -> float: ... @@ -1768,8 +1802,9 @@ class QRasterMode('QRenderState'): Fill = ... # type: QRasterMode.RasterMode def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] - rasterModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def faceModeChanged(self, faceMode: 'QRasterMode.FaceMode') -> None: ... + def rasterModeChanged(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... def setFaceMode(self, faceMode: 'QRasterMode.FaceMode') -> None: ... def setRasterMode(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... def faceMode(self) -> 'QRasterMode.FaceMode': ... @@ -1778,9 +1813,10 @@ class QRasterMode('QRenderState'): class QRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - lengthChanged: typing.ClassVar[QtCore.pyqtSignal] - directionChanged: typing.ClassVar[QtCore.pyqtSignal] - originChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lengthChanged(self, length: float) -> None: ... + def directionChanged(self, direction: QtGui.QVector3D) -> None: ... + def originChanged(self, origin: QtGui.QVector3D) -> None: ... @typing.overload def trigger(self) -> None: ... @typing.overload @@ -1898,9 +1934,10 @@ class QRenderCapabilities(QtCore.QObject): def isValid(self) -> bool: ... class QRenderCaptureReply(QtCore.QObject): - completed: typing.ClassVar[QtCore.pyqtSignal] + + def completed(self) -> None: ... def saveImage(self, fileName: str) -> bool: ... - completeChanged: typing.ClassVar[QtCore.pyqtSignal] + def completeChanged(self, isComplete: bool) -> None: ... def saveToFile(self, fileName: str) -> None: ... def isComplete(self) -> bool: ... def captureId(self) -> int: ... @@ -1921,7 +1958,8 @@ class QRenderCapture('QFrameGraphNode'): class QRenderPass(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] + + def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... def setShaderProgram(self, shaderProgram: 'QShaderProgram') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, p: 'QParameter') -> None: ... @@ -1955,8 +1993,9 @@ class QRenderSettings(Qt3DCore.QComponent): Always = ... # type: QRenderSettings.RenderPolicy def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - renderPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] - activeFrameGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + + def renderPolicyChanged(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... + def activeFrameGraphChanged(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... def setRenderPolicy(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... def setActiveFrameGraph(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... def renderCapabilities(self) -> 'QRenderCapabilities': ... @@ -1975,9 +2014,10 @@ class QRenderStateSet('QFrameGraphNode'): class QRenderSurfaceSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - surfacePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def surfacePixelRatioChanged(self, ratio: float) -> None: ... + def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... + def surfaceChanged(self, surface: QtCore.QObject) -> None: ... def setSurfacePixelRatio(self, ratio: float) -> None: ... def setSurface(self, surfaceObject: QtCore.QObject) -> None: ... def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... @@ -2037,11 +2077,12 @@ class QRenderTargetOutput(Qt3DCore.QNode): DepthStencil = ... # type: QRenderTargetOutput.AttachmentPoint def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - faceChanged: typing.ClassVar[QtCore.pyqtSignal] - layerChanged: typing.ClassVar[QtCore.pyqtSignal] - mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] - textureChanged: typing.ClassVar[QtCore.pyqtSignal] - attachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] + + def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... + def layerChanged(self, layer: int) -> None: ... + def mipLevelChanged(self, mipLevel: int) -> None: ... + def textureChanged(self, texture: 'QAbstractTexture') -> None: ... + def attachmentPointChanged(self, attachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -2056,7 +2097,8 @@ class QRenderTargetOutput(Qt3DCore.QNode): class QRenderTargetSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - targetChanged: typing.ClassVar[QtCore.pyqtSignal] + + def targetChanged(self, target: 'QRenderTarget') -> None: ... def setTarget(self, target: 'QRenderTarget') -> None: ... def target(self) -> 'QRenderTarget': ... def outputs(self) -> typing.List[QRenderTargetOutput.AttachmentPoint]: ... @@ -2094,8 +2136,8 @@ class QSceneLoader(Qt3DCore.QComponent): def component(self, entityName: str, componentType: 'QSceneLoader.ComponentType') -> Qt3DCore.QComponent: ... def entityNames(self) -> typing.List[str]: ... def entity(self, entityName: str) -> Qt3DCore.QEntity: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, status: 'QSceneLoader.Status') -> None: ... + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setSource(self, arg: QtCore.QUrl) -> None: ... def status(self) -> 'QSceneLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2104,10 +2146,11 @@ class QSceneLoader(Qt3DCore.QComponent): class QScissorTest('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - heightChanged: typing.ClassVar[QtCore.pyqtSignal] - widthChanged: typing.ClassVar[QtCore.pyqtSignal] - bottomChanged: typing.ClassVar[QtCore.pyqtSignal] - leftChanged: typing.ClassVar[QtCore.pyqtSignal] + + def heightChanged(self, height: int) -> None: ... + def widthChanged(self, width: int) -> None: ... + def bottomChanged(self, bottom: int) -> None: ... + def leftChanged(self, left: int) -> None: ... def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setBottom(self, bottom: int) -> None: ... @@ -2120,7 +2163,8 @@ class QScissorTest('QRenderState'): class QScreenRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - positionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def positionChanged(self, position: QtCore.QPoint) -> None: ... @typing.overload def trigger(self) -> None: ... @typing.overload @@ -2144,8 +2188,8 @@ class QSetFence('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - handleChanged: typing.ClassVar[QtCore.pyqtSignal] - handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + def handleChanged(self, handle: typing.Any) -> None: ... + def handleTypeChanged(self, handleType: 'QSetFence.HandleType') -> None: ... def handle(self) -> typing.Any: ... def handleType(self) -> 'QSetFence.HandleType': ... @@ -2257,12 +2301,13 @@ class QShaderImage(Qt3DCore.QNode): ReadWrite = ... # type: QShaderImage.Access def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - formatChanged: typing.ClassVar[QtCore.pyqtSignal] - accessChanged: typing.ClassVar[QtCore.pyqtSignal] - layerChanged: typing.ClassVar[QtCore.pyqtSignal] - mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] - layeredChanged: typing.ClassVar[QtCore.pyqtSignal] - textureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def formatChanged(self, format: 'QShaderImage.ImageFormat') -> None: ... + def accessChanged(self, access: 'QShaderImage.Access') -> None: ... + def layerChanged(self, layer: int) -> None: ... + def mipLevelChanged(self, mipLevel: int) -> None: ... + def layeredChanged(self, layered: bool) -> None: ... + def textureChanged(self, texture: 'QAbstractTexture') -> None: ... def setFormat(self, format: 'QShaderImage.ImageFormat') -> None: ... def setAccess(self, access: 'QShaderImage.Access') -> None: ... def setLayer(self, layer: int) -> None: ... @@ -2310,20 +2355,21 @@ class QShaderProgram(Qt3DCore.QNode): Compute = ... # type: QShaderProgram.ShaderType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - formatChanged: typing.ClassVar[QtCore.pyqtSignal] + + def formatChanged(self, format: 'QShaderProgram.Format') -> None: ... def format(self) -> 'QShaderProgram.Format': ... def setFormat(self, format: 'QShaderProgram.Format') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - logChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, status: 'QShaderProgram.Status') -> None: ... + def logChanged(self, log: str) -> None: ... def status(self) -> 'QShaderProgram.Status': ... def log(self) -> str: ... - computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setComputeShaderCode(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setFragmentShaderCode(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setGeometryShaderCode(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... @@ -2346,26 +2392,26 @@ class QShaderProgramBuilder(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def computeShaderCode(self) -> QtCore.QByteArray: ... def fragmentShaderCode(self) -> QtCore.QByteArray: ... def geometryShaderCode(self) -> QtCore.QByteArray: ... def tessellationEvaluationShaderCode(self) -> QtCore.QByteArray: ... def tessellationControlShaderCode(self) -> QtCore.QByteArray: ... def vertexShaderCode(self) -> QtCore.QByteArray: ... - computeShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - fragmentShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationEvaluationShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - tessellationControlShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - vertexShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] - enabledLayersChanged: typing.ClassVar[QtCore.pyqtSignal] - shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] + def computeShaderGraphChanged(self, computeShaderGraph: QtCore.QUrl) -> None: ... + def fragmentShaderGraphChanged(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... + def geometryShaderGraphChanged(self, geometryShaderGraph: QtCore.QUrl) -> None: ... + def tessellationEvaluationShaderGraphChanged(self, tessellationEvaluationShaderGraph: QtCore.QUrl) -> None: ... + def tessellationControlShaderGraphChanged(self, tessellationControlShaderGraph: QtCore.QUrl) -> None: ... + def vertexShaderGraphChanged(self, vertexShaderGraph: QtCore.QUrl) -> None: ... + def enabledLayersChanged(self, layers: typing.Iterable[str]) -> None: ... + def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... def setComputeShaderGraph(self, computeShaderGraph: QtCore.QUrl) -> None: ... def setFragmentShaderGraph(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... def setGeometryShaderGraph(self, geometryShaderGraph: QtCore.QUrl) -> None: ... @@ -2401,7 +2447,11 @@ class QSortPolicy('QFrameGraphNode'): Uniform = ... # type: QSortPolicy.SortType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - sortTypesChanged: typing.ClassVar[QtCore.pyqtSignal] + + @typing.overload + def sortTypesChanged(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... + @typing.overload + def sortTypesChanged(self, sortTypes: typing.Iterable[int]) -> None: ... @typing.overload def setSortTypes(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... @typing.overload @@ -2412,11 +2462,12 @@ class QSortPolicy('QFrameGraphNode'): class QSpotLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - cutOffAngleChanged: typing.ClassVar[QtCore.pyqtSignal] - localDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] - quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] - linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] - constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def cutOffAngleChanged(self, cutOffAngle: float) -> None: ... + def localDirectionChanged(self, localDirection: QtGui.QVector3D) -> None: ... + def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... + def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... + def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... def setCutOffAngle(self, cutOffAngle: float) -> None: ... def setLocalDirection(self, localDirection: QtGui.QVector3D) -> None: ... def setQuadraticAttenuation(self, value: float) -> None: ... @@ -2431,8 +2482,9 @@ class QSpotLight('QAbstractLight'): class QStencilMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - backOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] - frontOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] + + def backOutputMaskChanged(self, backOutputMask: int) -> None: ... + def frontOutputMaskChanged(self, frontOutputMask: int) -> None: ... def setBackOutputMask(self, backOutputMask: int) -> None: ... def setFrontOutputMask(self, frontOutputMask: int) -> None: ... def backOutputMask(self) -> int: ... @@ -2474,10 +2526,11 @@ class QStencilOperationArguments(QtCore.QObject): Front = ... # type: QStencilOperationArguments.FaceMode Back = ... # type: QStencilOperationArguments.FaceMode FrontAndBack = ... # type: QStencilOperationArguments.FaceMode - faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] - allTestsPassOperationChanged: typing.ClassVar[QtCore.pyqtSignal] - depthTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] - stencilTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def faceModeChanged(self, faceMode: 'QStencilOperationArguments.FaceMode') -> None: ... + def allTestsPassOperationChanged(self, stencilDepthPass: 'QStencilOperationArguments.Operation') -> None: ... + def depthTestFailureOperationChanged(self, depthFail: 'QStencilOperationArguments.Operation') -> None: ... + def stencilTestFailureOperationChanged(self, stencilFail: 'QStencilOperationArguments.Operation') -> None: ... def setAllTestsPassOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setDepthTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setStencilTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... @@ -2522,10 +2575,11 @@ class QStencilTestArguments(QtCore.QObject): Front = ... # type: QStencilTestArguments.StencilFaceMode Back = ... # type: QStencilTestArguments.StencilFaceMode FrontAndBack = ... # type: QStencilTestArguments.StencilFaceMode - faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] - referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] - stencilFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] - comparisonMaskChanged: typing.ClassVar[QtCore.pyqtSignal] + + def faceModeChanged(self, faceMode: 'QStencilTestArguments.StencilFaceMode') -> None: ... + def referenceValueChanged(self, referenceValue: int) -> None: ... + def stencilFunctionChanged(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... + def comparisonMaskChanged(self, comparisonMask: int) -> None: ... def setStencilFunction(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... def setReferenceValue(self, referenceValue: int) -> None: ... def setComparisonMask(self, comparisonMask: int) -> None: ... @@ -2544,7 +2598,8 @@ class QSubtreeEnabler('QFrameGraphNode'): SingleShot = ... # type: QSubtreeEnabler.Enablement def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - enablementChanged: typing.ClassVar[QtCore.pyqtSignal] + + def enablementChanged(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... def requestUpdate(self) -> None: ... def setEnablement(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... def enablement(self) -> 'QSubtreeEnabler.Enablement': ... @@ -2622,17 +2677,19 @@ class QTextureBuffer('QAbstractTexture'): class QTextureLoader('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] + + def mirroredChanged(self, mirrored: bool) -> None: ... def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def source(self) -> QtCore.QUrl: ... class QSharedGLTexture('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - textureIdChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureIdChanged(self, textureId: int) -> None: ... def setTextureId(self, id: int) -> None: ... def textureId(self) -> int: ... @@ -2717,13 +2774,14 @@ class QTextureImage('QAbstractTextureImage'): Error = ... # type: QTextureImage.Status def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] + + def mirroredChanged(self, mirrored: bool) -> None: ... def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... def setStatus(self, status: 'QTextureImage.Status') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, status: 'QTextureImage.Status') -> None: ... + def sourceChanged(self, source: QtCore.QUrl) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QTextureImage.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2782,9 +2840,10 @@ class QTextureWrapMode(QtCore.QObject): def __init__(self, wrapMode: 'QTextureWrapMode.WrapMode' = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, x: 'QTextureWrapMode.WrapMode', y: 'QTextureWrapMode.WrapMode', z: 'QTextureWrapMode.WrapMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - zChanged: typing.ClassVar[QtCore.pyqtSignal] - yChanged: typing.ClassVar[QtCore.pyqtSignal] - xChanged: typing.ClassVar[QtCore.pyqtSignal] + + def zChanged(self, z: 'QTextureWrapMode.WrapMode') -> None: ... + def yChanged(self, y: 'QTextureWrapMode.WrapMode') -> None: ... + def xChanged(self, x: 'QTextureWrapMode.WrapMode') -> None: ... def setZ(self, z: 'QTextureWrapMode.WrapMode') -> None: ... def setY(self, y: 'QTextureWrapMode.WrapMode') -> None: ... def setX(self, x: 'QTextureWrapMode.WrapMode') -> None: ... @@ -2795,10 +2854,11 @@ class QTextureWrapMode(QtCore.QObject): class QViewport('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - gammaChanged: typing.ClassVar[QtCore.pyqtSignal] + + def gammaChanged(self, gamma: float) -> None: ... def setGamma(self, gamma: float) -> None: ... def gamma(self) -> float: ... - normalizedRectChanged: typing.ClassVar[QtCore.pyqtSignal] + def normalizedRectChanged(self, normalizedRect: QtCore.QRectF) -> None: ... def setNormalizedRect(self, normalizedRect: QtCore.QRectF) -> None: ... def normalizedRect(self) -> QtCore.QRectF: ... @@ -2812,10 +2872,11 @@ class QWaitFence('QFrameGraphNode'): OpenGLFenceId = ... # type: QWaitFence.HandleType def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - handleChanged: typing.ClassVar[QtCore.pyqtSignal] - handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] - waitOnCPUChanged: typing.ClassVar[QtCore.pyqtSignal] + + def handleChanged(self, handle: typing.Any) -> None: ... + def handleTypeChanged(self, handleType: 'QWaitFence.HandleType') -> None: ... + def timeoutChanged(self, timeoutChanged: int) -> None: ... + def waitOnCPUChanged(self, waitOnCPU: bool) -> None: ... def setTimeout(self, timeout: int) -> None: ... def timeout(self) -> int: ... def setWaitOnCPU(self, waitOnCPU: bool) -> None: ... diff --git a/PyQt5-stubs/QtBluetooth.pyi b/PyQt5-stubs/QtBluetooth.pyi index a4b11401..b9bb57b5 100644 --- a/PyQt5-stubs/QtBluetooth.pyi +++ b/PyQt5-stubs/QtBluetooth.pyi @@ -163,10 +163,10 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def supportedDiscoveryMethods() -> 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods': ... def lowEnergyDiscoveryTimeout(self) -> int: ... def setLowEnergyDiscoveryTimeout(self, msTimeout: int) -> None: ... - deviceUpdated: typing.ClassVar[QtCore.pyqtSignal] - canceled: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - deviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] + def deviceUpdated(self, info: 'QBluetoothDeviceInfo', updatedFields: typing.Union['QBluetoothDeviceInfo.Fields', 'QBluetoothDeviceInfo.Field']) -> None: ... + def canceled(self) -> None: ... + def finished(self) -> None: ... + def deviceDiscovered(self, info: 'QBluetoothDeviceInfo') -> None: ... def stop(self) -> None: ... @typing.overload def start(self) -> None: ... @@ -174,7 +174,10 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def start(self, method: typing.Union['QBluetoothDeviceDiscoveryAgent.DiscoveryMethods', 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethod']) -> None: ... def discoveredDevices(self) -> typing.List['QBluetoothDeviceInfo']: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QBluetoothDeviceDiscoveryAgent.Error': ... + @typing.overload + def error(self, error: 'QBluetoothDeviceDiscoveryAgent.Error') -> None: ... def isActive(self) -> bool: ... def setInquiryType(self, type: 'QBluetoothDeviceDiscoveryAgent.InquiryType') -> None: ... def inquiryType(self) -> 'QBluetoothDeviceDiscoveryAgent.InquiryType': ... @@ -571,13 +574,14 @@ class QBluetoothLocalDevice(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, address: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - deviceDisconnected: typing.ClassVar[QtCore.pyqtSignal] - deviceConnected: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - pairingDisplayConfirmation: typing.ClassVar[QtCore.pyqtSignal] - pairingDisplayPinCode: typing.ClassVar[QtCore.pyqtSignal] - pairingFinished: typing.ClassVar[QtCore.pyqtSignal] - hostModeStateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def deviceDisconnected(self, address: QBluetoothAddress) -> None: ... + def deviceConnected(self, address: QBluetoothAddress) -> None: ... + def error(self, error: 'QBluetoothLocalDevice.Error') -> None: ... + def pairingDisplayConfirmation(self, address: QBluetoothAddress, pin: str) -> None: ... + def pairingDisplayPinCode(self, address: QBluetoothAddress, pin: str) -> None: ... + def pairingFinished(self, address: QBluetoothAddress, pairing: 'QBluetoothLocalDevice.Pairing') -> None: ... + def hostModeStateChanged(self, state: 'QBluetoothLocalDevice.HostMode') -> None: ... def pairingConfirmation(self, confirmation: bool) -> None: ... def connectedDevices(self) -> typing.List[QBluetoothAddress]: ... @staticmethod @@ -610,8 +614,12 @@ class QBluetoothServer(QtCore.QObject): UnsupportedProtocolError = ... # type: QBluetoothServer.Error def __init__(self, serverType: 'QBluetoothServiceInfo.Protocol', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - newConnection: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] + + def newConnection(self) -> None: ... + @typing.overload + def error(self) -> 'QBluetoothServer.Error': ... + @typing.overload + def error(self, a0: 'QBluetoothServer.Error') -> None: ... def serverType(self) -> 'QBluetoothServiceInfo.Protocol': ... def securityFlags(self) -> QBluetooth.SecurityFlags: ... def setSecurityFlags(self, security: typing.Union[QBluetooth.SecurityFlags, QBluetooth.Security]) -> None: ... @@ -655,9 +663,10 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, deviceAdapter: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - canceled: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] + + def canceled(self) -> None: ... + def finished(self) -> None: ... + def serviceDiscovered(self, info: 'QBluetoothServiceInfo') -> None: ... def clear(self) -> None: ... def stop(self) -> None: ... def start(self, mode: 'QBluetoothServiceDiscoveryAgent.DiscoveryMode' = ...) -> None: ... @@ -670,7 +679,10 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): def setUuidFilter(self, uuid: 'QBluetoothUuid') -> None: ... def discoveredServices(self) -> typing.List['QBluetoothServiceInfo']: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QBluetoothServiceDiscoveryAgent.Error': ... + @typing.overload + def error(self, error: 'QBluetoothServiceDiscoveryAgent.Error') -> None: ... def isActive(self) -> bool: ... @@ -813,11 +825,14 @@ class QBluetoothSocket(QtCore.QIODevice): def setSocketState(self, state: 'QBluetoothSocket.SocketState') -> None: ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] - connected: typing.ClassVar[QtCore.pyqtSignal] + def stateChanged(self, state: 'QBluetoothSocket.SocketState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QBluetoothSocket.SocketError': ... + @typing.overload + def error(self, error: 'QBluetoothSocket.SocketError') -> None: ... def state(self) -> 'QBluetoothSocket.SocketState': ... def socketType(self) -> QBluetoothServiceInfo.Protocol: ... def socketDescriptor(self) -> int: ... @@ -846,7 +861,8 @@ class QBluetoothSocket(QtCore.QIODevice): class QBluetoothTransferManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - finished: typing.ClassVar[QtCore.pyqtSignal] + + def finished(self, reply: 'QBluetoothTransferReply') -> None: ... def put(self, request: 'QBluetoothTransferRequest', data: QtCore.QIODevice) -> 'QBluetoothTransferReply': ... @@ -875,12 +891,15 @@ class QBluetoothTransferReply(QtCore.QObject): def setRequest(self, request: 'QBluetoothTransferRequest') -> None: ... def setManager(self, manager: QBluetoothTransferManager) -> None: ... - transferProgress: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def transferProgress(self, bytesTransferred: int, bytesTotal: int) -> None: ... + def finished(self, a0: 'QBluetoothTransferReply') -> None: ... def abort(self) -> None: ... def request(self) -> 'QBluetoothTransferRequest': ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QBluetoothTransferReply.TransferError': ... + @typing.overload + def error(self, lastError: 'QBluetoothTransferReply.TransferError') -> None: ... def manager(self) -> QBluetoothTransferManager: ... def isRunning(self) -> bool: ... def isFinished(self) -> bool: ... @@ -1727,7 +1746,7 @@ class QLowEnergyController(QtCore.QObject): def __init__(self, remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def remoteDeviceUuid(self) -> QBluetoothUuid: ... - connectionUpdated: typing.ClassVar[QtCore.pyqtSignal] + def connectionUpdated(self, parameters: QLowEnergyConnectionParameters) -> None: ... def role(self) -> 'QLowEnergyController.Role': ... def requestConnectionUpdate(self, parameters: QLowEnergyConnectionParameters) -> None: ... def addService(self, service: 'QLowEnergyServiceData', parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... @@ -1741,14 +1760,17 @@ class QLowEnergyController(QtCore.QObject): @typing.overload @staticmethod def createCentral(remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... - discoveryFinished: typing.ClassVar[QtCore.pyqtSignal] - serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] - connected: typing.ClassVar[QtCore.pyqtSignal] + def discoveryFinished(self) -> None: ... + def serviceDiscovered(self, newService: QBluetoothUuid) -> None: ... + def stateChanged(self, state: 'QLowEnergyController.ControllerState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... def remoteName(self) -> str: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QLowEnergyController.Error': ... + @typing.overload + def error(self, newError: 'QLowEnergyController.Error') -> None: ... def createServiceObject(self, service: QBluetoothUuid, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... def services(self) -> typing.List[QBluetoothUuid]: ... def discoverServices(self) -> None: ... @@ -1861,21 +1883,25 @@ class QLowEnergyService(QtCore.QObject): def __invert__(self) -> 'QLowEnergyService.ServiceTypes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - descriptorRead: typing.ClassVar[QtCore.pyqtSignal] - characteristicRead: typing.ClassVar[QtCore.pyqtSignal] + + def descriptorRead(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicRead(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def readDescriptor(self, descriptor: QLowEnergyDescriptor) -> None: ... def readCharacteristic(self, characteristic: QLowEnergyCharacteristic) -> None: ... - descriptorWritten: typing.ClassVar[QtCore.pyqtSignal] - characteristicWritten: typing.ClassVar[QtCore.pyqtSignal] - characteristicChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def descriptorWritten(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicWritten(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def characteristicChanged(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def stateChanged(self, newState: 'QLowEnergyService.ServiceState') -> None: ... def writeDescriptor(self, descriptor: QLowEnergyDescriptor, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def writeCharacteristic(self, characteristic: QLowEnergyCharacteristic, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray], mode: 'QLowEnergyService.WriteMode' = ...) -> None: ... @typing.overload def contains(self, characteristic: QLowEnergyCharacteristic) -> bool: ... @typing.overload def contains(self, descriptor: QLowEnergyDescriptor) -> bool: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QLowEnergyService.ServiceError': ... + @typing.overload + def error(self, error: 'QLowEnergyService.ServiceError') -> None: ... def discoverDetails(self) -> None: ... def serviceName(self) -> str: ... def serviceUuid(self) -> QBluetoothUuid: ... diff --git a/PyQt5-stubs/QtChart.pyi b/PyQt5-stubs/QtChart.pyi index a4bf36a9..5520a571 100644 --- a/PyQt5-stubs/QtChart.pyi +++ b/PyQt5-stubs/QtChart.pyi @@ -71,14 +71,15 @@ class QAbstractAxis(QtCore.QObject): def __invert__(self) -> 'QAbstractAxis.AxisTypes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - labelsEditableChanged: typing.ClassVar[QtCore.pyqtSignal] + + def labelsEditableChanged(self, editable: bool) -> None: ... def labelsEditable(self) -> bool: ... def setLabelsEditable(self, editable: bool = ...) -> None: ... - reverseChanged: typing.ClassVar[QtCore.pyqtSignal] - minorGridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] - gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] - minorGridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] - minorGridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + def reverseChanged(self, reverse: bool) -> None: ... + def minorGridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def minorGridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def minorGridVisibleChanged(self, visible: bool) -> None: ... def isReverse(self) -> bool: ... def setReverse(self, reverse: bool = ...) -> None: ... def minorGridLineColor(self) -> QtGui.QColor: ... @@ -89,17 +90,17 @@ class QAbstractAxis(QtCore.QObject): def setMinorGridLinePen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setMinorGridLineVisible(self, visible: bool = ...) -> None: ... def isMinorGridLineVisible(self) -> bool: ... - shadesBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - shadesPenChanged: typing.ClassVar[QtCore.pyqtSignal] - titleFontChanged: typing.ClassVar[QtCore.pyqtSignal] - titleVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - titleBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - titleTextChanged: typing.ClassVar[QtCore.pyqtSignal] - gridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - linePenChanged: typing.ClassVar[QtCore.pyqtSignal] + def shadesBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def shadesPenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def titleFontChanged(self, font: QtGui.QFont) -> None: ... + def titleVisibleChanged(self, visible: bool) -> None: ... + def titleBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def titleTextChanged(self, title: str) -> None: ... + def gridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def labelsAngleChanged(self, angle: int) -> None: ... + def labelsFontChanged(self, pen: QtGui.QFont) -> None: ... + def labelsBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def linePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def alignment(self) -> QtCore.Qt.Alignment: ... def titleText(self) -> str: ... def setTitleText(self, title: str) -> None: ... @@ -109,15 +110,15 @@ class QAbstractAxis(QtCore.QObject): def setTitleBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def setTitleVisible(self, visible: bool = ...) -> None: ... def isTitleVisible(self) -> bool: ... - shadesBorderColorChanged: typing.ClassVar[QtCore.pyqtSignal] - shadesColorChanged: typing.ClassVar[QtCore.pyqtSignal] - shadesVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - gridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - lineVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + def shadesBorderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def shadesColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def shadesVisibleChanged(self, visible: bool) -> None: ... + def labelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def gridVisibleChanged(self, visible: bool) -> None: ... + def labelsVisibleChanged(self, visible: bool) -> None: ... + def lineVisibleChanged(self, visible: bool) -> None: ... + def visibleChanged(self, visible: bool) -> None: ... def orientation(self) -> QtCore.Qt.Orientation: ... def hide(self) -> None: ... def show(self) -> None: ... @@ -188,17 +189,18 @@ class QAbstractSeries(QtCore.QObject): SeriesTypeHorizontalPercentBar = ... # type: QAbstractSeries.SeriesType SeriesTypeBoxPlot = ... # type: QAbstractSeries.SeriesType SeriesTypeCandlestick = ... # type: QAbstractSeries.SeriesType - useOpenGLChanged: typing.ClassVar[QtCore.pyqtSignal] + + def useOpenGLChanged(self) -> None: ... def useOpenGL(self) -> bool: ... def setUseOpenGL(self, enable: bool = ...) -> None: ... - opacityChanged: typing.ClassVar[QtCore.pyqtSignal] + def opacityChanged(self) -> None: ... def attachedAxes(self) -> typing.List['QAbstractAxis']: ... def detachAxis(self, axis: 'QAbstractAxis') -> bool: ... def attachAxis(self, axis: 'QAbstractAxis') -> bool: ... def setOpacity(self, opacity: float) -> None: ... def opacity(self) -> float: ... - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] + def visibleChanged(self) -> None: ... + def nameChanged(self) -> None: ... def hide(self) -> None: ... def show(self) -> None: ... def chart(self) -> 'QChart': ... @@ -220,27 +222,28 @@ class QAbstractBarSeries('QAbstractSeries'): LabelsInsideEnd = ... # type: QAbstractBarSeries.LabelsPosition LabelsInsideBase = ... # type: QAbstractBarSeries.LabelsPosition LabelsOutsideEnd = ... # type: QAbstractBarSeries.LabelsPosition - labelsPrecisionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def labelsPrecisionChanged(self, precision: int) -> None: ... def labelsPrecision(self) -> int: ... def setLabelsPrecision(self, precision: int) -> None: ... - labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + def labelsAngleChanged(self, angle: float) -> None: ... def labelsAngle(self) -> float: ... def setLabelsAngle(self, angle: float) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + def doubleClicked(self, index: int, barset: 'QBarSet') -> None: ... + def released(self, index: int, barset: 'QBarSet') -> None: ... + def pressed(self, index: int, barset: 'QBarSet') -> None: ... + def labelsPositionChanged(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... + def labelsFormatChanged(self, format: str) -> None: ... def labelsPosition(self) -> 'QAbstractBarSeries.LabelsPosition': ... def setLabelsPosition(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... def labelsFormat(self) -> str: ... def setLabelsFormat(self, format: str) -> None: ... - barsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] - barsetsAdded: typing.ClassVar[QtCore.pyqtSignal] - labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - countChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + def barsetsRemoved(self, sets: typing.Iterable['QBarSet']) -> None: ... + def barsetsAdded(self, sets: typing.Iterable['QBarSet']) -> None: ... + def labelsVisibleChanged(self) -> None: ... + def countChanged(self) -> None: ... + def hovered(self, status: bool, index: int, barset: 'QBarSet') -> None: ... + def clicked(self, index: int, barset: 'QBarSet') -> None: ... def take(self, set: 'QBarSet') -> bool: ... def isLabelsVisible(self) -> bool: ... def setLabelsVisible(self, visible: bool = ...) -> None: ... @@ -273,17 +276,18 @@ class QLegendMarker(QtCore.QObject): LegendMarkerTypeXY = ... # type: QLegendMarker.LegendMarkerType LegendMarkerTypeBoxPlot = ... # type: QLegendMarker.LegendMarkerType LegendMarkerTypeCandlestick = ... # type: QLegendMarker.LegendMarkerType - shapeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def shapeChanged(self) -> None: ... def setShape(self, shape: 'QLegend.MarkerShape') -> None: ... def shape(self) -> 'QLegend.MarkerShape': ... - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - penChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - labelChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + def visibleChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def penChanged(self) -> None: ... + def fontChanged(self) -> None: ... + def labelBrushChanged(self) -> None: ... + def labelChanged(self) -> None: ... + def hovered(self, status: bool) -> None: ... + def clicked(self) -> None: ... def series(self) -> 'QAbstractSeries': ... def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... @@ -312,16 +316,17 @@ class QAreaSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, upperSeries: 'QLineSeries', lowerSeries: typing.Optional['QLineSeries'] = ...) -> None: ... - pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] + + def pointLabelsClippingChanged(self, clipping: bool) -> None: ... def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... + def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... + def pointLabelsFormatChanged(self, format: str) -> None: ... def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -330,11 +335,11 @@ class QAreaSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - hovered: typing.ClassVar[QtCore.pyqtSignal] - selected: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... + def selected(self) -> None: ... + def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -354,11 +359,12 @@ class QAreaSeries('QAbstractSeries'): class QBarCategoryAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - countChanged: typing.ClassVar[QtCore.pyqtSignal] - rangeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxChanged: typing.ClassVar[QtCore.pyqtSignal] - minChanged: typing.ClassVar[QtCore.pyqtSignal] - categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + + def countChanged(self) -> None: ... + def rangeChanged(self, min: str, max: str) -> None: ... + def maxChanged(self, max: str) -> None: ... + def minChanged(self, min: str) -> None: ... + def categoriesChanged(self) -> None: ... def setRange(self, minCategory: str, maxCategory: str) -> None: ... def max(self) -> str: ... def setMax(self, maxCategory: str) -> None: ... @@ -396,22 +402,23 @@ class QBarSeries('QAbstractBarSeries'): class QBarSet(QtCore.QObject): def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] - borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - valuesRemoved: typing.ClassVar[QtCore.pyqtSignal] - valuesAdded: typing.ClassVar[QtCore.pyqtSignal] - labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - labelChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - penChanged: typing.ClassVar[QtCore.pyqtSignal] + + def doubleClicked(self, index: int) -> None: ... + def released(self, index: int) -> None: ... + def pressed(self, index: int) -> None: ... + def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def hovered(self, status: bool, index: int) -> None: ... + def clicked(self, index: int) -> None: ... + def valueChanged(self, index: int) -> None: ... + def valuesRemoved(self, index: int, count: int) -> None: ... + def valuesAdded(self, index: int, count: int) -> None: ... + def labelFontChanged(self) -> None: ... + def labelBrushChanged(self) -> None: ... + def labelChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def penChanged(self) -> None: ... def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def labelColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -451,18 +458,19 @@ class QBoxPlotLegendMarker('QLegendMarker'): class QBoxPlotSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - boxsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] - boxsetsAdded: typing.ClassVar[QtCore.pyqtSignal] - boxWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - boxOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - penChanged: typing.ClassVar[QtCore.pyqtSignal] - countChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + + def doubleClicked(self, boxset: 'QBoxSet') -> None: ... + def released(self, boxset: 'QBoxSet') -> None: ... + def pressed(self, boxset: 'QBoxSet') -> None: ... + def boxsetsRemoved(self, sets: typing.Iterable['QBoxSet']) -> None: ... + def boxsetsAdded(self, sets: typing.Iterable['QBoxSet']) -> None: ... + def boxWidthChanged(self) -> None: ... + def boxOutlineVisibilityChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def penChanged(self) -> None: ... + def countChanged(self) -> None: ... + def hovered(self, status: bool, boxset: 'QBoxSet') -> None: ... + def clicked(self, boxset: 'QBoxSet') -> None: ... def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -503,16 +511,17 @@ class QBoxSet(QtCore.QObject): def __init__(self, label: str = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, le: float, lq: float, m: float, uq: float, ue: float, label: str = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - cleared: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - valuesChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - penChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + + def doubleClicked(self) -> None: ... + def released(self) -> None: ... + def pressed(self) -> None: ... + def cleared(self) -> None: ... + def valueChanged(self, index: int) -> None: ... + def valuesChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def penChanged(self) -> None: ... + def hovered(self, status: bool) -> None: ... + def clicked(self) -> None: ... def brush(self) -> QtGui.QBrush: ... def setBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pen(self) -> QtGui.QPen: ... @@ -555,8 +564,8 @@ class QCandlestickModelMapper(QtCore.QObject): def setOpen(self, open: int) -> None: ... def timestamp(self) -> int: ... def setTimestamp(self, timestamp: int) -> None: ... - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + def seriesReplaced(self) -> None: ... + def modelReplaced(self) -> None: ... def orientation(self) -> QtCore.Qt.Orientation: ... def series(self) -> 'QCandlestickSeries': ... def setSeries(self, series: 'QCandlestickSeries') -> None: ... @@ -566,24 +575,25 @@ class QCandlestickModelMapper(QtCore.QObject): class QCandlestickSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - penChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - decreasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] - increasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] - capsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - capsWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - bodyOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - bodyWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - minimumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - maximumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - countChanged: typing.ClassVar[QtCore.pyqtSignal] - candlestickSetsRemoved: typing.ClassVar[QtCore.pyqtSignal] - candlestickSetsAdded: typing.ClassVar[QtCore.pyqtSignal] - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + + def penChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def decreasingColorChanged(self) -> None: ... + def increasingColorChanged(self) -> None: ... + def capsVisibilityChanged(self) -> None: ... + def capsWidthChanged(self) -> None: ... + def bodyOutlineVisibilityChanged(self) -> None: ... + def bodyWidthChanged(self) -> None: ... + def minimumColumnWidthChanged(self) -> None: ... + def maximumColumnWidthChanged(self) -> None: ... + def countChanged(self) -> None: ... + def candlestickSetsRemoved(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... + def candlestickSetsAdded(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... + def doubleClicked(self, set: 'QCandlestickSet') -> None: ... + def released(self, set: 'QCandlestickSet') -> None: ... + def pressed(self, set: 'QCandlestickSet') -> None: ... + def hovered(self, status: bool, set: 'QCandlestickSet') -> None: ... + def clicked(self, set: 'QCandlestickSet') -> None: ... def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -626,18 +636,19 @@ class QCandlestickSet(QtCore.QObject): def __init__(self, timestamp: float = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, open: float, high: float, low: float, close: float, timestamp: float = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - penChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - closeChanged: typing.ClassVar[QtCore.pyqtSignal] - lowChanged: typing.ClassVar[QtCore.pyqtSignal] - highChanged: typing.ClassVar[QtCore.pyqtSignal] - openChanged: typing.ClassVar[QtCore.pyqtSignal] - timestampChanged: typing.ClassVar[QtCore.pyqtSignal] - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + + def penChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def closeChanged(self) -> None: ... + def lowChanged(self) -> None: ... + def highChanged(self) -> None: ... + def openChanged(self) -> None: ... + def timestampChanged(self) -> None: ... + def doubleClicked(self) -> None: ... + def released(self) -> None: ... + def pressed(self) -> None: ... + def hovered(self, status: bool) -> None: ... + def clicked(self) -> None: ... def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -663,23 +674,24 @@ class QValueAxis('QAbstractAxis'): TicksFixed = ... # type: QValueAxis.TickType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - tickTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - tickAnchorChanged: typing.ClassVar[QtCore.pyqtSignal] - tickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + + def tickTypeChanged(self, type: 'QValueAxis.TickType') -> None: ... + def tickAnchorChanged(self, anchor: float) -> None: ... + def tickIntervalChanged(self, interval: float) -> None: ... def tickType(self) -> 'QValueAxis.TickType': ... def setTickType(self, type: 'QValueAxis.TickType') -> None: ... def tickInterval(self) -> float: ... def setTickInterval(self, insterval: float) -> None: ... def tickAnchor(self) -> float: ... def setTickAnchor(self, anchor: float) -> None: ... - minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + def minorTickCountChanged(self, tickCount: int) -> None: ... def minorTickCount(self) -> int: ... def setMinorTickCount(self, count: int) -> None: ... - labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] - rangeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxChanged: typing.ClassVar[QtCore.pyqtSignal] - minChanged: typing.ClassVar[QtCore.pyqtSignal] + def labelFormatChanged(self, format: str) -> None: ... + def tickCountChanged(self, tickCount: int) -> None: ... + def rangeChanged(self, min: float, max: float) -> None: ... + def maxChanged(self, max: float) -> None: ... + def minChanged(self, min: float) -> None: ... def applyNiceNumbers(self) -> None: ... def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... @@ -702,10 +714,11 @@ class QCategoryAxis('QValueAxis'): AxisLabelsPositionOnValue = ... # type: QCategoryAxis.AxisLabelsPosition def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def labelsPositionChanged(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... def setLabelsPosition(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... def labelsPosition(self) -> 'QCategoryAxis.AxisLabelsPosition': ... - categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + def categoriesChanged(self) -> None: ... def __len__(self) -> int: ... def count(self) -> int: ... def categoriesLabels(self) -> typing.List[str]: ... @@ -779,7 +792,7 @@ class QChart(QtWidgets.QGraphicsWidget): def setAnimationEasingCurve(self, curve: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def animationDuration(self) -> int: ... def setAnimationDuration(self, msecs: int) -> None: ... - plotAreaChanged: typing.ClassVar[QtCore.pyqtSignal] + def plotAreaChanged(self, plotArea: QtCore.QRectF) -> None: ... def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def localizeNumbers(self) -> bool: ... @@ -886,11 +899,12 @@ class QChartView(QtWidgets.QGraphicsView): class QDateTimeAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] - formatChanged: typing.ClassVar[QtCore.pyqtSignal] - rangeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxChanged: typing.ClassVar[QtCore.pyqtSignal] - minChanged: typing.ClassVar[QtCore.pyqtSignal] + + def tickCountChanged(self, tick: int) -> None: ... + def formatChanged(self, format: str) -> None: ... + def rangeChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime], max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def maxChanged(self, max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def minChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... def tickCount(self) -> int: ... def setTickCount(self, count: int) -> None: ... def format(self) -> str: ... @@ -905,12 +919,13 @@ class QDateTimeAxis('QAbstractAxis'): class QHBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - lastBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - firstBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def columnCountChanged(self) -> None: ... + def firstColumnChanged(self) -> None: ... + def lastBarSetRowChanged(self) -> None: ... + def firstBarSetRowChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -927,12 +942,13 @@ class QHBarModelMapper(QtCore.QObject): class QHBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - lastBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - firstBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def columnCountChanged(self) -> None: ... + def firstColumnChanged(self) -> None: ... + def lastBoxSetRowChanged(self) -> None: ... + def firstBoxSetRowChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setColumnCount(self, rowCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -949,13 +965,14 @@ class QHBoxPlotModelMapper(QtCore.QObject): class QHCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - lastSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - firstSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] - closeColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - lowColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - highColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - openColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - timestampColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lastSetRowChanged(self) -> None: ... + def firstSetRowChanged(self) -> None: ... + def closeColumnChanged(self) -> None: ... + def lowColumnChanged(self) -> None: ... + def highColumnChanged(self) -> None: ... + def openColumnChanged(self) -> None: ... + def timestampColumnChanged(self) -> None: ... def lastSetRow(self) -> int: ... def setLastSetRow(self, lastSetRow: int) -> None: ... def firstSetRow(self) -> int: ... @@ -993,12 +1010,13 @@ class QHorizontalStackedBarSeries('QAbstractBarSeries'): class QHPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsRowChanged: typing.ClassVar[QtCore.pyqtSignal] - valuesRowChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def columnCountChanged(self) -> None: ... + def firstColumnChanged(self) -> None: ... + def labelsRowChanged(self) -> None: ... + def valuesRowChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1015,12 +1033,13 @@ class QHPieModelMapper(QtCore.QObject): class QHXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - yRowChanged: typing.ClassVar[QtCore.pyqtSignal] - xRowChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def columnCountChanged(self) -> None: ... + def firstColumnChanged(self) -> None: ... + def yRowChanged(self) -> None: ... + def xRowChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1046,22 +1065,23 @@ class QLegend(QtWidgets.QGraphicsWidget): MarkerShapeRectangle = ... # type: QLegend.MarkerShape MarkerShapeCircle = ... # type: QLegend.MarkerShape MarkerShapeFromSeries = ... # type: QLegend.MarkerShape - markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def markerShapeChanged(self, shape: 'QLegend.MarkerShape') -> None: ... def setMarkerShape(self, shape: 'QLegend.MarkerShape') -> None: ... def markerShape(self) -> 'QLegend.MarkerShape': ... - showToolTipsChanged: typing.ClassVar[QtCore.pyqtSignal] + def showToolTipsChanged(self, showToolTips: bool) -> None: ... def setShowToolTips(self, show: bool) -> None: ... def showToolTips(self) -> bool: ... - reverseMarkersChanged: typing.ClassVar[QtCore.pyqtSignal] + def reverseMarkersChanged(self, reverseMarkers: bool) -> None: ... def setReverseMarkers(self, reverseMarkers: bool = ...) -> None: ... def reverseMarkers(self) -> bool: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def hideEvent(self, event: QtGui.QHideEvent) -> None: ... - labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - backgroundVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... + def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def backgroundVisibleChanged(self, visible: bool) -> None: ... def markers(self, series: typing.Optional['QAbstractSeries'] = ...) -> typing.List['QLegendMarker']: ... def labelColor(self) -> QtGui.QColor: ... def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -1087,20 +1107,21 @@ class QLegend(QtWidgets.QGraphicsWidget): def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... class QXYSeries('QAbstractSeries'): - penChanged: typing.ClassVar[QtCore.pyqtSignal] - pointsRemoved: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] + + def penChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def pointsRemoved(self, index: int, count: int) -> None: ... + def pointLabelsClippingChanged(self, clipping: bool) -> None: ... def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... def pointsVector(self) -> typing.List[QtCore.QPointF]: ... def removePoints(self, index: int, count: int) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... + def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... + def pointLabelsFormatChanged(self, format: str) -> None: ... def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -1109,13 +1130,13 @@ class QXYSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - hovered: typing.ClassVar[QtCore.pyqtSignal] - pointsReplaced: typing.ClassVar[QtCore.pyqtSignal] - pointAdded: typing.ClassVar[QtCore.pyqtSignal] - pointRemoved: typing.ClassVar[QtCore.pyqtSignal] - pointReplaced: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] + def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... + def pointsReplaced(self) -> None: ... + def pointAdded(self, index: int) -> None: ... + def pointRemoved(self, index: int) -> None: ... + def pointReplaced(self, index: int) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... def at(self, index: int) -> QtCore.QPointF: ... def pointsVisible(self) -> bool: ... def setPointsVisible(self, visible: bool = ...) -> None: ... @@ -1161,16 +1182,17 @@ class QLineSeries('QXYSeries'): class QLogValueAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] - tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + + def minorTickCountChanged(self, minorTickCount: int) -> None: ... + def tickCountChanged(self, tickCount: int) -> None: ... def minorTickCount(self) -> int: ... def setMinorTickCount(self, minorTickCount: int) -> None: ... def tickCount(self) -> int: ... - baseChanged: typing.ClassVar[QtCore.pyqtSignal] - labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - rangeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxChanged: typing.ClassVar[QtCore.pyqtSignal] - minChanged: typing.ClassVar[QtCore.pyqtSignal] + def baseChanged(self, base: float) -> None: ... + def labelFormatChanged(self, format: str) -> None: ... + def rangeChanged(self, min: float, max: float) -> None: ... + def maxChanged(self, max: float) -> None: ... + def minChanged(self, min: float) -> None: ... def base(self) -> float: ... def setBase(self, base: float) -> None: ... def labelFormat(self) -> str: ... @@ -1199,19 +1221,20 @@ class QPieLegendMarker('QLegendMarker'): class QPieSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] + + def doubleClicked(self, slice: 'QPieSlice') -> None: ... + def released(self, slice: 'QPieSlice') -> None: ... + def pressed(self, slice: 'QPieSlice') -> None: ... def setLabelsPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def holeSize(self) -> float: ... def setHoleSize(self, holeSize: float) -> None: ... def take(self, slice: 'QPieSlice') -> bool: ... - sumChanged: typing.ClassVar[QtCore.pyqtSignal] - countChanged: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - removed: typing.ClassVar[QtCore.pyqtSignal] - added: typing.ClassVar[QtCore.pyqtSignal] + def sumChanged(self) -> None: ... + def countChanged(self) -> None: ... + def hovered(self, slice: 'QPieSlice', state: bool) -> None: ... + def clicked(self, slice: 'QPieSlice') -> None: ... + def removed(self, slices: typing.Iterable['QPieSlice']) -> None: ... + def added(self, slices: typing.Iterable['QPieSlice']) -> None: ... def setLabelsVisible(self, visible: bool = ...) -> None: ... def pieEndAngle(self) -> float: ... def setPieEndAngle(self, endAngle: float) -> None: ... @@ -1256,25 +1279,26 @@ class QPieSlice(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, label: str, value: float, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - doubleClicked: typing.ClassVar[QtCore.pyqtSignal] - released: typing.ClassVar[QtCore.pyqtSignal] - pressed: typing.ClassVar[QtCore.pyqtSignal] - hovered: typing.ClassVar[QtCore.pyqtSignal] - clicked: typing.ClassVar[QtCore.pyqtSignal] - labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] - borderWidthChanged: typing.ClassVar[QtCore.pyqtSignal] - borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] - angleSpanChanged: typing.ClassVar[QtCore.pyqtSignal] - startAngleChanged: typing.ClassVar[QtCore.pyqtSignal] - percentageChanged: typing.ClassVar[QtCore.pyqtSignal] - labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] - brushChanged: typing.ClassVar[QtCore.pyqtSignal] - penChanged: typing.ClassVar[QtCore.pyqtSignal] - labelVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - labelChanged: typing.ClassVar[QtCore.pyqtSignal] + + def doubleClicked(self) -> None: ... + def released(self) -> None: ... + def pressed(self) -> None: ... + def hovered(self, state: bool) -> None: ... + def clicked(self) -> None: ... + def labelColorChanged(self) -> None: ... + def borderWidthChanged(self) -> None: ... + def borderColorChanged(self) -> None: ... + def colorChanged(self) -> None: ... + def angleSpanChanged(self) -> None: ... + def startAngleChanged(self) -> None: ... + def percentageChanged(self) -> None: ... + def labelFontChanged(self) -> None: ... + def labelBrushChanged(self) -> None: ... + def brushChanged(self) -> None: ... + def penChanged(self) -> None: ... + def labelVisibleChanged(self) -> None: ... + def valueChanged(self) -> None: ... + def labelChanged(self) -> None: ... def setLabelPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def labelPosition(self) -> 'QPieSlice.LabelPosition': ... def series(self) -> 'QPieSeries': ... @@ -1351,10 +1375,11 @@ class QScatterSeries('QXYSeries'): MarkerShapeRectangle = ... # type: QScatterSeries.MarkerShape def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - markerSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] - borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorChanged: typing.ClassVar[QtCore.pyqtSignal] + + def markerSizeChanged(self, size: float) -> None: ... + def markerShapeChanged(self, shape: 'QScatterSeries.MarkerShape') -> None: ... + def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -1383,12 +1408,13 @@ class QStackedBarSeries('QAbstractBarSeries'): class QVBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] - lastBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - firstBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def rowCountChanged(self) -> None: ... + def firstRowChanged(self) -> None: ... + def lastBarSetColumnChanged(self) -> None: ... + def firstBarSetColumnChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1405,12 +1431,13 @@ class QVBarModelMapper(QtCore.QObject): class QVBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] - lastBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - firstBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def rowCountChanged(self) -> None: ... + def firstRowChanged(self) -> None: ... + def lastBoxSetColumnChanged(self) -> None: ... + def firstBoxSetColumnChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1427,13 +1454,14 @@ class QVBoxPlotModelMapper(QtCore.QObject): class QVCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - lastSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - firstSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - closeRowChanged: typing.ClassVar[QtCore.pyqtSignal] - lowRowChanged: typing.ClassVar[QtCore.pyqtSignal] - highRowChanged: typing.ClassVar[QtCore.pyqtSignal] - openRowChanged: typing.ClassVar[QtCore.pyqtSignal] - timestampRowChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lastSetColumnChanged(self) -> None: ... + def firstSetColumnChanged(self) -> None: ... + def closeRowChanged(self) -> None: ... + def lowRowChanged(self) -> None: ... + def highRowChanged(self) -> None: ... + def openRowChanged(self) -> None: ... + def timestampRowChanged(self) -> None: ... def lastSetColumn(self) -> int: ... def setLastSetColumn(self, lastSetColumn: int) -> None: ... def firstSetColumn(self) -> int: ... @@ -1453,12 +1481,13 @@ class QVCandlestickModelMapper('QCandlestickModelMapper'): class QVPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - valuesColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def rowCountChanged(self) -> None: ... + def firstRowChanged(self) -> None: ... + def labelsColumnChanged(self) -> None: ... + def valuesColumnChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1475,12 +1504,13 @@ class QVPieModelMapper(QtCore.QObject): class QVXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] - yColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - xColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - modelReplaced: typing.ClassVar[QtCore.pyqtSignal] - seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + + def rowCountChanged(self) -> None: ... + def firstRowChanged(self) -> None: ... + def yColumnChanged(self) -> None: ... + def xColumnChanged(self) -> None: ... + def modelReplaced(self) -> None: ... + def seriesReplaced(self) -> None: ... def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... diff --git a/PyQt5-stubs/QtCore.pyi b/PyQt5-stubs/QtCore.pyi index 8b89b18a..e430ea9a 100644 --- a/PyQt5-stubs/QtCore.pyi +++ b/PyQt5-stubs/QtCore.pyi @@ -3135,10 +3135,10 @@ class QAbstractAnimation(QObject): def resume(self) -> None: ... def pause(self) -> None: ... def start(self, policy: 'QAbstractAnimation.DeletionPolicy' = ...) -> None: ... - directionChanged: typing.ClassVar[QtCore.pyqtSignal] - currentLoopChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def directionChanged(self, a0: 'QAbstractAnimation.Direction') -> None: ... + def currentLoopChanged(self, currentLoop: int) -> None: ... + def stateChanged(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ... + def finished(self) -> None: ... def totalDuration(self) -> int: ... def duration(self) -> int: ... def currentLoop(self) -> int: ... @@ -3166,8 +3166,9 @@ class QAbstractEventDispatcher(QObject): def __init__(self, a0: 'QAbstractEventDispatcher.TimerInfo') -> None: ... def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - awake: typing.ClassVar[QtCore.pyqtSignal] - aboutToBlock: typing.ClassVar[QtCore.pyqtSignal] + + def awake(self) -> None: ... + def aboutToBlock(self) -> None: ... def filterNativeEvent(self, eventType: typing.Union['QByteArray', bytes, bytearray], message: sip.voidptr) -> typing.Tuple[bool, int]: ... def removeNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... def installNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... @@ -3291,10 +3292,10 @@ class QAbstractItemModel(QObject): def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ... def endMoveRows(self) -> None: ... def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ... - columnsMoved: typing.ClassVar[QtCore.pyqtSignal] - columnsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] - rowsMoved: typing.ClassVar[QtCore.pyqtSignal] - rowsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] + def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... + def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... + def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... + def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ... def roleNames(self) -> typing.Dict[int, 'QByteArray']: ... def supportedDragActions(self) -> Qt.DropActions: ... @@ -3317,19 +3318,19 @@ class QAbstractItemModel(QObject): def encodeData(self, indexes: typing.Iterable[QModelIndex], stream: 'QDataStream') -> None: ... def revert(self) -> None: ... def submit(self) -> bool: ... - modelReset: typing.ClassVar[QtCore.pyqtSignal] - modelAboutToBeReset: typing.ClassVar[QtCore.pyqtSignal] - columnsRemoved: typing.ClassVar[QtCore.pyqtSignal] - columnsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] - columnsInserted: typing.ClassVar[QtCore.pyqtSignal] - columnsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] - rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] - rowsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] - rowsInserted: typing.ClassVar[QtCore.pyqtSignal] - rowsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] - layoutChanged: typing.ClassVar[QtCore.pyqtSignal] - layoutAboutToBeChanged: typing.ClassVar[QtCore.pyqtSignal] - headerDataChanged: typing.ClassVar[QtCore.pyqtSignal] + def modelReset(self) -> None: ... + def modelAboutToBeReset(self) -> None: ... + def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... + def layoutChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... + def layoutAboutToBeChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... + def headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) -> None: ... dataChanged: typing.ClassVar[pyqtSignal] def span(self, index: QModelIndex) -> 'QSize': ... def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... @@ -3400,7 +3401,7 @@ class QAbstractProxyModel(QAbstractItemModel): def supportedDragActions(self) -> Qt.DropActions: ... def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... - sourceModelChanged: typing.ClassVar[QtCore.pyqtSignal] + def sourceModelChanged(self) -> None: ... def resetInternalData(self) -> None: ... def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... def supportedDropActions(self) -> Qt.DropActions: ... @@ -3436,9 +3437,9 @@ class QAbstractState(QObject): def event(self, e: 'QEvent') -> bool: ... def onExit(self, event: 'QEvent') -> None: ... def onEntry(self, event: 'QEvent') -> None: ... - exited: typing.ClassVar[QtCore.pyqtSignal] - entered: typing.ClassVar[QtCore.pyqtSignal] - activeChanged: typing.ClassVar[QtCore.pyqtSignal] + def exited(self) -> None: ... + def entered(self) -> None: ... + def activeChanged(self, active: bool) -> None: ... def active(self) -> bool: ... def machine(self) -> 'QStateMachine': ... def parentState(self) -> 'QState': ... @@ -3460,9 +3461,9 @@ class QAbstractTransition(QObject): def event(self, e: 'QEvent') -> bool: ... def onTransition(self, event: 'QEvent') -> None: ... def eventTest(self, event: 'QEvent') -> bool: ... - targetStatesChanged: typing.ClassVar[QtCore.pyqtSignal] - targetStateChanged: typing.ClassVar[QtCore.pyqtSignal] - triggered: typing.ClassVar[QtCore.pyqtSignal] + def targetStatesChanged(self) -> None: ... + def targetStateChanged(self) -> None: ... + def triggered(self) -> None: ... def animations(self) -> typing.List[QAbstractAnimation]: ... def removeAnimation(self, animation: QAbstractAnimation) -> None: ... def addAnimation(self, animation: QAbstractAnimation) -> None: ... @@ -3603,8 +3604,8 @@ class QIODevice(QObject): def __init__(self, parent: QObject) -> None: ... def skip(self, maxSize: int) -> int: ... - channelBytesWritten: typing.ClassVar[QtCore.pyqtSignal] - channelReadyRead: typing.ClassVar[QtCore.pyqtSignal] + def channelBytesWritten(self, channel: int, bytes: int) -> None: ... + def channelReadyRead(self, channel: int) -> None: ... def isTransactionStarted(self) -> bool: ... def rollbackTransaction(self) -> None: ... def commitTransaction(self) -> None: ... @@ -3620,10 +3621,10 @@ class QIODevice(QObject): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] - aboutToClose: typing.ClassVar[QtCore.pyqtSignal] - bytesWritten: typing.ClassVar[QtCore.pyqtSignal] - readyRead: typing.ClassVar[QtCore.pyqtSignal] + def readChannelFinished(self) -> None: ... + def aboutToClose(self) -> None: ... + def bytesWritten(self, bytes: int) -> None: ... + def readyRead(self) -> None: ... def errorString(self) -> str: ... def getChar(self) -> typing.Tuple[bool, bytes]: ... def putChar(self, c: str) -> bool: ... @@ -6072,8 +6073,9 @@ class QFileSystemWatcher(QObject): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... @typing.overload def __init__(self, paths: typing.Iterable[str], parent: typing.Optional[QObject] = ...) -> None: ... - fileChanged: typing.ClassVar[QtCore.pyqtSignal] - directoryChanged: typing.ClassVar[QtCore.pyqtSignal] + + def fileChanged(self, path: str) -> None: ... + def directoryChanged(self, path: str) -> None: ... def removePaths(self, files: typing.Iterable[str]) -> typing.List[str]: ... def removePath(self, file: str) -> bool: ... def files(self) -> typing.List[str]: ... @@ -6104,11 +6106,12 @@ class QHistoryState(QAbstractState): def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, type: 'QHistoryState.HistoryType', parent: typing.Optional['QState'] = ...) -> None: ... - defaultTransitionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def defaultTransitionChanged(self) -> None: ... def setDefaultTransition(self, transition: QAbstractTransition) -> None: ... def defaultTransition(self) -> QAbstractTransition: ... - historyTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - defaultStateChanged: typing.ClassVar[QtCore.pyqtSignal] + def historyTypeChanged(self) -> None: ... + def defaultStateChanged(self) -> None: ... def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... @@ -6223,15 +6226,16 @@ class QItemSelectionModel(QObject): def __init__(self, model: typing.Optional[QAbstractItemModel] = ...) -> None: ... @typing.overload def __init__(self, model: QAbstractItemModel, parent: QObject) -> None: ... - modelChanged: typing.ClassVar[QtCore.pyqtSignal] + + def modelChanged(self, model: QAbstractItemModel) -> None: ... def setModel(self, model: QAbstractItemModel) -> None: ... def selectedColumns(self, row: int = ...) -> typing.List[QModelIndex]: ... def selectedRows(self, column: int = ...) -> typing.List[QModelIndex]: ... def hasSelection(self) -> bool: ... def emitSelectionChanged(self, newSelection: 'QItemSelection', oldSelection: 'QItemSelection') -> None: ... - currentColumnChanged: typing.ClassVar[QtCore.pyqtSignal] - currentRowChanged: typing.ClassVar[QtCore.pyqtSignal] - currentChanged: typing.ClassVar[QtCore.pyqtSignal] + def currentColumnChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + def currentRowChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + def currentChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... selectionChanged: typing.ClassVar[pyqtSignal] def clearCurrentIndex(self) -> None: ... def setCurrentIndex(self, index: QModelIndex, command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... @@ -9298,7 +9302,7 @@ class QVariantAnimation(QAbstractAnimation): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + def valueChanged(self, value: typing.Any) -> None: ... def setEasingCurve(self, easing: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def setDuration(self, msecs: int) -> None: ... @@ -9536,7 +9540,10 @@ class QProcess(QIODevice): def waitForStarted(self, msecs: int = ...) -> bool: ... def pid(self) -> int: ... def state(self) -> 'QProcess.ProcessState': ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QProcess.ProcessError': ... + @typing.overload + def error(self, error: 'QProcess.ProcessError') -> None: ... def setWorkingDirectory(self, dir: str) -> None: ... def workingDirectory(self) -> str: ... def closeWriteChannel(self) -> None: ... @@ -10159,7 +10166,7 @@ class QSequentialAnimationGroup(QAnimationGroup): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - currentAnimationChanged: typing.ClassVar[QtCore.pyqtSignal] + def currentAnimationChanged(self, current: QAbstractAnimation) -> None: ... def duration(self) -> int: ... def currentAnimation(self) -> QAbstractAnimation: ... def insertPause(self, index: int, msecs: int) -> QPauseAnimation: ... @@ -10307,10 +10314,10 @@ class QSignalMapper(QObject): def map(self) -> None: ... @typing.overload def map(self, sender: QObject) -> None: ... - mappedObject: typing.ClassVar[QtCore.pyqtSignal] - mappedWidget: typing.ClassVar[QtCore.pyqtSignal] - mappedString: typing.ClassVar[QtCore.pyqtSignal] - mappedInt: typing.ClassVar[QtCore.pyqtSignal] + def mappedObject(self, a0: QObject) -> None: ... + def mappedWidget(self, a0: QtWidgets.QWidget) -> None: ... + def mappedString(self, a0: str) -> None: ... + def mappedInt(self, a0: int) -> None: ... mapped: typing.ClassVar[pyqtSignal] @typing.overload def mapping(self, id: int) -> QObject: ... @@ -10337,8 +10344,9 @@ class QSignalTransition(QAbstractTransition): def __init__(self, sourceState: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, signal: pyqtBoundSignal, sourceState: typing.Optional['QState'] = ...) -> None: ... - signalChanged: typing.ClassVar[QtCore.pyqtSignal] - senderObjectChanged: typing.ClassVar[QtCore.pyqtSignal] + + def signalChanged(self) -> None: ... + def senderObjectChanged(self) -> None: ... def event(self, e: QEvent) -> bool: ... def onTransition(self, event: QEvent) -> None: ... def eventTest(self, event: QEvent) -> bool: ... @@ -10433,7 +10441,7 @@ class QSocketNotifier(QObject): def __init__(self, socket: sip.voidptr, a1: 'QSocketNotifier.Type', parent: typing.Optional[QObject] = ...) -> None: ... def event(self, a0: QEvent) -> bool: ... - activated: typing.ClassVar[QtCore.pyqtSignal] + def activated(self, socket: int) -> None: ... def setEnabled(self, a0: bool) -> None: ... def isEnabled(self) -> bool: ... def type(self) -> 'QSocketNotifier.Type': ... @@ -10443,13 +10451,14 @@ class QSocketNotifier(QObject): class QSortFilterProxyModel(QAbstractProxyModel): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - recursiveFilteringEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - filterRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - sortRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - sortLocaleAwareChanged: typing.ClassVar[QtCore.pyqtSignal] - sortCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] - filterCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] - dynamicSortFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + + def recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) -> None: ... + def filterRoleChanged(self, filterRole: int) -> None: ... + def sortRoleChanged(self, sortRole: int) -> None: ... + def sortLocaleAwareChanged(self, sortLocaleAware: bool) -> None: ... + def sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) -> None: ... + def filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) -> None: ... + def dynamicSortFilterChanged(self, dynamicSortFilter: bool) -> None: ... def invalidateFilter(self) -> None: ... def setRecursiveFilteringEnabled(self, recursive: bool) -> None: ... def isRecursiveFilteringEnabled(self) -> bool: ... @@ -10627,14 +10636,15 @@ class QState(QAbstractState): def __init__(self, parent: typing.Optional['QState'] = ...) -> None: ... @typing.overload def __init__(self, childMode: 'QState.ChildMode', parent: typing.Optional['QState'] = ...) -> None: ... - errorStateChanged: typing.ClassVar[QtCore.pyqtSignal] - initialStateChanged: typing.ClassVar[QtCore.pyqtSignal] - childModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def errorStateChanged(self) -> None: ... + def initialStateChanged(self) -> None: ... + def childModeChanged(self) -> None: ... def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - propertiesAssigned: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def propertiesAssigned(self) -> None: ... + def finished(self) -> None: ... def assignProperty(self, object: QObject, name: str, value: typing.Any) -> None: ... def setChildMode(self, mode: 'QState.ChildMode') -> None: ... def childMode(self) -> 'QState.ChildMode': ... @@ -10693,9 +10703,9 @@ class QStateMachine(QState): def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - runningChanged: typing.ClassVar[QtCore.pyqtSignal] - stopped: typing.ClassVar[QtCore.pyqtSignal] - started: typing.ClassVar[QtCore.pyqtSignal] + def runningChanged(self, running: bool) -> None: ... + def stopped(self) -> None: ... + def started(self) -> None: ... def setRunning(self, running: bool) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... @@ -11263,10 +11273,10 @@ class QTimeLine(QObject): def setEasingCurve(self, curve: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def timerEvent(self, event: QTimerEvent) -> None: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - frameChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def valueChanged(self, x: float) -> None: ... + def stateChanged(self, newState: 'QTimeLine.State') -> None: ... + def frameChanged(self, a0: int) -> None: ... + def finished(self) -> None: ... def toggleDirection(self) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... diff --git a/PyQt5-stubs/QtDBus.pyi b/PyQt5-stubs/QtDBus.pyi index c84f0755..ac26141b 100644 --- a/PyQt5-stubs/QtDBus.pyi +++ b/PyQt5-stubs/QtDBus.pyi @@ -282,10 +282,10 @@ class QDBusConnectionInterface(QDBusAbstractInterface): def disconnectNotify(self, a0: QtCore.QMetaMethod) -> None: ... def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... - callWithCallbackFailed: typing.ClassVar[QtCore.pyqtSignal] - serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] - serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] - serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] + def callWithCallbackFailed(self, error: 'QDBusError', call: 'QDBusMessage') -> None: ... + def serviceOwnerChanged(self, name: str, oldOwner: str, newOwner: str) -> None: ... + def serviceUnregistered(self, service: str) -> None: ... + def serviceRegistered(self, service: str) -> None: ... def startService(self, name: str) -> QDBusReply: ... def serviceUid(self, serviceName: str) -> QDBusReply: ... def servicePid(self, serviceName: str) -> QDBusReply: ... @@ -497,7 +497,8 @@ class QDBusPendingCall(sip.simplewrapper): class QDBusPendingCallWatcher(QtCore.QObject, QDBusPendingCall): def __init__(self, call: QDBusPendingCall, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - finished: typing.ClassVar[QtCore.pyqtSignal] + + def finished(self, watcher: typing.Optional['QDBusPendingCallWatcher'] = ...) -> None: ... def waitForFinished(self) -> None: ... def isFinished(self) -> bool: ... @@ -532,9 +533,10 @@ class QDBusServiceWatcher(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, service: str, connection: QDBusConnection, watchMode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag'] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] - serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] - serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] + + def serviceOwnerChanged(self, service: str, oldOwner: str, newOwner: str) -> None: ... + def serviceUnregistered(self, service: str) -> None: ... + def serviceRegistered(self, service: str) -> None: ... def setConnection(self, connection: QDBusConnection) -> None: ... def connection(self) -> QDBusConnection: ... def setWatchMode(self, mode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag']) -> None: ... diff --git a/PyQt5-stubs/QtDataVisualization.pyi b/PyQt5-stubs/QtDataVisualization.pyi index fcf79057..b4c86933 100644 --- a/PyQt5-stubs/QtDataVisualization.pyi +++ b/PyQt5-stubs/QtDataVisualization.pyi @@ -134,14 +134,14 @@ class QAbstract3DGraph(QtGui.QWindow): def __int__(self) -> int: ... def hasContext(self) -> bool: ... - marginChanged: typing.ClassVar[QtCore.pyqtSignal] - queriedGraphPositionChanged: typing.ClassVar[QtCore.pyqtSignal] - localeChanged: typing.ClassVar[QtCore.pyqtSignal] - reflectivityChanged: typing.ClassVar[QtCore.pyqtSignal] - reflectionChanged: typing.ClassVar[QtCore.pyqtSignal] - horizontalAspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - radialLabelOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] - polarChanged: typing.ClassVar[QtCore.pyqtSignal] + def marginChanged(self, margin: float) -> None: ... + def queriedGraphPositionChanged(self, data: QtGui.QVector3D) -> None: ... + def localeChanged(self, locale: QtCore.QLocale) -> None: ... + def reflectivityChanged(self, reflectivity: float) -> None: ... + def reflectionChanged(self, enabled: bool) -> None: ... + def horizontalAspectRatioChanged(self, ratio: float) -> None: ... + def radialLabelOffsetChanged(self, offset: float) -> None: ... + def polarChanged(self, enabled: bool) -> None: ... def margin(self) -> float: ... def setMargin(self, margin: float) -> None: ... def queriedGraphPosition(self) -> QtGui.QVector3D: ... @@ -158,12 +158,12 @@ class QAbstract3DGraph(QtGui.QWindow): def isPolar(self) -> bool: ... def setPolar(self, enable: bool) -> None: ... def customItems(self) -> typing.List['QCustom3DItem']: ... - optimizationHintsChanged: typing.ClassVar[QtCore.pyqtSignal] - aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - orthoProjectionChanged: typing.ClassVar[QtCore.pyqtSignal] - currentFpsChanged: typing.ClassVar[QtCore.pyqtSignal] - measureFpsChanged: typing.ClassVar[QtCore.pyqtSignal] - selectedElementChanged: typing.ClassVar[QtCore.pyqtSignal] + def optimizationHintsChanged(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... + def aspectRatioChanged(self, ratio: float) -> None: ... + def orthoProjectionChanged(self, enabled: bool) -> None: ... + def currentFpsChanged(self, fps: float) -> None: ... + def measureFpsChanged(self, enabled: bool) -> None: ... + def selectedElementChanged(self, type: 'QAbstract3DGraph.ElementType') -> None: ... def optimizationHints(self) -> 'QAbstract3DGraph.OptimizationHints': ... def setOptimizationHints(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... def aspectRatio(self) -> float: ... @@ -193,10 +193,10 @@ class QAbstract3DGraph(QtGui.QWindow): def exposeEvent(self, event: QtGui.QExposeEvent) -> None: ... def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - shadowQualityChanged: typing.ClassVar[QtCore.pyqtSignal] - selectionModeChanged: typing.ClassVar[QtCore.pyqtSignal] - activeThemeChanged: typing.ClassVar[QtCore.pyqtSignal] - activeInputHandlerChanged: typing.ClassVar[QtCore.pyqtSignal] + def shadowQualityChanged(self, quality: 'QAbstract3DGraph.ShadowQuality') -> None: ... + def selectionModeChanged(self, mode: typing.Union['QAbstract3DGraph.SelectionFlags', 'QAbstract3DGraph.SelectionFlag']) -> None: ... + def activeThemeChanged(self, theme: 'Q3DTheme') -> None: ... + def activeInputHandlerChanged(self, inputHandler: 'QAbstract3DInputHandler') -> None: ... def shadowsSupported(self) -> bool: ... def activeInputHandler(self) -> 'QAbstract3DInputHandler': ... def clearSelection(self) -> None: ... @@ -218,18 +218,19 @@ class QAbstract3DGraph(QtGui.QWindow): class Q3DBars('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - floorLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + + def floorLevelChanged(self, level: float) -> None: ... def floorLevel(self) -> float: ... def setFloorLevel(self, level: float) -> None: ... - selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] - primarySeriesChanged: typing.ClassVar[QtCore.pyqtSignal] - valueAxisChanged: typing.ClassVar[QtCore.pyqtSignal] - columnAxisChanged: typing.ClassVar[QtCore.pyqtSignal] - rowAxisChanged: typing.ClassVar[QtCore.pyqtSignal] - barSpacingRelativeChanged: typing.ClassVar[QtCore.pyqtSignal] - barSpacingChanged: typing.ClassVar[QtCore.pyqtSignal] - barThicknessChanged: typing.ClassVar[QtCore.pyqtSignal] - multiSeriesUniformChanged: typing.ClassVar[QtCore.pyqtSignal] + def selectedSeriesChanged(self, series: 'QBar3DSeries') -> None: ... + def primarySeriesChanged(self, series: 'QBar3DSeries') -> None: ... + def valueAxisChanged(self, axis: 'QValue3DAxis') -> None: ... + def columnAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... + def rowAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... + def barSpacingRelativeChanged(self, relative: bool) -> None: ... + def barSpacingChanged(self, spacing: QtCore.QSizeF) -> None: ... + def barThicknessChanged(self, thicknessRatio: float) -> None: ... + def multiSeriesUniformChanged(self, uniform: bool) -> None: ... def selectedSeries(self) -> 'QBar3DSeries': ... def axes(self) -> typing.List['QAbstract3DAxis']: ... def releaseAxis(self, axis: 'QAbstract3DAxis') -> None: ... @@ -261,7 +262,7 @@ class Q3DObject(QtCore.QObject): def isDirty(self) -> bool: ... def setDirty(self, dirty: bool) -> None: ... - positionChanged: typing.ClassVar[QtCore.pyqtSignal] + def positionChanged(self, position: QtGui.QVector3D) -> None: ... def setPosition(self, position: QtGui.QVector3D) -> None: ... def position(self) -> QtGui.QVector3D: ... def parentScene(self) -> 'Q3DScene': ... @@ -323,21 +324,22 @@ class Q3DCamera('Q3DObject'): CameraPresetDirectlyBelow = ... # type: Q3DCamera.CameraPreset def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - maxZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] - minZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + + def targetChanged(self, target: QtGui.QVector3D) -> None: ... + def maxZoomLevelChanged(self, zoomLevel: float) -> None: ... + def minZoomLevelChanged(self, zoomLevel: float) -> None: ... def setTarget(self, target: QtGui.QVector3D) -> None: ... def target(self) -> QtGui.QVector3D: ... def setMaxZoomLevel(self, zoomLevel: float) -> None: ... def maxZoomLevel(self) -> float: ... def setMinZoomLevel(self, zoomLevel: float) -> None: ... def minZoomLevel(self) -> float: ... - wrapYRotationChanged: typing.ClassVar[QtCore.pyqtSignal] - wrapXRotationChanged: typing.ClassVar[QtCore.pyqtSignal] - cameraPresetChanged: typing.ClassVar[QtCore.pyqtSignal] - zoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] - yRotationChanged: typing.ClassVar[QtCore.pyqtSignal] - xRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + def wrapYRotationChanged(self, isEnabled: bool) -> None: ... + def wrapXRotationChanged(self, isEnabled: bool) -> None: ... + def cameraPresetChanged(self, preset: 'Q3DCamera.CameraPreset') -> None: ... + def zoomLevelChanged(self, zoomLevel: float) -> None: ... + def yRotationChanged(self, rotation: float) -> None: ... + def xRotationChanged(self, rotation: float) -> None: ... def setZoomLevel(self, zoomLevel: float) -> None: ... def zoomLevel(self) -> float: ... def setCameraPosition(self, horizontal: float, vertical: float, zoom: float = ...) -> None: ... @@ -370,9 +372,9 @@ class QAbstract3DInputHandler(QtCore.QObject): def setPreviousInputPos(self, position: QtCore.QPoint) -> None: ... def prevDistance(self) -> int: ... def setPrevDistance(self, distance: int) -> None: ... - sceneChanged: typing.ClassVar[QtCore.pyqtSignal] - inputViewChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] + def sceneChanged(self, scene: 'Q3DScene') -> None: ... + def inputViewChanged(self, view: 'QAbstract3DInputHandler.InputView') -> None: ... + def positionChanged(self, position: QtCore.QPoint) -> None: ... def setScene(self, scene: 'Q3DScene') -> None: ... def scene(self) -> 'Q3DScene': ... def setInputPosition(self, position: QtCore.QPoint) -> None: ... @@ -389,10 +391,11 @@ class QAbstract3DInputHandler(QtCore.QObject): class Q3DInputHandler('QAbstract3DInputHandler'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - zoomAtTargetEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - selectionEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - zoomEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + + def zoomAtTargetEnabledChanged(self, enable: bool) -> None: ... + def selectionEnabledChanged(self, enable: bool) -> None: ... + def zoomEnabledChanged(self, enable: bool) -> None: ... + def rotationEnabledChanged(self, enable: bool) -> None: ... def isZoomAtTargetEnabled(self) -> bool: ... def setZoomAtTargetEnabled(self, enable: bool) -> None: ... def isSelectionEnabled(self) -> bool: ... @@ -409,17 +412,19 @@ class Q3DInputHandler('QAbstract3DInputHandler'): class Q3DLight('Q3DObject'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - autoPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def autoPositionChanged(self, autoPosition: bool) -> None: ... def isAutoPosition(self) -> bool: ... def setAutoPosition(self, enabled: bool) -> None: ... class Q3DScatter('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] - axisZChanged: typing.ClassVar[QtCore.pyqtSignal] - axisYChanged: typing.ClassVar[QtCore.pyqtSignal] - axisXChanged: typing.ClassVar[QtCore.pyqtSignal] + + def selectedSeriesChanged(self, series: 'QScatter3DSeries') -> None: ... + def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... + def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... + def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... def selectedSeries(self) -> 'QScatter3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -437,18 +442,19 @@ class Q3DScatter('QAbstract3DGraph'): class Q3DScene(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - graphPositionQueryChanged: typing.ClassVar[QtCore.pyqtSignal] + + def graphPositionQueryChanged(self, position: QtCore.QPoint) -> None: ... def graphPositionQuery(self) -> QtCore.QPoint: ... def setGraphPositionQuery(self, point: QtCore.QPoint) -> None: ... - selectionQueryPositionChanged: typing.ClassVar[QtCore.pyqtSignal] - devicePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] - activeLightChanged: typing.ClassVar[QtCore.pyqtSignal] - activeCameraChanged: typing.ClassVar[QtCore.pyqtSignal] - slicingActiveChanged: typing.ClassVar[QtCore.pyqtSignal] - secondarySubviewOnTopChanged: typing.ClassVar[QtCore.pyqtSignal] - secondarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] - primarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] - viewportChanged: typing.ClassVar[QtCore.pyqtSignal] + def selectionQueryPositionChanged(self, position: QtCore.QPoint) -> None: ... + def devicePixelRatioChanged(self, pixelRatio: float) -> None: ... + def activeLightChanged(self, light: 'Q3DLight') -> None: ... + def activeCameraChanged(self, camera: 'Q3DCamera') -> None: ... + def slicingActiveChanged(self, isSlicingActive: bool) -> None: ... + def secondarySubviewOnTopChanged(self, isSecondaryOnTop: bool) -> None: ... + def secondarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... + def primarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... + def viewportChanged(self, viewport: QtCore.QRect) -> None: ... def setDevicePixelRatio(self, pixelRatio: float) -> None: ... def devicePixelRatio(self) -> float: ... def setActiveLight(self, light: 'Q3DLight') -> None: ... @@ -474,13 +480,14 @@ class Q3DScene(QtCore.QObject): class Q3DSurface('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - flipHorizontalGridChanged: typing.ClassVar[QtCore.pyqtSignal] + + def flipHorizontalGridChanged(self, flip: bool) -> None: ... def flipHorizontalGrid(self) -> bool: ... def setFlipHorizontalGrid(self, flip: bool) -> None: ... - selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] - axisZChanged: typing.ClassVar[QtCore.pyqtSignal] - axisYChanged: typing.ClassVar[QtCore.pyqtSignal] - axisXChanged: typing.ClassVar[QtCore.pyqtSignal] + def selectedSeriesChanged(self, series: 'QSurface3DSeries') -> None: ... + def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... + def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... + def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... def selectedSeries(self) -> 'QSurface3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -531,28 +538,29 @@ class Q3DTheme(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, themeType: 'Q3DTheme.Theme', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBackgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - gridEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBorderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - highlightLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] - ambientLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] - lightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] - multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] - singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] - baseGradientsChanged: typing.ClassVar[QtCore.pyqtSignal] - lightColorChanged: typing.ClassVar[QtCore.pyqtSignal] - multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] - singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] - gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] - labelBackgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] - labelTextColorChanged: typing.ClassVar[QtCore.pyqtSignal] - windowColorChanged: typing.ClassVar[QtCore.pyqtSignal] - backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] - baseColorsChanged: typing.ClassVar[QtCore.pyqtSignal] - typeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... + def labelBackgroundEnabledChanged(self, enabled: bool) -> None: ... + def gridEnabledChanged(self, enabled: bool) -> None: ... + def backgroundEnabledChanged(self, enabled: bool) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... + def labelBorderEnabledChanged(self, enabled: bool) -> None: ... + def highlightLightStrengthChanged(self, strength: float) -> None: ... + def ambientLightStrengthChanged(self, strength: float) -> None: ... + def lightStrengthChanged(self, strength: float) -> None: ... + def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... + def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... + def baseGradientsChanged(self, gradients: typing.Iterable[QtGui.QLinearGradient]) -> None: ... + def lightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def labelBackgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def labelTextColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def windowColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def baseColorsChanged(self, colors: typing.Iterable[typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]]) -> None: ... + def typeChanged(self, themeType: 'Q3DTheme.Theme') -> None: ... def colorStyle(self) -> 'Q3DTheme.ColorStyle': ... def setColorStyle(self, style: 'Q3DTheme.ColorStyle') -> None: ... def isLabelBackgroundEnabled(self) -> bool: ... @@ -619,22 +627,23 @@ class QAbstract3DAxis(QtCore.QObject): AxisOrientationX = ... # type: QAbstract3DAxis.AxisOrientation AxisOrientationY = ... # type: QAbstract3DAxis.AxisOrientation AxisOrientationZ = ... # type: QAbstract3DAxis.AxisOrientation - titleFixedChanged: typing.ClassVar[QtCore.pyqtSignal] - titleVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - labelAutoRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def titleFixedChanged(self, fixed: bool) -> None: ... + def titleVisibilityChanged(self, visible: bool) -> None: ... + def labelAutoRotationChanged(self, angle: float) -> None: ... def isTitleFixed(self) -> bool: ... def setTitleFixed(self, fixed: bool) -> None: ... def isTitleVisible(self) -> bool: ... def setTitleVisible(self, visible: bool) -> None: ... def labelAutoRotation(self) -> float: ... def setLabelAutoRotation(self, angle: float) -> None: ... - autoAdjustRangeChanged: typing.ClassVar[QtCore.pyqtSignal] - rangeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxChanged: typing.ClassVar[QtCore.pyqtSignal] - minChanged: typing.ClassVar[QtCore.pyqtSignal] - orientationChanged: typing.ClassVar[QtCore.pyqtSignal] - labelsChanged: typing.ClassVar[QtCore.pyqtSignal] - titleChanged: typing.ClassVar[QtCore.pyqtSignal] + def autoAdjustRangeChanged(self, autoAdjust: bool) -> None: ... + def rangeChanged(self, min: float, max: float) -> None: ... + def maxChanged(self, value: float) -> None: ... + def minChanged(self, value: float) -> None: ... + def orientationChanged(self, orientation: 'QAbstract3DAxis.AxisOrientation') -> None: ... + def labelsChanged(self) -> None: ... + def titleChanged(self, newTitle: str) -> None: ... def setTitle(self, title: str) -> None: ... def setRange(self, min: float, max: float) -> None: ... def isAutoAdjustRange(self) -> bool: ... @@ -688,25 +697,26 @@ class QAbstract3DSeries(QtCore.QObject): SeriesTypeBar = ... # type: QAbstract3DSeries.SeriesType SeriesTypeScatter = ... # type: QAbstract3DSeries.SeriesType SeriesTypeSurface = ... # type: QAbstract3DSeries.SeriesType - itemLabelVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - itemLabelChanged: typing.ClassVar[QtCore.pyqtSignal] + + def itemLabelVisibilityChanged(self, visible: bool) -> None: ... + def itemLabelChanged(self, label: str) -> None: ... def isItemLabelVisible(self) -> bool: ... def setItemLabelVisible(self, visible: bool) -> None: ... def itemLabel(self) -> str: ... - nameChanged: typing.ClassVar[QtCore.pyqtSignal] - multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] - multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] - singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] - singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] - baseGradientChanged: typing.ClassVar[QtCore.pyqtSignal] - baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] - colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] - userDefinedMeshChanged: typing.ClassVar[QtCore.pyqtSignal] - meshRotationChanged: typing.ClassVar[QtCore.pyqtSignal] - meshSmoothChanged: typing.ClassVar[QtCore.pyqtSignal] - meshChanged: typing.ClassVar[QtCore.pyqtSignal] - visibilityChanged: typing.ClassVar[QtCore.pyqtSignal] - itemLabelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + def nameChanged(self, name: str) -> None: ... + def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... + def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... + def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def baseGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... + def baseColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... + def userDefinedMeshChanged(self, fileName: str) -> None: ... + def meshRotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... + def meshSmoothChanged(self, enabled: bool) -> None: ... + def meshChanged(self, mesh: 'QAbstract3DSeries.Mesh') -> None: ... + def visibilityChanged(self, visible: bool) -> None: ... + def itemLabelFormatChanged(self, format: str) -> None: ... def setMeshAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def name(self) -> str: ... def setName(self, name: str) -> None: ... @@ -759,9 +769,10 @@ class QBar3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QBarDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - meshAngleChanged: typing.ClassVar[QtCore.pyqtSignal] - selectedBarChanged: typing.ClassVar[QtCore.pyqtSignal] - dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] + + def meshAngleChanged(self, angle: float) -> None: ... + def selectedBarChanged(self, position: QtCore.QPoint) -> None: ... + def dataProxyChanged(self, proxy: 'QBarDataProxy') -> None: ... def meshAngle(self) -> float: ... def setMeshAngle(self, angle: float) -> None: ... @staticmethod @@ -790,16 +801,17 @@ class QBarDataItem(sip.simplewrapper): class QBarDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - seriesChanged: typing.ClassVar[QtCore.pyqtSignal] - columnLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] - rowLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - itemChanged: typing.ClassVar[QtCore.pyqtSignal] - rowsInserted: typing.ClassVar[QtCore.pyqtSignal] - rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] - rowsChanged: typing.ClassVar[QtCore.pyqtSignal] - rowsAdded: typing.ClassVar[QtCore.pyqtSignal] - arrayReset: typing.ClassVar[QtCore.pyqtSignal] + + def seriesChanged(self, series: 'QBar3DSeries') -> None: ... + def columnLabelsChanged(self) -> None: ... + def rowLabelsChanged(self) -> None: ... + def rowCountChanged(self, count: int) -> None: ... + def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... + def rowsInserted(self, startIndex: int, count: int) -> None: ... + def rowsRemoved(self, startIndex: int, count: int) -> None: ... + def rowsChanged(self, startIndex: int, count: int) -> None: ... + def rowsAdded(self, startIndex: int, count: int) -> None: ... + def arrayReset(self) -> None: ... def series(self) -> 'QBar3DSeries': ... def removeRows(self, rowIndex: int, removeCount: int, removeLabels: bool = ...) -> None: ... @typing.overload @@ -851,7 +863,8 @@ class QBarDataProxy('QAbstractDataProxy'): class QCategory3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - labelsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def labelsChanged(self) -> None: ... def labels(self) -> typing.List[str]: ... def setLabels(self, labels: typing.Iterable[str]) -> None: ... @@ -861,17 +874,18 @@ class QCustom3DItem(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, meshFile: str, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, texture: QtGui.QImage, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - scalingAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] + + def scalingAbsoluteChanged(self, scalingAbsolute: bool) -> None: ... def isScalingAbsolute(self) -> bool: ... def setScalingAbsolute(self, scalingAbsolute: bool) -> None: ... - shadowCastingChanged: typing.ClassVar[QtCore.pyqtSignal] - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationChanged: typing.ClassVar[QtCore.pyqtSignal] - scalingChanged: typing.ClassVar[QtCore.pyqtSignal] - positionAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] - meshFileChanged: typing.ClassVar[QtCore.pyqtSignal] + def shadowCastingChanged(self, shadowCasting: bool) -> None: ... + def visibleChanged(self, visible: bool) -> None: ... + def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... + def scalingChanged(self, scaling: QtGui.QVector3D) -> None: ... + def positionAbsoluteChanged(self, positionAbsolute: bool) -> None: ... + def positionChanged(self, position: QtGui.QVector3D) -> None: ... + def textureFileChanged(self, textureFile: str) -> None: ... + def meshFileChanged(self, meshFile: str) -> None: ... def setTextureImage(self, textureImage: QtGui.QImage) -> None: ... def setRotationAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def isShadowCasting(self) -> bool: ... @@ -897,13 +911,14 @@ class QCustom3DLabel('QCustom3DItem'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, text: str, font: QtGui.QFont, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - facingCameraChanged: typing.ClassVar[QtCore.pyqtSignal] - backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - borderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] - textColorChanged: typing.ClassVar[QtCore.pyqtSignal] - fontChanged: typing.ClassVar[QtCore.pyqtSignal] - textChanged: typing.ClassVar[QtCore.pyqtSignal] + + def facingCameraChanged(self, enabled: bool) -> None: ... + def backgroundEnabledChanged(self, enabled: bool) -> None: ... + def borderEnabledChanged(self, enabled: bool) -> None: ... + def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def textColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def fontChanged(self, font: QtGui.QFont) -> None: ... + def textChanged(self, text: str) -> None: ... def isFacingCamera(self) -> bool: ... def setFacingCamera(self, enabled: bool) -> None: ... def isBackgroundEnabled(self) -> bool: ... @@ -925,24 +940,25 @@ class QCustom3DVolume('QCustom3DItem'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, textureWidth: int, textureHeight: int, textureDepth: int, textureData: sip.array[int], textureFormat: QtGui.QImage.Format, colorTable: typing.Iterable[int], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - sliceFrameThicknessesChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceFrameGapsChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceFrameWidthsChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceFrameColorChanged: typing.ClassVar[QtCore.pyqtSignal] - drawSliceFramesChanged: typing.ClassVar[QtCore.pyqtSignal] - drawSlicesChanged: typing.ClassVar[QtCore.pyqtSignal] - useHighDefShaderChanged: typing.ClassVar[QtCore.pyqtSignal] - preserveOpacityChanged: typing.ClassVar[QtCore.pyqtSignal] - alphaMultiplierChanged: typing.ClassVar[QtCore.pyqtSignal] - textureFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - textureDataChanged: typing.ClassVar[QtCore.pyqtSignal] - colorTableChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceIndexZChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceIndexYChanged: typing.ClassVar[QtCore.pyqtSignal] - sliceIndexXChanged: typing.ClassVar[QtCore.pyqtSignal] - textureDepthChanged: typing.ClassVar[QtCore.pyqtSignal] - textureHeightChanged: typing.ClassVar[QtCore.pyqtSignal] - textureWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + + def sliceFrameThicknessesChanged(self, values: QtGui.QVector3D) -> None: ... + def sliceFrameGapsChanged(self, values: QtGui.QVector3D) -> None: ... + def sliceFrameWidthsChanged(self, values: QtGui.QVector3D) -> None: ... + def sliceFrameColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + def drawSliceFramesChanged(self, enabled: bool) -> None: ... + def drawSlicesChanged(self, enabled: bool) -> None: ... + def useHighDefShaderChanged(self, enabled: bool) -> None: ... + def preserveOpacityChanged(self, enabled: bool) -> None: ... + def alphaMultiplierChanged(self, mult: float) -> None: ... + def textureFormatChanged(self, format: QtGui.QImage.Format) -> None: ... + def textureDataChanged(self, data: sip.array[int]) -> None: ... + def colorTableChanged(self) -> None: ... + def sliceIndexZChanged(self, value: int) -> None: ... + def sliceIndexYChanged(self, value: int) -> None: ... + def sliceIndexXChanged(self, value: int) -> None: ... + def textureDepthChanged(self, value: int) -> None: ... + def textureHeightChanged(self, value: int) -> None: ... + def textureWidthChanged(self, value: int) -> None: ... def renderSlice(self, axis: QtCore.Qt.Axis, index: int) -> QtGui.QImage: ... def sliceFrameThicknesses(self) -> QtGui.QVector3D: ... def setSliceFrameThicknesses(self, values: QtGui.QVector3D) -> None: ... @@ -992,15 +1008,16 @@ class QCustom3DVolume('QCustom3DItem'): class QSurfaceDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - seriesChanged: typing.ClassVar[QtCore.pyqtSignal] - columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] - rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] - itemChanged: typing.ClassVar[QtCore.pyqtSignal] - rowsInserted: typing.ClassVar[QtCore.pyqtSignal] - rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] - rowsChanged: typing.ClassVar[QtCore.pyqtSignal] - rowsAdded: typing.ClassVar[QtCore.pyqtSignal] - arrayReset: typing.ClassVar[QtCore.pyqtSignal] + + def seriesChanged(self, series: 'QSurface3DSeries') -> None: ... + def columnCountChanged(self, count: int) -> None: ... + def rowCountChanged(self, count: int) -> None: ... + def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... + def rowsInserted(self, startIndex: int, count: int) -> None: ... + def rowsRemoved(self, startIndex: int, count: int) -> None: ... + def rowsChanged(self, startIndex: int, count: int) -> None: ... + def rowsAdded(self, startIndex: int, count: int) -> None: ... + def arrayReset(self) -> None: ... @typing.overload def itemAt(self, rowIndex: int, columnIndex: int) -> 'QSurfaceDataItem': ... @typing.overload @@ -1030,12 +1047,13 @@ class QHeightMapSurfaceDataProxy('QSurfaceDataProxy'): def __init__(self, image: QtGui.QImage, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, filename: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - maxZValueChanged: typing.ClassVar[QtCore.pyqtSignal] - minZValueChanged: typing.ClassVar[QtCore.pyqtSignal] - maxXValueChanged: typing.ClassVar[QtCore.pyqtSignal] - minXValueChanged: typing.ClassVar[QtCore.pyqtSignal] - heightMapFileChanged: typing.ClassVar[QtCore.pyqtSignal] - heightMapChanged: typing.ClassVar[QtCore.pyqtSignal] + + def maxZValueChanged(self, value: float) -> None: ... + def minZValueChanged(self, value: float) -> None: ... + def maxXValueChanged(self, value: float) -> None: ... + def minXValueChanged(self, value: float) -> None: ... + def heightMapFileChanged(self, filename: str) -> None: ... + def heightMapChanged(self, image: QtGui.QImage) -> None: ... def maxZValue(self) -> float: ... def setMaxZValue(self, max: float) -> None: ... def minZValue(self) -> float: ... @@ -1077,15 +1095,16 @@ class QItemModelBarDataProxy('QBarDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, rowRole: str, columnRole: str, valueRole: str, rotationRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - valueRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - valueRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + + def multiMatchBehaviorChanged(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... + def rotationRoleReplaceChanged(self, replace: str) -> None: ... + def valueRoleReplaceChanged(self, replace: str) -> None: ... + def columnRoleReplaceChanged(self, replace: str) -> None: ... + def rowRoleReplaceChanged(self, replace: str) -> None: ... + def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def valueRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... def multiMatchBehavior(self) -> 'QItemModelBarDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... def rotationRoleReplace(self) -> str: ... @@ -1104,16 +1123,16 @@ class QItemModelBarDataProxy('QBarDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - valueRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] + def autoColumnCategoriesChanged(self, enable: bool) -> None: ... + def autoRowCategoriesChanged(self, enable: bool) -> None: ... + def useModelCategoriesChanged(self, enable: bool) -> None: ... + def columnCategoriesChanged(self) -> None: ... + def rowCategoriesChanged(self) -> None: ... + def rotationRoleChanged(self, role: str) -> None: ... + def valueRoleChanged(self, role: str) -> None: ... + def columnRoleChanged(self, role: str) -> None: ... + def rowRoleChanged(self, role: str) -> None: ... + def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... def remap(self, rowRole: str, columnRole: str, valueRole: str, rotationRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1141,13 +1160,14 @@ class QItemModelBarDataProxy('QBarDataProxy'): class QScatterDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - seriesChanged: typing.ClassVar[QtCore.pyqtSignal] - itemCountChanged: typing.ClassVar[QtCore.pyqtSignal] - itemsInserted: typing.ClassVar[QtCore.pyqtSignal] - itemsRemoved: typing.ClassVar[QtCore.pyqtSignal] - itemsChanged: typing.ClassVar[QtCore.pyqtSignal] - itemsAdded: typing.ClassVar[QtCore.pyqtSignal] - arrayReset: typing.ClassVar[QtCore.pyqtSignal] + + def seriesChanged(self, series: 'QScatter3DSeries') -> None: ... + def itemCountChanged(self, count: int) -> None: ... + def itemsInserted(self, startIndex: int, count: int) -> None: ... + def itemsRemoved(self, startIndex: int, count: int) -> None: ... + def itemsChanged(self, startIndex: int, count: int) -> None: ... + def itemsAdded(self, startIndex: int, count: int) -> None: ... + def arrayReset(self) -> None: ... def series(self) -> 'QScatter3DSeries': ... def removeItems(self, index: int, removeCount: int) -> None: ... def insertItems(self, index: int, items: typing.Iterable['QScatterDataItem']) -> None: ... @@ -1171,14 +1191,15 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, xPosRole: str, yPosRole: str, zPosRole: str, rotationRole: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + + def zPosRoleReplaceChanged(self, replace: str) -> None: ... + def yPosRoleReplaceChanged(self, replace: str) -> None: ... + def xPosRoleReplaceChanged(self, replace: str) -> None: ... + def rotationRoleReplaceChanged(self, replace: str) -> None: ... + def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... def rotationRoleReplace(self) -> str: ... def setRotationRoleReplace(self, replace: str) -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1195,11 +1216,11 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): def setYPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def xPosRolePattern(self) -> QtCore.QRegExp: ... def setXPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] + def rotationRoleChanged(self, role: str) -> None: ... + def zPosRoleChanged(self, role: str) -> None: ... + def yPosRoleChanged(self, role: str) -> None: ... + def xPosRoleChanged(self, role: str) -> None: ... + def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... def remap(self, xPosRole: str, yPosRole: str, zPosRole: str, rotationRole: str) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1239,17 +1260,18 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): def __init__(self, itemModel: QtCore.QAbstractItemModel, rowRole: str, columnRole: str, xPosRole: str, yPosRole: str, zPosRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] - zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] - zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + + def multiMatchBehaviorChanged(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... + def zPosRoleReplaceChanged(self, replace: str) -> None: ... + def yPosRoleReplaceChanged(self, replace: str) -> None: ... + def xPosRoleReplaceChanged(self, replace: str) -> None: ... + def columnRoleReplaceChanged(self, replace: str) -> None: ... + def rowRoleReplaceChanged(self, replace: str) -> None: ... + def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... def multiMatchBehavior(self) -> 'QItemModelSurfaceDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1272,17 +1294,17 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] - zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] - itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] + def autoColumnCategoriesChanged(self, enable: bool) -> None: ... + def autoRowCategoriesChanged(self, enable: bool) -> None: ... + def useModelCategoriesChanged(self, enable: bool) -> None: ... + def columnCategoriesChanged(self) -> None: ... + def rowCategoriesChanged(self) -> None: ... + def zPosRoleChanged(self, role: str) -> None: ... + def yPosRoleChanged(self, role: str) -> None: ... + def xPosRoleChanged(self, role: str) -> None: ... + def columnRoleChanged(self, role: str) -> None: ... + def rowRoleChanged(self, role: str) -> None: ... + def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... def remap(self, rowRole: str, columnRole: str, xPosRole: str, yPosRole: str, zPosRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def zPosRole(self) -> str: ... def setZPosRole(self, role: str) -> None: ... @@ -1341,9 +1363,9 @@ class QLogValue3DAxisFormatter('QValue3DAxisFormatter'): def positionAt(self, value: float) -> float: ... def recalculate(self) -> None: ... def createNewInstance(self) -> 'QValue3DAxisFormatter': ... - showEdgeLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] - autoSubGridChanged: typing.ClassVar[QtCore.pyqtSignal] - baseChanged: typing.ClassVar[QtCore.pyqtSignal] + def showEdgeLabelsChanged(self, enabled: bool) -> None: ... + def autoSubGridChanged(self, enabled: bool) -> None: ... + def baseChanged(self, base: float) -> None: ... def showEdgeLabels(self) -> bool: ... def setShowEdgeLabels(self, enabled: bool) -> None: ... def autoSubGrid(self) -> bool: ... @@ -1357,9 +1379,10 @@ class QScatter3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QScatterDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - itemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - selectedItemChanged: typing.ClassVar[QtCore.pyqtSignal] - dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] + + def itemSizeChanged(self, size: float) -> None: ... + def selectedItemChanged(self, index: int) -> None: ... + def dataProxyChanged(self, proxy: 'QScatterDataProxy') -> None: ... def itemSize(self) -> float: ... def setItemSize(self, size: float) -> None: ... @staticmethod @@ -1421,17 +1444,18 @@ class QSurface3DSeries('QAbstract3DSeries'): def __init__(self, dataProxy: 'QSurfaceDataProxy', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] - textureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureFileChanged(self, filename: str) -> None: ... + def textureChanged(self, image: QtGui.QImage) -> None: ... def textureFile(self) -> str: ... def setTextureFile(self, filename: str) -> None: ... def texture(self) -> QtGui.QImage: ... def setTexture(self, texture: QtGui.QImage) -> None: ... - drawModeChanged: typing.ClassVar[QtCore.pyqtSignal] - flatShadingSupportedChanged: typing.ClassVar[QtCore.pyqtSignal] - flatShadingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - selectedPointChanged: typing.ClassVar[QtCore.pyqtSignal] - dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] + def drawModeChanged(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... + def flatShadingSupportedChanged(self, enable: bool) -> None: ... + def flatShadingEnabledChanged(self, enable: bool) -> None: ... + def selectedPointChanged(self, position: QtCore.QPoint) -> None: ... + def dataProxyChanged(self, proxy: 'QSurfaceDataProxy') -> None: ... def isFlatShadingSupported(self) -> bool: ... def drawMode(self) -> 'QSurface3DSeries.DrawFlags': ... def setDrawMode(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... @@ -1471,15 +1495,16 @@ class QTouch3DInputHandler('Q3DInputHandler'): class QValue3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - reversedChanged: typing.ClassVar[QtCore.pyqtSignal] - formatterChanged: typing.ClassVar[QtCore.pyqtSignal] + + def reversedChanged(self, enable: bool) -> None: ... + def formatterChanged(self, formatter: 'QValue3DAxisFormatter') -> None: ... def reversed(self) -> bool: ... def setReversed(self, enable: bool) -> None: ... def formatter(self) -> 'QValue3DAxisFormatter': ... def setFormatter(self, formatter: 'QValue3DAxisFormatter') -> None: ... - labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - subSegmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] - segmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] + def labelFormatChanged(self, format: str) -> None: ... + def subSegmentCountChanged(self, count: int) -> None: ... + def segmentCountChanged(self, count: int) -> None: ... def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... def subSegmentCount(self) -> int: ... diff --git a/PyQt5-stubs/QtDesigner.pyi b/PyQt5-stubs/QtDesigner.pyi index e24e8cf4..8bd1874d 100644 --- a/PyQt5-stubs/QtDesigner.pyi +++ b/PyQt5-stubs/QtDesigner.pyi @@ -112,19 +112,19 @@ class QDesignerFormWindowInterface(QtWidgets.QWidget): def formContainer(self) -> QtWidgets.QWidget: ... def activeResourceFilePaths(self) -> typing.List[str]: ... def checkContents(self) -> typing.List[str]: ... - objectRemoved: typing.ClassVar[QtCore.pyqtSignal] - widgetRemoved: typing.ClassVar[QtCore.pyqtSignal] - changed: typing.ClassVar[QtCore.pyqtSignal] - activated: typing.ClassVar[QtCore.pyqtSignal] - aboutToUnmanageWidget: typing.ClassVar[QtCore.pyqtSignal] - widgetUnmanaged: typing.ClassVar[QtCore.pyqtSignal] - widgetManaged: typing.ClassVar[QtCore.pyqtSignal] - resourceFilesChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryChanged: typing.ClassVar[QtCore.pyqtSignal] - selectionChanged: typing.ClassVar[QtCore.pyqtSignal] - featureChanged: typing.ClassVar[QtCore.pyqtSignal] - fileNameChanged: typing.ClassVar[QtCore.pyqtSignal] - mainContainerChanged: typing.ClassVar[QtCore.pyqtSignal] + def objectRemoved(self, o: QtCore.QObject) -> None: ... + def widgetRemoved(self, w: QtWidgets.QWidget) -> None: ... + def changed(self) -> None: ... + def activated(self, widget: QtWidgets.QWidget) -> None: ... + def aboutToUnmanageWidget(self, widget: QtWidgets.QWidget) -> None: ... + def widgetUnmanaged(self, widget: QtWidgets.QWidget) -> None: ... + def widgetManaged(self, widget: QtWidgets.QWidget) -> None: ... + def resourceFilesChanged(self) -> None: ... + def geometryChanged(self) -> None: ... + def selectionChanged(self) -> None: ... + def featureChanged(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... + def fileNameChanged(self, fileName: str) -> None: ... + def mainContainerChanged(self, mainContainer: QtWidgets.QWidget) -> None: ... def setFileName(self, fileName: str) -> None: ... def setGrid(self, grid: QtCore.QPoint) -> None: ... def selectWidget(self, widget: QtWidgets.QWidget, select: bool = ...) -> None: ... @@ -286,10 +286,10 @@ class QDesignerFormWindowManagerInterface(QtCore.QObject): def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def removeFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def addFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... - formWindowSettingsChanged: typing.ClassVar[QtCore.pyqtSignal] - activeFormWindowChanged: typing.ClassVar[QtCore.pyqtSignal] - formWindowRemoved: typing.ClassVar[QtCore.pyqtSignal] - formWindowAdded: typing.ClassVar[QtCore.pyqtSignal] + def formWindowSettingsChanged(self, fw: QDesignerFormWindowInterface) -> None: ... + def activeFormWindowChanged(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def formWindowRemoved(self, formWindow: QDesignerFormWindowInterface) -> None: ... + def formWindowAdded(self, formWindow: QDesignerFormWindowInterface) -> None: ... def core(self) -> QDesignerFormEditorInterface: ... def createFormWindow(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QDesignerFormWindowInterface: ... def formWindow(self, index: int) -> QDesignerFormWindowInterface: ... @@ -314,7 +314,7 @@ class QDesignerPropertyEditorInterface(QtWidgets.QWidget): def setReadOnly(self, readOnly: bool) -> None: ... def setPropertyValue(self, name: str, value: typing.Any, changed: bool = ...) -> None: ... def setObject(self, object: QtCore.QObject) -> None: ... - propertyChanged: typing.ClassVar[QtCore.pyqtSignal] + def propertyChanged(self, name: str, value: typing.Any) -> None: ... def currentPropertyName(self) -> str: ... def object(self) -> QtCore.QObject: ... def isReadOnly(self) -> bool: ... diff --git a/PyQt5-stubs/QtGui.pyi b/PyQt5-stubs/QtGui.pyi index bc251f19..2dddd700 100644 --- a/PyQt5-stubs/QtGui.pyi +++ b/PyQt5-stubs/QtGui.pyi @@ -80,10 +80,10 @@ class QAbstractTextDocumentLayout(QtCore.QObject): def positionInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def resizeInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) -> None: ... - updateBlock: typing.ClassVar[QtCore.pyqtSignal] - pageCountChanged: typing.ClassVar[QtCore.pyqtSignal] - documentSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - update: typing.ClassVar[QtCore.pyqtSignal] + def updateBlock(self, block: 'QTextBlock') -> None: ... + def pageCountChanged(self, newPages: int) -> None: ... + def documentSizeChanged(self, newSize: QtCore.QSizeF) -> None: ... + def update(self, rect: QtCore.QRectF = ...) -> None: ... def handlerForObject(self, objectType: int) -> 'QTextObjectInterface': ... def unregisterHandler(self, objectType: int, component: typing.Optional[QtCore.QObject] = ...) -> None: ... def registerHandler(self, objectType: int, component: QtCore.QObject) -> None: ... @@ -1291,8 +1291,8 @@ class QDrag(QtCore.QObject): def defaultAction(self) -> QtCore.Qt.DropAction: ... def supportedActions(self) -> QtCore.Qt.DropActions: ... def dragCursor(self, action: QtCore.Qt.DropAction) -> QPixmap: ... - targetChanged: typing.ClassVar[QtCore.pyqtSignal] - actionChanged: typing.ClassVar[QtCore.pyqtSignal] + def targetChanged(self, newTarget: QtCore.QObject) -> None: ... + def actionChanged(self, action: QtCore.Qt.DropAction) -> None: ... def setDragCursor(self, cursor: QPixmap, action: QtCore.Qt.DropAction) -> None: ... def target(self) -> QtCore.QObject: ... def source(self) -> QtCore.QObject: ... @@ -2653,21 +2653,21 @@ class QGuiApplication(QtCore.QCoreApplication): def highDpiScaleFactorRoundingPolicy() -> QtCore.Qt.HighDpiScaleFactorRoundingPolicy: ... @staticmethod def setHighDpiScaleFactorRoundingPolicy(policy: QtCore.Qt.HighDpiScaleFactorRoundingPolicy) -> None: ... - fontChanged: typing.ClassVar[QtCore.pyqtSignal] + def fontChanged(self, font: QFont) -> None: ... @staticmethod def screenAt(point: QtCore.QPoint) -> 'QScreen': ... @staticmethod def desktopFileName() -> str: ... @staticmethod def setDesktopFileName(name: str) -> None: ... - primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + def primaryScreenChanged(self, screen: 'QScreen') -> None: ... @staticmethod def setFallbackSessionManagementEnabled(a0: bool) -> None: ... @staticmethod def isFallbackSessionManagementEnabled() -> bool: ... - paletteChanged: typing.ClassVar[QtCore.pyqtSignal] - layoutDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] - screenRemoved: typing.ClassVar[QtCore.pyqtSignal] + def paletteChanged(self, pal: 'QPalette') -> None: ... + def layoutDirectionChanged(self, direction: QtCore.Qt.LayoutDirection) -> None: ... + def screenRemoved(self, screen: 'QScreen') -> None: ... def event(self, a0: QtCore.QEvent) -> bool: ... @staticmethod def windowIcon() -> 'QIcon': ... @@ -2692,15 +2692,15 @@ class QGuiApplication(QtCore.QCoreApplication): def applicationDisplayName() -> str: ... @staticmethod def setApplicationDisplayName(name: str) -> None: ... - applicationDisplayNameChanged: typing.ClassVar[QtCore.pyqtSignal] - applicationStateChanged: typing.ClassVar[QtCore.pyqtSignal] - focusWindowChanged: typing.ClassVar[QtCore.pyqtSignal] - saveStateRequest: typing.ClassVar[QtCore.pyqtSignal] - commitDataRequest: typing.ClassVar[QtCore.pyqtSignal] - focusObjectChanged: typing.ClassVar[QtCore.pyqtSignal] + def applicationDisplayNameChanged(self) -> None: ... + def applicationStateChanged(self, state: QtCore.Qt.ApplicationState) -> None: ... + def focusWindowChanged(self, focusWindow: 'QWindow') -> None: ... + def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ... + def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ... + def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ... lastWindowClosed: typing.ClassVar[QtCore.pyqtSignal] - screenAdded: typing.ClassVar[QtCore.pyqtSignal] - fontDatabaseChanged: typing.ClassVar[QtCore.pyqtSignal] + def screenAdded(self, screen: 'QScreen') -> None: ... + def fontDatabaseChanged(self) -> None: ... def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... @staticmethod def exec() -> int: ... @@ -3375,16 +3375,17 @@ class QInputMethod(QtCore.QObject): Click = ... # type: QInputMethod.Action ContextMenu = ... # type: QInputMethod.Action - inputItemClipRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] - anchorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def inputItemClipRectangleChanged(self) -> None: ... + def anchorRectangleChanged(self) -> None: ... def inputItemClipRectangle(self) -> QtCore.QRectF: ... def anchorRectangle(self) -> QtCore.QRectF: ... - inputDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] - localeChanged: typing.ClassVar[QtCore.pyqtSignal] - animatingChanged: typing.ClassVar[QtCore.pyqtSignal] - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] - keyboardRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] - cursorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + def inputDirectionChanged(self, newDirection: QtCore.Qt.LayoutDirection) -> None: ... + def localeChanged(self) -> None: ... + def animatingChanged(self) -> None: ... + def visibleChanged(self) -> None: ... + def keyboardRectangleChanged(self) -> None: ... + def cursorRectangleChanged(self) -> None: ... def invokeAction(self, a: 'QInputMethod.Action', cursorPosition: int) -> None: ... def commit(self) -> None: ... def reset(self) -> None: ... @@ -3716,13 +3717,13 @@ class QMovie(QtCore.QObject): def setPaused(self, paused: bool) -> None: ... def jumpToNextFrame(self) -> bool: ... def start(self) -> None: ... - frameChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - updated: typing.ClassVar[QtCore.pyqtSignal] - resized: typing.ClassVar[QtCore.pyqtSignal] - started: typing.ClassVar[QtCore.pyqtSignal] + def frameChanged(self, frameNumber: int) -> None: ... + def finished(self) -> None: ... + def error(self, error: QImageReader.ImageReaderError) -> None: ... + def stateChanged(self, state: 'QMovie.MovieState') -> None: ... + def updated(self, rect: QtCore.QRect) -> None: ... + def resized(self, size: QtCore.QSize) -> None: ... + def started(self) -> None: ... def setCacheMode(self, mode: 'QMovie.CacheMode') -> None: ... def cacheMode(self) -> 'QMovie.CacheMode': ... def setScaledSize(self, size: QtCore.QSize) -> None: ... @@ -3796,7 +3797,7 @@ class QOffscreenSurface(QtCore.QObject, QSurface): def setNativeHandle(self, handle: sip.voidptr) -> None: ... def nativeHandle(self) -> sip.voidptr: ... - screenChanged: typing.ClassVar[QtCore.pyqtSignal] + def screenChanged(self, screen: 'QScreen') -> None: ... def setScreen(self, screen: 'QScreen') -> None: ... def screen(self) -> 'QScreen': ... def size(self) -> QtCore.QSize: ... @@ -3945,7 +3946,7 @@ class QOpenGLContext(QtCore.QObject): @staticmethod def openGLModuleHandle() -> sip.voidptr: ... def versionFunctions(self, versionProfile: typing.Optional['QOpenGLVersionProfile'] = ...) -> typing.Any: ... - aboutToBeDestroyed: typing.ClassVar[QtCore.pyqtSignal] + def aboutToBeDestroyed(self) -> None: ... def hasExtension(self, extension: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def extensions(self) -> typing.Set[QtCore.QByteArray]: ... @staticmethod @@ -4120,7 +4121,8 @@ class QOpenGLDebugLogger(QtCore.QObject): SynchronousLogging = ... # type: QOpenGLDebugLogger.LoggingMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - messageLogged: typing.ClassVar[QtCore.pyqtSignal] + + def messageLogged(self, debugMessage: QOpenGLDebugMessage) -> None: ... def stopLogging(self) -> None: ... def startLogging(self, loggingMode: 'QOpenGLDebugLogger.LoggingMode' = ...) -> None: ... def logMessage(self, debugMessage: QOpenGLDebugMessage) -> None: ... @@ -5546,7 +5548,7 @@ class QOpenGLWindow(QPaintDeviceWindow): def paintGL(self) -> None: ... def resizeGL(self, w: int, h: int) -> None: ... def initializeGL(self) -> None: ... - frameSwapped: typing.ClassVar[QtCore.pyqtSignal] + def frameSwapped(self) -> None: ... def shareContext(self) -> QOpenGLContext: ... def grabFramebuffer(self) -> QImage: ... def defaultFramebufferObject(self) -> int: ... @@ -8086,15 +8088,15 @@ class QScreen(QtCore.QObject): def serialNumber(self) -> str: ... def model(self) -> str: ... def manufacturer(self) -> str: ... - availableGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] - virtualGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] - physicalSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - refreshRateChanged: typing.ClassVar[QtCore.pyqtSignal] - orientationChanged: typing.ClassVar[QtCore.pyqtSignal] - primaryOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] - logicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] - physicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] - geometryChanged: typing.ClassVar[QtCore.pyqtSignal] + def availableGeometryChanged(self, geometry: QtCore.QRect) -> None: ... + def virtualGeometryChanged(self, rect: QtCore.QRect) -> None: ... + def physicalSizeChanged(self, size: QtCore.QSizeF) -> None: ... + def refreshRateChanged(self, refreshRate: float) -> None: ... + def orientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def primaryOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... + def logicalDotsPerInchChanged(self, dpi: float) -> None: ... + def physicalDotsPerInchChanged(self, dpi: float) -> None: ... + def geometryChanged(self, geometry: QtCore.QRect) -> None: ... def devicePixelRatio(self) -> float: ... def refreshRate(self) -> float: ... def grabWindow(self, window: sip.voidptr, x: int = ..., y: int = ..., width: int = ..., height: int = ...) -> QPixmap: ... @@ -8169,7 +8171,7 @@ class QStandardItemModel(QtCore.QAbstractItemModel): def __init__(self, rows: int, columns: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def clearItemData(self, index: QtCore.QModelIndex) -> bool: ... - itemChanged: typing.ClassVar[QtCore.pyqtSignal] + def itemChanged(self, item: 'QStandardItem') -> None: ... def setItemRoleNames(self, roleNames: typing.Dict[int, typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> None: ... def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ... def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... @@ -8390,24 +8392,24 @@ class QStyleHints(QtCore.QObject): def touchDoubleTapDistance(self) -> int: ... def mouseDoubleClickDistance(self) -> int: ... - showShortcutsInContextMenusChanged: typing.ClassVar[QtCore.pyqtSignal] + def showShortcutsInContextMenusChanged(self, a0: bool) -> None: ... def setShowShortcutsInContextMenus(self, showShortcutsInContextMenus: bool) -> None: ... - mouseQuickSelectionThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] + def mouseQuickSelectionThresholdChanged(self, threshold: int) -> None: ... def mouseQuickSelectionThreshold(self) -> int: ... def showShortcutsInContextMenus(self) -> bool: ... - wheelScrollLinesChanged: typing.ClassVar[QtCore.pyqtSignal] + def wheelScrollLinesChanged(self, scrollLines: int) -> None: ... def wheelScrollLines(self) -> int: ... - useHoverEffectsChanged: typing.ClassVar[QtCore.pyqtSignal] + def useHoverEffectsChanged(self, useHoverEffects: bool) -> None: ... def setUseHoverEffects(self, useHoverEffects: bool) -> None: ... def useHoverEffects(self) -> bool: ... def showIsMaximized(self) -> bool: ... - tabFocusBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] - mousePressAndHoldIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] - startDragTimeChanged: typing.ClassVar[QtCore.pyqtSignal] - startDragDistanceChanged: typing.ClassVar[QtCore.pyqtSignal] - mouseDoubleClickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] - keyboardInputIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] - cursorFlashTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + def tabFocusBehaviorChanged(self, tabFocusBehavior: QtCore.Qt.TabFocusBehavior) -> None: ... + def mousePressAndHoldIntervalChanged(self, mousePressAndHoldInterval: int) -> None: ... + def startDragTimeChanged(self, startDragTime: int) -> None: ... + def startDragDistanceChanged(self, startDragDistance: int) -> None: ... + def mouseDoubleClickIntervalChanged(self, mouseDoubleClickInterval: int) -> None: ... + def keyboardInputIntervalChanged(self, keyboardInputInterval: int) -> None: ... + def cursorFlashTimeChanged(self, cursorFlashTime: int) -> None: ... def singleClickActivation(self) -> bool: ... def tabFocusBehavior(self) -> QtCore.Qt.TabFocusBehavior: ... def mousePressAndHoldInterval(self) -> int: ... @@ -8832,7 +8834,7 @@ class QTextDocument(QtCore.QObject): def setMarkdown(self, markdown: str, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> None: ... def toMarkdown(self, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> str: ... def toRawText(self) -> str: ... - baseUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + def baseUrlChanged(self, url: QtCore.QUrl) -> None: ... def setBaseUrl(self, url: QtCore.QUrl) -> None: ... def baseUrl(self) -> QtCore.QUrl: ... def setDefaultCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... @@ -8845,8 +8847,8 @@ class QTextDocument(QtCore.QObject): def setDocumentMargin(self, margin: float) -> None: ... def documentMargin(self) -> float: ... def characterAt(self, pos: int) -> str: ... - documentLayoutChanged: typing.ClassVar[QtCore.pyqtSignal] - undoCommandAdded: typing.ClassVar[QtCore.pyqtSignal] + def documentLayoutChanged(self) -> None: ... + def undoCommandAdded(self) -> None: ... def setIndentWidth(self, width: float) -> None: ... def indentWidth(self) -> float: ... def lastBlock(self) -> 'QTextBlock': ... @@ -8878,13 +8880,13 @@ class QTextDocument(QtCore.QObject): def undo(self) -> None: ... @typing.overload def undo(self, cursor: QTextCursor) -> None: ... - undoAvailable: typing.ClassVar[QtCore.pyqtSignal] - redoAvailable: typing.ClassVar[QtCore.pyqtSignal] - modificationChanged: typing.ClassVar[QtCore.pyqtSignal] - cursorPositionChanged: typing.ClassVar[QtCore.pyqtSignal] - contentsChanged: typing.ClassVar[QtCore.pyqtSignal] - contentsChange: typing.ClassVar[QtCore.pyqtSignal] - blockCountChanged: typing.ClassVar[QtCore.pyqtSignal] + def undoAvailable(self, a0: bool) -> None: ... + def redoAvailable(self, a0: bool) -> None: ... + def modificationChanged(self, m: bool) -> None: ... + def cursorPositionChanged(self, cursor: QTextCursor) -> None: ... + def contentsChanged(self) -> None: ... + def contentsChange(self, from_: int, charsRemoves: int, charsAdded: int) -> None: ... + def blockCountChanged(self, newBlockCount: int) -> None: ... def useDesignMetrics(self) -> bool: ... def setUseDesignMetrics(self, b: bool) -> None: ... def markContentsDirty(self, from_: int, length: int) -> None: ... @@ -10311,7 +10313,8 @@ class QValidator(QtCore.QObject): Acceptable = ... # type: QValidator.State def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - changed: typing.ClassVar[QtCore.pyqtSignal] + + def changed(self) -> None: ... def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def fixup(self, a0: str) -> str: ... diff --git a/PyQt5-stubs/QtHelp.pyi b/PyQt5-stubs/QtHelp.pyi index 4b2dca21..0b87c478 100644 --- a/PyQt5-stubs/QtHelp.pyi +++ b/PyQt5-stubs/QtHelp.pyi @@ -68,8 +68,9 @@ class QHelpContentItem(sip.simplewrapper): class QHelpContentModel(QtCore.QAbstractItemModel): - contentsCreated: typing.ClassVar[QtCore.pyqtSignal] - contentsCreationStarted: typing.ClassVar[QtCore.pyqtSignal] + + def contentsCreated(self) -> None: ... + def contentsCreationStarted(self) -> None: ... def isCreatingContents(self) -> bool: ... def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... @@ -81,7 +82,8 @@ class QHelpContentModel(QtCore.QAbstractItemModel): class QHelpContentWidget(QtWidgets.QTreeView): - linkActivated: typing.ClassVar[QtCore.pyqtSignal] + + def linkActivated(self, link: QtCore.QUrl) -> None: ... def indexOf(self, link: QtCore.QUrl) -> QtCore.QModelIndex: ... @@ -100,11 +102,11 @@ class QHelpEngineCore(QtCore.QObject): def usesFilterEngine(self) -> bool: ... def setUsesFilterEngine(self, uses: bool) -> None: ... def filterEngine(self) -> 'QHelpFilterEngine': ... - readersAboutToBeInvalidated: typing.ClassVar[QtCore.pyqtSignal] - warning: typing.ClassVar[QtCore.pyqtSignal] - currentFilterChanged: typing.ClassVar[QtCore.pyqtSignal] - setupFinished: typing.ClassVar[QtCore.pyqtSignal] - setupStarted: typing.ClassVar[QtCore.pyqtSignal] + def readersAboutToBeInvalidated(self) -> None: ... + def warning(self, msg: str) -> None: ... + def currentFilterChanged(self, newFilter: str) -> None: ... + def setupFinished(self) -> None: ... + def setupStarted(self) -> None: ... def setAutoSaveFilter(self, save: bool) -> None: ... def autoSaveFilter(self) -> bool: ... def error(self) -> str: ... @@ -175,7 +177,7 @@ class QHelpFilterEngine(QtCore.QObject): @typing.overload def indices(self, filterName: str) -> typing.List[str]: ... def availableVersions(self) -> typing.List[QtCore.QVersionNumber]: ... - filterActivated: typing.ClassVar[QtCore.pyqtSignal] + def filterActivated(self, newFilter: str) -> None: ... def namespacesForFilter(self, filterName: str) -> typing.List[str]: ... def removeFilter(self, filterName: str) -> bool: ... def setFilterData(self, filterName: str, filterData: QHelpFilterData) -> bool: ... @@ -199,8 +201,9 @@ class QHelpFilterSettingsWidget(QtWidgets.QWidget): class QHelpIndexModel(QtCore.QStringListModel): - indexCreated: typing.ClassVar[QtCore.pyqtSignal] - indexCreationStarted: typing.ClassVar[QtCore.pyqtSignal] + + def indexCreated(self) -> None: ... + def indexCreationStarted(self) -> None: ... def isCreatingIndex(self) -> bool: ... def linksForKeyword(self, keyword: str) -> typing.Dict[str, QtCore.QUrl]: ... def filter(self, filter: str, wildcard: str = ...) -> QtCore.QModelIndex: ... @@ -209,12 +212,13 @@ class QHelpIndexModel(QtCore.QStringListModel): class QHelpIndexWidget(QtWidgets.QListView): - documentsActivated: typing.ClassVar[QtCore.pyqtSignal] - documentActivated: typing.ClassVar[QtCore.pyqtSignal] + + def documentsActivated(self, documents: typing.Iterable['QHelpLink'], keyword: str) -> None: ... + def documentActivated(self, document: 'QHelpLink', keyword: str) -> None: ... def activateCurrentItem(self) -> None: ... def filterIndices(self, filter: str, wildcard: str = ...) -> None: ... - linksActivated: typing.ClassVar[QtCore.pyqtSignal] - linkActivated: typing.ClassVar[QtCore.pyqtSignal] + def linksActivated(self, links: typing.Dict[str, QtCore.QUrl], keyword: str) -> None: ... + def linkActivated(self, link: QtCore.QUrl, keyword: str) -> None: ... class QHelpLink(sip.simplewrapper): @@ -260,10 +264,10 @@ class QHelpSearchEngine(QtCore.QObject): def searchInput(self) -> str: ... def searchResults(self, start: int, end: int) -> typing.List['QHelpSearchResult']: ... def searchResultCount(self) -> int: ... - searchingFinished: typing.ClassVar[QtCore.pyqtSignal] - searchingStarted: typing.ClassVar[QtCore.pyqtSignal] - indexingFinished: typing.ClassVar[QtCore.pyqtSignal] - indexingStarted: typing.ClassVar[QtCore.pyqtSignal] + def searchingFinished(self, hits: int) -> None: ... + def searchingStarted(self) -> None: ... + def indexingFinished(self) -> None: ... + def indexingStarted(self) -> None: ... def cancelSearching(self) -> None: ... @typing.overload def search(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -300,7 +304,7 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): def searchInput(self) -> str: ... def setCompactMode(self, on: bool) -> None: ... def isCompactMode(self) -> bool: ... - search: typing.ClassVar[QtCore.pyqtSignal] + def search(self) -> None: ... def collapseExtendedSearch(self) -> None: ... def expandExtendedSearch(self) -> None: ... def setQuery(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -308,5 +312,6 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): class QHelpSearchResultWidget(QtWidgets.QWidget): - requestShowLink: typing.ClassVar[QtCore.pyqtSignal] + + def requestShowLink(self, url: QtCore.QUrl) -> None: ... def linkAt(self, point: QtCore.QPoint) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtLocation.pyi b/PyQt5-stubs/QtLocation.pyi index 492c2180..3926f660 100644 --- a/PyQt5-stubs/QtLocation.pyi +++ b/PyQt5-stubs/QtLocation.pyi @@ -64,21 +64,25 @@ class QGeoCodeReply(QtCore.QObject): def setViewport(self, viewport: QtPositioning.QGeoShape) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoCodeReply.Error', errorString: str) -> None: ... - finished: typing.ClassVar[QtCore.pyqtSignal] - aborted: typing.ClassVar[QtCore.pyqtSignal] + def finished(self) -> None: ... + def aborted(self) -> None: ... def abort(self) -> None: ... def offset(self) -> int: ... def limit(self) -> int: ... def locations(self) -> typing.List[QtPositioning.QGeoLocation]: ... def viewport(self) -> QtPositioning.QGeoShape: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QGeoCodeReply.Error': ... + @typing.overload + def error(self, error: 'QGeoCodeReply.Error', errorString: str = ...) -> None: ... def isFinished(self) -> bool: ... class QGeoCodingManager(QtCore.QObject): - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoCodeReply) -> None: ... def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... @@ -93,8 +97,9 @@ class QGeoCodingManager(QtCore.QObject): class QGeoCodingManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoCodeReply) -> None: ... def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... @@ -225,13 +230,16 @@ class QGeoRouteReply(QtCore.QObject): def setRoutes(self, routes: typing.Iterable[QGeoRoute]) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoRouteReply.Error', errorString: str) -> None: ... - finished: typing.ClassVar[QtCore.pyqtSignal] - aborted: typing.ClassVar[QtCore.pyqtSignal] + def finished(self) -> None: ... + def aborted(self) -> None: ... def abort(self) -> None: ... def routes(self) -> typing.List[QGeoRoute]: ... def request(self) -> 'QGeoRouteRequest': ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QGeoRouteReply.Error': ... + @typing.overload + def error(self, error: 'QGeoRouteReply.Error', errorString: str = ...) -> None: ... def isFinished(self) -> bool: ... @@ -455,8 +463,9 @@ class QGeoRouteSegment(sip.simplewrapper): class QGeoRoutingManager(QtCore.QObject): - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoRouteReply) -> None: ... def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -483,8 +492,8 @@ class QGeoRoutingManagerEngine(QtCore.QObject): def setSupportedFeatureWeights(self, featureWeights: typing.Union[QGeoRouteRequest.FeatureWeights, QGeoRouteRequest.FeatureWeight]) -> None: ... def setSupportedFeatureTypes(self, featureTypes: typing.Union[QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.FeatureType]) -> None: ... def setSupportedTravelModes(self, travelModes: typing.Union[QGeoRouteRequest.TravelModes, QGeoRouteRequest.TravelMode]) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QGeoRouteReply) -> None: ... def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -921,11 +930,14 @@ class QPlaceReply(QtCore.QObject): def setError(self, error: 'QPlaceReply.Error', errorString: str) -> None: ... def setFinished(self, finished: bool) -> None: ... - contentUpdated: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - aborted: typing.ClassVar[QtCore.pyqtSignal] + def contentUpdated(self) -> None: ... + def finished(self) -> None: ... + def aborted(self) -> None: ... def abort(self) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QPlaceReply.Error': ... + @typing.overload + def error(self, error: 'QPlaceReply.Error', errorString: str = ...) -> None: ... def errorString(self) -> str: ... def type(self) -> 'QPlaceReply.Type': ... def isFinished(self) -> bool: ... @@ -1048,15 +1060,16 @@ class QPlaceImage(QPlaceContent): class QPlaceManager(QtCore.QObject): - dataChanged: typing.ClassVar[QtCore.pyqtSignal] - categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] - categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] - categoryAdded: typing.ClassVar[QtCore.pyqtSignal] - placeRemoved: typing.ClassVar[QtCore.pyqtSignal] - placeUpdated: typing.ClassVar[QtCore.pyqtSignal] - placeAdded: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + + def dataChanged(self) -> None: ... + def categoryRemoved(self, categoryId: str, parentId: str) -> None: ... + def categoryUpdated(self, category: QPlaceCategory, parentId: str) -> None: ... + def categoryAdded(self, category: QPlaceCategory, parentId: str) -> None: ... + def placeRemoved(self, placeId: str) -> None: ... + def placeUpdated(self, placeId: str) -> None: ... + def placeAdded(self, placeId: str) -> None: ... + def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QPlaceReply) -> None: ... def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, place: QPlace) -> QPlace: ... def setLocales(self, locale: typing.Iterable[QtCore.QLocale]) -> None: ... @@ -1084,15 +1097,15 @@ class QPlaceManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def manager(self) -> QPlaceManager: ... - dataChanged: typing.ClassVar[QtCore.pyqtSignal] - categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] - categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] - categoryAdded: typing.ClassVar[QtCore.pyqtSignal] - placeRemoved: typing.ClassVar[QtCore.pyqtSignal] - placeUpdated: typing.ClassVar[QtCore.pyqtSignal] - placeAdded: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def dataChanged(self) -> None: ... + def categoryRemoved(self, categoryId: str, parentCategoryId: str) -> None: ... + def categoryUpdated(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... + def categoryAdded(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... + def placeRemoved(self, placeId: str) -> None: ... + def placeUpdated(self, placeId: str) -> None: ... + def placeAdded(self, placeId: str) -> None: ... + def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... + def finished(self, reply: QPlaceReply) -> None: ... def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, original: QPlace) -> QPlace: ... def constructIconUrl(self, icon: QPlaceIcon, size: QtCore.QSize) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtMultimedia.pyi b/PyQt5-stubs/QtMultimedia.pyi index d57f1f63..e574b8cd 100644 --- a/PyQt5-stubs/QtMultimedia.pyi +++ b/PyQt5-stubs/QtMultimedia.pyi @@ -114,7 +114,8 @@ class QVideoFilterRunnable(sip.simplewrapper): class QAbstractVideoFilter(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - activeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def activeChanged(self) -> None: ... def createFilterRunnable(self) -> QVideoFilterRunnable: ... def isActive(self) -> bool: ... @@ -135,13 +136,14 @@ class QAbstractVideoSurface(QtCore.QObject): ResourceError = ... # type: QAbstractVideoSurface.Error def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - nativeResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + + def nativeResolutionChanged(self, a0: QtCore.QSize) -> None: ... def setNativeResolution(self, resolution: QtCore.QSize) -> None: ... def nativeResolution(self) -> QtCore.QSize: ... def setError(self, error: 'QAbstractVideoSurface.Error') -> None: ... - supportedFormatsChanged: typing.ClassVar[QtCore.pyqtSignal] - surfaceFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - activeChanged: typing.ClassVar[QtCore.pyqtSignal] + def supportedFormatsChanged(self) -> None: ... + def surfaceFormatChanged(self, format: 'QVideoSurfaceFormat') -> None: ... + def activeChanged(self, active: bool) -> None: ... def error(self) -> 'QAbstractVideoSurface.Error': ... def present(self, frame: 'QVideoFrame') -> bool: ... def isActive(self) -> bool: ... @@ -255,10 +257,16 @@ class QMediaObject(QtCore.QObject): def removePropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def addPropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - notifyIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + @typing.overload + def availabilityChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + def metaDataAvailableChanged(self, available: bool) -> None: ... + def notifyIntervalChanged(self, milliSeconds: int) -> None: ... def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -297,14 +305,14 @@ class QAudioDecoder(QMediaObject): def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] - formatChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - bufferReady: typing.ClassVar[QtCore.pyqtSignal] - bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + def durationChanged(self, duration: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def sourceChanged(self) -> None: ... + def formatChanged(self, format: 'QAudioFormat') -> None: ... + def stateChanged(self, newState: 'QAudioDecoder.State') -> None: ... + def finished(self) -> None: ... + def bufferReady(self) -> None: ... + def bufferAvailableChanged(self, a0: bool) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... def duration(self) -> int: ... @@ -312,7 +320,10 @@ class QAudioDecoder(QMediaObject): def bufferAvailable(self) -> bool: ... def read(self) -> QAudioBuffer: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QAudioDecoder.Error': ... + @typing.overload + def error(self, error: 'QAudioDecoder.Error') -> None: ... def setAudioFormat(self, format: 'QAudioFormat') -> None: ... def audioFormat(self) -> 'QAudioFormat': ... def setSourceDevice(self, device: QtCore.QIODevice) -> None: ... @@ -332,15 +343,16 @@ class QMediaControl(QtCore.QObject): class QAudioDecoderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - bufferReady: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] - formatChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def durationChanged(self, duration: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def finished(self) -> None: ... + def bufferAvailableChanged(self, available: bool) -> None: ... + def bufferReady(self) -> None: ... + def error(self, error: int, errorString: str) -> None: ... + def sourceChanged(self) -> None: ... + def formatChanged(self, format: 'QAudioFormat') -> None: ... + def stateChanged(self, newState: QAudioDecoder.State) -> None: ... def duration(self) -> int: ... def position(self) -> int: ... def bufferAvailable(self) -> bool: ... @@ -450,8 +462,8 @@ class QAudioInput(QtCore.QObject): def volume(self) -> float: ... def setVolume(self, volume: float) -> None: ... - notify: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def notify(self) -> None: ... + def stateChanged(self, a0: QAudio.State) -> None: ... def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -476,8 +488,9 @@ class QAudioInput(QtCore.QObject): class QAudioInputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - availableInputsChanged: typing.ClassVar[QtCore.pyqtSignal] - activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] + + def availableInputsChanged(self) -> None: ... + def activeInputChanged(self, name: str) -> None: ... def setActiveInput(self, name: str) -> None: ... def activeInput(self) -> str: ... def defaultInput(self) -> str: ... @@ -496,8 +509,8 @@ class QAudioOutput(QtCore.QObject): def category(self) -> str: ... def volume(self) -> float: ... def setVolume(self, a0: float) -> None: ... - notify: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def notify(self) -> None: ... + def stateChanged(self, a0: QAudio.State) -> None: ... def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -522,8 +535,9 @@ class QAudioOutput(QtCore.QObject): class QAudioOutputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - availableOutputsChanged: typing.ClassVar[QtCore.pyqtSignal] - activeOutputChanged: typing.ClassVar[QtCore.pyqtSignal] + + def availableOutputsChanged(self) -> None: ... + def activeOutputChanged(self, name: str) -> None: ... def setActiveOutput(self, name: str) -> None: ... def activeOutput(self) -> str: ... def defaultOutput(self) -> str: ... @@ -534,8 +548,9 @@ class QAudioOutputSelectorControl(QMediaControl): class QAudioProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - flush: typing.ClassVar[QtCore.pyqtSignal] - audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] + + def flush(self) -> None: ... + def audioBufferProbed(self, audioBuffer: QAudioBuffer) -> None: ... def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -598,16 +613,22 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataWritableChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + @typing.overload + def availabilityChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + def metaDataWritableChanged(self, writable: bool) -> None: ... + def metaDataAvailableChanged(self, available: bool) -> None: ... + def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... + def volumeChanged(self, volume: float) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def statusChanged(self, status: 'QMediaRecorder.Status') -> None: ... + def stateChanged(self, state: 'QMediaRecorder.State') -> None: ... def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def stop(self) -> None: ... @@ -638,7 +659,10 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def isMuted(self) -> bool: ... def duration(self) -> int: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QMediaRecorder.Error': ... + @typing.overload + def error(self, error: 'QMediaRecorder.Error') -> None: ... def status(self) -> 'QMediaRecorder.Status': ... def state(self) -> 'QMediaRecorder.State': ... def actualLocation(self) -> QtCore.QUrl: ... @@ -652,8 +676,9 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): class QAudioRecorder(QMediaRecorder): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - availableAudioInputsChanged: typing.ClassVar[QtCore.pyqtSignal] - audioInputChanged: typing.ClassVar[QtCore.pyqtSignal] + + def availableAudioInputsChanged(self) -> None: ... + def audioInputChanged(self, name: str) -> None: ... def setAudioInput(self, name: str) -> None: ... def audioInput(self) -> str: ... def audioInputDescription(self, name: str) -> str: ... @@ -664,7 +689,8 @@ class QAudioRecorder(QMediaRecorder): class QAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def audioRoleChanged(self, role: QAudio.Role) -> None: ... def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, role: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... @@ -823,13 +849,16 @@ class QCamera(QMediaObject): def supportedViewfinderSettings(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QCameraViewfinderSettings']: ... def setViewfinderSettings(self, settings: 'QCameraViewfinderSettings') -> None: ... def viewfinderSettings(self) -> 'QCameraViewfinderSettings': ... - errorOccurred: typing.ClassVar[QtCore.pyqtSignal] - lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - lockFailed: typing.ClassVar[QtCore.pyqtSignal] - locked: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def errorOccurred(self, a0: 'QCamera.Error') -> None: ... + @typing.overload + def lockStatusChanged(self, a0: 'QCamera.LockStatus', a1: 'QCamera.LockChangeReason') -> None: ... + @typing.overload + def lockStatusChanged(self, a0: 'QCamera.LockType', a1: 'QCamera.LockStatus', a2: 'QCamera.LockChangeReason') -> None: ... + def lockFailed(self) -> None: ... + def locked(self) -> None: ... + def statusChanged(self, a0: 'QCamera.Status') -> None: ... + def captureModeChanged(self, a0: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... + def stateChanged(self, a0: 'QCamera.State') -> None: ... @typing.overload def unlock(self) -> None: ... @typing.overload @@ -850,7 +879,10 @@ class QCamera(QMediaObject): def requestedLocks(self) -> 'QCamera.LockTypes': ... def supportedLocks(self) -> 'QCamera.LockTypes': ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QCamera.Error': ... + @typing.overload + def error(self, a0: 'QCamera.Error') -> None: ... @typing.overload def setViewfinder(self, viewfinder: QtMultimediaWidgets.QVideoWidget) -> None: ... @typing.overload @@ -874,7 +906,8 @@ class QCamera(QMediaObject): class QCameraCaptureBufferFormatControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + + def bufferFormatChanged(self, format: 'QVideoFrame.PixelFormat') -> None: ... def setBufferFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... def bufferFormat(self) -> 'QVideoFrame.PixelFormat': ... def supportedBufferFormats(self) -> typing.List['QVideoFrame.PixelFormat']: ... @@ -883,7 +916,8 @@ class QCameraCaptureBufferFormatControl(QMediaControl): class QCameraCaptureDestinationControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def captureDestinationChanged(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... def captureDestination(self) -> 'QCameraImageCapture.CaptureDestinations': ... def isCaptureDestinationSupported(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> bool: ... @@ -905,10 +939,11 @@ class QCameraControl(QMediaControl): ViewfinderSettings = ... # type: QCameraControl.PropertyChangeType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def captureModeChanged(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... + def error(self, error: int, errorString: str) -> None: ... + def statusChanged(self, a0: QCamera.Status) -> None: ... + def stateChanged(self, a0: QCamera.State) -> None: ... def canChangeProperty(self, changeType: 'QCameraControl.PropertyChangeType', status: QCamera.Status) -> bool: ... def isCaptureModeSupported(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> bool: ... def setCaptureMode(self, a0: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... @@ -1013,13 +1048,14 @@ class QCameraExposure(QtCore.QObject): def __invert__(self) -> 'QCameraExposure.FlashModes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - exposureCompensationChanged: typing.ClassVar[QtCore.pyqtSignal] - isoSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] - shutterSpeedRangeChanged: typing.ClassVar[QtCore.pyqtSignal] - shutterSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] - apertureRangeChanged: typing.ClassVar[QtCore.pyqtSignal] - apertureChanged: typing.ClassVar[QtCore.pyqtSignal] - flashReady: typing.ClassVar[QtCore.pyqtSignal] + + def exposureCompensationChanged(self, a0: float) -> None: ... + def isoSensitivityChanged(self, a0: int) -> None: ... + def shutterSpeedRangeChanged(self) -> None: ... + def shutterSpeedChanged(self, a0: float) -> None: ... + def apertureRangeChanged(self) -> None: ... + def apertureChanged(self, a0: float) -> None: ... + def flashReady(self, a0: bool) -> None: ... def setAutoShutterSpeed(self) -> None: ... def setManualShutterSpeed(self, seconds: float) -> None: ... def setAutoAperture(self) -> None: ... @@ -1080,9 +1116,10 @@ class QCameraExposureControl(QMediaControl): ExtendedExposureParameter = ... # type: QCameraExposureControl.ExposureParameter def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - parameterRangeChanged: typing.ClassVar[QtCore.pyqtSignal] - actualValueChanged: typing.ClassVar[QtCore.pyqtSignal] - requestedValueChanged: typing.ClassVar[QtCore.pyqtSignal] + + def parameterRangeChanged(self, parameter: int) -> None: ... + def actualValueChanged(self, parameter: int) -> None: ... + def requestedValueChanged(self, parameter: int) -> None: ... def setValue(self, parameter: 'QCameraExposureControl.ExposureParameter', value: typing.Any) -> bool: ... def actualValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... def requestedValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... @@ -1129,7 +1166,8 @@ class QCameraFeedbackControl(QMediaControl): class QCameraFlashControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - flashReady: typing.ClassVar[QtCore.pyqtSignal] + + def flashReady(self, a0: bool) -> None: ... def isFlashReady(self) -> bool: ... def isFlashModeSupported(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> bool: ... def setFlashMode(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> None: ... @@ -1198,11 +1236,12 @@ class QCameraFocus(QtCore.QObject): def __invert__(self) -> 'QCameraFocus.FocusModes': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] - digitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - opticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + + def maximumDigitalZoomChanged(self, a0: float) -> None: ... + def maximumOpticalZoomChanged(self, a0: float) -> None: ... + def focusZonesChanged(self) -> None: ... + def digitalZoomChanged(self, a0: float) -> None: ... + def opticalZoomChanged(self, a0: float) -> None: ... def zoomTo(self, opticalZoom: float, digitalZoom: float) -> None: ... def digitalZoom(self) -> float: ... def opticalZoom(self) -> float: ... @@ -1223,10 +1262,11 @@ class QCameraFocus(QtCore.QObject): class QCameraFocusControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] - customFocusPointChanged: typing.ClassVar[QtCore.pyqtSignal] - focusPointModeChanged: typing.ClassVar[QtCore.pyqtSignal] - focusModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def focusZonesChanged(self) -> None: ... + def customFocusPointChanged(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def focusPointModeChanged(self, mode: QCameraFocus.FocusPointMode) -> None: ... + def focusModeChanged(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> None: ... def focusZones(self) -> typing.List[QCameraFocusZone]: ... def setCustomFocusPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... def customFocusPoint(self) -> QtCore.QPointF: ... @@ -1285,14 +1325,14 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - imageSaved: typing.ClassVar[QtCore.pyqtSignal] - imageAvailable: typing.ClassVar[QtCore.pyqtSignal] - imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] - imageCaptured: typing.ClassVar[QtCore.pyqtSignal] - imageExposed: typing.ClassVar[QtCore.pyqtSignal] - captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] - bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] + def imageSaved(self, id: int, fileName: str) -> None: ... + def imageAvailable(self, id: int, image: 'QVideoFrame') -> None: ... + def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... + def imageCaptured(self, id: int, preview: QtGui.QImage) -> None: ... + def imageExposed(self, id: int) -> None: ... + def captureDestinationChanged(self, a0: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + def bufferFormatChanged(self, a0: 'QVideoFrame.PixelFormat') -> None: ... + def readyForCaptureChanged(self, a0: bool) -> None: ... def cancelCapture(self) -> None: ... def capture(self, file: str = ...) -> int: ... def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... @@ -1308,7 +1348,10 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def supportedImageCodecs(self) -> typing.List[str]: ... def isReadyForCapture(self) -> bool: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QCameraImageCapture.Error': ... + @typing.overload + def error(self, id: int, error: 'QCameraImageCapture.Error', errorString: str) -> None: ... def mediaObject(self) -> QMediaObject: ... def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def isAvailable(self) -> bool: ... @@ -1317,13 +1360,14 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): class QCameraImageCaptureControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - imageSaved: typing.ClassVar[QtCore.pyqtSignal] - imageAvailable: typing.ClassVar[QtCore.pyqtSignal] - imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] - imageCaptured: typing.ClassVar[QtCore.pyqtSignal] - imageExposed: typing.ClassVar[QtCore.pyqtSignal] - readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, id: int, error: int, errorString: str) -> None: ... + def imageSaved(self, requestId: int, fileName: str) -> None: ... + def imageAvailable(self, requestId: int, buffer: 'QVideoFrame') -> None: ... + def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... + def imageCaptured(self, requestId: int, preview: QtGui.QImage) -> None: ... + def imageExposed(self, requestId: int) -> None: ... + def readyForCaptureChanged(self, ready: bool) -> None: ... def cancelCapture(self) -> None: ... def capture(self, fileName: str) -> int: ... def setDriveMode(self, mode: QCameraImageCapture.DriveMode) -> None: ... @@ -1472,7 +1516,8 @@ class QCameraInfoControl(QMediaControl): class QCameraLocksControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + + def lockStatusChanged(self, type: QCamera.LockType, status: QCamera.LockStatus, reason: QCamera.LockChangeReason) -> None: ... def unlock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def searchAndLock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def lockStatus(self, lock: QCamera.LockType) -> QCamera.LockStatus: ... @@ -1542,12 +1587,13 @@ class QCameraViewfinderSettingsControl2(QMediaControl): class QCameraZoomControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - currentDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - currentOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - requestedDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - requestedOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] - maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + + def currentDigitalZoomChanged(self, digitalZoom: float) -> None: ... + def currentOpticalZoomChanged(self, opticalZoom: float) -> None: ... + def requestedDigitalZoomChanged(self, digitalZoom: float) -> None: ... + def requestedOpticalZoomChanged(self, opticalZoom: float) -> None: ... + def maximumDigitalZoomChanged(self, a0: float) -> None: ... + def maximumOpticalZoomChanged(self, a0: float) -> None: ... def zoomTo(self, optical: float, digital: float) -> None: ... def currentDigitalZoom(self) -> float: ... def currentOpticalZoom(self) -> float: ... @@ -1560,7 +1606,8 @@ class QCameraZoomControl(QMediaControl): class QCustomAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def customAudioRoleChanged(self, role: str) -> None: ... def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, role: str) -> None: ... def customAudioRole(self) -> str: ... @@ -1580,14 +1627,16 @@ class QImageEncoderControl(QMediaControl): class QMediaAudioProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - flush: typing.ClassVar[QtCore.pyqtSignal] - audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] + + def flush(self) -> None: ... + def audioBufferProbed(self, buffer: QAudioBuffer) -> None: ... class QMediaAvailabilityControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] + + def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... def availability(self) -> 'QMultimedia.AvailabilityStatus': ... @@ -1708,9 +1757,10 @@ class QImageEncoderSettings(sip.simplewrapper): class QMediaGaplessPlaybackControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - advancedToNextMedia: typing.ClassVar[QtCore.pyqtSignal] - nextMediaChanged: typing.ClassVar[QtCore.pyqtSignal] - crossfadeTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def advancedToNextMedia(self) -> None: ... + def nextMediaChanged(self, media: QMediaContent) -> None: ... + def crossfadeTimeChanged(self, crossfadeTime: float) -> None: ... def setCrossfadeTime(self, crossfadeTime: float) -> None: ... def crossfadeTime(self) -> float: ... def isCrossfadeSupported(self) -> bool: ... @@ -1816,7 +1866,8 @@ class QMediaMetaData(sip.simplewrapper): class QMediaNetworkAccessControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - configurationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def configurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... def currentConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def setConfigurations(self, configuration: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... @@ -1893,30 +1944,31 @@ class QMediaPlayer(QMediaObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> None: ... - customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + + def customAudioRoleChanged(self, role: str) -> None: ... def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, audioRole: str) -> None: ... def customAudioRole(self) -> str: ... - audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + def audioRoleChanged(self, role: QAudio.Role) -> None: ... def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, audioRole: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - networkConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] - playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] - seekableChanged: typing.ClassVar[QtCore.pyqtSignal] - bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] - mediaChanged: typing.ClassVar[QtCore.pyqtSignal] + def networkConfigurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... + def playbackRateChanged(self, rate: float) -> None: ... + def seekableChanged(self, seekable: bool) -> None: ... + def bufferStatusChanged(self, percentFilled: int) -> None: ... + def videoAvailableChanged(self, videoAvailable: bool) -> None: ... + def audioAvailableChanged(self, available: bool) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def positionChanged(self, position: int) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def mediaStatusChanged(self, status: 'QMediaPlayer.MediaStatus') -> None: ... + def stateChanged(self, newState: 'QMediaPlayer.State') -> None: ... + def currentMediaChanged(self, media: QMediaContent) -> None: ... + def mediaChanged(self, media: QMediaContent) -> None: ... def setNetworkConfigurations(self, configurations: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... def setPlaylist(self, playlist: 'QMediaPlaylist') -> None: ... def setMedia(self, media: QMediaContent, stream: typing.Optional[QtCore.QIODevice] = ...) -> None: ... @@ -1930,7 +1982,10 @@ class QMediaPlayer(QMediaObject): def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def currentNetworkConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QMediaPlayer.Error': ... + @typing.overload + def error(self, error: 'QMediaPlayer.Error') -> None: ... def playbackRate(self) -> float: ... def isSeekable(self) -> bool: ... def bufferStatus(self) -> int: ... @@ -1963,20 +2018,21 @@ class QMediaPlayer(QMediaObject): class QMediaPlayerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] - availablePlaybackRangesChanged: typing.ClassVar[QtCore.pyqtSignal] - seekableChanged: typing.ClassVar[QtCore.pyqtSignal] - bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - positionChanged: typing.ClassVar[QtCore.pyqtSignal] - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - mediaChanged: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, error: int, errorString: str) -> None: ... + def playbackRateChanged(self, rate: float) -> None: ... + def availablePlaybackRangesChanged(self, ranges: 'QMediaTimeRange') -> None: ... + def seekableChanged(self, seekable: bool) -> None: ... + def bufferStatusChanged(self, percentFilled: int) -> None: ... + def videoAvailableChanged(self, videoAvailable: bool) -> None: ... + def audioAvailableChanged(self, audioAvailable: bool) -> None: ... + def mutedChanged(self, mute: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def mediaStatusChanged(self, status: QMediaPlayer.MediaStatus) -> None: ... + def stateChanged(self, newState: QMediaPlayer.State) -> None: ... + def positionChanged(self, position: int) -> None: ... + def durationChanged(self, duration: int) -> None: ... + def mediaChanged(self, content: QMediaContent) -> None: ... def stop(self) -> None: ... def pause(self) -> None: ... def play(self) -> None: ... @@ -2032,16 +2088,16 @@ class QMediaPlaylist(QtCore.QObject, QMediaBindableInterface): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - loadFailed: typing.ClassVar[QtCore.pyqtSignal] - loaded: typing.ClassVar[QtCore.pyqtSignal] - mediaChanged: typing.ClassVar[QtCore.pyqtSignal] - mediaRemoved: typing.ClassVar[QtCore.pyqtSignal] - mediaAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] - mediaInserted: typing.ClassVar[QtCore.pyqtSignal] - mediaAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] - currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] - playbackModeChanged: typing.ClassVar[QtCore.pyqtSignal] - currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + def loadFailed(self) -> None: ... + def loaded(self) -> None: ... + def mediaChanged(self, start: int, end: int) -> None: ... + def mediaRemoved(self, start: int, end: int) -> None: ... + def mediaAboutToBeRemoved(self, start: int, end: int) -> None: ... + def mediaInserted(self, start: int, end: int) -> None: ... + def mediaAboutToBeInserted(self, start: int, end: int) -> None: ... + def currentMediaChanged(self, a0: QMediaContent) -> None: ... + def playbackModeChanged(self, mode: 'QMediaPlaylist.PlaybackMode') -> None: ... + def currentIndexChanged(self, index: int) -> None: ... def setCurrentIndex(self, index: int) -> None: ... def previous(self) -> None: ... def next(self) -> None: ... @@ -2092,13 +2148,13 @@ class QMediaRecorderControl(QMediaControl): def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def setState(self, state: QMediaRecorder.State) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - durationChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def error(self, error: int, errorString: str) -> None: ... + def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... + def volumeChanged(self, volume: float) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def durationChanged(self, position: int) -> None: ... + def statusChanged(self, status: QMediaRecorder.Status) -> None: ... + def stateChanged(self, state: QMediaRecorder.State) -> None: ... def applySettings(self) -> None: ... def volume(self) -> float: ... def isMuted(self) -> bool: ... @@ -2171,8 +2227,9 @@ class QMediaStreamsControl(QMediaControl): DataStream = ... # type: QMediaStreamsControl.StreamType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - activeStreamsChanged: typing.ClassVar[QtCore.pyqtSignal] - streamsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def activeStreamsChanged(self) -> None: ... + def streamsChanged(self) -> None: ... def setActive(self, streamNumber: int, state: bool) -> None: ... def isActive(self, streamNumber: int) -> bool: ... def metaData(self, streamNumber: int, key: str) -> typing.Any: ... @@ -2230,15 +2287,20 @@ class QMediaTimeRange(sip.simplewrapper): class QMediaVideoProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - flush: typing.ClassVar[QtCore.pyqtSignal] - videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] + + def flush(self) -> None: ... + def videoFrameProbed(self, frame: 'QVideoFrame') -> None: ... class QMetaDataReaderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + + def metaDataAvailableChanged(self, available: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -2247,9 +2309,13 @@ class QMetaDataReaderControl(QMediaControl): class QMetaDataWriterControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] - writableChanged: typing.ClassVar[QtCore.pyqtSignal] - metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + + def metaDataAvailableChanged(self, available: bool) -> None: ... + def writableChanged(self, writable: bool) -> None: ... + @typing.overload + def metaDataChanged(self) -> None: ... + @typing.overload + def metaDataChanged(self, key: str, value: typing.Any) -> None: ... def availableMetaData(self) -> typing.List[str]: ... def setMetaData(self, key: str, value: typing.Any) -> None: ... def metaData(self, key: str) -> typing.Any: ... @@ -2421,15 +2487,18 @@ class QRadioData(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] - stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] - programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] - programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] + def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... + def radioTextChanged(self, radioText: str) -> None: ... + def stationNameChanged(self, stationName: str) -> None: ... + def programTypeNameChanged(self, programTypeName: str) -> None: ... + def programTypeChanged(self, programType: 'QRadioData.ProgramType') -> None: ... + def stationIdChanged(self, stationId: str) -> None: ... def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QRadioData.Error': ... + @typing.overload + def error(self, error: 'QRadioData.Error') -> None: ... def isAlternativeFrequenciesEnabled(self) -> bool: ... def radioText(self) -> str: ... def stationName(self) -> str: ... @@ -2443,14 +2512,18 @@ class QRadioData(QtCore.QObject, QMediaBindableInterface): class QRadioDataControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] - stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] - programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] - programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] + + def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... + def radioTextChanged(self, radioText: str) -> None: ... + def stationNameChanged(self, stationName: str) -> None: ... + def programTypeNameChanged(self, programTypeName: str) -> None: ... + def programTypeChanged(self, programType: QRadioData.ProgramType) -> None: ... + def stationIdChanged(self, stationId: str) -> None: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> QRadioData.Error: ... + @typing.overload + def error(self, err: QRadioData.Error) -> None: ... def isAlternativeFrequenciesEnabled(self) -> bool: ... def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def radioText(self) -> str: ... @@ -2510,16 +2583,17 @@ class QRadioTuner(QMediaObject): StoppedState = ... # type: QRadioTuner.State def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] - stationFound: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] - searchingChanged: typing.ClassVar[QtCore.pyqtSignal] - stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] - bandChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... + def stationFound(self, frequency: int, stationId: str) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def signalStrengthChanged(self, signalStrength: int) -> None: ... + def searchingChanged(self, searching: bool) -> None: ... + def stereoStatusChanged(self, stereo: bool) -> None: ... + def frequencyChanged(self, frequency: int) -> None: ... + def bandChanged(self, band: 'QRadioTuner.Band') -> None: ... + def stateChanged(self, state: 'QRadioTuner.State') -> None: ... def stop(self) -> None: ... def start(self) -> None: ... def setMuted(self, muted: bool) -> None: ... @@ -2532,7 +2606,10 @@ class QRadioTuner(QMediaObject): def searchForward(self) -> None: ... def radioData(self) -> QRadioData: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QRadioTuner.Error': ... + @typing.overload + def error(self, error: 'QRadioTuner.Error') -> None: ... def isAntennaConnected(self) -> bool: ... def isSearching(self) -> bool: ... def isMuted(self) -> bool: ... @@ -2553,18 +2630,22 @@ class QRadioTuner(QMediaObject): class QRadioTunerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] - stationFound: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] - searchingChanged: typing.ClassVar[QtCore.pyqtSignal] - stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] - frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] - bandChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... + def stationFound(self, frequency: int, stationId: str) -> None: ... + def mutedChanged(self, muted: bool) -> None: ... + def volumeChanged(self, volume: int) -> None: ... + def signalStrengthChanged(self, signalStrength: int) -> None: ... + def searchingChanged(self, searching: bool) -> None: ... + def stereoStatusChanged(self, stereo: bool) -> None: ... + def frequencyChanged(self, frequency: int) -> None: ... + def bandChanged(self, band: QRadioTuner.Band) -> None: ... + def stateChanged(self, state: QRadioTuner.State) -> None: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> QRadioTuner.Error: ... + @typing.overload + def error(self, err: QRadioTuner.Error) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... def cancelSearch(self) -> None: ... @@ -2638,15 +2719,15 @@ class QSoundEffect(QtCore.QObject): def stop(self) -> None: ... def play(self) -> None: ... - categoryChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - playingChanged: typing.ClassVar[QtCore.pyqtSignal] - loadedChanged: typing.ClassVar[QtCore.pyqtSignal] - mutedChanged: typing.ClassVar[QtCore.pyqtSignal] - volumeChanged: typing.ClassVar[QtCore.pyqtSignal] - loopsRemainingChanged: typing.ClassVar[QtCore.pyqtSignal] - loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + def categoryChanged(self) -> None: ... + def statusChanged(self) -> None: ... + def playingChanged(self) -> None: ... + def loadedChanged(self) -> None: ... + def mutedChanged(self) -> None: ... + def volumeChanged(self) -> None: ... + def loopsRemainingChanged(self) -> None: ... + def loopCountChanged(self) -> None: ... + def sourceChanged(self) -> None: ... def setCategory(self, category: str) -> None: ... def category(self) -> str: ... def status(self) -> 'QSoundEffect.Status': ... @@ -2668,8 +2749,12 @@ class QSoundEffect(QtCore.QObject): class QVideoDeviceSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - devicesChanged: typing.ClassVar[QtCore.pyqtSignal] - selectedDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] + + def devicesChanged(self) -> None: ... + @typing.overload + def selectedDeviceChanged(self, index: int) -> None: ... + @typing.overload + def selectedDeviceChanged(self, name: str) -> None: ... def setSelectedDevice(self, index: int) -> None: ... def selectedDevice(self) -> int: ... def defaultDevice(self) -> int: ... @@ -2832,8 +2917,9 @@ class QVideoFrame(sip.simplewrapper): class QVideoProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - flush: typing.ClassVar[QtCore.pyqtSignal] - videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] + + def flush(self) -> None: ... + def videoFrameProbed(self, videoFrame: QVideoFrame) -> None: ... def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -2914,12 +3000,13 @@ class QVideoSurfaceFormat(sip.simplewrapper): class QVideoWindowControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - saturationChanged: typing.ClassVar[QtCore.pyqtSignal] - hueChanged: typing.ClassVar[QtCore.pyqtSignal] - contrastChanged: typing.ClassVar[QtCore.pyqtSignal] - brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] - fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + + def nativeSizeChanged(self) -> None: ... + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtMultimediaWidgets.pyi b/PyQt5-stubs/QtMultimediaWidgets.pyi index d9b678fb..c7a0cc68 100644 --- a/PyQt5-stubs/QtMultimediaWidgets.pyi +++ b/PyQt5-stubs/QtMultimediaWidgets.pyi @@ -53,11 +53,11 @@ class QVideoWidget(QtWidgets.QWidget, QtMultimedia.QMediaBindableInterface): def hideEvent(self, event: QtGui.QHideEvent) -> None: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - saturationChanged: typing.ClassVar[QtCore.pyqtSignal] - hueChanged: typing.ClassVar[QtCore.pyqtSignal] - contrastChanged: typing.ClassVar[QtCore.pyqtSignal] - brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] - fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... def setSaturation(self, saturation: int) -> None: ... def setHue(self, hue: int) -> None: ... def setContrast(self, contrast: int) -> None: ... @@ -89,7 +89,7 @@ class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableI def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... def itemChange(self, change: QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... - nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + def nativeSizeChanged(self, size: QtCore.QSizeF) -> None: ... def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... def boundingRect(self) -> QtCore.QRectF: ... def nativeSize(self) -> QtCore.QSizeF: ... @@ -105,11 +105,12 @@ class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableI class QVideoWidgetControl(QtMultimedia.QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - saturationChanged: typing.ClassVar[QtCore.pyqtSignal] - hueChanged: typing.ClassVar[QtCore.pyqtSignal] - contrastChanged: typing.ClassVar[QtCore.pyqtSignal] - brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] - fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + + def saturationChanged(self, saturation: int) -> None: ... + def hueChanged(self, hue: int) -> None: ... + def contrastChanged(self, contrast: int) -> None: ... + def brightnessChanged(self, brightness: int) -> None: ... + def fullScreenChanged(self, fullScreen: bool) -> None: ... def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtNetwork.pyi b/PyQt5-stubs/QtNetwork.pyi index e7186771..4acd10cb 100644 --- a/PyQt5-stubs/QtNetwork.pyi +++ b/PyQt5-stubs/QtNetwork.pyi @@ -270,12 +270,12 @@ class QAbstractSocket(QtCore.QIODevice): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - errorOccurred: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] - connected: typing.ClassVar[QtCore.pyqtSignal] - hostFound: typing.ClassVar[QtCore.pyqtSignal] + def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: 'QAuthenticator') -> None: ... + def errorOccurred(self, a0: 'QAbstractSocket.SocketError') -> None: ... + def stateChanged(self, a0: 'QAbstractSocket.SocketState') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def hostFound(self) -> None: ... def proxy(self) -> 'QNetworkProxy': ... def setProxy(self, networkProxy: 'QNetworkProxy') -> None: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... @@ -286,7 +286,10 @@ class QAbstractSocket(QtCore.QIODevice): def atEnd(self) -> bool: ... def isSequential(self) -> bool: ... def close(self) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QAbstractSocket.SocketError': ... + @typing.overload + def error(self, a0: 'QAbstractSocket.SocketError') -> None: ... def state(self) -> 'QAbstractSocket.SocketState': ... def socketType(self) -> 'QAbstractSocket.SocketType': ... def socketDescriptor(self) -> sip.voidptr: ... @@ -445,12 +448,13 @@ class QDnsLookup(QtCore.QObject): def __init__(self, type: 'QDnsLookup.Type', name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, type: 'QDnsLookup.Type', name: str, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - nameserverChanged: typing.ClassVar[QtCore.pyqtSignal] + + def nameserverChanged(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... def setNameserver(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... def nameserver(self) -> 'QHostAddress': ... - typeChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def typeChanged(self, type: 'QDnsLookup.Type') -> None: ... + def nameChanged(self, name: str) -> None: ... + def finished(self) -> None: ... def lookup(self) -> None: ... def abort(self) -> None: ... def textRecords(self) -> typing.List[QDnsTextRecord]: ... @@ -735,7 +739,7 @@ class QLocalServer(QtCore.QObject): def socketOptions(self) -> 'QLocalServer.SocketOptions': ... def setSocketOptions(self, options: typing.Union['QLocalServer.SocketOptions', 'QLocalServer.SocketOption']) -> None: ... def incomingConnection(self, socketDescriptor: sip.voidptr) -> None: ... - newConnection: typing.ClassVar[QtCore.pyqtSignal] + def newConnection(self) -> None: ... @staticmethod def removeServer(name: str) -> bool: ... def waitForNewConnection(self, msecs: int = ...) -> typing.Tuple[bool, bool]: ... @@ -797,10 +801,10 @@ class QLocalSocket(QtCore.QIODevice): def writeData(self, a0: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - errorOccurred: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] - connected: typing.ClassVar[QtCore.pyqtSignal] + def stateChanged(self, socketState: 'QLocalSocket.LocalSocketState') -> None: ... + def errorOccurred(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... def waitForReadyRead(self, msecs: int = ...) -> bool: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForConnected(self, msecs: int = ...) -> bool: ... @@ -812,7 +816,10 @@ class QLocalSocket(QtCore.QIODevice): def readBufferSize(self) -> int: ... def isValid(self) -> bool: ... def flush(self) -> bool: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QLocalSocket.LocalSocketError': ... + @typing.overload + def error(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... def close(self) -> None: ... def canReadLine(self) -> bool: ... def bytesToWrite(self) -> int: ... @@ -958,11 +965,12 @@ class QNetworkConfigurationManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - updateCompleted: typing.ClassVar[QtCore.pyqtSignal] - onlineStateChanged: typing.ClassVar[QtCore.pyqtSignal] - configurationChanged: typing.ClassVar[QtCore.pyqtSignal] - configurationRemoved: typing.ClassVar[QtCore.pyqtSignal] - configurationAdded: typing.ClassVar[QtCore.pyqtSignal] + + def updateCompleted(self) -> None: ... + def onlineStateChanged(self, isOnline: bool) -> None: ... + def configurationChanged(self, config: 'QNetworkConfiguration') -> None: ... + def configurationRemoved(self, config: 'QNetworkConfiguration') -> None: ... + def configurationAdded(self, config: 'QNetworkConfiguration') -> None: ... def isOnline(self) -> bool: ... def updateConfigurations(self) -> None: ... def configurationFromIdentifier(self, identifier: str) -> 'QNetworkConfiguration': ... @@ -1544,16 +1552,16 @@ class QNetworkReply(QtCore.QIODevice): def setRequest(self, request: 'QNetworkRequest') -> None: ... def setOperation(self, operation: QNetworkAccessManager.Operation) -> None: ... def writeData(self, data: bytes) -> int: ... - redirectAllowed: typing.ClassVar[QtCore.pyqtSignal] - redirected: typing.ClassVar[QtCore.pyqtSignal] - preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - downloadProgress: typing.ClassVar[QtCore.pyqtSignal] - uploadProgress: typing.ClassVar[QtCore.pyqtSignal] - sslErrors: typing.ClassVar[QtCore.pyqtSignal] - errorOccurred: typing.ClassVar[QtCore.pyqtSignal] - encrypted: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + def redirectAllowed(self) -> None: ... + def redirected(self, url: QtCore.QUrl) -> None: ... + def preSharedKeyAuthenticationRequired(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... + def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... + def uploadProgress(self, bytesSent: int, bytesTotal: int) -> None: ... + def sslErrors(self, errors: typing.Iterable['QSslError']) -> None: ... + def errorOccurred(self, a0: 'QNetworkReply.NetworkError') -> None: ... + def encrypted(self) -> None: ... + def finished(self) -> None: ... + def metaDataChanged(self) -> None: ... @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -1566,7 +1574,10 @@ class QNetworkReply(QtCore.QIODevice): def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... def url(self) -> QtCore.QUrl: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QNetworkReply.NetworkError': ... + @typing.overload + def error(self, a0: 'QNetworkReply.NetworkError') -> None: ... def request(self) -> 'QNetworkRequest': ... def operation(self) -> QNetworkAccessManager.Operation: ... def manager(self) -> QNetworkAccessManager: ... @@ -1799,15 +1810,16 @@ class QNetworkSession(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, connConfig: QNetworkConfiguration, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - usagePoliciesChanged: typing.ClassVar[QtCore.pyqtSignal] + + def usagePoliciesChanged(self, usagePolicies: typing.Union['QNetworkSession.UsagePolicies', 'QNetworkSession.UsagePolicy']) -> None: ... def usagePolicies(self) -> 'QNetworkSession.UsagePolicies': ... def disconnectNotify(self, signal: QtCore.QMetaMethod) -> None: ... def connectNotify(self, signal: QtCore.QMetaMethod) -> None: ... - newConfigurationActivated: typing.ClassVar[QtCore.pyqtSignal] - preferredConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] - closed: typing.ClassVar[QtCore.pyqtSignal] - opened: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] + def newConfigurationActivated(self) -> None: ... + def preferredConfigurationChanged(self, config: QNetworkConfiguration, isSeamless: bool) -> None: ... + def closed(self) -> None: ... + def opened(self) -> None: ... + def stateChanged(self, a0: 'QNetworkSession.State') -> None: ... def reject(self) -> None: ... def accept(self) -> None: ... def ignore(self) -> None: ... @@ -1822,7 +1834,10 @@ class QNetworkSession(QtCore.QObject): def setSessionProperty(self, key: str, value: typing.Any) -> None: ... def sessionProperty(self, key: str) -> typing.Any: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QNetworkSession.SessionError': ... + @typing.overload + def error(self, a0: 'QNetworkSession.SessionError') -> None: ... def state(self) -> 'QNetworkSession.State': ... def interface(self) -> QNetworkInterface: ... def configuration(self) -> QNetworkConfiguration: ... @@ -2376,7 +2391,8 @@ class QSslSocket(QTcpSocket): SslServerMode = ... # type: QSslSocket.SslMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - newSessionTicketReceived: typing.ClassVar[QtCore.pyqtSignal] + + def newSessionTicketReceived(self) -> None: ... def sslHandshakeErrors(self) -> typing.List[QSslError]: ... def ocspResponses(self) -> typing.List[QOcspResponse]: ... @staticmethod @@ -2397,8 +2413,8 @@ class QSslSocket(QTcpSocket): def peerVerifyName(self) -> str: ... def socketOption(self, option: QAbstractSocket.SocketOption) -> typing.Any: ... def setSocketOption(self, option: QAbstractSocket.SocketOption, value: typing.Any) -> None: ... - encryptedBytesWritten: typing.ClassVar[QtCore.pyqtSignal] - peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] + def encryptedBytesWritten(self, totalBytes: int) -> None: ... + def peerVerifyError(self, error: QSslError) -> None: ... def setSslConfiguration(self, config: QSslConfiguration) -> None: ... def sslConfiguration(self) -> QSslConfiguration: ... def encryptedBytesToWrite(self) -> int: ... @@ -2410,9 +2426,9 @@ class QSslSocket(QTcpSocket): def peerVerifyMode(self) -> 'QSslSocket.PeerVerifyMode': ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - modeChanged: typing.ClassVar[QtCore.pyqtSignal] - encrypted: typing.ClassVar[QtCore.pyqtSignal] + def preSharedKeyAuthenticationRequired(self, authenticator: QSslPreSharedKeyAuthenticator) -> None: ... + def modeChanged(self, newMode: 'QSslSocket.SslMode') -> None: ... + def encrypted(self) -> None: ... @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -2421,7 +2437,10 @@ class QSslSocket(QTcpSocket): def startClientEncryption(self) -> None: ... @staticmethod def supportsSsl() -> bool: ... - sslErrors: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def sslErrors(self) -> typing.List[QSslError]: ... + @typing.overload + def sslErrors(self, errors: typing.Iterable[QSslError]) -> None: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... def waitForReadyRead(self, msecs: int = ...) -> bool: ... @@ -2493,8 +2512,9 @@ class QSslSocket(QTcpSocket): class QTcpServer(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - acceptError: typing.ClassVar[QtCore.pyqtSignal] - newConnection: typing.ClassVar[QtCore.pyqtSignal] + + def acceptError(self, socketError: QAbstractSocket.SocketError) -> None: ... + def newConnection(self) -> None: ... def addPendingConnection(self, socket: QTcpSocket) -> None: ... def incomingConnection(self, handle: sip.voidptr) -> None: ... def resumeAccepting(self) -> None: ... diff --git a/PyQt5-stubs/QtNetworkAuth.pyi b/PyQt5-stubs/QtNetworkAuth.pyi index 6fb0f628..b9f650b4 100644 --- a/PyQt5-stubs/QtNetworkAuth.pyi +++ b/PyQt5-stubs/QtNetworkAuth.pyi @@ -64,17 +64,17 @@ class QAbstractOAuth(QtCore.QObject): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any]) -> None: ... def callback(self) -> str: ... def setStatus(self, status: 'QAbstractOAuth.Status') -> None: ... - replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] - granted: typing.ClassVar[QtCore.pyqtSignal] - authorizeWithBrowser: typing.ClassVar[QtCore.pyqtSignal] - requestFailed: typing.ClassVar[QtCore.pyqtSignal] - contentTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - extraTokensChanged: typing.ClassVar[QtCore.pyqtSignal] - authorizationUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] - tokenChanged: typing.ClassVar[QtCore.pyqtSignal] - clientIdentifierChanged: typing.ClassVar[QtCore.pyqtSignal] + def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def finished(self, reply: QtNetwork.QNetworkReply) -> None: ... + def granted(self) -> None: ... + def authorizeWithBrowser(self, url: QtCore.QUrl) -> None: ... + def requestFailed(self, error: 'QAbstractOAuth.Error') -> None: ... + def contentTypeChanged(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... + def extraTokensChanged(self, tokens: typing.Dict[str, typing.Any]) -> None: ... + def authorizationUrlChanged(self, url: QtCore.QUrl) -> None: ... + def statusChanged(self, status: 'QAbstractOAuth.Status') -> None: ... + def tokenChanged(self, token: str) -> None: ... + def clientIdentifierChanged(self, clientIdentifier: str) -> None: ... def grant(self) -> None: ... def prepareRequest(self, request: QtNetwork.QNetworkRequest, verb: typing.Union[QtCore.QByteArray, bytes, bytearray], body: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... def setContentType(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... @@ -108,15 +108,15 @@ class QAbstractOAuth2(QAbstractOAuth): def __init__(self, manager: QtNetwork.QNetworkAccessManager, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setResponseType(self, responseType: str) -> None: ... - authorizationCallbackReceived: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - expirationAtChanged: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - clientIdentifierSharedKeyChanged: typing.ClassVar[QtCore.pyqtSignal] - responseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - refreshTokenChanged: typing.ClassVar[QtCore.pyqtSignal] - userAgentChanged: typing.ClassVar[QtCore.pyqtSignal] - scopeChanged: typing.ClassVar[QtCore.pyqtSignal] + def authorizationCallbackReceived(self, data: typing.Dict[str, typing.Any]) -> None: ... + def error(self, error: str, errorDescription: str, uri: QtCore.QUrl) -> None: ... + def expirationAtChanged(self, expiration: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + def stateChanged(self, state: str) -> None: ... + def clientIdentifierSharedKeyChanged(self, clientIdentifierSharedKey: str) -> None: ... + def responseTypeChanged(self, responseType: str) -> None: ... + def refreshTokenChanged(self, refreshToken: str) -> None: ... + def userAgentChanged(self, userAgent: str) -> None: ... + def scopeChanged(self, scope: str) -> None: ... def setRefreshToken(self, refreshToken: str) -> None: ... def refreshToken(self) -> str: ... def expirationAt(self) -> QtCore.QDateTime: ... @@ -150,10 +150,11 @@ class QAbstractOAuth2(QAbstractOAuth): class QAbstractOAuthReplyHandler(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - callbackDataReceived: typing.ClassVar[QtCore.pyqtSignal] - replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] - tokensReceived: typing.ClassVar[QtCore.pyqtSignal] - callbackReceived: typing.ClassVar[QtCore.pyqtSignal] + + def callbackDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def tokensReceived(self, tokens: typing.Dict[str, typing.Any]) -> None: ... + def callbackReceived(self, values: typing.Dict[str, typing.Any]) -> None: ... def networkReplyFinished(self, reply: QtNetwork.QNetworkReply) -> None: ... def callback(self) -> str: ... @@ -182,11 +183,11 @@ class QOAuth1(QAbstractOAuth): def setup(self, request: QtNetwork.QNetworkRequest, signingParameters: typing.Dict[str, typing.Any], operationVerb: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def requestTokenCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, temporaryToken: typing.Tuple[str, str], parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... def requestTemporaryCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... - tokenCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - temporaryCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - tokenSecretChanged: typing.ClassVar[QtCore.pyqtSignal] - clientSharedSecretChanged: typing.ClassVar[QtCore.pyqtSignal] - signatureMethodChanged: typing.ClassVar[QtCore.pyqtSignal] + def tokenCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... + def temporaryCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... + def tokenSecretChanged(self, token: str) -> None: ... + def clientSharedSecretChanged(self, credential: str) -> None: ... + def signatureMethodChanged(self, method: 'QOAuth1.SignatureMethod') -> None: ... def continueGrantWithVerifier(self, verifier: str) -> None: ... def grant(self) -> None: ... def deleteResource(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... @@ -277,7 +278,7 @@ class QOAuth2AuthorizationCodeFlow(QAbstractOAuth2): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> None: ... def requestAccessToken(self, code: str) -> None: ... def buildAuthenticateUrl(self, parameters: typing.Dict[str, typing.Any] = ...) -> QtCore.QUrl: ... - accessTokenUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + def accessTokenUrlChanged(self, accessTokenUrl: QtCore.QUrl) -> None: ... def refreshAccessToken(self) -> None: ... def grant(self) -> None: ... def setAccessTokenUrl(self, accessTokenUrl: QtCore.QUrl) -> None: ... diff --git a/PyQt5-stubs/QtNfc.pyi b/PyQt5-stubs/QtNfc.pyi index caaa56c0..669afa27 100644 --- a/PyQt5-stubs/QtNfc.pyi +++ b/PyQt5-stubs/QtNfc.pyi @@ -273,10 +273,11 @@ class QNearFieldManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - adapterStateChanged: typing.ClassVar[QtCore.pyqtSignal] + + def adapterStateChanged(self, state: 'QNearFieldManager.AdapterState') -> None: ... def isSupported(self) -> bool: ... - targetLost: typing.ClassVar[QtCore.pyqtSignal] - targetDetected: typing.ClassVar[QtCore.pyqtSignal] + def targetLost(self, target: 'QNearFieldTarget') -> None: ... + def targetDetected(self, target: 'QNearFieldTarget') -> None: ... def unregisterNdefMessageHandler(self, handlerId: int) -> bool: ... @typing.overload def registerNdefMessageHandler(self, slot: PYQT_SLOT) -> int: ... @@ -339,9 +340,10 @@ class QNearFieldShareManager(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] - shareModesChanged: typing.ClassVar[QtCore.pyqtSignal] - targetDetected: typing.ClassVar[QtCore.pyqtSignal] + + def error(self, error: 'QNearFieldShareManager.ShareError') -> None: ... + def shareModesChanged(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... + def targetDetected(self, shareTarget: 'QNearFieldShareTarget') -> None: ... def shareError(self) -> 'QNearFieldShareManager.ShareError': ... def shareModes(self) -> 'QNearFieldShareManager.ShareModes': ... def setShareModes(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... @@ -350,8 +352,9 @@ class QNearFieldShareManager(QtCore.QObject): class QNearFieldShareTarget(QtCore.QObject): - shareFinished: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] + + def shareFinished(self) -> None: ... + def error(self, error: QNearFieldShareManager.ShareError) -> None: ... def shareError(self) -> QNearFieldShareManager.ShareError: ... def isShareInProgress(self) -> bool: ... def cancel(self) -> None: ... @@ -444,11 +447,11 @@ class QNearFieldTarget(QtCore.QObject): def disconnect(self) -> bool: ... # type: ignore[override] def setKeepConnection(self, isPersistent: bool) -> bool: ... def keepConnection(self) -> bool: ... - error: typing.ClassVar[QtCore.pyqtSignal] - requestCompleted: typing.ClassVar[QtCore.pyqtSignal] - ndefMessagesWritten: typing.ClassVar[QtCore.pyqtSignal] - ndefMessageRead: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] + def error(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... + def requestCompleted(self, id: 'QNearFieldTarget.RequestId') -> None: ... + def ndefMessagesWritten(self) -> None: ... + def ndefMessageRead(self, message: QNdefMessage) -> None: ... + def disconnected(self) -> None: ... def reportError(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... def handleResponse(self, id: 'QNearFieldTarget.RequestId', response: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def setResponseForRequest(self, id: 'QNearFieldTarget.RequestId', response: typing.Any, emitRequestCompleted: bool = ...) -> None: ... @@ -487,9 +490,10 @@ class QQmlNdefRecord(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, record: QNdefRecord, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - recordChanged: typing.ClassVar[QtCore.pyqtSignal] - typeNameFormatChanged: typing.ClassVar[QtCore.pyqtSignal] - typeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def recordChanged(self) -> None: ... + def typeNameFormatChanged(self) -> None: ... + def typeChanged(self) -> None: ... def setRecord(self, record: QNdefRecord) -> None: ... def record(self) -> QNdefRecord: ... def typeNameFormat(self) -> 'QQmlNdefRecord.TypeNameFormat': ... diff --git a/PyQt5-stubs/QtPositioning.pyi b/PyQt5-stubs/QtPositioning.pyi index d4914699..de57e255 100644 --- a/PyQt5-stubs/QtPositioning.pyi +++ b/PyQt5-stubs/QtPositioning.pyi @@ -119,9 +119,10 @@ class QGeoAreaMonitorSource(QtCore.QObject): def __int__(self) -> int: ... def __init__(self, parent: QtCore.QObject) -> None: ... - monitorExpired: typing.ClassVar[QtCore.pyqtSignal] - areaExited: typing.ClassVar[QtCore.pyqtSignal] - areaEntered: typing.ClassVar[QtCore.pyqtSignal] + + def monitorExpired(self, monitor: QGeoAreaMonitorInfo) -> None: ... + def areaExited(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... + def areaEntered(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... @typing.overload def activeMonitors(self) -> typing.List[QGeoAreaMonitorInfo]: ... @typing.overload @@ -130,7 +131,10 @@ class QGeoAreaMonitorSource(QtCore.QObject): def stopMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def startMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def supportedAreaMonitorFeatures(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeatures': ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QGeoAreaMonitorSource.Error': ... + @typing.overload + def error(self, error: 'QGeoAreaMonitorSource.Error') -> None: ... def sourceName(self) -> str: ... def positionInfoSource(self) -> 'QGeoPositionInfoSource': ... def setPositionInfoSource(self, source: 'QGeoPositionInfoSource') -> None: ... @@ -410,13 +414,14 @@ class QGeoPositionInfoSource(QtCore.QObject): def backendProperty(self, name: str) -> typing.Any: ... def setBackendProperty(self, name: str, value: typing.Any) -> bool: ... - supportedPositioningMethodsChanged: typing.ClassVar[QtCore.pyqtSignal] - updateTimeout: typing.ClassVar[QtCore.pyqtSignal] - positionUpdated: typing.ClassVar[QtCore.pyqtSignal] + def supportedPositioningMethodsChanged(self) -> None: ... + def updateTimeout(self) -> None: ... + def positionUpdated(self, update: QGeoPositionInfo) -> None: ... def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] + # If the error signal is real, it isn't accessible in PyQt 5.15.1 + def error(self) -> 'QGeoPositionInfoSource.Error': ... @staticmethod def availableSources() -> typing.List[str]: ... @typing.overload @@ -528,13 +533,17 @@ class QGeoSatelliteInfoSource(QtCore.QObject): UnknownSourceError = ... # type: QGeoSatelliteInfoSource.Error def __init__(self, parent: QtCore.QObject) -> None: ... - requestTimeout: typing.ClassVar[QtCore.pyqtSignal] - satellitesInUseUpdated: typing.ClassVar[QtCore.pyqtSignal] - satellitesInViewUpdated: typing.ClassVar[QtCore.pyqtSignal] + + def requestTimeout(self) -> None: ... + def satellitesInUseUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... + def satellitesInViewUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QGeoSatelliteInfoSource.Error': ... + @typing.overload + def error(self, a0: 'QGeoSatelliteInfoSource.Error') -> None: ... def minimumUpdateInterval(self) -> int: ... def updateInterval(self) -> int: ... def setUpdateInterval(self, msec: int) -> None: ... diff --git a/PyQt5-stubs/QtPrintSupport.pyi b/PyQt5-stubs/QtPrintSupport.pyi index 4c6c6977..c49a0efa 100644 --- a/PyQt5-stubs/QtPrintSupport.pyi +++ b/PyQt5-stubs/QtPrintSupport.pyi @@ -128,7 +128,11 @@ class QPrintDialog(QAbstractPrintDialog): def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... @typing.overload def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... - accepted: typing.ClassVar[QtCore.pyqtSignal] + + @typing.overload # type: ignore[override] + def accepted(self) -> None: ... + @typing.overload + def accepted(self, printer: 'QPrinter') -> None: ... @typing.overload def open(self) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtPurchasing.pyi b/PyQt5-stubs/QtPurchasing.pyi index 45707d83..5dc2605a 100644 --- a/PyQt5-stubs/QtPurchasing.pyi +++ b/PyQt5-stubs/QtPurchasing.pyi @@ -52,9 +52,10 @@ class QInAppProduct(QtCore.QObject): class QInAppStore(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - transactionReady: typing.ClassVar[QtCore.pyqtSignal] - productUnknown: typing.ClassVar[QtCore.pyqtSignal] - productRegistered: typing.ClassVar[QtCore.pyqtSignal] + + def transactionReady(self, transaction: 'QInAppTransaction') -> None: ... + def productUnknown(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... + def productRegistered(self, product: QInAppProduct) -> None: ... def setPlatformProperty(self, propertyName: str, value: str) -> None: ... def registeredProduct(self, identifier: str) -> QInAppProduct: ... def registerProduct(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... diff --git a/PyQt5-stubs/QtQml.pyi b/PyQt5-stubs/QtQml.pyi index c285e435..78e530bd 100644 --- a/PyQt5-stubs/QtQml.pyi +++ b/PyQt5-stubs/QtQml.pyi @@ -65,7 +65,8 @@ class QJSEngine(QtCore.QObject): def __init__(self) -> None: ... @typing.overload def __init__(self, parent: QtCore.QObject) -> None: ... - uiLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] + + def uiLanguageChanged(self) -> None: ... def setUiLanguage(self, language: str) -> None: ... def uiLanguage(self) -> str: ... def isInterrupted(self) -> bool: ... @@ -298,8 +299,8 @@ class QQmlComponent(QtCore.QObject): def setInitialProperties(self, component: QtCore.QObject, properties: typing.Dict[str, typing.Any]) -> None: ... def engine(self) -> QQmlEngine: ... - progressChanged: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] + def progressChanged(self, a0: float) -> None: ... + def statusChanged(self, a0: 'QQmlComponent.Status') -> None: ... def setData(self, a0: typing.Union[QtCore.QByteArray, bytes, bytearray], baseUrl: QtCore.QUrl) -> None: ... @typing.overload def loadUrl(self, url: QtCore.QUrl) -> None: ... @@ -427,7 +428,8 @@ class QQmlExpression(QtCore.QObject): def __init__(self, a0: QQmlContext, a1: QtCore.QObject, a2: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, a0: 'QQmlScriptString', context: typing.Optional[QQmlContext] = ..., scope: typing.Optional[QtCore.QObject] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + + def valueChanged(self) -> None: ... def evaluate(self) -> typing.Tuple[typing.Any, bool]: ... def error(self) -> QQmlError: ... def clearError(self) -> None: ... @@ -661,7 +663,7 @@ class QQmlPropertyMap(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def updateValue(self, key: str, input: typing.Any) -> typing.Any: ... - valueChanged: typing.ClassVar[QtCore.pyqtSignal] + def valueChanged(self, key: str, value: typing.Any) -> None: ... def __getitem__(self, key: str) -> typing.Any: ... def contains(self, key: str) -> bool: ... def isEmpty(self) -> bool: ... diff --git a/PyQt5-stubs/QtQuick.pyi b/PyQt5-stubs/QtQuick.pyi index 662e8c63..0f9ea248 100644 --- a/PyQt5-stubs/QtQuick.pyi +++ b/PyQt5-stubs/QtQuick.pyi @@ -141,7 +141,8 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def __init__(self, a0: 'QQuickItem.UpdatePaintNodeData') -> None: ... def __init__(self, parent: typing.Optional['QQuickItem'] = ...) -> None: ... - containmentMaskChanged: typing.ClassVar[QtCore.pyqtSignal] + + def containmentMaskChanged(self) -> None: ... def setContainmentMask(self, mask: QtCore.QObject) -> None: ... def containmentMask(self) -> QtCore.QObject: ... def setAcceptTouchEvents(self, accept: bool) -> None: ... @@ -152,7 +153,7 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def isAncestorOf(self, child: 'QQuickItem') -> bool: ... def grabToImage(self, targetSize: QtCore.QSize = ...) -> 'QQuickItemGrabResult': ... def resetAntialiasing(self) -> None: ... - windowChanged: typing.ClassVar[QtCore.pyqtSignal] + def windowChanged(self, window: 'QQuickWindow') -> None: ... def nextItemInFocusChain(self, forward: bool = ...) -> 'QQuickItem': ... def setActiveFocusOnTab(self, a0: bool) -> None: ... def activeFocusOnTab(self) -> bool: ... @@ -300,13 +301,14 @@ class QQuickFramebufferObject(QQuickItem): def render(self) -> None: ... def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - mirrorVerticallyChanged: typing.ClassVar[QtCore.pyqtSignal] + + def mirrorVerticallyChanged(self, a0: bool) -> None: ... def setMirrorVertically(self, enable: bool) -> None: ... def mirrorVertically(self) -> bool: ... def releaseResources(self) -> None: ... def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... - textureFollowsItemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + def textureFollowsItemSizeChanged(self, a0: bool) -> None: ... def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... def geometryChanged(self, newGeometry: QtCore.QRectF, oldGeometry: QtCore.QRectF) -> None: ... def createRenderer(self) -> 'QQuickFramebufferObject.Renderer': ... @@ -343,7 +345,8 @@ class QQuickImageProvider(QtQml.QQmlImageProviderBase): class QQuickImageResponse(QtCore.QObject): def __init__(self) -> None: ... - finished: typing.ClassVar[QtCore.pyqtSignal] + + def finished(self) -> None: ... def cancel(self) -> None: ... def errorString(self) -> str: ... def textureFactory(self) -> QQuickTextureFactory: ... @@ -360,7 +363,8 @@ class QQuickAsyncImageProvider(QQuickImageProvider): class QQuickItemGrabResult(QtCore.QObject): - ready: typing.ClassVar[QtCore.pyqtSignal] + + def ready(self) -> None: ... def event(self, a0: QtCore.QEvent) -> bool: ... def saveToFile(self, fileName: str) -> bool: ... def url(self) -> QtCore.QUrl: ... @@ -399,7 +403,8 @@ class QQuickPaintedItem(QQuickItem): def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - textureSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureSizeChanged(self) -> None: ... def setTextureSize(self, size: QtCore.QSize) -> None: ... def textureSize(self) -> QtCore.QSize: ... def itemChange(self, a0: QQuickItem.ItemChange, a1: QQuickItem.ItemChangeData) -> None: ... @@ -407,10 +412,10 @@ class QQuickPaintedItem(QQuickItem): def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... - renderTargetChanged: typing.ClassVar[QtCore.pyqtSignal] - contentsScaleChanged: typing.ClassVar[QtCore.pyqtSignal] - contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - fillColorChanged: typing.ClassVar[QtCore.pyqtSignal] + def renderTargetChanged(self) -> None: ... + def contentsScaleChanged(self) -> None: ... + def contentsSizeChanged(self) -> None: ... + def fillColorChanged(self) -> None: ... def paint(self, painter: QtGui.QPainter) -> None: ... def setRenderTarget(self, target: 'QQuickPaintedItem.RenderTarget') -> None: ... def renderTarget(self) -> 'QQuickPaintedItem.RenderTarget': ... @@ -437,8 +442,9 @@ class QQuickPaintedItem(QQuickItem): class QQuickRenderControl(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - sceneChanged: typing.ClassVar[QtCore.pyqtSignal] - renderRequested: typing.ClassVar[QtCore.pyqtSignal] + + def sceneChanged(self) -> None: ... + def renderRequested(self) -> None: ... def prepareThread(self, targetThread: QtCore.QThread) -> None: ... def renderWindow(self, offset: QtCore.QPoint) -> QtGui.QWindow: ... @staticmethod @@ -645,7 +651,7 @@ class QQuickView(QQuickWindow): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - statusChanged: typing.ClassVar[QtCore.pyqtSignal] + def statusChanged(self, a0: 'QQuickView.Status') -> None: ... def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... def setSource(self, a0: QtCore.QUrl) -> None: ... def initialSize(self) -> QtCore.QSize: ... @@ -707,7 +713,8 @@ class QSGAbstractRenderer(QtCore.QObject): def __invert__(self) -> 'QSGAbstractRenderer.MatrixTransformFlags': ... def __index__(self) -> int: ... def __int__(self) -> int: ... - sceneGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + + def sceneGraphChanged(self) -> None: ... def renderScene(self, fboId: int = ...) -> None: ... def clearMode(self) -> 'QSGAbstractRenderer.ClearMode': ... def setClearMode(self, mode: typing.Union['QSGAbstractRenderer.ClearMode', 'QSGAbstractRenderer.ClearModeBit']) -> None: ... @@ -1797,7 +1804,8 @@ class QSGTextureMaterial(QSGOpaqueTextureMaterial): class QSGTextureProvider(QtCore.QObject): def __init__(self) -> None: ... - textureChanged: typing.ClassVar[QtCore.pyqtSignal] + + def textureChanged(self) -> None: ... def texture(self) -> QSGTexture: ... diff --git a/PyQt5-stubs/QtQuickWidgets.pyi b/PyQt5-stubs/QtQuickWidgets.pyi index 62c14f4b..e3cc6b57 100644 --- a/PyQt5-stubs/QtQuickWidgets.pyi +++ b/PyQt5-stubs/QtQuickWidgets.pyi @@ -92,8 +92,8 @@ class QQuickWidget(QtWidgets.QWidget): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - sceneGraphError: typing.ClassVar[QtCore.pyqtSignal] - statusChanged: typing.ClassVar[QtCore.pyqtSignal] + def sceneGraphError(self, error: QtQuick.QQuickWindow.SceneGraphError, message: str) -> None: ... + def statusChanged(self, a0: 'QQuickWidget.Status') -> None: ... def setSource(self, a0: QtCore.QUrl) -> None: ... def format(self) -> QtGui.QSurfaceFormat: ... def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ... diff --git a/PyQt5-stubs/QtRemoteObjects.pyi b/PyQt5-stubs/QtRemoteObjects.pyi index 142f600d..8ae155b2 100644 --- a/PyQt5-stubs/QtRemoteObjects.pyi +++ b/PyQt5-stubs/QtRemoteObjects.pyi @@ -33,7 +33,8 @@ PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] class QAbstractItemModelReplica(QtCore.QAbstractItemModel): - initialized: typing.ClassVar[QtCore.pyqtSignal] + + def initialized(self) -> None: ... def setRootCacheSize(self, rootCacheSize: int) -> None: ... def rootCacheSize(self) -> int: ... def hasData(self, index: QtCore.QModelIndex, role: int) -> bool: ... @@ -66,9 +67,10 @@ class QRemoteObjectReplica(QtCore.QObject): Valid = ... # type: QRemoteObjectReplica.State Suspect = ... # type: QRemoteObjectReplica.State SignatureMismatch = ... # type: QRemoteObjectReplica.State - notified: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - initialized: typing.ClassVar[QtCore.pyqtSignal] + + def notified(self) -> None: ... + def stateChanged(self, state: 'QRemoteObjectReplica.State', oldState: 'QRemoteObjectReplica.State') -> None: ... + def initialized(self) -> None: ... def setNode(self, node: 'QRemoteObjectNode') -> None: ... def node(self) -> 'QRemoteObjectNode': ... def state(self) -> 'QRemoteObjectReplica.State': ... @@ -123,10 +125,10 @@ class QRemoteObjectNode(QtCore.QObject): def __init__(self, registryAddress: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... - heartbeatIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] - error: typing.ClassVar[QtCore.pyqtSignal] - remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] - remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] + def heartbeatIntervalChanged(self, heartbeatInterval: int) -> None: ... + def error(self, errorCode: 'QRemoteObjectNode.ErrorCode') -> None: ... + def remoteObjectRemoved(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def remoteObjectAdded(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... def setHeartbeatInterval(self, interval: int) -> None: ... def heartbeatInterval(self) -> int: ... def lastError(self) -> 'QRemoteObjectNode.ErrorCode': ... @@ -172,7 +174,8 @@ class QRemoteObjectHost(QRemoteObjectHostBase): def __init__(self, address: QtCore.QUrl, registryAddress: QtCore.QUrl = ..., allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, address: QtCore.QUrl, parent: QtCore.QObject) -> None: ... - hostUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + + def hostUrlChanged(self) -> None: ... def setHostUrl(self, hostAddress: QtCore.QUrl, allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ... def hostUrl(self) -> QtCore.QUrl: ... @@ -185,8 +188,9 @@ class QRemoteObjectRegistryHost(QRemoteObjectHostBase): class QRemoteObjectRegistry(QRemoteObjectReplica): - remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] - remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] + + def remoteObjectRemoved(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + def remoteObjectAdded(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... def sourceLocations(self) -> typing.Dict[str, 'QRemoteObjectSourceLocationInfo']: ... diff --git a/PyQt5-stubs/QtSensors.pyi b/PyQt5-stubs/QtSensors.pyi index b94922ec..017cbd80 100644 --- a/PyQt5-stubs/QtSensors.pyi +++ b/PyQt5-stubs/QtSensors.pyi @@ -101,20 +101,21 @@ class QSensor(QtCore.QObject): PressureSensorTemperature = ... # type: QSensor.Feature def __init__(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - bufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - efficientBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - maxBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - userOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] - currentOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] - axesOrientationModeChanged: typing.ClassVar[QtCore.pyqtSignal] - skipDuplicatesChanged: typing.ClassVar[QtCore.pyqtSignal] - dataRateChanged: typing.ClassVar[QtCore.pyqtSignal] - alwaysOnChanged: typing.ClassVar[QtCore.pyqtSignal] - availableSensorsChanged: typing.ClassVar[QtCore.pyqtSignal] - sensorError: typing.ClassVar[QtCore.pyqtSignal] - readingChanged: typing.ClassVar[QtCore.pyqtSignal] - activeChanged: typing.ClassVar[QtCore.pyqtSignal] - busyChanged: typing.ClassVar[QtCore.pyqtSignal] + + def bufferSizeChanged(self, bufferSize: int) -> None: ... + def efficientBufferSizeChanged(self, efficientBufferSize: int) -> None: ... + def maxBufferSizeChanged(self, maxBufferSize: int) -> None: ... + def userOrientationChanged(self, userOrientation: int) -> None: ... + def currentOrientationChanged(self, currentOrientation: int) -> None: ... + def axesOrientationModeChanged(self, axesOrientationMode: 'QSensor.AxesOrientationMode') -> None: ... + def skipDuplicatesChanged(self, skipDuplicates: bool) -> None: ... + def dataRateChanged(self) -> None: ... + def alwaysOnChanged(self) -> None: ... + def availableSensorsChanged(self) -> None: ... + def sensorError(self, error: int) -> None: ... + def readingChanged(self) -> None: ... + def activeChanged(self) -> None: ... + def busyChanged(self) -> None: ... def stop(self) -> None: ... def start(self) -> bool: ... def setBufferSize(self, bufferSize: int) -> None: ... @@ -174,7 +175,8 @@ class QAccelerometer(QSensor): User = ... # type: QAccelerometer.AccelerationMode def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - accelerationModeChanged: typing.ClassVar[QtCore.pyqtSignal] + + def accelerationModeChanged(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... def reading(self) -> QAccelerometerReading: ... def setAccelerationMode(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... def accelerationMode(self) -> 'QAccelerometer.AccelerationMode': ... @@ -411,8 +413,9 @@ class QIRProximitySensor(QSensor): class QLidReading(QSensorReading): - frontLidChanged: typing.ClassVar[QtCore.pyqtSignal] - backLidChanged: typing.ClassVar[QtCore.pyqtSignal] + + def frontLidChanged(self, closed: bool) -> None: ... + def backLidChanged(self, closed: bool) -> None: ... def setFrontLidClosed(self, closed: bool) -> None: ... def frontLidClosed(self) -> bool: ... def setBackLidClosed(self, closed: bool) -> None: ... @@ -455,7 +458,8 @@ class QLightFilter(QSensorFilter): class QLightSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] + + def fieldOfViewChanged(self, fieldOfView: float) -> None: ... def setFieldOfView(self, fieldOfView: float) -> None: ... def fieldOfView(self) -> float: ... def reading(self) -> QLightReading: ... @@ -486,7 +490,8 @@ class QMagnetometerFilter(QSensorFilter): class QMagnetometer(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - returnGeoValuesChanged: typing.ClassVar[QtCore.pyqtSignal] + + def returnGeoValuesChanged(self, returnGeoValues: bool) -> None: ... def setReturnGeoValues(self, returnGeoValues: bool) -> None: ... def returnGeoValues(self) -> bool: ... def reading(self) -> QMagnetometerReading: ... @@ -642,7 +647,8 @@ class QTapFilter(QSensorFilter): class QTapSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - returnDoubleTapEventsChanged: typing.ClassVar[QtCore.pyqtSignal] + + def returnDoubleTapEventsChanged(self, returnDoubleTapEvents: bool) -> None: ... def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool) -> None: ... def returnDoubleTapEvents(self) -> bool: ... def reading(self) -> QTapReading: ... @@ -695,7 +701,8 @@ class QRotationFilter(QSensorFilter): class QRotationSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - hasZChanged: typing.ClassVar[QtCore.pyqtSignal] + + def hasZChanged(self, hasZ: bool) -> None: ... def setHasZ(self, hasZ: bool) -> None: ... def hasZ(self) -> bool: ... def reading(self) -> QRotationReading: ... diff --git a/PyQt5-stubs/QtSerialPort.pyi b/PyQt5-stubs/QtSerialPort.pyi index aea12ea3..607e7f50 100644 --- a/PyQt5-stubs/QtSerialPort.pyi +++ b/PyQt5-stubs/QtSerialPort.pyi @@ -219,22 +219,23 @@ class QSerialPort(QtCore.QIODevice): def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, info: 'QSerialPortInfo', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - errorOccurred: typing.ClassVar[QtCore.pyqtSignal] - breakEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + + def errorOccurred(self, error: 'QSerialPort.SerialPortError') -> None: ... + def breakEnabledChanged(self, set: bool) -> None: ... def isBreakEnabled(self) -> bool: ... def handle(self) -> int: ... def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - settingsRestoredOnCloseChanged: typing.ClassVar[QtCore.pyqtSignal] - requestToSendChanged: typing.ClassVar[QtCore.pyqtSignal] - dataTerminalReadyChanged: typing.ClassVar[QtCore.pyqtSignal] - dataErrorPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] - flowControlChanged: typing.ClassVar[QtCore.pyqtSignal] - stopBitsChanged: typing.ClassVar[QtCore.pyqtSignal] - parityChanged: typing.ClassVar[QtCore.pyqtSignal] - dataBitsChanged: typing.ClassVar[QtCore.pyqtSignal] - baudRateChanged: typing.ClassVar[QtCore.pyqtSignal] + def settingsRestoredOnCloseChanged(self, restore: bool) -> None: ... + def requestToSendChanged(self, set: bool) -> None: ... + def dataTerminalReadyChanged(self, set: bool) -> None: ... + def dataErrorPolicyChanged(self, policy: 'QSerialPort.DataErrorPolicy') -> None: ... + def flowControlChanged(self, flow: 'QSerialPort.FlowControl') -> None: ... + def stopBitsChanged(self, stopBits: 'QSerialPort.StopBits') -> None: ... + def parityChanged(self, parity: 'QSerialPort.Parity') -> None: ... + def dataBitsChanged(self, dataBits: 'QSerialPort.DataBits') -> None: ... + def baudRateChanged(self, baudRate: int, directions: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction']) -> None: ... def setBreakEnabled(self, enabled: bool = ...) -> bool: ... def sendBreak(self, duration: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... @@ -246,7 +247,10 @@ class QSerialPort(QtCore.QIODevice): def setReadBufferSize(self, size: int) -> None: ... def readBufferSize(self) -> int: ... def clearError(self) -> None: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> 'QSerialPort.SerialPortError': ... + @typing.overload + def error(self, serialPortError: 'QSerialPort.SerialPortError') -> None: ... def dataErrorPolicy(self) -> 'QSerialPort.DataErrorPolicy': ... def setDataErrorPolicy(self, policy: 'QSerialPort.DataErrorPolicy' = ...) -> bool: ... def atEnd(self) -> bool: ... diff --git a/PyQt5-stubs/QtSql.pyi b/PyQt5-stubs/QtSql.pyi index 558e4ea9..160fcf4e 100644 --- a/PyQt5-stubs/QtSql.pyi +++ b/PyQt5-stubs/QtSql.pyi @@ -213,7 +213,10 @@ class QSqlDriver(QtCore.QObject): def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... def stripDelimiters(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> str: ... def isIdentifierEscaped(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> bool: ... - notification: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def notification(self, name: str) -> None: ... + @typing.overload + def notification(self, name: str, source: 'QSqlDriver.NotificationSource', payload: typing.Any) -> None: ... def subscribedToNotifications(self) -> typing.List[str]: ... def unsubscribeFromNotification(self, name: str) -> bool: ... def subscribeToNotification(self, name: str) -> bool: ... @@ -557,10 +560,10 @@ class QSqlTableModel(QSqlQueryModel): def deleteRowFromTable(self, row: int) -> bool: ... def insertRowIntoTable(self, values: QSqlRecord) -> bool: ... def updateRowInTable(self, row: int, values: QSqlRecord) -> bool: ... - beforeDelete: typing.ClassVar[QtCore.pyqtSignal] - beforeUpdate: typing.ClassVar[QtCore.pyqtSignal] - beforeInsert: typing.ClassVar[QtCore.pyqtSignal] - primeInsert: typing.ClassVar[QtCore.pyqtSignal] + def beforeDelete(self, row: int) -> None: ... + def beforeUpdate(self, row: int, record: QSqlRecord) -> None: ... + def beforeInsert(self, record: QSqlRecord) -> None: ... + def primeInsert(self, row: int, record: QSqlRecord) -> None: ... def revertAll(self) -> None: ... def submitAll(self) -> bool: ... def revert(self) -> None: ... diff --git a/PyQt5-stubs/QtSvg.pyi b/PyQt5-stubs/QtSvg.pyi index 608b3393..97d2b50b 100644 --- a/PyQt5-stubs/QtSvg.pyi +++ b/PyQt5-stubs/QtSvg.pyi @@ -98,7 +98,7 @@ class QSvgRenderer(QtCore.QObject): def transformForElement(self, id: str) -> QtGui.QTransform: ... def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... - repaintNeeded: typing.ClassVar[QtCore.pyqtSignal] + def repaintNeeded(self) -> None: ... @typing.overload def render(self, p: QtGui.QPainter) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtWebChannel.pyi b/PyQt5-stubs/QtWebChannel.pyi index 2a5bd122..4ff9b336 100644 --- a/PyQt5-stubs/QtWebChannel.pyi +++ b/PyQt5-stubs/QtWebChannel.pyi @@ -38,7 +38,7 @@ class QWebChannel(QtCore.QObject): def disconnectFrom(self, transport: 'QWebChannelAbstractTransport') -> None: ... def connectTo(self, transport: 'QWebChannelAbstractTransport') -> None: ... - blockUpdatesChanged: typing.ClassVar[QtCore.pyqtSignal] + def blockUpdatesChanged(self, block: bool) -> None: ... def setBlockUpdates(self, block: bool) -> None: ... def blockUpdates(self) -> bool: ... def deregisterObject(self, object: QtCore.QObject) -> None: ... @@ -50,5 +50,6 @@ class QWebChannel(QtCore.QObject): class QWebChannelAbstractTransport(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - messageReceived: typing.ClassVar[QtCore.pyqtSignal] + + def messageReceived(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]], transport: 'QWebChannelAbstractTransport') -> None: ... def sendMessage(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]]) -> None: ... diff --git a/PyQt5-stubs/QtWebEngine.pyi b/PyQt5-stubs/QtWebEngine.pyi index 2b78da94..7b3c7fe0 100644 --- a/PyQt5-stubs/QtWebEngine.pyi +++ b/PyQt5-stubs/QtWebEngine.pyi @@ -60,29 +60,30 @@ class QQuickWebEngineProfile(QtCore.QObject): NoCache = ... # type: QQuickWebEngineProfile.HttpCacheType def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - presentNotification: typing.ClassVar[QtCore.pyqtSignal] - downloadPathChanged: typing.ClassVar[QtCore.pyqtSignal] - useForGlobalCertificateVerificationChanged: typing.ClassVar[QtCore.pyqtSignal] + + def presentNotification(self, notification: QtWebEngineCore.QWebEngineNotification) -> None: ... + def downloadPathChanged(self) -> None: ... + def useForGlobalCertificateVerificationChanged(self) -> None: ... def clientCertificateStore(self) -> QtWebEngineCore.QWebEngineClientCertificateStore: ... def setDownloadPath(self, path: str) -> None: ... def downloadPath(self) -> str: ... def isUsedForGlobalCertificateVerification(self) -> bool: ... def setUseForGlobalCertificateVerification(self, b: bool) -> None: ... - spellCheckEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] - spellCheckLanguagesChanged: typing.ClassVar[QtCore.pyqtSignal] + def spellCheckEnabledChanged(self) -> None: ... + def spellCheckLanguagesChanged(self) -> None: ... def isSpellCheckEnabled(self) -> bool: ... def setSpellCheckEnabled(self, enabled: bool) -> None: ... def spellCheckLanguages(self) -> typing.List[str]: ... def setSpellCheckLanguages(self, languages: typing.Iterable[str]) -> None: ... - httpAcceptLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] - httpCacheMaximumSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - persistentCookiesPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] - httpCacheTypeChanged: typing.ClassVar[QtCore.pyqtSignal] - httpUserAgentChanged: typing.ClassVar[QtCore.pyqtSignal] - cachePathChanged: typing.ClassVar[QtCore.pyqtSignal] - persistentStoragePathChanged: typing.ClassVar[QtCore.pyqtSignal] - offTheRecordChanged: typing.ClassVar[QtCore.pyqtSignal] - storageNameChanged: typing.ClassVar[QtCore.pyqtSignal] + def httpAcceptLanguageChanged(self) -> None: ... + def httpCacheMaximumSizeChanged(self) -> None: ... + def persistentCookiesPolicyChanged(self) -> None: ... + def httpCacheTypeChanged(self) -> None: ... + def httpUserAgentChanged(self) -> None: ... + def cachePathChanged(self) -> None: ... + def persistentStoragePathChanged(self) -> None: ... + def offTheRecordChanged(self) -> None: ... + def storageNameChanged(self) -> None: ... @staticmethod def defaultProfile() -> 'QQuickWebEngineProfile': ... def clearHttpCache(self) -> None: ... @@ -137,12 +138,12 @@ class QQuickWebEngineScript(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... - runOnSubframesChanged: typing.ClassVar[QtCore.pyqtSignal] - worldIdChanged: typing.ClassVar[QtCore.pyqtSignal] - injectionPointChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceCodeChanged: typing.ClassVar[QtCore.pyqtSignal] - sourceUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - nameChanged: typing.ClassVar[QtCore.pyqtSignal] + def runOnSubframesChanged(self, on: bool) -> None: ... + def worldIdChanged(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... + def injectionPointChanged(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... + def sourceCodeChanged(self, code: str) -> None: ... + def sourceUrlChanged(self, url: QtCore.QUrl) -> None: ... + def nameChanged(self, name: str) -> None: ... def setRunOnSubframes(self, on: bool) -> None: ... def setWorldId(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... def setInjectionPoint(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... diff --git a/PyQt5-stubs/QtWebEngineCore.pyi b/PyQt5-stubs/QtWebEngineCore.pyi index 8b60c11b..4fd28480 100644 --- a/PyQt5-stubs/QtWebEngineCore.pyi +++ b/PyQt5-stubs/QtWebEngineCore.pyi @@ -65,8 +65,8 @@ class QWebEngineCookieStore(QtCore.QObject): def __init__(self, a0: 'QWebEngineCookieStore.FilterRequest') -> None: ... def setCookieFilter(self, filterCallback: typing.Optional[typing.Callable[[FilterRequest], bool]] = ...) -> None: ... - cookieRemoved: typing.ClassVar[QtCore.pyqtSignal] - cookieAdded: typing.ClassVar[QtCore.pyqtSignal] + def cookieRemoved(self, cookie: QtNetwork.QNetworkCookie) -> None: ... + def cookieAdded(self, cookie: QtNetwork.QNetworkCookie) -> None: ... def loadAllCookies(self) -> None: ... def deleteAllCookies(self) -> None: ... def deleteSessionCookies(self) -> None: ... @@ -116,7 +116,8 @@ class QWebEngineHttpRequest(sip.simplewrapper): class QWebEngineNotification(QtCore.QObject): - closed: typing.ClassVar[QtCore.pyqtSignal] + + def closed(self) -> None: ... def close(self) -> None: ... def click(self) -> None: ... def show(self) -> None: ... diff --git a/PyQt5-stubs/QtWebEngineWidgets.pyi b/PyQt5-stubs/QtWebEngineWidgets.pyi index f7cda7ee..fe699fc7 100644 --- a/PyQt5-stubs/QtWebEngineWidgets.pyi +++ b/PyQt5-stubs/QtWebEngineWidgets.pyi @@ -312,7 +312,7 @@ class QWebEngineDownloadItem(QtCore.QObject): def suggestedFileName(self) -> str: ... def page(self) -> 'QWebEnginePage': ... def isSavePageDownload(self) -> bool: ... - isPausedChanged: typing.ClassVar[QtCore.pyqtSignal] + def isPausedChanged(self, isPaused: bool) -> None: ... def resume(self) -> None: ... def pause(self) -> None: ... def isPaused(self) -> bool: ... @@ -322,9 +322,9 @@ class QWebEngineDownloadItem(QtCore.QObject): def setSavePageFormat(self, format: 'QWebEngineDownloadItem.SavePageFormat') -> None: ... def savePageFormat(self) -> 'QWebEngineDownloadItem.SavePageFormat': ... def mimeType(self) -> str: ... - downloadProgress: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - finished: typing.ClassVar[QtCore.pyqtSignal] + def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... + def stateChanged(self, state: 'QWebEngineDownloadItem.DownloadState') -> None: ... + def finished(self) -> None: ... def cancel(self) -> None: ... def accept(self) -> None: ... def isFinished(self) -> bool: ... @@ -593,22 +593,23 @@ class QWebEnginePage(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @typing.overload def __init__(self, profile: 'QWebEngineProfile', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - renderProcessPidChanged: typing.ClassVar[QtCore.pyqtSignal] + + def renderProcessPidChanged(self, pid: int) -> None: ... def renderProcessPid(self) -> int: ... - findTextFinished: typing.ClassVar[QtCore.pyqtSignal] - recommendedStateChanged: typing.ClassVar[QtCore.pyqtSignal] - lifecycleStateChanged: typing.ClassVar[QtCore.pyqtSignal] - visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + def findTextFinished(self, result: QtWebEngineCore.QWebEngineFindTextResult) -> None: ... + def recommendedStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... + def lifecycleStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... + def visibleChanged(self, visible: bool) -> None: ... def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... def recommendedState(self) -> 'QWebEnginePage.LifecycleState': ... def setLifecycleState(self, state: 'QWebEnginePage.LifecycleState') -> None: ... def lifecycleState(self) -> 'QWebEnginePage.LifecycleState': ... def setUrlRequestInterceptor(self, interceptor: QtWebEngineCore.QWebEngineUrlRequestInterceptor) -> None: ... - printRequested: typing.ClassVar[QtCore.pyqtSignal] - selectClientCertificate: typing.ClassVar[QtCore.pyqtSignal] - registerProtocolHandlerRequested: typing.ClassVar[QtCore.pyqtSignal] - quotaRequested: typing.ClassVar[QtCore.pyqtSignal] + def printRequested(self) -> None: ... + def selectClientCertificate(self, clientCertSelection: QWebEngineClientCertificateSelection) -> None: ... + def registerProtocolHandlerRequested(self, request: QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest) -> None: ... + def quotaRequested(self, quotaRequest: QtWebEngineCore.QWebEngineQuotaRequest) -> None: ... def devToolsPage(self) -> 'QWebEnginePage': ... def setDevToolsPage(self, page: 'QWebEnginePage') -> None: ... def inspectedPage(self) -> 'QWebEnginePage': ... @@ -617,12 +618,12 @@ class QWebEnginePage(QtCore.QObject): def print(self, printer: QtPrintSupport.QPrinter, resultCallback: typing.Callable[[bool], None]) -> None: ... def save(self, filePath: str, format: QWebEngineDownloadItem.SavePageFormat = ...) -> None: ... def replaceMisspelledWord(self, replacement: str) -> None: ... - pdfPrintingFinished: typing.ClassVar[QtCore.pyqtSignal] - recentlyAudibleChanged: typing.ClassVar[QtCore.pyqtSignal] - audioMutedChanged: typing.ClassVar[QtCore.pyqtSignal] - contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] - scrollPositionChanged: typing.ClassVar[QtCore.pyqtSignal] - iconChanged: typing.ClassVar[QtCore.pyqtSignal] + def pdfPrintingFinished(self, filePath: str, success: bool) -> None: ... + def recentlyAudibleChanged(self, recentlyAudible: bool) -> None: ... + def audioMutedChanged(self, muted: bool) -> None: ... + def contentsSizeChanged(self, size: QtCore.QSizeF) -> None: ... + def scrollPositionChanged(self, position: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + def iconChanged(self, icon: QtGui.QIcon) -> None: ... def contextMenuData(self) -> QWebEngineContextMenuData: ... @typing.overload def printToPdf(self, filePath: str, pageLayout: QtGui.QPageLayout = ...) -> None: ... @@ -634,8 +635,8 @@ class QWebEnginePage(QtCore.QObject): def contentsSize(self) -> QtCore.QSizeF: ... def scrollPosition(self) -> QtCore.QPointF: ... def icon(self) -> QtGui.QIcon: ... - renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] - fullScreenRequested: typing.ClassVar[QtCore.pyqtSignal] + def renderProcessTerminated(self, terminationStatus: 'QWebEnginePage.RenderProcessTerminationStatus', exitCode: int) -> None: ... + def fullScreenRequested(self, fullScreenRequest: QWebEngineFullScreenRequest) -> None: ... def setBackgroundColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def backgroundColor(self) -> QtGui.QColor: ... def acceptNavigationRequest(self, url: QtCore.QUrl, type: 'QWebEnginePage.NavigationType', isMainFrame: bool) -> bool: ... @@ -653,20 +654,20 @@ class QWebEnginePage(QtCore.QObject): def javaScriptAlert(self, securityOrigin: QtCore.QUrl, msg: str) -> None: ... def chooseFiles(self, mode: 'QWebEnginePage.FileSelectionMode', oldFiles: typing.Iterable[str], acceptedMimeTypes: typing.Iterable[str]) -> typing.List[str]: ... def createWindow(self, type: 'QWebEnginePage.WebWindowType') -> 'QWebEnginePage': ... - iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - urlChanged: typing.ClassVar[QtCore.pyqtSignal] - titleChanged: typing.ClassVar[QtCore.pyqtSignal] - proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - authenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - featurePermissionRequestCanceled: typing.ClassVar[QtCore.pyqtSignal] - featurePermissionRequested: typing.ClassVar[QtCore.pyqtSignal] - windowCloseRequested: typing.ClassVar[QtCore.pyqtSignal] - geometryChangeRequested: typing.ClassVar[QtCore.pyqtSignal] - selectionChanged: typing.ClassVar[QtCore.pyqtSignal] - linkHovered: typing.ClassVar[QtCore.pyqtSignal] - loadFinished: typing.ClassVar[QtCore.pyqtSignal] - loadProgress: typing.ClassVar[QtCore.pyqtSignal] - loadStarted: typing.ClassVar[QtCore.pyqtSignal] + def iconUrlChanged(self, url: QtCore.QUrl) -> None: ... + def urlChanged(self, url: QtCore.QUrl) -> None: ... + def titleChanged(self, title: str) -> None: ... + def proxyAuthenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator, proxyHost: str) -> None: ... + def authenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator) -> None: ... + def featurePermissionRequestCanceled(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... + def featurePermissionRequested(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... + def windowCloseRequested(self) -> None: ... + def geometryChangeRequested(self, geom: QtCore.QRect) -> None: ... + def selectionChanged(self) -> None: ... + def linkHovered(self, url: str) -> None: ... + def loadFinished(self, ok: bool) -> None: ... + def loadProgress(self, progress: int) -> None: ... + def loadStarted(self) -> None: ... def settings(self) -> 'QWebEngineSettings': ... @typing.overload def runJavaScript(self, scriptSource: str, worldId: int) -> None: ... @@ -750,7 +751,7 @@ class QWebEngineProfile(QtCore.QObject): def cookieStore(self) -> QtWebEngineCore.QWebEngineCookieStore: ... def httpAcceptLanguage(self) -> str: ... def setHttpAcceptLanguage(self, httpAcceptLanguage: str) -> None: ... - downloadRequested: typing.ClassVar[QtCore.pyqtSignal] + def downloadRequested(self, download: QWebEngineDownloadItem) -> None: ... @staticmethod def defaultProfile() -> 'QWebEngineProfile': ... def scripts(self) -> 'QWebEngineScriptCollection': ... @@ -963,21 +964,21 @@ class QWebEngineView(QtWidgets.QWidget): def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... - iconChanged: typing.ClassVar[QtCore.pyqtSignal] + def iconChanged(self, a0: QtGui.QIcon) -> None: ... def icon(self) -> QtGui.QIcon: ... def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... def showEvent(self, a0: QtGui.QShowEvent) -> None: ... def event(self, a0: QtCore.QEvent) -> bool: ... def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... def createWindow(self, type: QWebEnginePage.WebWindowType) -> 'QWebEngineView': ... - renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] - iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] - urlChanged: typing.ClassVar[QtCore.pyqtSignal] - selectionChanged: typing.ClassVar[QtCore.pyqtSignal] - titleChanged: typing.ClassVar[QtCore.pyqtSignal] - loadFinished: typing.ClassVar[QtCore.pyqtSignal] - loadProgress: typing.ClassVar[QtCore.pyqtSignal] - loadStarted: typing.ClassVar[QtCore.pyqtSignal] + def renderProcessTerminated(self, terminationStatus: QWebEnginePage.RenderProcessTerminationStatus, exitCode: int) -> None: ... + def iconUrlChanged(self, a0: QtCore.QUrl) -> None: ... + def urlChanged(self, a0: QtCore.QUrl) -> None: ... + def selectionChanged(self) -> None: ... + def titleChanged(self, title: str) -> None: ... + def loadFinished(self, a0: bool) -> None: ... + def loadProgress(self, progress: int) -> None: ... + def loadStarted(self) -> None: ... def reload(self) -> None: ... def forward(self) -> None: ... def back(self) -> None: ... diff --git a/PyQt5-stubs/QtWebSockets.pyi b/PyQt5-stubs/QtWebSockets.pyi index b331369a..bdb0d168 100644 --- a/PyQt5-stubs/QtWebSockets.pyi +++ b/PyQt5-stubs/QtWebSockets.pyi @@ -58,20 +58,20 @@ class QWebSocket(QtCore.QObject): def maxAllowedIncomingFrameSize(self) -> int: ... def setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None: ... def bytesToWrite(self) -> int: ... - preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - sslErrors: typing.ClassVar[QtCore.pyqtSignal] - bytesWritten: typing.ClassVar[QtCore.pyqtSignal] - pong: typing.ClassVar[QtCore.pyqtSignal] - binaryMessageReceived: typing.ClassVar[QtCore.pyqtSignal] - textMessageReceived: typing.ClassVar[QtCore.pyqtSignal] - binaryFrameReceived: typing.ClassVar[QtCore.pyqtSignal] - textFrameReceived: typing.ClassVar[QtCore.pyqtSignal] - readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] - proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - stateChanged: typing.ClassVar[QtCore.pyqtSignal] - disconnected: typing.ClassVar[QtCore.pyqtSignal] - connected: typing.ClassVar[QtCore.pyqtSignal] - aboutToClose: typing.ClassVar[QtCore.pyqtSignal] + def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... + def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... + def bytesWritten(self, bytes: int) -> None: ... + def pong(self, elapsedTime: int, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def binaryMessageReceived(self, message: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + def textMessageReceived(self, message: str) -> None: ... + def binaryFrameReceived(self, frame: typing.Union[QtCore.QByteArray, bytes, bytearray], isLastFrame: bool) -> None: ... + def textFrameReceived(self, frame: str, isLastFrame: bool) -> None: ... + def readChannelFinished(self) -> None: ... + def proxyAuthenticationRequired(self, proxy: QtNetwork.QNetworkProxy, pAuthenticator: QtNetwork.QAuthenticator) -> None: ... + def stateChanged(self, state: QtNetwork.QAbstractSocket.SocketState) -> None: ... + def disconnected(self) -> None: ... + def connected(self) -> None: ... + def aboutToClose(self) -> None: ... def ping(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... @typing.overload def open(self, url: QtCore.QUrl) -> None: ... @@ -111,7 +111,10 @@ class QWebSocket(QtCore.QObject): def isValid(self) -> bool: ... def flush(self) -> bool: ... def errorString(self) -> str: ... - error: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def error(self) -> QtNetwork.QAbstractSocket.SocketError: ... + @typing.overload + def error(self, error: QtNetwork.QAbstractSocket.SocketError) -> None: ... def abort(self) -> None: ... @@ -196,14 +199,14 @@ class QWebSocketServer(QtCore.QObject): def setHandshakeTimeout(self, msec: int) -> None: ... def nativeDescriptor(self) -> sip.voidptr: ... def setNativeDescriptor(self, descriptor: sip.voidptr) -> bool: ... - preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - closed: typing.ClassVar[QtCore.pyqtSignal] - sslErrors: typing.ClassVar[QtCore.pyqtSignal] - peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] - newConnection: typing.ClassVar[QtCore.pyqtSignal] - originAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] - serverError: typing.ClassVar[QtCore.pyqtSignal] - acceptError: typing.ClassVar[QtCore.pyqtSignal] + def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... + def closed(self) -> None: ... + def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... + def peerVerifyError(self, error: QtNetwork.QSslError) -> None: ... + def newConnection(self) -> None: ... + def originAuthenticationRequired(self, pAuthenticator: QWebSocketCorsAuthenticator) -> None: ... + def serverError(self, closeCode: QWebSocketProtocol.CloseCode) -> None: ... + def acceptError(self, socketError: QtNetwork.QAbstractSocket.SocketError) -> None: ... def handleConnection(self, socket: QtNetwork.QTcpSocket) -> None: ... def serverUrl(self) -> QtCore.QUrl: ... def supportedVersions(self) -> typing.List[QWebSocketProtocol.Version]: ... diff --git a/PyQt5-stubs/QtWidgets.pyi b/PyQt5-stubs/QtWidgets.pyi index 284bf8ba..92d28ffb 100644 --- a/PyQt5-stubs/QtWidgets.pyi +++ b/PyQt5-stubs/QtWidgets.pyi @@ -1514,10 +1514,11 @@ class QVBoxLayout(QBoxLayout): class QButtonGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - idToggled: typing.ClassVar[QtCore.pyqtSignal] - idReleased: typing.ClassVar[QtCore.pyqtSignal] - idPressed: typing.ClassVar[QtCore.pyqtSignal] - idClicked: typing.ClassVar[QtCore.pyqtSignal] + + def idToggled(self, a0: int, a1: bool) -> None: ... + def idReleased(self, a0: int) -> None: ... + def idPressed(self, a0: int) -> None: ... + def idClicked(self, a0: int) -> None: ... buttonToggled: typing.ClassVar[QtCore.pyqtSignal] buttonReleased: typing.ClassVar[QtCore.pyqtSignal] buttonPressed: typing.ClassVar[QtCore.pyqtSignal] @@ -1809,8 +1810,8 @@ class QComboBox(QWidget): def placeholderText(self) -> str: ... def setPlaceholderText(self, placeholderText: str) -> None: ... - textHighlighted: typing.ClassVar[QtCore.pyqtSignal] - textActivated: typing.ClassVar[QtCore.pyqtSignal] + def textHighlighted(self, a0: str) -> None: ... + def textActivated(self, a0: str) -> None: ... def currentData(self, role: int = ...) -> typing.Any: ... @typing.overload def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... @@ -1831,7 +1832,10 @@ class QComboBox(QWidget): def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ... - highlighted: typing.ClassVar[QtCore.pyqtSignal] + @typing.overload + def highlighted(self, index: int) -> None: ... + @typing.overload + def highlighted(self, a0: str) -> None: ... currentTextChanged: typing.ClassVar[QtCore.pyqtSignal] currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] activated: typing.ClassVar[QtCore.pyqtSignal] @@ -3474,10 +3478,10 @@ class QDesktopWidget(QWidget): def __init__(self) -> None: ... def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... - primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] - screenCountChanged: typing.ClassVar[QtCore.pyqtSignal] - workAreaResized: typing.ClassVar[QtCore.pyqtSignal] - resized: typing.ClassVar[QtCore.pyqtSignal] + def primaryScreenChanged(self) -> None: ... + def screenCountChanged(self, a0: int) -> None: ... + def workAreaResized(self, a0: int) -> None: ... + def resized(self, a0: int) -> None: ... @typing.overload def availableGeometry(self, screen: int = ...) -> QtCore.QRect: ... @typing.overload @@ -5744,7 +5748,7 @@ class QGraphicsScene(QtCore.QObject): def setFocusOnTouch(self, enabled: bool) -> None: ... focusOnTouch: typing.ClassVar[QtCore.pyqtSignal] - focusItemChanged: typing.ClassVar[QtCore.pyqtSignal] + def focusItemChanged(self, newFocus: QGraphicsItem, oldFocus: QGraphicsItem, reason: QtCore.Qt.FocusReason) -> None: ... def setMinimumRenderSize(self, minSize: float) -> None: ... def minimumRenderSize(self) -> float: ... def sendEvent(self, item: QGraphicsItem, event: QtCore.QEvent) -> bool: ... @@ -5987,7 +5991,7 @@ class QGraphicsScale(QGraphicsTransform): yScaleChanged: typing.ClassVar[QtCore.pyqtSignal] xScaleChanged: typing.ClassVar[QtCore.pyqtSignal] scaleChanged: typing.ClassVar[QtCore.pyqtSignal] - originChanged: typing.ClassVar[QtCore.pyqtSignal] + def originChanged(self) -> None: ... def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... def setZScale(self, a0: float) -> None: ... def zScale(self) -> float: ... @@ -6834,7 +6838,8 @@ class QLineEdit(QWidget): def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @typing.overload def __init__(self, contents: str, parent: typing.Optional[QWidget] = ...) -> None: ... - inputRejected: typing.ClassVar[QtCore.pyqtSignal] + + def inputRejected(self) -> None: ... def selectionLength(self) -> int: ... def selectionEnd(self) -> int: ... @typing.overload @@ -7697,7 +7702,7 @@ class QMessageBox(QDialog): def setCheckBox(self, cb: QCheckBox) -> None: ... def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... - buttonClicked: typing.ClassVar[QtCore.pyqtSignal] + def buttonClicked(self, button: QAbstractButton) -> None: ... def buttonRole(self, button: QAbstractButton) -> 'QMessageBox.ButtonRole': ... def buttons(self) -> typing.List[QAbstractButton]: ... @typing.overload @@ -8531,7 +8536,7 @@ class QSpinBox(QAbstractSpinBox): def stepType(self) -> QAbstractSpinBox.StepType: ... def setDisplayIntegerBase(self, base: int) -> None: ... def displayIntegerBase(self) -> int: ... - textChanged: typing.ClassVar[QtCore.pyqtSignal] + def textChanged(self, a0: str) -> None: ... valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: int) -> None: ... def event(self, e: QtCore.QEvent) -> bool: ... @@ -8560,7 +8565,7 @@ class QDoubleSpinBox(QAbstractSpinBox): def setStepType(self, stepType: QAbstractSpinBox.StepType) -> None: ... def stepType(self) -> QAbstractSpinBox.StepType: ... - textChanged: typing.ClassVar[QtCore.pyqtSignal] + def textChanged(self, a0: str) -> None: ... valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: float) -> None: ... def fixup(self, str: str) -> str: ... From 6cf4838960a16c5ce7e922725909a1841aad938c Mon Sep 17 00:00:00 2001 From: TilmanK Date: Tue, 24 Aug 2021 20:40:36 +0200 Subject: [PATCH 3/5] Fixed handling of empty lines. --- PyQt5-stubs/Qt3DAnimation.pyi | 104 ++--- PyQt5-stubs/Qt3DCore.pyi | 62 +-- PyQt5-stubs/Qt3DExtras.pyi | 328 ++++++++-------- PyQt5-stubs/Qt3DInput.pyi | 156 ++++---- PyQt5-stubs/Qt3DLogic.pyi | 2 +- PyQt5-stubs/Qt3DRender.pyi | 541 +++++++++++++------------- PyQt5-stubs/QtBluetooth.pyi | 101 ++--- PyQt5-stubs/QtChart.pyi | 566 ++++++++++++++-------------- PyQt5-stubs/QtCore.pyi | 151 ++++---- PyQt5-stubs/QtDBus.pyi | 16 +- PyQt5-stubs/QtDataVisualization.pyi | 510 ++++++++++++------------- PyQt5-stubs/QtDesigner.pyi | 36 +- PyQt5-stubs/QtGui.pyi | 140 +++---- PyQt5-stubs/QtHelp.pyi | 42 +-- PyQt5-stubs/QtLocation.pyi | 81 ++-- PyQt5-stubs/QtMultimedia.pyi | 507 +++++++++++-------------- PyQt5-stubs/QtMultimediaWidgets.pyi | 22 +- PyQt5-stubs/QtNetwork.pyi | 113 +++--- PyQt5-stubs/QtNetworkAuth.pyi | 60 +-- PyQt5-stubs/QtNfc.pyi | 32 +- PyQt5-stubs/QtPositioning.pyi | 30 +- PyQt5-stubs/QtPrintSupport.pyi | 5 +- PyQt5-stubs/QtPurchasing.pyi | 6 +- PyQt5-stubs/QtQml.pyi | 10 +- PyQt5-stubs/QtQuick.pyi | 32 +- PyQt5-stubs/QtQuickWidgets.pyi | 4 +- PyQt5-stubs/QtRemoteObjects.pyi | 22 +- PyQt5-stubs/QtSensors.pyi | 42 +-- PyQt5-stubs/QtSerialPort.pyi | 27 +- PyQt5-stubs/QtSql.pyi | 13 +- PyQt5-stubs/QtSvg.pyi | 2 +- PyQt5-stubs/QtWebChannel.pyi | 4 +- PyQt5-stubs/QtWebEngine.pyi | 40 +- PyQt5-stubs/QtWebEngineCore.pyi | 6 +- PyQt5-stubs/QtWebEngineWidgets.pyi | 90 ++--- PyQt5-stubs/QtWebSockets.pyi | 49 ++- PyQt5-stubs/QtWidgets.pyi | 37 +- signal_fixer.py | 48 ++- 38 files changed, 1971 insertions(+), 2066 deletions(-) diff --git a/PyQt5-stubs/Qt3DAnimation.pyi b/PyQt5-stubs/Qt3DAnimation.pyi index 90a0c766..0c0c0a9f 100644 --- a/PyQt5-stubs/Qt3DAnimation.pyi +++ b/PyQt5-stubs/Qt3DAnimation.pyi @@ -52,9 +52,9 @@ class QAbstractAnimation(QtCore.QObject): MorphingAnimation = ... # type: QAbstractAnimation.AnimationType VertexBlendAnimation = ... # type: QAbstractAnimation.AnimationType - def durationChanged(self, duration: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def animationNameChanged(self, name: str) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + animationNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setDuration(self, duration: float) -> None: ... def setPosition(self, position: float) -> None: ... def setAnimationName(self, name: str) -> None: ... @@ -66,7 +66,7 @@ class QAbstractAnimation(QtCore.QObject): class QAbstractAnimationClip(Qt3DCore.QNode): def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def durationChanged(self, duration: float) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> float: ... class QAbstractChannelMapping(Qt3DCore.QNode): ... @@ -81,11 +81,11 @@ class QAbstractClipAnimator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def normalizedTimeChanged(self, index: float) -> None: ... - def clockChanged(self, clock: 'QClock') -> None: ... - def loopCountChanged(self, loops: int) -> None: ... - def channelMapperChanged(self, channelMapper: 'QChannelMapper') -> None: ... - def runningChanged(self, running: bool) -> None: ... + normalizedTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + clockChanged: typing.ClassVar[QtCore.pyqtSignal] + loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] + channelMapperChanged: typing.ClassVar[QtCore.pyqtSignal] + runningChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def setNormalizedTime(self, timeFraction: float) -> None: ... @@ -107,9 +107,9 @@ class QAdditiveClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def additiveClipChanged(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... - def baseClipChanged(self, baseClip: 'QAbstractClipBlendNode') -> None: ... - def additiveFactorChanged(self, additiveFactor: float) -> None: ... + additiveClipChanged: typing.ClassVar[QtCore.pyqtSignal] + baseClipChanged: typing.ClassVar[QtCore.pyqtSignal] + additiveFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setAdditiveClip(self, additiveClip: 'QAbstractClipBlendNode') -> None: ... def setBaseClip(self, baseClip: 'QAbstractClipBlendNode') -> None: ... def setAdditiveFactor(self, additiveFactor: float) -> None: ... @@ -125,7 +125,7 @@ class QAnimationClip('QAbstractAnimationClip'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def clipDataChanged(self, clipData: 'QAnimationClipData') -> None: ... + clipDataChanged: typing.ClassVar[QtCore.pyqtSignal] def setClipData(self, clipData: 'QAnimationClipData') -> None: ... def clipData(self) -> 'QAnimationClipData': ... @@ -162,8 +162,8 @@ class QAnimationClipLoader('QAbstractAnimationClip'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QAnimationClipLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QAnimationClipLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -172,12 +172,12 @@ class QAnimationController(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def recursiveChanged(self, recursive: bool) -> None: ... - def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... - def positionOffsetChanged(self, offset: float) -> None: ... - def positionScaleChanged(self, scale: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def activeAnimationGroupChanged(self, index: int) -> None: ... + recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] + entityChanged: typing.ClassVar[QtCore.pyqtSignal] + positionOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + positionScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + activeAnimationGroupChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecursive(self, recursive: bool) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def setPositionOffset(self, offset: float) -> None: ... @@ -201,9 +201,9 @@ class QAnimationGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def durationChanged(self, duration: float) -> None: ... - def positionChanged(self, position: float) -> None: ... - def nameChanged(self, name: str) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setPosition(self, position: float) -> None: ... def setName(self, name: str) -> None: ... def removeAnimation(self, animation: 'QAbstractAnimation') -> None: ... @@ -218,7 +218,7 @@ class QBlendedClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def blendTreeChanged(self, blendTree: 'QAbstractClipBlendNode') -> None: ... + blendTreeChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendTree(self, blendTree: 'QAbstractClipBlendNode') -> None: ... def blendTree(self) -> 'QAbstractClipBlendNode': ... @@ -270,9 +270,9 @@ class QChannelMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def propertyChanged(self, property: str) -> None: ... - def targetChanged(self, target: Qt3DCore.QNode) -> None: ... - def channelNameChanged(self, channelName: str) -> None: ... + propertyChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + channelNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setProperty(self, property: str) -> None: ... # type: ignore[override] def setTarget(self, target: Qt3DCore.QNode) -> None: ... def setChannelName(self, channelName: str) -> None: ... @@ -284,7 +284,7 @@ class QClipAnimator('QAbstractClipAnimator'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... + clipChanged: typing.ClassVar[QtCore.pyqtSignal] def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... @@ -299,7 +299,7 @@ class QClipBlendValue('QAbstractClipBlendNode'): @typing.overload def __init__(self, clip: 'QAbstractAnimationClip', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def clipChanged(self, clip: 'QAbstractAnimationClip') -> None: ... + clipChanged: typing.ClassVar[QtCore.pyqtSignal] def setClip(self, clip: 'QAbstractAnimationClip') -> None: ... def clip(self) -> 'QAbstractAnimationClip': ... @@ -307,7 +307,7 @@ class QClock(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def playbackRateChanged(self, playbackRate: float) -> None: ... + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] def setPlaybackRate(self, playbackRate: float) -> None: ... def playbackRate(self) -> float: ... @@ -353,12 +353,12 @@ class QKeyframeAnimation('QAbstractAnimation'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def endModeChanged(self, endMode: 'QKeyframeAnimation.RepeatMode') -> None: ... - def startModeChanged(self, startMode: 'QKeyframeAnimation.RepeatMode') -> None: ... - def targetNameChanged(self, name: str) -> None: ... - def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... - def targetChanged(self, target: Qt3DCore.QTransform) -> None: ... - def framePositionsChanged(self, positions: typing.Iterable[float]) -> None: ... + endModeChanged: typing.ClassVar[QtCore.pyqtSignal] + startModeChanged: typing.ClassVar[QtCore.pyqtSignal] + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + easingChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + framePositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setEndMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setStartMode(self, mode: 'QKeyframeAnimation.RepeatMode') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -380,9 +380,9 @@ class QLerpClipBlend('QAbstractClipBlendNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def endClipChanged(self, endClip: 'QAbstractClipBlendNode') -> None: ... - def startClipChanged(self, startClip: 'QAbstractClipBlendNode') -> None: ... - def blendFactorChanged(self, blendFactor: float) -> None: ... + endClipChanged: typing.ClassVar[QtCore.pyqtSignal] + startClipChanged: typing.ClassVar[QtCore.pyqtSignal] + blendFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setEndClip(self, endClip: 'QAbstractClipBlendNode') -> None: ... def setStartClip(self, startClip: 'QAbstractClipBlendNode') -> None: ... def setBlendFactor(self, blendFactor: float) -> None: ... @@ -401,12 +401,12 @@ class QMorphingAnimation('QAbstractAnimation'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def easingChanged(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... - def methodChanged(self, method: 'QMorphingAnimation.Method') -> None: ... - def targetNameChanged(self, name: str) -> None: ... - def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... - def interpolatorChanged(self, interpolator: float) -> None: ... - def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... + easingChanged: typing.ClassVar[QtCore.pyqtSignal] + methodChanged: typing.ClassVar[QtCore.pyqtSignal] + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setEasing(self, easing: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def setMethod(self, method: 'QMorphingAnimation.Method') -> None: ... def setTargetName(self, name: str) -> None: ... @@ -429,7 +429,7 @@ class QMorphTarget(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def attributeNamesChanged(self, attributeNames: typing.Iterable[str]) -> None: ... + attributeNamesChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def fromGeometry(geometry: Qt3DRender.QGeometry, attributes: typing.Iterable[str]) -> 'QMorphTarget': ... def removeAttribute(self, attribute: Qt3DRender.QAttribute) -> None: ... @@ -442,7 +442,7 @@ class QSkeletonMapping('QAbstractChannelMapping'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def skeletonChanged(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... + skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] def setSkeleton(self, skeleton: Qt3DCore.QAbstractSkeleton) -> None: ... def skeleton(self) -> Qt3DCore.QAbstractSkeleton: ... @@ -450,10 +450,10 @@ class QVertexBlendAnimation('QAbstractAnimation'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def targetNameChanged(self, name: str) -> None: ... - def targetChanged(self, target: Qt3DRender.QGeometryRenderer) -> None: ... - def interpolatorChanged(self, interpolator: float) -> None: ... - def targetPositionsChanged(self, targetPositions: typing.Iterable[float]) -> None: ... + targetNameChanged: typing.ClassVar[QtCore.pyqtSignal] + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + targetPositionsChanged: typing.ClassVar[QtCore.pyqtSignal] def setTargetName(self, name: str) -> None: ... def setTarget(self, target: Qt3DRender.QGeometryRenderer) -> None: ... def setTargetPositions(self, targetPositions: typing.Iterable[float]) -> None: ... diff --git a/PyQt5-stubs/Qt3DCore.pyi b/PyQt5-stubs/Qt3DCore.pyi index 66970665..76b4ed67 100644 --- a/PyQt5-stubs/Qt3DCore.pyi +++ b/PyQt5-stubs/Qt3DCore.pyi @@ -115,7 +115,7 @@ class QNode(QtCore.QObject): def sendReply(self, command: 'QNodeCommand') -> None: ... def sendCommand(self, name: str, data: typing.Any = ..., replyTo: int = ...) -> int: ... - def defaultPropertyTrackingModeChanged(self, mode: 'QNode.PropertyTrackingMode') -> None: ... + defaultPropertyTrackingModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setDefaultPropertyTrackingMode(self, mode: 'QNode.PropertyTrackingMode') -> None: ... def clearPropertyTrackings(self) -> None: ... def clearPropertyTracking(self, propertyName: str) -> None: ... @@ -124,9 +124,9 @@ class QNode(QtCore.QObject): def defaultPropertyTrackingMode(self) -> 'QNode.PropertyTrackingMode': ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... def notifyObservers(self, change: 'QSceneChange') -> None: ... - def nodeDestroyed(self) -> None: ... - def enabledChanged(self, enabled: bool) -> None: ... - def parentChanged(self, parent: QtCore.QObject) -> None: ... + nodeDestroyed: typing.ClassVar[QtCore.pyqtSignal] + enabledChanged: typing.ClassVar[QtCore.pyqtSignal] + parentChanged: typing.ClassVar[QtCore.pyqtSignal] def setEnabled(self, isEnabled: bool) -> None: ... def setParent(self, parent: 'QNode') -> None: ... # type: ignore[override] def isEnabled(self) -> bool: ... @@ -139,16 +139,16 @@ class QNode(QtCore.QObject): class QAbstractSkeleton('QNode'): def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def jointCountChanged(self, jointCount: int) -> None: ... + jointCountChanged: typing.ClassVar[QtCore.pyqtSignal] def jointCount(self) -> int: ... class QComponent('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - def removedFromEntity(self, entity: 'QEntity') -> None: ... - def addedToEntity(self, entity: 'QEntity') -> None: ... - def shareableChanged(self, isShareable: bool) -> None: ... + removedFromEntity: typing.ClassVar[QtCore.pyqtSignal] + addedToEntity: typing.ClassVar[QtCore.pyqtSignal] + shareableChanged: typing.ClassVar[QtCore.pyqtSignal] def setShareable(self, isShareable: bool) -> None: ... def entities(self) -> typing.List['QEntity']: ... def isShareable(self) -> bool: ... @@ -157,7 +157,7 @@ class QArmature('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - def skeletonChanged(self, skeleton: 'QAbstractSkeleton') -> None: ... + skeletonChanged: typing.ClassVar[QtCore.pyqtSignal] def setSkeleton(self, skeleton: 'QAbstractSkeleton') -> None: ... def skeleton(self) -> 'QAbstractSkeleton': ... @@ -273,14 +273,14 @@ class QJoint('QNode'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - def nameChanged(self, name: str) -> None: ... - def rotationZChanged(self, rotationZ: float) -> None: ... - def rotationYChanged(self, rotationY: float) -> None: ... - def rotationXChanged(self, rotationX: float) -> None: ... - def inverseBindMatrixChanged(self, inverseBindMatrix: QtGui.QMatrix4x4) -> None: ... - def translationChanged(self, translation: QtGui.QVector3D) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scaleChanged(self, scale: QtGui.QVector3D) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] + inverseBindMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + translationChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setToIdentity(self) -> None: ... def setName(self, name: str) -> None: ... def setRotationZ(self, rotationZ: float) -> None: ... @@ -437,7 +437,7 @@ class QSkeleton('QAbstractSkeleton'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... - def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... + rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] def setRootJoint(self, rootJoint: 'QJoint') -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -458,10 +458,10 @@ class QSkeletonLoader('QAbstractSkeleton'): def __init__(self, source: QtCore.QUrl, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def rootJointChanged(self, rootJoint: 'QJoint') -> None: ... - def createJointsEnabledChanged(self, createJointsEnabled: bool) -> None: ... - def statusChanged(self, status: 'QSkeletonLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + rootJointChanged: typing.ClassVar[QtCore.pyqtSignal] + createJointsEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setCreateJointsEnabled(self, enabled: bool) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def rootJoint(self) -> 'QJoint': ... @@ -474,16 +474,16 @@ class QTransform('QComponent'): def __init__(self, parent: typing.Optional['QNode'] = ...) -> None: ... def sceneChangeEvent(self, change: 'QSceneChange') -> None: ... - def worldMatrixChanged(self, worldMatrix: QtGui.QMatrix4x4) -> None: ... + worldMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] def worldMatrix(self) -> QtGui.QMatrix4x4: ... - def rotationZChanged(self, rotationZ: float) -> None: ... - def rotationYChanged(self, rotationY: float) -> None: ... - def rotationXChanged(self, rotationX: float) -> None: ... - def matrixChanged(self) -> None: ... - def translationChanged(self, translation: QtGui.QVector3D) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scale3DChanged(self, scale: QtGui.QVector3D) -> None: ... - def scaleChanged(self, scale: float) -> None: ... + rotationZChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationYChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationXChanged: typing.ClassVar[QtCore.pyqtSignal] + matrixChanged: typing.ClassVar[QtCore.pyqtSignal] + translationChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scale3DChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setRotationZ(self, rotationZ: float) -> None: ... def setRotationY(self, rotationY: float) -> None: ... def setRotationX(self, rotationX: float) -> None: ... diff --git a/PyQt5-stubs/Qt3DExtras.pyi b/PyQt5-stubs/Qt3DExtras.pyi index 1c3d4358..84b7bb4b 100644 --- a/PyQt5-stubs/Qt3DExtras.pyi +++ b/PyQt5-stubs/Qt3DExtras.pyi @@ -48,11 +48,11 @@ class QAbstractCameraController(Qt3DCore.QEntity): def mouseDevice(self) -> Qt3DInput.QMouseDevice: ... def keyboardDevice(self) -> Qt3DInput.QKeyboardDevice: ... - def decelerationChanged(self, deceleration: float) -> None: ... - def accelerationChanged(self, acceleration: float) -> None: ... - def lookSpeedChanged(self) -> None: ... - def linearSpeedChanged(self) -> None: ... - def cameraChanged(self) -> None: ... + decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + lookSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + linearSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setLookSpeed(self, lookSpeed: float) -> None: ... @@ -66,9 +66,9 @@ class QAbstractCameraController(Qt3DCore.QEntity): class QAbstractSpriteSheet(Qt3DCore.QNode): - def currentIndexChanged(self, currentIndex: int) -> None: ... - def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... - def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setCurrentIndex(self, currentIndex: int) -> None: ... def setTexture(self, texture: Qt3DRender.QAbstractTexture) -> None: ... def currentIndex(self) -> int: ... @@ -79,13 +79,13 @@ class QConeGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def bottomRadiusChanged(self, bottomRadius: float) -> None: ... - def topRadiusChanged(self, topRadius: float) -> None: ... - def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... - def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -111,13 +111,13 @@ class QConeMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def bottomRadiusChanged(self, bottomRadius: float) -> None: ... - def topRadiusChanged(self, topRadius: float) -> None: ... - def hasBottomEndcapChanged(self, hasBottomEndcap: bool) -> None: ... - def hasTopEndcapChanged(self, hasTopEndcap: bool) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + topRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + hasBottomEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] + hasTopEndcapChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setSlices(self, slices: int) -> None: ... def setRings(self, rings: int) -> None: ... @@ -137,12 +137,12 @@ class QCuboidGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... - def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... - def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... - def zExtentChanged(self, zExtent: float) -> None: ... - def yExtentChanged(self, yExtent: float) -> None: ... - def xExtentChanged(self, xExtent: float) -> None: ... + xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -167,12 +167,12 @@ class QCuboidMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def xyMeshResolutionChanged(self, xyMeshResolution: QtCore.QSize) -> None: ... - def xzMeshResolutionChanged(self, xzMeshResolution: QtCore.QSize) -> None: ... - def yzMeshResolutionChanged(self, yzMeshResolution: QtCore.QSize) -> None: ... - def zExtentChanged(self, zExtent: float) -> None: ... - def yExtentChanged(self, yExtent: float) -> None: ... - def xExtentChanged(self, xExtent: float) -> None: ... + xyMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + xzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + yzMeshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] + zExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + yExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + xExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def setXYMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setXZMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setYZMeshResolution(self, resolution: QtCore.QSize) -> None: ... @@ -190,10 +190,10 @@ class QCylinderGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -213,10 +213,10 @@ class QCylinderMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def lengthChanged(self, length: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setLength(self, length: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -230,11 +230,11 @@ class QDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setDiffuse(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... def setShininess(self, shininess: float) -> None: ... @@ -250,11 +250,11 @@ class QDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -270,13 +270,13 @@ class QDiffuseSpecularMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def normalChanged(self, normal: typing.Any) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Any) -> None: ... - def diffuseChanged(self, diffuse: typing.Any) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... @@ -296,9 +296,9 @@ class QExtrudedTextGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def depthChanged(self, extrusionLength: float) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepth(self, extrusionLength: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -313,9 +313,9 @@ class QExtrudedTextMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def depthChanged(self, depth: float) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepth(self, depth: float) -> None: ... def setFont(self, font: QtGui.QFont) -> None: ... def setText(self, text: str) -> None: ... @@ -331,23 +331,23 @@ class QForwardRenderer(Qt3DRender.QTechniqueFilter): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def showDebugOverlayChanged(self, showDebugOverlay: bool) -> None: ... + showDebugOverlayChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowDebugOverlay(self, showDebugOverlay: bool) -> None: ... def showDebugOverlay(self) -> bool: ... - def buffersToClearChanged(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... + buffersToClearChanged: typing.ClassVar[QtCore.pyqtSignal] def setBuffersToClear(self, a0: Qt3DRender.QClearBuffers.BufferType) -> None: ... def buffersToClear(self) -> Qt3DRender.QClearBuffers.BufferType: ... - def gammaChanged(self, gamma: float) -> None: ... - def frustumCullingEnabledChanged(self, enabled: bool) -> None: ... + gammaChanged: typing.ClassVar[QtCore.pyqtSignal] + frustumCullingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def setGamma(self, gamma: float) -> None: ... def setFrustumCullingEnabled(self, enabled: bool) -> None: ... def gamma(self) -> float: ... def isFrustumCullingEnabled(self) -> bool: ... - def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... - def surfaceChanged(self, surface: QtCore.QObject) -> None: ... - def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... - def clearColorChanged(self, clearColor: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def viewportRectChanged(self, viewportRect: QtCore.QRectF) -> None: ... + externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] + clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] + viewportRectChanged: typing.ClassVar[QtCore.pyqtSignal] def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... def setSurface(self, surface: QtCore.QObject) -> None: ... def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... @@ -363,13 +363,13 @@ class QGoochMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def betaChanged(self, beta: float) -> None: ... - def alphaChanged(self, alpha: float) -> None: ... - def warmChanged(self, warm: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def coolChanged(self, cool: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + betaChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaChanged: typing.ClassVar[QtCore.pyqtSignal] + warmChanged: typing.ClassVar[QtCore.pyqtSignal] + coolChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] def setShininess(self, shininess: float) -> None: ... def setBeta(self, beta: float) -> None: ... def setAlpha(self, alpha: float) -> None: ... @@ -389,12 +389,12 @@ class QMetalRoughMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def normalChanged(self, normal: typing.Any) -> None: ... - def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... - def roughnessChanged(self, roughness: typing.Any) -> None: ... - def metalnessChanged(self, metalness: typing.Any) -> None: ... - def baseColorChanged(self, baseColor: typing.Any) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] + roughnessChanged: typing.ClassVar[QtCore.pyqtSignal] + metalnessChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setNormal(self, normal: typing.Any) -> None: ... def setAmbientOcclusion(self, ambientOcclusion: typing.Any) -> None: ... @@ -412,11 +412,11 @@ class QMorphPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def interpolatorChanged(self, interpolator: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + interpolatorChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setInterpolator(self, interpolator: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -432,12 +432,12 @@ class QNormalDiffuseMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setNormal(self, normal: Qt3DRender.QAbstractTexture) -> None: ... @@ -459,12 +459,12 @@ class QNormalDiffuseSpecularMapMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureScaleChanged(self, textureScale: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: Qt3DRender.QAbstractTexture) -> None: ... - def normalChanged(self, normal: Qt3DRender.QAbstractTexture) -> None: ... - def diffuseChanged(self, diffuse: Qt3DRender.QAbstractTexture) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + textureScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureScale(self, textureScale: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: Qt3DRender.QAbstractTexture) -> None: ... @@ -482,7 +482,7 @@ class QOrbitCameraController('QAbstractCameraController'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def zoomInLimitChanged(self) -> None: ... + zoomInLimitChanged: typing.ClassVar[QtCore.pyqtSignal] def setZoomInLimit(self, zoomInLimit: float) -> None: ... def zoomInLimit(self) -> float: ... @@ -494,11 +494,11 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def blendFunctionArgChanged(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... - def destinationAlphaArgChanged(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def sourceAlphaArgChanged(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def destinationRgbArgChanged(self, destinationRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... - def sourceRgbArgChanged(self, sourceRgbArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... + blendFunctionArgChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAlphaArgChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbArgChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendFunctionArg(self, blendFunctionArg: Qt3DRender.QBlendEquation.BlendFunction) -> None: ... def setDestinationAlphaArg(self, destinationAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... def setSourceAlphaArg(self, sourceAlphaArg: Qt3DRender.QBlendEquationArguments.Blending) -> None: ... @@ -509,11 +509,11 @@ class QPhongAlphaMaterial(Qt3DRender.QMaterial): def sourceAlphaArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def destinationRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... def sourceRgbArg(self) -> Qt3DRender.QBlendEquationArguments.Blending: ... - def alphaChanged(self, alpha: float) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + alphaChanged: typing.ClassVar[QtCore.pyqtSignal] + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlpha(self, alpha: float) -> None: ... def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -529,10 +529,10 @@ class QPhongMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def shininessChanged(self, shininess: float) -> None: ... - def specularChanged(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def diffuseChanged(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def ambientChanged(self, ambient: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + shininessChanged: typing.ClassVar[QtCore.pyqtSignal] + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + diffuseChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientChanged: typing.ClassVar[QtCore.pyqtSignal] def setShininess(self, shininess: float) -> None: ... def setSpecular(self, specular: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setDiffuse(self, diffuse: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... @@ -546,12 +546,12 @@ class QPlaneGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def resolutionChanged(self, resolution: QtCore.QSize) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + resolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def setResolution(self, resolution: QtCore.QSize) -> None: ... @@ -570,12 +570,12 @@ class QPlaneMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def mirrored(self) -> bool: ... - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def meshResolutionChanged(self, meshResolution: QtCore.QSize) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + meshResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshResolution(self, resolution: QtCore.QSize) -> None: ... def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... @@ -587,11 +587,11 @@ class QSkyboxEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def gammaCorrectEnabledChanged(self, enabled: bool) -> None: ... - def baseNameChanged(self, path: str) -> None: ... + gammaCorrectEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + baseNameChanged: typing.ClassVar[QtCore.pyqtSignal] def setGammaCorrectEnabled(self, enabled: bool) -> None: ... def isGammaCorrectEnabled(self) -> bool: ... - def extensionChanged(self, extension: str) -> None: ... + extensionChanged: typing.ClassVar[QtCore.pyqtSignal] def extension(self) -> str: ... def setExtension(self, extension: str) -> None: ... def baseName(self) -> str: ... @@ -601,10 +601,10 @@ class QSphereGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def generateTangentsChanged(self, generateTangents: bool) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -625,10 +625,10 @@ class QSphereMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def generateTangentsChanged(self, generateTangents: bool) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + generateTangentsChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setGenerateTangents(self, gen: bool) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -642,8 +642,8 @@ class QSpriteGrid('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def columnsChanged(self, columns: int) -> None: ... - def rowsChanged(self, rows: int) -> None: ... + columnsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] def setColumns(self, columns: int) -> None: ... def setRows(self, rows: int) -> None: ... def columns(self) -> int: ... @@ -653,7 +653,7 @@ class QSpriteSheet('QAbstractSpriteSheet'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def spritesChanged(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... + spritesChanged: typing.ClassVar[QtCore.pyqtSignal] def setSprites(self, sprites: typing.Iterable['QSpriteSheetItem']) -> None: ... def removeSprite(self, sprite: 'QSpriteSheetItem') -> None: ... @typing.overload @@ -666,10 +666,10 @@ class QSpriteSheetItem(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def yChanged(self, y: int) -> None: ... - def xChanged(self, x: int) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + yChanged: typing.ClassVar[QtCore.pyqtSignal] + xChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setY(self, y: int) -> None: ... @@ -701,11 +701,11 @@ class QText2DEntity(Qt3DCore.QEntity): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def heightChanged(self, height: float) -> None: ... - def widthChanged(self, width: float) -> None: ... - def textChanged(self, text: str) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: float) -> None: ... def setWidth(self, width: float) -> None: ... def height(self) -> float: ... @@ -721,17 +721,17 @@ class QTexturedMetalRoughMaterial('QMetalRoughMaterial'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def normalChanged(self, normal: typing.Any) -> None: ... - def ambientOcclusionChanged(self, ambientOcclusion: typing.Any) -> None: ... + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientOcclusionChanged: typing.ClassVar[QtCore.pyqtSignal] class QTextureMaterial(Qt3DRender.QMaterial): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def alphaBlendingEnabledChanged(self, enabled: bool) -> None: ... - def textureTransformChanged(self, textureTransform: QtGui.QMatrix3x3) -> None: ... - def textureOffsetChanged(self, textureOffset: QtGui.QVector2D) -> None: ... - def textureChanged(self, texture: Qt3DRender.QAbstractTexture) -> None: ... + alphaBlendingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + textureTransformChanged: typing.ClassVar[QtCore.pyqtSignal] + textureOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaBlendingEnabled(self, enabled: bool) -> None: ... def setTextureTransform(self, matrix: QtGui.QMatrix3x3) -> None: ... def setTextureOffset(self, textureOffset: QtGui.QVector2D) -> None: ... @@ -745,10 +745,10 @@ class QTorusGeometry(Qt3DRender.QGeometry): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def minorRadiusChanged(self, minorRadius: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... @@ -768,10 +768,10 @@ class QTorusMesh(Qt3DRender.QGeometryRenderer): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def minorRadiusChanged(self, minorRadius: float) -> None: ... - def slicesChanged(self, slices: int) -> None: ... - def ringsChanged(self, rings: int) -> None: ... - def radiusChanged(self, radius: float) -> None: ... + minorRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] + slicesChanged: typing.ClassVar[QtCore.pyqtSignal] + ringsChanged: typing.ClassVar[QtCore.pyqtSignal] + radiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinorRadius(self, minorRadius: float) -> None: ... def setRadius(self, radius: float) -> None: ... def setSlices(self, slices: int) -> None: ... diff --git a/PyQt5-stubs/Qt3DInput.pyi b/PyQt5-stubs/Qt3DInput.pyi index 5c6a8256..7d089687 100644 --- a/PyQt5-stubs/Qt3DInput.pyi +++ b/PyQt5-stubs/Qt3DInput.pyi @@ -44,7 +44,7 @@ class QAbstractActionInput(Qt3DCore.QNode): ... class QAbstractAxisInput(Qt3DCore.QNode): - def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def sourceDevice(self) -> 'QAbstractPhysicalDevice': ... @@ -67,7 +67,7 @@ class QAction(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def activeChanged(self, isActive: bool) -> None: ... + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def inputs(self) -> typing.List['QAbstractActionInput']: ... def removeInput(self, input: 'QAbstractActionInput') -> None: ... def addInput(self, input: 'QAbstractActionInput') -> None: ... @@ -77,8 +77,8 @@ class QActionInput('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... - def sourceDeviceChanged(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... + buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setButtons(self, buttons: typing.Iterable[int]) -> None: ... def setSourceDevice(self, sourceDevice: 'QAbstractPhysicalDevice') -> None: ... def buttons(self) -> typing.List[int]: ... @@ -88,7 +88,7 @@ class QAnalogAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def axisChanged(self, axis: int) -> None: ... + axisChanged: typing.ClassVar[QtCore.pyqtSignal] def setAxis(self, axis: int) -> None: ... def axis(self) -> int: ... @@ -97,7 +97,7 @@ class QAxis(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def valueChanged(self, value: float) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def value(self) -> float: ... def inputs(self) -> typing.List['QAbstractAxisInput']: ... def removeInput(self, input: 'QAbstractAxisInput') -> None: ... @@ -115,11 +115,11 @@ class QAxisAccumulator(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def scaleChanged(self, scale: float) -> None: ... - def velocityChanged(self, value: float) -> None: ... - def valueChanged(self, value: float) -> None: ... - def sourceAxisTypeChanged(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... - def sourceAxisChanged(self, sourceAxis: 'QAxis') -> None: ... + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] + velocityChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAxisTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAxisChanged: typing.ClassVar[QtCore.pyqtSignal] def setScale(self, scale: float) -> None: ... def setSourceAxisType(self, sourceAxisType: 'QAxisAccumulator.SourceAxisType') -> None: ... def setSourceAxis(self, sourceAxis: 'QAxis') -> None: ... @@ -133,9 +133,9 @@ class QAxisSetting(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def smoothChanged(self, smooth: bool) -> None: ... - def axesChanged(self, axes: typing.Iterable[int]) -> None: ... - def deadZoneRadiusChanged(self, deadZoneRadius: float) -> None: ... + smoothChanged: typing.ClassVar[QtCore.pyqtSignal] + axesChanged: typing.ClassVar[QtCore.pyqtSignal] + deadZoneRadiusChanged: typing.ClassVar[QtCore.pyqtSignal] def setSmoothEnabled(self, enabled: bool) -> None: ... def setAxes(self, axes: typing.Iterable[int]) -> None: ... def setDeadZoneRadius(self, deadZoneRadius: float) -> None: ... @@ -147,10 +147,10 @@ class QButtonAxisInput('QAbstractAxisInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def decelerationChanged(self, deceleration: float) -> None: ... - def accelerationChanged(self, acceleration: float) -> None: ... - def buttonsChanged(self, buttons: typing.Iterable[int]) -> None: ... - def scaleChanged(self, scale: float) -> None: ... + decelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + accelerationChanged: typing.ClassVar[QtCore.pyqtSignal] + buttonsChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleChanged: typing.ClassVar[QtCore.pyqtSignal] def setDeceleration(self, deceleration: float) -> None: ... def setAcceleration(self, acceleration: float) -> None: ... def setButtons(self, buttons: typing.Iterable[int]) -> None: ... @@ -171,7 +171,7 @@ class QInputChord('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def timeoutChanged(self, timeout: int) -> None: ... + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] def setTimeout(self, timeout: int) -> None: ... def chords(self) -> typing.List['QAbstractActionInput']: ... def removeChord(self, input: 'QAbstractActionInput') -> None: ... @@ -182,8 +182,8 @@ class QInputSequence('QAbstractActionInput'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def buttonIntervalChanged(self, buttonInterval: int) -> None: ... - def timeoutChanged(self, timeout: int) -> None: ... + buttonIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] def setButtonInterval(self, buttonInterval: int) -> None: ... def setTimeout(self, timeout: int) -> None: ... def sequences(self) -> typing.List['QAbstractActionInput']: ... @@ -196,7 +196,7 @@ class QInputSettings(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def eventSourceChanged(self, a0: QtCore.QObject) -> None: ... + eventSourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setEventSource(self, eventSource: QtCore.QObject) -> None: ... def eventSource(self) -> QtCore.QObject: ... @@ -204,7 +204,7 @@ class QKeyboardDevice('QAbstractPhysicalDevice'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def activeInputChanged(self, activeInput: 'QKeyboardHandler') -> None: ... + activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def buttonIdentifier(self, name: str) -> int: ... def axisIdentifier(self, name: str) -> int: ... @@ -219,48 +219,48 @@ class QKeyboardHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def released(self, event: 'QKeyEvent') -> None: ... - def pressed(self, event: 'QKeyEvent') -> None: ... - def volumeDownPressed(self, event: 'QKeyEvent') -> None: ... - def volumeUpPressed(self, event: 'QKeyEvent') -> None: ... - def menuPressed(self, event: 'QKeyEvent') -> None: ... - def flipPressed(self, event: 'QKeyEvent') -> None: ... - def hangupPressed(self, event: 'QKeyEvent') -> None: ... - def callPressed(self, event: 'QKeyEvent') -> None: ... - def context4Pressed(self, event: 'QKeyEvent') -> None: ... - def context3Pressed(self, event: 'QKeyEvent') -> None: ... - def context2Pressed(self, event: 'QKeyEvent') -> None: ... - def context1Pressed(self, event: 'QKeyEvent') -> None: ... - def noPressed(self, event: 'QKeyEvent') -> None: ... - def yesPressed(self, event: 'QKeyEvent') -> None: ... - def selectPressed(self, event: 'QKeyEvent') -> None: ... - def cancelPressed(self, event: 'QKeyEvent') -> None: ... - def backPressed(self, event: 'QKeyEvent') -> None: ... - def spacePressed(self, event: 'QKeyEvent') -> None: ... - def deletePressed(self, event: 'QKeyEvent') -> None: ... - def enterPressed(self, event: 'QKeyEvent') -> None: ... - def returnPressed(self, event: 'QKeyEvent') -> None: ... - def escapePressed(self, event: 'QKeyEvent') -> None: ... - def numberSignPressed(self, event: 'QKeyEvent') -> None: ... - def asteriskPressed(self, event: 'QKeyEvent') -> None: ... - def backtabPressed(self, event: 'QKeyEvent') -> None: ... - def tabPressed(self, event: 'QKeyEvent') -> None: ... - def downPressed(self, event: 'QKeyEvent') -> None: ... - def upPressed(self, event: 'QKeyEvent') -> None: ... - def rightPressed(self, event: 'QKeyEvent') -> None: ... - def leftPressed(self, event: 'QKeyEvent') -> None: ... - def digit9Pressed(self, event: 'QKeyEvent') -> None: ... - def digit8Pressed(self, event: 'QKeyEvent') -> None: ... - def digit7Pressed(self, event: 'QKeyEvent') -> None: ... - def digit6Pressed(self, event: 'QKeyEvent') -> None: ... - def digit5Pressed(self, event: 'QKeyEvent') -> None: ... - def digit4Pressed(self, event: 'QKeyEvent') -> None: ... - def digit3Pressed(self, event: 'QKeyEvent') -> None: ... - def digit2Pressed(self, event: 'QKeyEvent') -> None: ... - def digit1Pressed(self, event: 'QKeyEvent') -> None: ... - def digit0Pressed(self, event: 'QKeyEvent') -> None: ... - def focusChanged(self, focus: bool) -> None: ... - def sourceDeviceChanged(self, keyboardDevice: 'QKeyboardDevice') -> None: ... + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + volumeDownPressed: typing.ClassVar[QtCore.pyqtSignal] + volumeUpPressed: typing.ClassVar[QtCore.pyqtSignal] + menuPressed: typing.ClassVar[QtCore.pyqtSignal] + flipPressed: typing.ClassVar[QtCore.pyqtSignal] + hangupPressed: typing.ClassVar[QtCore.pyqtSignal] + callPressed: typing.ClassVar[QtCore.pyqtSignal] + context4Pressed: typing.ClassVar[QtCore.pyqtSignal] + context3Pressed: typing.ClassVar[QtCore.pyqtSignal] + context2Pressed: typing.ClassVar[QtCore.pyqtSignal] + context1Pressed: typing.ClassVar[QtCore.pyqtSignal] + noPressed: typing.ClassVar[QtCore.pyqtSignal] + yesPressed: typing.ClassVar[QtCore.pyqtSignal] + selectPressed: typing.ClassVar[QtCore.pyqtSignal] + cancelPressed: typing.ClassVar[QtCore.pyqtSignal] + backPressed: typing.ClassVar[QtCore.pyqtSignal] + spacePressed: typing.ClassVar[QtCore.pyqtSignal] + deletePressed: typing.ClassVar[QtCore.pyqtSignal] + enterPressed: typing.ClassVar[QtCore.pyqtSignal] + returnPressed: typing.ClassVar[QtCore.pyqtSignal] + escapePressed: typing.ClassVar[QtCore.pyqtSignal] + numberSignPressed: typing.ClassVar[QtCore.pyqtSignal] + asteriskPressed: typing.ClassVar[QtCore.pyqtSignal] + backtabPressed: typing.ClassVar[QtCore.pyqtSignal] + tabPressed: typing.ClassVar[QtCore.pyqtSignal] + downPressed: typing.ClassVar[QtCore.pyqtSignal] + upPressed: typing.ClassVar[QtCore.pyqtSignal] + rightPressed: typing.ClassVar[QtCore.pyqtSignal] + leftPressed: typing.ClassVar[QtCore.pyqtSignal] + digit9Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit8Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit7Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit6Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit5Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit4Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit3Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit2Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit1Pressed: typing.ClassVar[QtCore.pyqtSignal] + digit0Pressed: typing.ClassVar[QtCore.pyqtSignal] + focusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setFocus(self, focus: bool) -> None: ... def setSourceDevice(self, keyboardDevice: 'QKeyboardDevice') -> None: ... def focus(self) -> bool: ... @@ -310,11 +310,11 @@ class QMouseDevice('QAbstractPhysicalDevice'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def updateAxesContinuouslyChanged(self, updateAxesContinuously: bool) -> None: ... + updateAxesContinuouslyChanged: typing.ClassVar[QtCore.pyqtSignal] def setUpdateAxesContinuously(self, updateAxesContinuously: bool) -> None: ... def updateAxesContinuously(self) -> bool: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def sensitivityChanged(self, value: float) -> None: ... + sensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] def setSensitivity(self, value: float) -> None: ... def sensitivity(self) -> float: ... def buttonIdentifier(self, name: str) -> int: ... @@ -412,17 +412,17 @@ class QMouseHandler(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def wheel(self, wheel: 'QWheelEvent') -> None: ... - def positionChanged(self, mouse: 'QMouseEvent') -> None: ... - def pressAndHold(self, mouse: 'QMouseEvent') -> None: ... - def released(self, mouse: 'QMouseEvent') -> None: ... - def pressed(self, mouse: 'QMouseEvent') -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def doubleClicked(self, mouse: 'QMouseEvent') -> None: ... - def clicked(self, mouse: 'QMouseEvent') -> None: ... - def containsMouseChanged(self, containsMouse: bool) -> None: ... - def sourceDeviceChanged(self, mouseDevice: 'QMouseDevice') -> None: ... + wheel: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + pressAndHold: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSourceDevice(self, mouseDevice: 'QMouseDevice') -> None: ... def containsMouse(self) -> bool: ... def sourceDevice(self) -> 'QMouseDevice': ... diff --git a/PyQt5-stubs/Qt3DLogic.pyi b/PyQt5-stubs/Qt3DLogic.pyi index dd8cabb8..98fdddcc 100644 --- a/PyQt5-stubs/Qt3DLogic.pyi +++ b/PyQt5-stubs/Qt3DLogic.pyi @@ -43,7 +43,7 @@ class QFrameAction(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def triggered(self, dt: float) -> None: ... + triggered: typing.ClassVar[QtCore.pyqtSignal] class QLogicAspect(Qt3DCore.QAbstractAspect): diff --git a/PyQt5-stubs/Qt3DRender.pyi b/PyQt5-stubs/Qt3DRender.pyi index 43b9e810..4083ea6f 100644 --- a/PyQt5-stubs/Qt3DRender.pyi +++ b/PyQt5-stubs/Qt3DRender.pyi @@ -55,8 +55,8 @@ class QAbstractLight(Qt3DCore.QComponent): DirectionalLight = ... # type: QAbstractLight.Type SpotLight = ... # type: QAbstractLight.Type - def intensityChanged(self, intensity: float) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... + intensityChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] def setIntensity(self, intensity: float) -> None: ... def setColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def intensity(self) -> float: ... @@ -86,9 +86,9 @@ class QAbstractRayCaster(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def filterModeChanged(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... - def hitsChanged(self, hits: typing.Iterable['QRayCasterHit']) -> None: ... - def runModeChanged(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... + filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] + hitsChanged: typing.ClassVar[QtCore.pyqtSignal] + runModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFilterMode(self, filterMode: 'QAbstractRayCaster.FilterMode') -> None: ... def setRunMode(self, runMode: 'QAbstractRayCaster.RunMode') -> None: ... def layers(self) -> typing.List['QLayer']: ... @@ -412,25 +412,25 @@ class QAbstractTexture(Qt3DCore.QNode): def __init__(self, target: 'QAbstractTexture.Target', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def updateData(self, update: 'QTextureDataUpdate') -> None: ... - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QAbstractTexture.HandleType') -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def handle(self) -> typing.Any: ... def handleType(self) -> 'QAbstractTexture.HandleType': ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... def setStatus(self, status: 'QAbstractTexture.Status') -> None: ... - def samplesChanged(self, samples: int) -> None: ... - def layersChanged(self, layers: int) -> None: ... - def comparisonModeChanged(self, comparisonMode: 'QAbstractTexture.ComparisonMode') -> None: ... - def comparisonFunctionChanged(self, comparisonFunction: 'QAbstractTexture.ComparisonFunction') -> None: ... - def maximumAnisotropyChanged(self, maximumAnisotropy: float) -> None: ... - def minificationFilterChanged(self, minificationFilter: 'QAbstractTexture.Filter') -> None: ... - def magnificationFilterChanged(self, magnificationFilter: 'QAbstractTexture.Filter') -> None: ... - def depthChanged(self, depth: int) -> None: ... - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def generateMipMapsChanged(self, generateMipMaps: bool) -> None: ... - def statusChanged(self, status: 'QAbstractTexture.Status') -> None: ... - def formatChanged(self, format: 'QAbstractTexture.TextureFormat') -> None: ... + samplesChanged: typing.ClassVar[QtCore.pyqtSignal] + layersChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonModeChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumAnisotropyChanged: typing.ClassVar[QtCore.pyqtSignal] + minificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + magnificationFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + depthChanged: typing.ClassVar[QtCore.pyqtSignal] + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + generateMipMapsChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] def setSamples(self, samples: int) -> None: ... def setLayers(self, layers: int) -> None: ... def setComparisonMode(self, mode: 'QAbstractTexture.ComparisonMode') -> None: ... @@ -471,9 +471,9 @@ class QAbstractTextureImage(Qt3DCore.QNode): def dataGenerator(self) -> 'QTextureImageDataGenerator': ... def notifyDataGeneratorChanged(self) -> None: ... - def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... + faceChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -510,8 +510,8 @@ class QAlphaTest('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def referenceValueChanged(self, referenceValue: float) -> None: ... - def alphaFunctionChanged(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... + referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setReferenceValue(self, referenceValue: float) -> None: ... def setAlphaFunction(self, alphaFunction: 'QAlphaTest.AlphaFunction') -> None: ... def referenceValue(self) -> float: ... @@ -556,17 +556,17 @@ class QAttribute(Qt3DCore.QNode): @typing.overload def __init__(self, buf: 'QBuffer', name: str, vertexBaseType: 'QAttribute.VertexBaseType', vertexSize: int, count: int, offset: int = ..., stride: int = ..., parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def vertexSizeChanged(self, vertexSize: int) -> None: ... - def vertexBaseTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... - def attributeTypeChanged(self, attributeType: 'QAttribute.AttributeType') -> None: ... - def divisorChanged(self, divisor: int) -> None: ... - def byteOffsetChanged(self, byteOffset: int) -> None: ... - def byteStrideChanged(self, byteStride: int) -> None: ... - def countChanged(self, count: int) -> None: ... - def dataSizeChanged(self, vertexSize: int) -> None: ... - def dataTypeChanged(self, vertexBaseType: 'QAttribute.VertexBaseType') -> None: ... - def nameChanged(self, name: str) -> None: ... - def bufferChanged(self, buffer: 'QBuffer') -> None: ... + vertexSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexBaseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + attributeTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + divisorChanged: typing.ClassVar[QtCore.pyqtSignal] + byteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + byteStrideChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + dataSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + dataTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferChanged: typing.ClassVar[QtCore.pyqtSignal] def setVertexSize(self, size: int) -> None: ... def setVertexBaseType(self, type: 'QAttribute.VertexBaseType') -> None: ... def setAttributeType(self, attributeType: 'QAttribute.AttributeType') -> None: ... @@ -623,7 +623,7 @@ class QBlendEquation('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def blendFunctionChanged(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... + blendFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlendFunction(self, blendFunction: 'QBlendEquation.BlendFunction') -> None: ... def blendFunction(self) -> 'QBlendEquation.BlendFunction': ... @@ -674,13 +674,13 @@ class QBlendEquationArguments('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def bufferIndexChanged(self, index: int) -> None: ... - def destinationRgbaChanged(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... - def sourceRgbaChanged(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... - def destinationAlphaChanged(self, destinationAlpha: 'QBlendEquationArguments.Blending') -> None: ... - def destinationRgbChanged(self, destinationRgb: 'QBlendEquationArguments.Blending') -> None: ... - def sourceAlphaChanged(self, sourceAlpha: 'QBlendEquationArguments.Blending') -> None: ... - def sourceRgbChanged(self, sourceRgb: 'QBlendEquationArguments.Blending') -> None: ... + bufferIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbaChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRgbChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAlphaChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRgbChanged: typing.ClassVar[QtCore.pyqtSignal] def setBufferIndex(self, index: int) -> None: ... def setDestinationRgba(self, destinationRgba: 'QBlendEquationArguments.Blending') -> None: ... def setSourceRgba(self, sourceRgba: 'QBlendEquationArguments.Blending') -> None: ... @@ -711,13 +711,13 @@ class QBlitFramebuffer('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def interpolationMethodChanged(self) -> None: ... - def destinationAttachmentPointChanged(self) -> None: ... - def sourceAttachmentPointChanged(self) -> None: ... - def destinationRectChanged(self) -> None: ... - def sourceRectChanged(self) -> None: ... - def destinationChanged(self) -> None: ... - def sourceChanged(self) -> None: ... + interpolationMethodChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceAttachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationRectChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceRectChanged: typing.ClassVar[QtCore.pyqtSignal] + destinationChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setInterpolationMethod(self, interpolationMethod: 'QBlitFramebuffer.InterpolationMethod') -> None: ... def setDestinationAttachmentPoint(self, destinationAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... def setSourceAttachmentPoint(self, sourceAttachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... @@ -787,16 +787,16 @@ class QBuffer(Qt3DCore.QNode): @typing.overload def __init__(self, ty: 'QBuffer.BufferType', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def dataAvailable(self) -> None: ... - def accessTypeChanged(self, access: 'QBuffer.AccessType') -> None: ... + dataAvailable: typing.ClassVar[QtCore.pyqtSignal] + accessTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setAccessType(self, access: 'QBuffer.AccessType') -> None: ... def accessType(self) -> 'QBuffer.AccessType': ... def updateData(self, offset: int, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def syncDataChanged(self, syncData: bool) -> None: ... - def usageChanged(self, usage: 'QBuffer.UsageType') -> None: ... - def typeChanged(self, type: 'QBuffer.BufferType') -> None: ... - def dataChanged(self, bytes: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + syncDataChanged: typing.ClassVar[QtCore.pyqtSignal] + usageChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] + dataChanged: typing.ClassVar[QtCore.pyqtSignal] def setSyncData(self, syncData: bool) -> None: ... def setUsage(self, usage: 'QBuffer.UsageType') -> None: ... def setType(self, type: 'QBuffer.BufferType') -> None: ... @@ -826,24 +826,24 @@ class QCamera(Qt3DCore.QEntity): def viewEntity(self, entity: Qt3DCore.QEntity) -> None: ... def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... def viewAll(self) -> None: ... - def exposureChanged(self, exposure: float) -> None: ... + exposureChanged: typing.ClassVar[QtCore.pyqtSignal] def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - def viewMatrixChanged(self) -> None: ... - def viewVectorChanged(self, viewVector: QtGui.QVector3D) -> None: ... - def viewCenterChanged(self, viewCenter: QtGui.QVector3D) -> None: ... - def upVectorChanged(self, upVector: QtGui.QVector3D) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... - def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... - def topChanged(self, top: float) -> None: ... - def bottomChanged(self, bottom: float) -> None: ... - def rightChanged(self, right: float) -> None: ... - def leftChanged(self, left: float) -> None: ... - def aspectRatioChanged(self, aspectRatio: float) -> None: ... - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... - def farPlaneChanged(self, farPlane: float) -> None: ... - def nearPlaneChanged(self, nearPlane: float) -> None: ... - def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... + viewMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + viewVectorChanged: typing.ClassVar[QtCore.pyqtSignal] + viewCenterChanged: typing.ClassVar[QtCore.pyqtSignal] + upVectorChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + topChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + rightChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] + farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setViewCenter(self, viewCenter: QtGui.QVector3D) -> None: ... def setUpVector(self, upVector: QtGui.QVector3D) -> None: ... def setPosition(self, position: QtGui.QVector3D) -> None: ... @@ -910,22 +910,22 @@ class QCameraLens(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def viewSphere(self, center: QtGui.QVector3D, radius: float) -> None: ... + viewSphere: typing.ClassVar[QtCore.pyqtSignal] def viewEntity(self, entityId: Qt3DCore.QNodeId, cameraId: Qt3DCore.QNodeId) -> None: ... def viewAll(self, cameraId: Qt3DCore.QNodeId) -> None: ... - def exposureChanged(self, exposure: float) -> None: ... + exposureChanged: typing.ClassVar[QtCore.pyqtSignal] def setExposure(self, exposure: float) -> None: ... def exposure(self) -> float: ... - def projectionMatrixChanged(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... - def topChanged(self, top: float) -> None: ... - def bottomChanged(self, bottom: float) -> None: ... - def rightChanged(self, right: float) -> None: ... - def leftChanged(self, left: float) -> None: ... - def aspectRatioChanged(self, aspectRatio: float) -> None: ... - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... - def farPlaneChanged(self, farPlane: float) -> None: ... - def nearPlaneChanged(self, nearPlane: float) -> None: ... - def projectionTypeChanged(self, projectionType: 'QCameraLens.ProjectionType') -> None: ... + projectionMatrixChanged: typing.ClassVar[QtCore.pyqtSignal] + topChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + rightChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] + farPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + nearPlaneChanged: typing.ClassVar[QtCore.pyqtSignal] + projectionTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def setProjectionMatrix(self, projectionMatrix: QtGui.QMatrix4x4) -> None: ... def setTop(self, top: float) -> None: ... def setBottom(self, bottom: float) -> None: ... @@ -954,7 +954,7 @@ class QCameraSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def cameraChanged(self, camera: Qt3DCore.QEntity) -> None: ... + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setCamera(self, camera: Qt3DCore.QEntity) -> None: ... def camera(self) -> Qt3DCore.QEntity: ... @@ -996,11 +996,11 @@ class QClearBuffers('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def colorBufferChanged(self, buffer: 'QRenderTargetOutput') -> None: ... - def clearStencilValueChanged(self, clearStencilValue: int) -> None: ... - def clearDepthValueChanged(self, clearDepthValue: float) -> None: ... - def clearColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def buffersChanged(self, buffers: 'QClearBuffers.BufferType') -> None: ... + colorBufferChanged: typing.ClassVar[QtCore.pyqtSignal] + clearStencilValueChanged: typing.ClassVar[QtCore.pyqtSignal] + clearDepthValueChanged: typing.ClassVar[QtCore.pyqtSignal] + clearColorChanged: typing.ClassVar[QtCore.pyqtSignal] + buffersChanged: typing.ClassVar[QtCore.pyqtSignal] def setColorBuffer(self, buffer: 'QRenderTargetOutput') -> None: ... def setClearStencilValue(self, clearStencilValue: int) -> None: ... def setClearDepthValue(self, clearDepthValue: float) -> None: ... @@ -1016,9 +1016,9 @@ class QClipPlane('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def distanceChanged(self, distance: float) -> None: ... - def normalChanged(self, normal: QtGui.QVector3D) -> None: ... - def planeIndexChanged(self, planeIndex: int) -> None: ... + distanceChanged: typing.ClassVar[QtCore.pyqtSignal] + normalChanged: typing.ClassVar[QtCore.pyqtSignal] + planeIndexChanged: typing.ClassVar[QtCore.pyqtSignal] def setDistance(self, a0: float) -> None: ... def setNormal(self, a0: QtGui.QVector3D) -> None: ... def setPlaneIndex(self, a0: int) -> None: ... @@ -1037,16 +1037,16 @@ class QComputeCommand(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def runTypeChanged(self) -> None: ... + runTypeChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self, frameCount: int = ...) -> None: ... @typing.overload def trigger(self, workGroupX: int, workGroupY: int, workGroupZ: int, frameCount: int = ...) -> None: ... def setRunType(self, runType: 'QComputeCommand.RunType') -> None: ... def runType(self) -> 'QComputeCommand.RunType': ... - def workGroupZChanged(self) -> None: ... - def workGroupYChanged(self) -> None: ... - def workGroupXChanged(self) -> None: ... + workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1058,10 +1058,10 @@ class QColorMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def alphaMaskedChanged(self, alphaMasked: bool) -> None: ... - def blueMaskedChanged(self, blueMasked: bool) -> None: ... - def greenMaskedChanged(self, greenMasked: bool) -> None: ... - def redMaskedChanged(self, redMasked: bool) -> None: ... + alphaMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + blueMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + greenMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] + redMaskedChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlphaMasked(self, alphaMasked: bool) -> None: ... def setBlueMasked(self, blueMasked: bool) -> None: ... def setGreenMasked(self, greenMasked: bool) -> None: ... @@ -1086,7 +1086,7 @@ class QCullFace('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def modeChanged(self, mode: 'QCullFace.CullingMode') -> None: ... + modeChanged: typing.ClassVar[QtCore.pyqtSignal] def setMode(self, mode: 'QCullFace.CullingMode') -> None: ... def mode(self) -> 'QCullFace.CullingMode': ... @@ -1094,8 +1094,8 @@ class QDepthRange('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def farValueChanged(self, farValue: float) -> None: ... - def nearValueChanged(self, nearValue: float) -> None: ... + farValueChanged: typing.ClassVar[QtCore.pyqtSignal] + nearValueChanged: typing.ClassVar[QtCore.pyqtSignal] def setFarValue(self, value: float) -> None: ... def setNearValue(self, value: float) -> None: ... def farValue(self) -> float: ... @@ -1124,7 +1124,7 @@ class QDepthTest('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def depthFunctionChanged(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... + depthFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepthFunction(self, depthFunction: 'QDepthTest.DepthFunction') -> None: ... def depthFunction(self) -> 'QDepthTest.DepthFunction': ... @@ -1132,7 +1132,7 @@ class QDirectionalLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def worldDirectionChanged(self, worldDirection: QtGui.QVector3D) -> None: ... + worldDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorldDirection(self, worldDirection: QtGui.QVector3D) -> None: ... def worldDirection(self) -> QtGui.QVector3D: ... @@ -1140,9 +1140,9 @@ class QDispatchCompute('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def workGroupZChanged(self) -> None: ... - def workGroupYChanged(self) -> None: ... - def workGroupXChanged(self) -> None: ... + workGroupZChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupYChanged: typing.ClassVar[QtCore.pyqtSignal] + workGroupXChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorkGroupZ(self, workGroupZ: int) -> None: ... def setWorkGroupY(self, workGroupY: int) -> None: ... def setWorkGroupX(self, workGroupX: int) -> None: ... @@ -1169,8 +1169,8 @@ class QEnvironmentLight(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def specularChanged(self, environmentSpecular: 'QAbstractTexture') -> None: ... - def irradianceChanged(self, environmentIrradiance: 'QAbstractTexture') -> None: ... + specularChanged: typing.ClassVar[QtCore.pyqtSignal] + irradianceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSpecular(self, specular: 'QAbstractTexture') -> None: ... def setIrradiance(self, irradiance: 'QAbstractTexture') -> None: ... def specular(self) -> 'QAbstractTexture': ... @@ -1180,8 +1180,8 @@ class QFilterKey(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def valueChanged(self, value: typing.Any) -> None: ... - def nameChanged(self, name: str) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setName(self, customType: str) -> None: ... def setValue(self, value: typing.Any) -> None: ... def name(self) -> str: ... @@ -1198,7 +1198,7 @@ class QFrontFace('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def directionChanged(self, direction: 'QFrontFace.WindingDirection') -> None: ... + directionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDirection(self, direction: 'QFrontFace.WindingDirection') -> None: ... def direction(self) -> 'QFrontFace.WindingDirection': ... @@ -1211,11 +1211,11 @@ class QGeometry(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def maxExtentChanged(self, maxExtent: QtGui.QVector3D) -> None: ... - def minExtentChanged(self, minExtent: QtGui.QVector3D) -> None: ... + maxExtentChanged: typing.ClassVar[QtCore.pyqtSignal] + minExtentChanged: typing.ClassVar[QtCore.pyqtSignal] def maxExtent(self) -> QtGui.QVector3D: ... def minExtent(self) -> QtGui.QVector3D: ... - def boundingVolumePositionAttributeChanged(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... + boundingVolumePositionAttributeChanged: typing.ClassVar[QtCore.pyqtSignal] def setBoundingVolumePositionAttribute(self, boundingVolumePositionAttribute: 'QAttribute') -> None: ... def boundingVolumePositionAttribute(self) -> 'QAttribute': ... def removeAttribute(self, attribute: 'QAttribute') -> None: ... @@ -1258,19 +1258,19 @@ class QGeometryRenderer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def indexBufferByteOffsetChanged(self, offset: int) -> None: ... + indexBufferByteOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] def setIndexBufferByteOffset(self, offset: int) -> None: ... def indexBufferByteOffset(self) -> int: ... - def primitiveTypeChanged(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... - def geometryChanged(self, geometry: 'QGeometry') -> None: ... - def primitiveRestartEnabledChanged(self, primitiveRestartEnabled: bool) -> None: ... - def verticesPerPatchChanged(self, verticesPerPatch: int) -> None: ... - def restartIndexValueChanged(self, restartIndexValue: int) -> None: ... - def firstVertexChanged(self, firstVertex: int) -> None: ... - def firstInstanceChanged(self, firstInstance: int) -> None: ... - def indexOffsetChanged(self, indexOffset: int) -> None: ... - def vertexCountChanged(self, vertexCount: int) -> None: ... - def instanceCountChanged(self, instanceCount: int) -> None: ... + primitiveTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] + primitiveRestartEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + verticesPerPatchChanged: typing.ClassVar[QtCore.pyqtSignal] + restartIndexValueChanged: typing.ClassVar[QtCore.pyqtSignal] + firstVertexChanged: typing.ClassVar[QtCore.pyqtSignal] + firstInstanceChanged: typing.ClassVar[QtCore.pyqtSignal] + indexOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexCountChanged: typing.ClassVar[QtCore.pyqtSignal] + instanceCountChanged: typing.ClassVar[QtCore.pyqtSignal] def setPrimitiveType(self, primitiveType: 'QGeometryRenderer.PrimitiveType') -> None: ... def setGeometry(self, geometry: 'QGeometry') -> None: ... def setPrimitiveRestartEnabled(self, enabled: bool) -> None: ... @@ -1320,13 +1320,13 @@ class QGraphicsApiFilter(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def graphicsApiFilterChanged(self) -> None: ... - def vendorChanged(self, vendor: str) -> None: ... - def extensionsChanged(self, extensions: typing.Iterable[str]) -> None: ... - def majorVersionChanged(self, majorVersion: int) -> None: ... - def minorVersionChanged(self, minorVersion: int) -> None: ... - def profileChanged(self, profile: 'QGraphicsApiFilter.OpenGLProfile') -> None: ... - def apiChanged(self, api: 'QGraphicsApiFilter.Api') -> None: ... + graphicsApiFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + vendorChanged: typing.ClassVar[QtCore.pyqtSignal] + extensionsChanged: typing.ClassVar[QtCore.pyqtSignal] + majorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] + minorVersionChanged: typing.ClassVar[QtCore.pyqtSignal] + profileChanged: typing.ClassVar[QtCore.pyqtSignal] + apiChanged: typing.ClassVar[QtCore.pyqtSignal] def setVendor(self, vendor: str) -> None: ... def setExtensions(self, extensions: typing.Iterable[str]) -> None: ... def setMajorVersion(self, majorVersion: int) -> None: ... @@ -1344,7 +1344,7 @@ class QLayer(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def recursiveChanged(self) -> None: ... + recursiveChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecursive(self, recursive: bool) -> None: ... def recursive(self) -> bool: ... @@ -1363,7 +1363,7 @@ class QLayerFilter('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def filterModeChanged(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... + filterModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFilterMode(self, filterMode: 'QLayerFilter.FilterMode') -> None: ... def filterMode(self) -> 'QLayerFilter.FilterMode': ... def layers(self) -> typing.List['QLayer']: ... @@ -1382,11 +1382,11 @@ class QLevelOfDetail(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def volumeOverrideChanged(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... - def thresholdsChanged(self, thresholds: typing.Iterable[float]) -> None: ... - def thresholdTypeChanged(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... - def currentIndexChanged(self, currentIndex: int) -> None: ... - def cameraChanged(self, camera: 'QCamera') -> None: ... + volumeOverrideChanged: typing.ClassVar[QtCore.pyqtSignal] + thresholdsChanged: typing.ClassVar[QtCore.pyqtSignal] + thresholdTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraChanged: typing.ClassVar[QtCore.pyqtSignal] def setVolumeOverride(self, volumeOverride: 'QLevelOfDetailBoundingSphere') -> None: ... def setThresholds(self, thresholds: typing.Iterable[float]) -> None: ... def setThresholdType(self, thresholdType: 'QLevelOfDetail.ThresholdType') -> None: ... @@ -1420,8 +1420,8 @@ class QLineWidth('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def smoothChanged(self, enabled: bool) -> None: ... - def valueChanged(self, value: float) -> None: ... + smoothChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setSmooth(self, enabled: bool) -> None: ... def setValue(self, value: float) -> None: ... def smooth(self) -> bool: ... @@ -1431,7 +1431,7 @@ class QMaterial(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def effectChanged(self, effect: 'QEffect') -> None: ... + effectChanged: typing.ClassVar[QtCore.pyqtSignal] def setEffect(self, effect: 'QEffect') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, parameter: 'QParameter') -> None: ... @@ -1492,7 +1492,7 @@ class QMemoryBarrier('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def waitOperationsChanged(self, barrierTypes: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... + waitOperationsChanged: typing.ClassVar[QtCore.pyqtSignal] def setWaitOperations(self, operations: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ... def waitOperations(self) -> 'QMemoryBarrier.Operations': ... @@ -1512,10 +1512,10 @@ class QMesh('QGeometryRenderer'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QMesh.Status') -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QMesh.Status': ... - def meshNameChanged(self, meshName: str) -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + meshNameChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshName(self, meshName: str) -> None: ... def setSource(self, source: QtCore.QUrl) -> None: ... def meshName(self) -> str: ... @@ -1541,20 +1541,20 @@ class QObjectPicker(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def priorityChanged(self, priority: int) -> None: ... + priorityChanged: typing.ClassVar[QtCore.pyqtSignal] def setPriority(self, priority: int) -> None: ... def priority(self) -> int: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def containsMouseChanged(self, containsMouse: bool) -> None: ... - def pressedChanged(self, pressed: bool) -> None: ... - def dragEnabledChanged(self, dragEnabled: bool) -> None: ... - def hoverEnabledChanged(self, hoverEnabled: bool) -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def moved(self, pick: 'QPickEvent') -> None: ... - def clicked(self, pick: 'QPickEvent') -> None: ... - def released(self, pick: 'QPickEvent') -> None: ... - def pressed(self, pick: 'QPickEvent') -> None: ... + containsMouseChanged: typing.ClassVar[QtCore.pyqtSignal] + pressedChanged: typing.ClassVar[QtCore.pyqtSignal] + dragEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + hoverEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + moved: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] def setDragEnabled(self, dragEnabled: bool) -> None: ... def setHoverEnabled(self, hoverEnabled: bool) -> None: ... def isPressed(self) -> bool: ... @@ -1567,9 +1567,9 @@ class QPaintedTextureImage('QAbstractTextureImage'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def paint(self, painter: QtGui.QPainter) -> None: ... - def sizeChanged(self, size: QtCore.QSize) -> None: ... - def heightChanged(self, w: int) -> None: ... - def widthChanged(self, w: int) -> None: ... + sizeChanged: typing.ClassVar[QtCore.pyqtSignal] + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] def setSize(self, size: QtCore.QSize) -> None: ... def setHeight(self, h: int) -> None: ... def setWidth(self, w: int) -> None: ... @@ -1587,8 +1587,8 @@ class QParameter(Qt3DCore.QNode): @typing.overload def __init__(self, name: str, texture: 'QAbstractTexture', parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def nameChanged(self, name: str) -> None: ... - def valueChanged(self, value: typing.Any) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, dv: typing.Any) -> None: ... def setName(self, name: str) -> None: ... def value(self) -> typing.Any: ... @@ -1636,7 +1636,7 @@ class QPickEvent(QtCore.QObject): def modifiers(self) -> int: ... def buttons(self) -> int: ... def button(self) -> 'QPickEvent.Buttons': ... - def acceptedChanged(self, accepted: bool) -> None: ... + acceptedChanged: typing.ClassVar[QtCore.pyqtSignal] def setAccepted(self, accepted: bool) -> None: ... def localIntersection(self) -> QtGui.QVector3D: ... def worldIntersection(self) -> QtGui.QVector3D: ... @@ -1679,14 +1679,14 @@ class QPickingSettings(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def worldSpaceToleranceChanged(self, worldSpaceTolerance: float) -> None: ... + worldSpaceToleranceChanged: typing.ClassVar[QtCore.pyqtSignal] def setWorldSpaceTolerance(self, worldSpaceTolerance: float) -> None: ... def worldSpaceTolerance(self) -> float: ... - def faceOrientationPickingModeChanged(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... + faceOrientationPickingModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFaceOrientationPickingMode(self, faceOrientationPickingMode: 'QPickingSettings.FaceOrientationPickingMode') -> None: ... def faceOrientationPickingMode(self) -> 'QPickingSettings.FaceOrientationPickingMode': ... - def pickResultModeChanged(self, pickResult: 'QPickingSettings.PickResultMode') -> None: ... - def pickMethodChanged(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... + pickResultModeChanged: typing.ClassVar[QtCore.pyqtSignal] + pickMethodChanged: typing.ClassVar[QtCore.pyqtSignal] def setPickResultMode(self, pickResultMode: 'QPickingSettings.PickResultMode') -> None: ... def setPickMethod(self, pickMethod: 'QPickingSettings.PickMethod') -> None: ... def pickResultMode(self) -> 'QPickingSettings.PickResultMode': ... @@ -1731,9 +1731,9 @@ class QPointLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... - def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... - def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... + quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] def setQuadraticAttenuation(self, value: float) -> None: ... def setLinearAttenuation(self, value: float) -> None: ... def setConstantAttenuation(self, value: float) -> None: ... @@ -1752,8 +1752,8 @@ class QPointSize('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def valueChanged(self, value: float) -> None: ... - def sizeModeChanged(self, sizeMode: 'QPointSize.SizeMode') -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + sizeModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, value: float) -> None: ... def setSizeMode(self, sizeMode: 'QPointSize.SizeMode') -> None: ... def value(self) -> float: ... @@ -1763,8 +1763,8 @@ class QPolygonOffset('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def depthStepsChanged(self, depthSteps: float) -> None: ... - def scaleFactorChanged(self, scaleFactor: float) -> None: ... + depthStepsChanged: typing.ClassVar[QtCore.pyqtSignal] + scaleFactorChanged: typing.ClassVar[QtCore.pyqtSignal] def setDepthSteps(self, depthSteps: float) -> None: ... def setScaleFactor(self, scaleFactor: float) -> None: ... def depthSteps(self) -> float: ... @@ -1774,8 +1774,8 @@ class QProximityFilter('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def distanceThresholdChanged(self, distanceThreshold: float) -> None: ... - def entityChanged(self, entity: Qt3DCore.QEntity) -> None: ... + distanceThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] + entityChanged: typing.ClassVar[QtCore.pyqtSignal] def setDistanceThreshold(self, distanceThreshold: float) -> None: ... def setEntity(self, entity: Qt3DCore.QEntity) -> None: ... def distanceThreshold(self) -> float: ... @@ -1803,8 +1803,8 @@ class QRasterMode('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def faceModeChanged(self, faceMode: 'QRasterMode.FaceMode') -> None: ... - def rasterModeChanged(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + rasterModeChanged: typing.ClassVar[QtCore.pyqtSignal] def setFaceMode(self, faceMode: 'QRasterMode.FaceMode') -> None: ... def setRasterMode(self, rasterMode: 'QRasterMode.RasterMode') -> None: ... def faceMode(self) -> 'QRasterMode.FaceMode': ... @@ -1814,9 +1814,9 @@ class QRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def lengthChanged(self, length: float) -> None: ... - def directionChanged(self, direction: QtGui.QVector3D) -> None: ... - def originChanged(self, origin: QtGui.QVector3D) -> None: ... + lengthChanged: typing.ClassVar[QtCore.pyqtSignal] + directionChanged: typing.ClassVar[QtCore.pyqtSignal] + originChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self) -> None: ... @typing.overload @@ -1935,9 +1935,9 @@ class QRenderCapabilities(QtCore.QObject): class QRenderCaptureReply(QtCore.QObject): - def completed(self) -> None: ... + completed: typing.ClassVar[QtCore.pyqtSignal] def saveImage(self, fileName: str) -> bool: ... - def completeChanged(self, isComplete: bool) -> None: ... + completeChanged: typing.ClassVar[QtCore.pyqtSignal] def saveToFile(self, fileName: str) -> None: ... def isComplete(self) -> bool: ... def captureId(self) -> int: ... @@ -1959,7 +1959,7 @@ class QRenderPass(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... + shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] def setShaderProgram(self, shaderProgram: 'QShaderProgram') -> None: ... def parameters(self) -> typing.List['QParameter']: ... def removeParameter(self, p: 'QParameter') -> None: ... @@ -1994,8 +1994,8 @@ class QRenderSettings(Qt3DCore.QComponent): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def renderPolicyChanged(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... - def activeFrameGraphChanged(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... + renderPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + activeFrameGraphChanged: typing.ClassVar[QtCore.pyqtSignal] def setRenderPolicy(self, renderPolicy: 'QRenderSettings.RenderPolicy') -> None: ... def setActiveFrameGraph(self, activeFrameGraph: 'QFrameGraphNode') -> None: ... def renderCapabilities(self) -> 'QRenderCapabilities': ... @@ -2015,9 +2015,9 @@ class QRenderSurfaceSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def surfacePixelRatioChanged(self, ratio: float) -> None: ... - def externalRenderTargetSizeChanged(self, size: QtCore.QSize) -> None: ... - def surfaceChanged(self, surface: QtCore.QObject) -> None: ... + surfacePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + externalRenderTargetSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSurfacePixelRatio(self, ratio: float) -> None: ... def setSurface(self, surfaceObject: QtCore.QObject) -> None: ... def setExternalRenderTargetSize(self, size: QtCore.QSize) -> None: ... @@ -2078,11 +2078,11 @@ class QRenderTargetOutput(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def faceChanged(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... - def textureChanged(self, texture: 'QAbstractTexture') -> None: ... - def attachmentPointChanged(self, attachmentPoint: 'QRenderTargetOutput.AttachmentPoint') -> None: ... + faceChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] + attachmentPointChanged: typing.ClassVar[QtCore.pyqtSignal] def setFace(self, face: 'QAbstractTexture.CubeMapFace') -> None: ... def setLayer(self, layer: int) -> None: ... def setMipLevel(self, level: int) -> None: ... @@ -2098,7 +2098,7 @@ class QRenderTargetSelector('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def targetChanged(self, target: 'QRenderTarget') -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] def setTarget(self, target: 'QRenderTarget') -> None: ... def target(self) -> 'QRenderTarget': ... def outputs(self) -> typing.List[QRenderTargetOutput.AttachmentPoint]: ... @@ -2136,8 +2136,8 @@ class QSceneLoader(Qt3DCore.QComponent): def component(self, entityName: str, componentType: 'QSceneLoader.ComponentType') -> Qt3DCore.QComponent: ... def entityNames(self) -> typing.List[str]: ... def entity(self, entityName: str) -> Qt3DCore.QEntity: ... - def statusChanged(self, status: 'QSceneLoader.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, arg: QtCore.QUrl) -> None: ... def status(self) -> 'QSceneLoader.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2147,10 +2147,10 @@ class QScissorTest('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def heightChanged(self, height: int) -> None: ... - def widthChanged(self, width: int) -> None: ... - def bottomChanged(self, bottom: int) -> None: ... - def leftChanged(self, left: int) -> None: ... + heightChanged: typing.ClassVar[QtCore.pyqtSignal] + widthChanged: typing.ClassVar[QtCore.pyqtSignal] + bottomChanged: typing.ClassVar[QtCore.pyqtSignal] + leftChanged: typing.ClassVar[QtCore.pyqtSignal] def setHeight(self, height: int) -> None: ... def setWidth(self, width: int) -> None: ... def setBottom(self, bottom: int) -> None: ... @@ -2164,7 +2164,7 @@ class QScreenRayCaster('QAbstractRayCaster'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def positionChanged(self, position: QtCore.QPoint) -> None: ... + positionChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def trigger(self) -> None: ... @typing.overload @@ -2188,8 +2188,8 @@ class QSetFence('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QSetFence.HandleType') -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] def handle(self) -> typing.Any: ... def handleType(self) -> 'QSetFence.HandleType': ... @@ -2302,12 +2302,12 @@ class QShaderImage(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def formatChanged(self, format: 'QShaderImage.ImageFormat') -> None: ... - def accessChanged(self, access: 'QShaderImage.Access') -> None: ... - def layerChanged(self, layer: int) -> None: ... - def mipLevelChanged(self, mipLevel: int) -> None: ... - def layeredChanged(self, layered: bool) -> None: ... - def textureChanged(self, texture: 'QAbstractTexture') -> None: ... + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + accessChanged: typing.ClassVar[QtCore.pyqtSignal] + layerChanged: typing.ClassVar[QtCore.pyqtSignal] + mipLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + layeredChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def setFormat(self, format: 'QShaderImage.ImageFormat') -> None: ... def setAccess(self, access: 'QShaderImage.Access') -> None: ... def setLayer(self, layer: int) -> None: ... @@ -2356,20 +2356,20 @@ class QShaderProgram(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def formatChanged(self, format: 'QShaderProgram.Format') -> None: ... + formatChanged: typing.ClassVar[QtCore.pyqtSignal] def format(self) -> 'QShaderProgram.Format': ... def setFormat(self, format: 'QShaderProgram.Format') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QShaderProgram.Status') -> None: ... - def logChanged(self, log: str) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + logChanged: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QShaderProgram.Status': ... def log(self) -> str: ... - def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] def setComputeShaderCode(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setFragmentShaderCode(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def setGeometryShaderCode(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... @@ -2392,26 +2392,26 @@ class QShaderProgramBuilder(Qt3DCore.QNode): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def computeShaderCodeChanged(self, computeShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def fragmentShaderCodeChanged(self, fragmentShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def geometryShaderCodeChanged(self, geometryShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationEvaluationShaderCodeChanged(self, tessellationEvaluationShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tessellationControlShaderCodeChanged(self, tessellationControlShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def vertexShaderCodeChanged(self, vertexShaderCode: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + computeShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderCodeChanged: typing.ClassVar[QtCore.pyqtSignal] def computeShaderCode(self) -> QtCore.QByteArray: ... def fragmentShaderCode(self) -> QtCore.QByteArray: ... def geometryShaderCode(self) -> QtCore.QByteArray: ... def tessellationEvaluationShaderCode(self) -> QtCore.QByteArray: ... def tessellationControlShaderCode(self) -> QtCore.QByteArray: ... def vertexShaderCode(self) -> QtCore.QByteArray: ... - def computeShaderGraphChanged(self, computeShaderGraph: QtCore.QUrl) -> None: ... - def fragmentShaderGraphChanged(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... - def geometryShaderGraphChanged(self, geometryShaderGraph: QtCore.QUrl) -> None: ... - def tessellationEvaluationShaderGraphChanged(self, tessellationEvaluationShaderGraph: QtCore.QUrl) -> None: ... - def tessellationControlShaderGraphChanged(self, tessellationControlShaderGraph: QtCore.QUrl) -> None: ... - def vertexShaderGraphChanged(self, vertexShaderGraph: QtCore.QUrl) -> None: ... - def enabledLayersChanged(self, layers: typing.Iterable[str]) -> None: ... - def shaderProgramChanged(self, shaderProgram: 'QShaderProgram') -> None: ... + computeShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + fragmentShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationEvaluationShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + tessellationControlShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + vertexShaderGraphChanged: typing.ClassVar[QtCore.pyqtSignal] + enabledLayersChanged: typing.ClassVar[QtCore.pyqtSignal] + shaderProgramChanged: typing.ClassVar[QtCore.pyqtSignal] def setComputeShaderGraph(self, computeShaderGraph: QtCore.QUrl) -> None: ... def setFragmentShaderGraph(self, fragmentShaderGraph: QtCore.QUrl) -> None: ... def setGeometryShaderGraph(self, geometryShaderGraph: QtCore.QUrl) -> None: ... @@ -2448,10 +2448,7 @@ class QSortPolicy('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - @typing.overload - def sortTypesChanged(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... - @typing.overload - def sortTypesChanged(self, sortTypes: typing.Iterable[int]) -> None: ... + sortTypesChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def setSortTypes(self, sortTypes: typing.Iterable[QSortPolicy.SortType]) -> None: ... @typing.overload @@ -2463,11 +2460,11 @@ class QSpotLight('QAbstractLight'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def cutOffAngleChanged(self, cutOffAngle: float) -> None: ... - def localDirectionChanged(self, localDirection: QtGui.QVector3D) -> None: ... - def quadraticAttenuationChanged(self, quadraticAttenuation: float) -> None: ... - def linearAttenuationChanged(self, linearAttenuation: float) -> None: ... - def constantAttenuationChanged(self, constantAttenuation: float) -> None: ... + cutOffAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + localDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + quadraticAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + linearAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] + constantAttenuationChanged: typing.ClassVar[QtCore.pyqtSignal] def setCutOffAngle(self, cutOffAngle: float) -> None: ... def setLocalDirection(self, localDirection: QtGui.QVector3D) -> None: ... def setQuadraticAttenuation(self, value: float) -> None: ... @@ -2483,8 +2480,8 @@ class QStencilMask('QRenderState'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def backOutputMaskChanged(self, backOutputMask: int) -> None: ... - def frontOutputMaskChanged(self, frontOutputMask: int) -> None: ... + backOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] + frontOutputMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setBackOutputMask(self, backOutputMask: int) -> None: ... def setFrontOutputMask(self, frontOutputMask: int) -> None: ... def backOutputMask(self) -> int: ... @@ -2527,10 +2524,10 @@ class QStencilOperationArguments(QtCore.QObject): Back = ... # type: QStencilOperationArguments.FaceMode FrontAndBack = ... # type: QStencilOperationArguments.FaceMode - def faceModeChanged(self, faceMode: 'QStencilOperationArguments.FaceMode') -> None: ... - def allTestsPassOperationChanged(self, stencilDepthPass: 'QStencilOperationArguments.Operation') -> None: ... - def depthTestFailureOperationChanged(self, depthFail: 'QStencilOperationArguments.Operation') -> None: ... - def stencilTestFailureOperationChanged(self, stencilFail: 'QStencilOperationArguments.Operation') -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + allTestsPassOperationChanged: typing.ClassVar[QtCore.pyqtSignal] + depthTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] + stencilTestFailureOperationChanged: typing.ClassVar[QtCore.pyqtSignal] def setAllTestsPassOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setDepthTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... def setStencilTestFailureOperation(self, operation: 'QStencilOperationArguments.Operation') -> None: ... @@ -2576,10 +2573,10 @@ class QStencilTestArguments(QtCore.QObject): Back = ... # type: QStencilTestArguments.StencilFaceMode FrontAndBack = ... # type: QStencilTestArguments.StencilFaceMode - def faceModeChanged(self, faceMode: 'QStencilTestArguments.StencilFaceMode') -> None: ... - def referenceValueChanged(self, referenceValue: int) -> None: ... - def stencilFunctionChanged(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... - def comparisonMaskChanged(self, comparisonMask: int) -> None: ... + faceModeChanged: typing.ClassVar[QtCore.pyqtSignal] + referenceValueChanged: typing.ClassVar[QtCore.pyqtSignal] + stencilFunctionChanged: typing.ClassVar[QtCore.pyqtSignal] + comparisonMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setStencilFunction(self, stencilFunction: 'QStencilTestArguments.StencilFunction') -> None: ... def setReferenceValue(self, referenceValue: int) -> None: ... def setComparisonMask(self, comparisonMask: int) -> None: ... @@ -2599,7 +2596,7 @@ class QSubtreeEnabler('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def enablementChanged(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... + enablementChanged: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self) -> None: ... def setEnablement(self, enablement: 'QSubtreeEnabler.Enablement') -> None: ... def enablement(self) -> 'QSubtreeEnabler.Enablement': ... @@ -2678,10 +2675,10 @@ class QTextureLoader('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def source(self) -> QtCore.QUrl: ... @@ -2689,7 +2686,7 @@ class QSharedGLTexture('QAbstractTexture'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def textureIdChanged(self, textureId: int) -> None: ... + textureIdChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureId(self, id: int) -> None: ... def textureId(self) -> int: ... @@ -2775,13 +2772,13 @@ class QTextureImage('QAbstractTextureImage'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def mirroredChanged(self, mirrored: bool) -> None: ... + mirroredChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrored(self, mirrored: bool) -> None: ... def isMirrored(self) -> bool: ... def setStatus(self, status: 'QTextureImage.Status') -> None: ... def sceneChangeEvent(self, change: Qt3DCore.QSceneChange) -> None: ... - def statusChanged(self, status: 'QTextureImage.Status') -> None: ... - def sourceChanged(self, source: QtCore.QUrl) -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, source: QtCore.QUrl) -> None: ... def status(self) -> 'QTextureImage.Status': ... def source(self) -> QtCore.QUrl: ... @@ -2841,9 +2838,9 @@ class QTextureWrapMode(QtCore.QObject): @typing.overload def __init__(self, x: 'QTextureWrapMode.WrapMode', y: 'QTextureWrapMode.WrapMode', z: 'QTextureWrapMode.WrapMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def zChanged(self, z: 'QTextureWrapMode.WrapMode') -> None: ... - def yChanged(self, y: 'QTextureWrapMode.WrapMode') -> None: ... - def xChanged(self, x: 'QTextureWrapMode.WrapMode') -> None: ... + zChanged: typing.ClassVar[QtCore.pyqtSignal] + yChanged: typing.ClassVar[QtCore.pyqtSignal] + xChanged: typing.ClassVar[QtCore.pyqtSignal] def setZ(self, z: 'QTextureWrapMode.WrapMode') -> None: ... def setY(self, y: 'QTextureWrapMode.WrapMode') -> None: ... def setX(self, x: 'QTextureWrapMode.WrapMode') -> None: ... @@ -2855,10 +2852,10 @@ class QViewport('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def gammaChanged(self, gamma: float) -> None: ... + gammaChanged: typing.ClassVar[QtCore.pyqtSignal] def setGamma(self, gamma: float) -> None: ... def gamma(self) -> float: ... - def normalizedRectChanged(self, normalizedRect: QtCore.QRectF) -> None: ... + normalizedRectChanged: typing.ClassVar[QtCore.pyqtSignal] def setNormalizedRect(self, normalizedRect: QtCore.QRectF) -> None: ... def normalizedRect(self) -> QtCore.QRectF: ... @@ -2873,10 +2870,10 @@ class QWaitFence('QFrameGraphNode'): def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ... - def handleChanged(self, handle: typing.Any) -> None: ... - def handleTypeChanged(self, handleType: 'QWaitFence.HandleType') -> None: ... - def timeoutChanged(self, timeoutChanged: int) -> None: ... - def waitOnCPUChanged(self, waitOnCPU: bool) -> None: ... + handleChanged: typing.ClassVar[QtCore.pyqtSignal] + handleTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + timeoutChanged: typing.ClassVar[QtCore.pyqtSignal] + waitOnCPUChanged: typing.ClassVar[QtCore.pyqtSignal] def setTimeout(self, timeout: int) -> None: ... def timeout(self) -> int: ... def setWaitOnCPU(self, waitOnCPU: bool) -> None: ... diff --git a/PyQt5-stubs/QtBluetooth.pyi b/PyQt5-stubs/QtBluetooth.pyi index b9bb57b5..87a432e3 100644 --- a/PyQt5-stubs/QtBluetooth.pyi +++ b/PyQt5-stubs/QtBluetooth.pyi @@ -163,10 +163,10 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def supportedDiscoveryMethods() -> 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethods': ... def lowEnergyDiscoveryTimeout(self) -> int: ... def setLowEnergyDiscoveryTimeout(self, msTimeout: int) -> None: ... - def deviceUpdated(self, info: 'QBluetoothDeviceInfo', updatedFields: typing.Union['QBluetoothDeviceInfo.Fields', 'QBluetoothDeviceInfo.Field']) -> None: ... - def canceled(self) -> None: ... - def finished(self) -> None: ... - def deviceDiscovered(self, info: 'QBluetoothDeviceInfo') -> None: ... + deviceUpdated: typing.ClassVar[QtCore.pyqtSignal] + canceled: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + deviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... @typing.overload def start(self) -> None: ... @@ -174,10 +174,7 @@ class QBluetoothDeviceDiscoveryAgent(QtCore.QObject): def start(self, method: typing.Union['QBluetoothDeviceDiscoveryAgent.DiscoveryMethods', 'QBluetoothDeviceDiscoveryAgent.DiscoveryMethod']) -> None: ... def discoveredDevices(self) -> typing.List['QBluetoothDeviceInfo']: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothDeviceDiscoveryAgent.Error': ... - @typing.overload - def error(self, error: 'QBluetoothDeviceDiscoveryAgent.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... def setInquiryType(self, type: 'QBluetoothDeviceDiscoveryAgent.InquiryType') -> None: ... def inquiryType(self) -> 'QBluetoothDeviceDiscoveryAgent.InquiryType': ... @@ -575,13 +572,13 @@ class QBluetoothLocalDevice(QtCore.QObject): @typing.overload def __init__(self, address: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def deviceDisconnected(self, address: QBluetoothAddress) -> None: ... - def deviceConnected(self, address: QBluetoothAddress) -> None: ... - def error(self, error: 'QBluetoothLocalDevice.Error') -> None: ... - def pairingDisplayConfirmation(self, address: QBluetoothAddress, pin: str) -> None: ... - def pairingDisplayPinCode(self, address: QBluetoothAddress, pin: str) -> None: ... - def pairingFinished(self, address: QBluetoothAddress, pairing: 'QBluetoothLocalDevice.Pairing') -> None: ... - def hostModeStateChanged(self, state: 'QBluetoothLocalDevice.HostMode') -> None: ... + deviceDisconnected: typing.ClassVar[QtCore.pyqtSignal] + deviceConnected: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + pairingDisplayConfirmation: typing.ClassVar[QtCore.pyqtSignal] + pairingDisplayPinCode: typing.ClassVar[QtCore.pyqtSignal] + pairingFinished: typing.ClassVar[QtCore.pyqtSignal] + hostModeStateChanged: typing.ClassVar[QtCore.pyqtSignal] def pairingConfirmation(self, confirmation: bool) -> None: ... def connectedDevices(self) -> typing.List[QBluetoothAddress]: ... @staticmethod @@ -615,11 +612,8 @@ class QBluetoothServer(QtCore.QObject): def __init__(self, serverType: 'QBluetoothServiceInfo.Protocol', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def newConnection(self) -> None: ... - @typing.overload - def error(self) -> 'QBluetoothServer.Error': ... - @typing.overload - def error(self, a0: 'QBluetoothServer.Error') -> None: ... + newConnection: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] def serverType(self) -> 'QBluetoothServiceInfo.Protocol': ... def securityFlags(self) -> QBluetooth.SecurityFlags: ... def setSecurityFlags(self, security: typing.Union[QBluetooth.SecurityFlags, QBluetooth.Security]) -> None: ... @@ -664,9 +658,9 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): @typing.overload def __init__(self, deviceAdapter: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def canceled(self) -> None: ... - def finished(self) -> None: ... - def serviceDiscovered(self, info: 'QBluetoothServiceInfo') -> None: ... + canceled: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] def clear(self) -> None: ... def stop(self) -> None: ... def start(self, mode: 'QBluetoothServiceDiscoveryAgent.DiscoveryMode' = ...) -> None: ... @@ -679,10 +673,7 @@ class QBluetoothServiceDiscoveryAgent(QtCore.QObject): def setUuidFilter(self, uuid: 'QBluetoothUuid') -> None: ... def discoveredServices(self) -> typing.List['QBluetoothServiceInfo']: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothServiceDiscoveryAgent.Error': ... - @typing.overload - def error(self, error: 'QBluetoothServiceDiscoveryAgent.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @@ -825,14 +816,11 @@ class QBluetoothSocket(QtCore.QIODevice): def setSocketState(self, state: 'QBluetoothSocket.SocketState') -> None: ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def stateChanged(self, state: 'QBluetoothSocket.SocketState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothSocket.SocketError': ... - @typing.overload - def error(self, error: 'QBluetoothSocket.SocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QBluetoothSocket.SocketState': ... def socketType(self) -> QBluetoothServiceInfo.Protocol: ... def socketDescriptor(self) -> int: ... @@ -862,7 +850,7 @@ class QBluetoothTransferManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def finished(self, reply: 'QBluetoothTransferReply') -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def put(self, request: 'QBluetoothTransferRequest', data: QtCore.QIODevice) -> 'QBluetoothTransferReply': ... @@ -891,15 +879,12 @@ class QBluetoothTransferReply(QtCore.QObject): def setRequest(self, request: 'QBluetoothTransferRequest') -> None: ... def setManager(self, manager: QBluetoothTransferManager) -> None: ... - def transferProgress(self, bytesTransferred: int, bytesTotal: int) -> None: ... - def finished(self, a0: 'QBluetoothTransferReply') -> None: ... + transferProgress: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def request(self) -> 'QBluetoothTransferRequest': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QBluetoothTransferReply.TransferError': ... - @typing.overload - def error(self, lastError: 'QBluetoothTransferReply.TransferError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def manager(self) -> QBluetoothTransferManager: ... def isRunning(self) -> bool: ... def isFinished(self) -> bool: ... @@ -1746,7 +1731,7 @@ class QLowEnergyController(QtCore.QObject): def __init__(self, remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def remoteDeviceUuid(self) -> QBluetoothUuid: ... - def connectionUpdated(self, parameters: QLowEnergyConnectionParameters) -> None: ... + connectionUpdated: typing.ClassVar[QtCore.pyqtSignal] def role(self) -> 'QLowEnergyController.Role': ... def requestConnectionUpdate(self, parameters: QLowEnergyConnectionParameters) -> None: ... def addService(self, service: 'QLowEnergyServiceData', parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... @@ -1760,17 +1745,14 @@ class QLowEnergyController(QtCore.QObject): @typing.overload @staticmethod def createCentral(remoteDevice: QBluetoothAddress, localDevice: QBluetoothAddress, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyController': ... - def discoveryFinished(self) -> None: ... - def serviceDiscovered(self, newService: QBluetoothUuid) -> None: ... - def stateChanged(self, state: 'QLowEnergyController.ControllerState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + discoveryFinished: typing.ClassVar[QtCore.pyqtSignal] + serviceDiscovered: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def remoteName(self) -> str: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QLowEnergyController.Error': ... - @typing.overload - def error(self, newError: 'QLowEnergyController.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def createServiceObject(self, service: QBluetoothUuid, parent: typing.Optional[QtCore.QObject] = ...) -> 'QLowEnergyService': ... def services(self) -> typing.List[QBluetoothUuid]: ... def discoverServices(self) -> None: ... @@ -1884,24 +1866,21 @@ class QLowEnergyService(QtCore.QObject): def __index__(self) -> int: ... def __int__(self) -> int: ... - def descriptorRead(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicRead(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... + descriptorRead: typing.ClassVar[QtCore.pyqtSignal] + characteristicRead: typing.ClassVar[QtCore.pyqtSignal] def readDescriptor(self, descriptor: QLowEnergyDescriptor) -> None: ... def readCharacteristic(self, characteristic: QLowEnergyCharacteristic) -> None: ... - def descriptorWritten(self, info: QLowEnergyDescriptor, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicWritten(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def characteristicChanged(self, info: QLowEnergyCharacteristic, value: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def stateChanged(self, newState: 'QLowEnergyService.ServiceState') -> None: ... + descriptorWritten: typing.ClassVar[QtCore.pyqtSignal] + characteristicWritten: typing.ClassVar[QtCore.pyqtSignal] + characteristicChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def writeDescriptor(self, descriptor: QLowEnergyDescriptor, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def writeCharacteristic(self, characteristic: QLowEnergyCharacteristic, newValue: typing.Union[QtCore.QByteArray, bytes, bytearray], mode: 'QLowEnergyService.WriteMode' = ...) -> None: ... @typing.overload def contains(self, characteristic: QLowEnergyCharacteristic) -> bool: ... @typing.overload def contains(self, descriptor: QLowEnergyDescriptor) -> bool: ... - @typing.overload - def error(self) -> 'QLowEnergyService.ServiceError': ... - @typing.overload - def error(self, error: 'QLowEnergyService.ServiceError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def discoverDetails(self) -> None: ... def serviceName(self) -> str: ... def serviceUuid(self) -> QBluetoothUuid: ... diff --git a/PyQt5-stubs/QtChart.pyi b/PyQt5-stubs/QtChart.pyi index 5520a571..33b4411b 100644 --- a/PyQt5-stubs/QtChart.pyi +++ b/PyQt5-stubs/QtChart.pyi @@ -72,14 +72,14 @@ class QAbstractAxis(QtCore.QObject): def __index__(self) -> int: ... def __int__(self) -> int: ... - def labelsEditableChanged(self, editable: bool) -> None: ... + labelsEditableChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsEditable(self) -> bool: ... def setLabelsEditable(self, editable: bool = ...) -> None: ... - def reverseChanged(self, reverse: bool) -> None: ... - def minorGridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def minorGridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def minorGridVisibleChanged(self, visible: bool) -> None: ... + reverseChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] + minorGridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] def isReverse(self) -> bool: ... def setReverse(self, reverse: bool = ...) -> None: ... def minorGridLineColor(self) -> QtGui.QColor: ... @@ -90,17 +90,17 @@ class QAbstractAxis(QtCore.QObject): def setMinorGridLinePen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def setMinorGridLineVisible(self, visible: bool = ...) -> None: ... def isMinorGridLineVisible(self) -> bool: ... - def shadesBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesPenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def titleFontChanged(self, font: QtGui.QFont) -> None: ... - def titleVisibleChanged(self, visible: bool) -> None: ... - def titleBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def titleTextChanged(self, title: str) -> None: ... - def gridLinePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def labelsAngleChanged(self, angle: int) -> None: ... - def labelsFontChanged(self, pen: QtGui.QFont) -> None: ... - def labelsBrushChanged(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def linePenChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + shadesBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesPenChanged: typing.ClassVar[QtCore.pyqtSignal] + titleFontChanged: typing.ClassVar[QtCore.pyqtSignal] + titleVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + titleBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + titleTextChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLinePenChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + linePenChanged: typing.ClassVar[QtCore.pyqtSignal] def alignment(self) -> QtCore.Qt.Alignment: ... def titleText(self) -> str: ... def setTitleText(self, title: str) -> None: ... @@ -110,15 +110,15 @@ class QAbstractAxis(QtCore.QObject): def setTitleBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def setTitleVisible(self, visible: bool = ...) -> None: ... def isTitleVisible(self) -> bool: ... - def shadesBorderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def shadesVisibleChanged(self, visible: bool) -> None: ... - def labelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def gridVisibleChanged(self, visible: bool) -> None: ... - def labelsVisibleChanged(self, visible: bool) -> None: ... - def lineVisibleChanged(self, visible: bool) -> None: ... - def visibleChanged(self, visible: bool) -> None: ... + shadesBorderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesColorChanged: typing.ClassVar[QtCore.pyqtSignal] + shadesVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + lineVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] def orientation(self) -> QtCore.Qt.Orientation: ... def hide(self) -> None: ... def show(self) -> None: ... @@ -190,17 +190,17 @@ class QAbstractSeries(QtCore.QObject): SeriesTypeBoxPlot = ... # type: QAbstractSeries.SeriesType SeriesTypeCandlestick = ... # type: QAbstractSeries.SeriesType - def useOpenGLChanged(self) -> None: ... + useOpenGLChanged: typing.ClassVar[QtCore.pyqtSignal] def useOpenGL(self) -> bool: ... def setUseOpenGL(self, enable: bool = ...) -> None: ... - def opacityChanged(self) -> None: ... + opacityChanged: typing.ClassVar[QtCore.pyqtSignal] def attachedAxes(self) -> typing.List['QAbstractAxis']: ... def detachAxis(self, axis: 'QAbstractAxis') -> bool: ... def attachAxis(self, axis: 'QAbstractAxis') -> bool: ... def setOpacity(self, opacity: float) -> None: ... def opacity(self) -> float: ... - def visibleChanged(self) -> None: ... - def nameChanged(self) -> None: ... + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def hide(self) -> None: ... def show(self) -> None: ... def chart(self) -> 'QChart': ... @@ -223,27 +223,27 @@ class QAbstractBarSeries('QAbstractSeries'): LabelsInsideBase = ... # type: QAbstractBarSeries.LabelsPosition LabelsOutsideEnd = ... # type: QAbstractBarSeries.LabelsPosition - def labelsPrecisionChanged(self, precision: int) -> None: ... + labelsPrecisionChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsPrecision(self) -> int: ... def setLabelsPrecision(self, precision: int) -> None: ... - def labelsAngleChanged(self, angle: float) -> None: ... + labelsAngleChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsAngle(self) -> float: ... def setLabelsAngle(self, angle: float) -> None: ... - def doubleClicked(self, index: int, barset: 'QBarSet') -> None: ... - def released(self, index: int, barset: 'QBarSet') -> None: ... - def pressed(self, index: int, barset: 'QBarSet') -> None: ... - def labelsPositionChanged(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... - def labelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def labelsPosition(self) -> 'QAbstractBarSeries.LabelsPosition': ... def setLabelsPosition(self, position: 'QAbstractBarSeries.LabelsPosition') -> None: ... def labelsFormat(self) -> str: ... def setLabelsFormat(self, format: str) -> None: ... - def barsetsRemoved(self, sets: typing.Iterable['QBarSet']) -> None: ... - def barsetsAdded(self, sets: typing.Iterable['QBarSet']) -> None: ... - def labelsVisibleChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, status: bool, index: int, barset: 'QBarSet') -> None: ... - def clicked(self, index: int, barset: 'QBarSet') -> None: ... + barsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + barsetsAdded: typing.ClassVar[QtCore.pyqtSignal] + labelsVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def take(self, set: 'QBarSet') -> bool: ... def isLabelsVisible(self) -> bool: ... def setLabelsVisible(self, visible: bool = ...) -> None: ... @@ -277,17 +277,17 @@ class QLegendMarker(QtCore.QObject): LegendMarkerTypeBoxPlot = ... # type: QLegendMarker.LegendMarkerType LegendMarkerTypeCandlestick = ... # type: QLegendMarker.LegendMarkerType - def shapeChanged(self) -> None: ... + shapeChanged: typing.ClassVar[QtCore.pyqtSignal] def setShape(self, shape: 'QLegend.MarkerShape') -> None: ... def shape(self) -> 'QLegend.MarkerShape': ... - def visibleChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def fontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def labelChanged(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QAbstractSeries': ... def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... @@ -317,16 +317,16 @@ class QAreaSeries('QAbstractSeries'): @typing.overload def __init__(self, upperSeries: 'QLineSeries', lowerSeries: typing.Optional['QLineSeries'] = ...) -> None: ... - def pointLabelsClippingChanged(self, clipping: bool) -> None: ... + pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... - def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... - def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... - def pointLabelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -335,11 +335,11 @@ class QAreaSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... - def selected(self) -> None: ... - def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + hovered: typing.ClassVar[QtCore.pyqtSignal] + selected: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -360,11 +360,11 @@ class QBarCategoryAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def countChanged(self) -> None: ... - def rangeChanged(self, min: str, max: str) -> None: ... - def maxChanged(self, max: str) -> None: ... - def minChanged(self, min: str) -> None: ... - def categoriesChanged(self) -> None: ... + countChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] + categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] def setRange(self, minCategory: str, maxCategory: str) -> None: ... def max(self) -> str: ... def setMax(self, maxCategory: str) -> None: ... @@ -403,22 +403,22 @@ class QBarSet(QtCore.QObject): def __init__(self, name: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def doubleClicked(self, index: int) -> None: ... - def released(self, index: int) -> None: ... - def pressed(self, index: int) -> None: ... - def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def hovered(self, status: bool, index: int) -> None: ... - def clicked(self, index: int) -> None: ... - def valueChanged(self, index: int) -> None: ... - def valuesRemoved(self, index: int, count: int) -> None: ... - def valuesAdded(self, index: int, count: int) -> None: ... - def labelFontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def labelChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesRemoved: typing.ClassVar[QtCore.pyqtSignal] + valuesAdded: typing.ClassVar[QtCore.pyqtSignal] + labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def labelColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -459,18 +459,18 @@ class QBoxPlotSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def doubleClicked(self, boxset: 'QBoxSet') -> None: ... - def released(self, boxset: 'QBoxSet') -> None: ... - def pressed(self, boxset: 'QBoxSet') -> None: ... - def boxsetsRemoved(self, sets: typing.Iterable['QBoxSet']) -> None: ... - def boxsetsAdded(self, sets: typing.Iterable['QBoxSet']) -> None: ... - def boxWidthChanged(self) -> None: ... - def boxOutlineVisibilityChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, status: bool, boxset: 'QBoxSet') -> None: ... - def clicked(self, boxset: 'QBoxSet') -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + boxsetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + boxsetsAdded: typing.ClassVar[QtCore.pyqtSignal] + boxWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + boxOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -512,16 +512,16 @@ class QBoxSet(QtCore.QObject): @typing.overload def __init__(self, le: float, lq: float, m: float, uq: float, ue: float, label: str = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def cleared(self) -> None: ... - def valueChanged(self, index: int) -> None: ... - def valuesChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + cleared: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def brush(self) -> QtGui.QBrush: ... def setBrush(self, brush: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pen(self) -> QtGui.QPen: ... @@ -564,8 +564,8 @@ class QCandlestickModelMapper(QtCore.QObject): def setOpen(self, open: int) -> None: ... def timestamp(self) -> int: ... def setTimestamp(self, timestamp: int) -> None: ... - def seriesReplaced(self) -> None: ... - def modelReplaced(self) -> None: ... + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] def orientation(self) -> QtCore.Qt.Orientation: ... def series(self) -> 'QCandlestickSeries': ... def setSeries(self, series: 'QCandlestickSeries') -> None: ... @@ -576,24 +576,24 @@ class QCandlestickSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def penChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def decreasingColorChanged(self) -> None: ... - def increasingColorChanged(self) -> None: ... - def capsVisibilityChanged(self) -> None: ... - def capsWidthChanged(self) -> None: ... - def bodyOutlineVisibilityChanged(self) -> None: ... - def bodyWidthChanged(self) -> None: ... - def minimumColumnWidthChanged(self) -> None: ... - def maximumColumnWidthChanged(self) -> None: ... - def countChanged(self) -> None: ... - def candlestickSetsRemoved(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... - def candlestickSetsAdded(self, sets: typing.Iterable['QCandlestickSet']) -> None: ... - def doubleClicked(self, set: 'QCandlestickSet') -> None: ... - def released(self, set: 'QCandlestickSet') -> None: ... - def pressed(self, set: 'QCandlestickSet') -> None: ... - def hovered(self, status: bool, set: 'QCandlestickSet') -> None: ... - def clicked(self, set: 'QCandlestickSet') -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + decreasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] + increasingColorChanged: typing.ClassVar[QtCore.pyqtSignal] + capsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + capsWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + bodyOutlineVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + bodyWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + minimumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumColumnWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + candlestickSetsRemoved: typing.ClassVar[QtCore.pyqtSignal] + candlestickSetsAdded: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -637,18 +637,18 @@ class QCandlestickSet(QtCore.QObject): @typing.overload def __init__(self, open: float, high: float, low: float, close: float, timestamp: float = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def penChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def closeChanged(self) -> None: ... - def lowChanged(self) -> None: ... - def highChanged(self) -> None: ... - def openChanged(self) -> None: ... - def timestampChanged(self) -> None: ... - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def hovered(self, status: bool) -> None: ... - def clicked(self) -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + closeChanged: typing.ClassVar[QtCore.pyqtSignal] + lowChanged: typing.ClassVar[QtCore.pyqtSignal] + highChanged: typing.ClassVar[QtCore.pyqtSignal] + openChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampChanged: typing.ClassVar[QtCore.pyqtSignal] + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def pen(self) -> QtGui.QPen: ... def setPen(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def brush(self) -> QtGui.QBrush: ... @@ -675,23 +675,23 @@ class QValueAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def tickTypeChanged(self, type: 'QValueAxis.TickType') -> None: ... - def tickAnchorChanged(self, anchor: float) -> None: ... - def tickIntervalChanged(self, interval: float) -> None: ... + tickTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + tickAnchorChanged: typing.ClassVar[QtCore.pyqtSignal] + tickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] def tickType(self) -> 'QValueAxis.TickType': ... def setTickType(self, type: 'QValueAxis.TickType') -> None: ... def tickInterval(self) -> float: ... def setTickInterval(self, insterval: float) -> None: ... def tickAnchor(self) -> float: ... def setTickAnchor(self, anchor: float) -> None: ... - def minorTickCountChanged(self, tickCount: int) -> None: ... + minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] def minorTickCount(self) -> int: ... def setMinorTickCount(self, count: int) -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def tickCountChanged(self, tickCount: int) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, max: float) -> None: ... - def minChanged(self, min: float) -> None: ... + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def applyNiceNumbers(self) -> None: ... def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... @@ -715,10 +715,10 @@ class QCategoryAxis('QValueAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def labelsPositionChanged(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... + labelsPositionChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelsPosition(self, position: 'QCategoryAxis.AxisLabelsPosition') -> None: ... def labelsPosition(self) -> 'QCategoryAxis.AxisLabelsPosition': ... - def categoriesChanged(self) -> None: ... + categoriesChanged: typing.ClassVar[QtCore.pyqtSignal] def __len__(self) -> int: ... def count(self) -> int: ... def categoriesLabels(self) -> typing.List[str]: ... @@ -792,7 +792,7 @@ class QChart(QtWidgets.QGraphicsWidget): def setAnimationEasingCurve(self, curve: typing.Union[QtCore.QEasingCurve, QtCore.QEasingCurve.Type]) -> None: ... def animationDuration(self) -> int: ... def setAnimationDuration(self, msecs: int) -> None: ... - def plotAreaChanged(self, plotArea: QtCore.QRectF) -> None: ... + plotAreaChanged: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def localizeNumbers(self) -> bool: ... @@ -900,11 +900,11 @@ class QDateTimeAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def tickCountChanged(self, tick: int) -> None: ... - def formatChanged(self, format: str) -> None: ... - def rangeChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime], max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def maxChanged(self, max: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def minChanged(self, min: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def tickCount(self) -> int: ... def setTickCount(self, count: int) -> None: ... def format(self) -> str: ... @@ -920,12 +920,12 @@ class QHBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def lastBarSetRowChanged(self) -> None: ... - def firstBarSetRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBarSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -943,12 +943,12 @@ class QHBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def lastBoxSetRowChanged(self) -> None: ... - def firstBoxSetRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBoxSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, rowCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -966,13 +966,13 @@ class QHCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def lastSetRowChanged(self) -> None: ... - def firstSetRowChanged(self) -> None: ... - def closeColumnChanged(self) -> None: ... - def lowColumnChanged(self) -> None: ... - def highColumnChanged(self) -> None: ... - def openColumnChanged(self) -> None: ... - def timestampColumnChanged(self) -> None: ... + lastSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + firstSetRowChanged: typing.ClassVar[QtCore.pyqtSignal] + closeColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + lowColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + highColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + openColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampColumnChanged: typing.ClassVar[QtCore.pyqtSignal] def lastSetRow(self) -> int: ... def setLastSetRow(self, lastSetRow: int) -> None: ... def firstSetRow(self) -> int: ... @@ -1011,12 +1011,12 @@ class QHPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def labelsRowChanged(self) -> None: ... - def valuesRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsRowChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1034,12 +1034,12 @@ class QHXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def columnCountChanged(self) -> None: ... - def firstColumnChanged(self) -> None: ... - def yRowChanged(self) -> None: ... - def xRowChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + yRowChanged: typing.ClassVar[QtCore.pyqtSignal] + xRowChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setColumnCount(self, columnCount: int) -> None: ... def columnCount(self) -> int: ... def setFirstColumn(self, firstColumn: int) -> None: ... @@ -1066,22 +1066,22 @@ class QLegend(QtWidgets.QGraphicsWidget): MarkerShapeCircle = ... # type: QLegend.MarkerShape MarkerShapeFromSeries = ... # type: QLegend.MarkerShape - def markerShapeChanged(self, shape: 'QLegend.MarkerShape') -> None: ... + markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] def setMarkerShape(self, shape: 'QLegend.MarkerShape') -> None: ... def markerShape(self) -> 'QLegend.MarkerShape': ... - def showToolTipsChanged(self, showToolTips: bool) -> None: ... + showToolTipsChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowToolTips(self, show: bool) -> None: ... def showToolTips(self) -> bool: ... - def reverseMarkersChanged(self, reverseMarkers: bool) -> None: ... + reverseMarkersChanged: typing.ClassVar[QtCore.pyqtSignal] def setReverseMarkers(self, reverseMarkers: bool = ...) -> None: ... def reverseMarkers(self) -> bool: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def hideEvent(self, event: QtGui.QHideEvent) -> None: ... - def labelColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def backgroundVisibleChanged(self, visible: bool) -> None: ... + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] def markers(self, series: typing.Optional['QAbstractSeries'] = ...) -> typing.List['QLegendMarker']: ... def labelColor(self) -> QtGui.QColor: ... def setLabelColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... @@ -1108,20 +1108,20 @@ class QLegend(QtWidgets.QGraphicsWidget): class QXYSeries('QAbstractSeries'): - def penChanged(self, pen: typing.Union[QtGui.QPen, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointsRemoved(self, index: int, count: int) -> None: ... - def pointLabelsClippingChanged(self, clipping: bool) -> None: ... + penChanged: typing.ClassVar[QtCore.pyqtSignal] + pointsRemoved: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsClippingChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsClipping(self) -> bool: ... def setPointLabelsClipping(self, enable: bool = ...) -> None: ... def pointsVector(self) -> typing.List[QtCore.QPointF]: ... def removePoints(self, index: int, count: int) -> None: ... - def doubleClicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def released(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pressed(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def pointLabelsColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def pointLabelsFontChanged(self, font: QtGui.QFont) -> None: ... - def pointLabelsVisibilityChanged(self, visible: bool) -> None: ... - def pointLabelsFormatChanged(self, format: str) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsColorChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFontChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + pointLabelsFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def pointLabelsColor(self) -> QtGui.QColor: ... def setPointLabelsColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def pointLabelsFont(self) -> QtGui.QFont: ... @@ -1130,13 +1130,13 @@ class QXYSeries('QAbstractSeries'): def setPointLabelsVisible(self, visible: bool = ...) -> None: ... def pointLabelsFormat(self) -> str: ... def setPointLabelsFormat(self, format: str) -> None: ... - def hovered(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint], state: bool) -> None: ... - def pointsReplaced(self) -> None: ... - def pointAdded(self, index: int) -> None: ... - def pointRemoved(self, index: int) -> None: ... - def pointReplaced(self, index: int) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def clicked(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... + hovered: typing.ClassVar[QtCore.pyqtSignal] + pointsReplaced: typing.ClassVar[QtCore.pyqtSignal] + pointAdded: typing.ClassVar[QtCore.pyqtSignal] + pointRemoved: typing.ClassVar[QtCore.pyqtSignal] + pointReplaced: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] def at(self, index: int) -> QtCore.QPointF: ... def pointsVisible(self) -> bool: ... def setPointsVisible(self, visible: bool = ...) -> None: ... @@ -1183,16 +1183,16 @@ class QLogValueAxis('QAbstractAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def minorTickCountChanged(self, minorTickCount: int) -> None: ... - def tickCountChanged(self, tickCount: int) -> None: ... + minorTickCountChanged: typing.ClassVar[QtCore.pyqtSignal] + tickCountChanged: typing.ClassVar[QtCore.pyqtSignal] def minorTickCount(self) -> int: ... def setMinorTickCount(self, minorTickCount: int) -> None: ... def tickCount(self) -> int: ... - def baseChanged(self, base: float) -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, max: float) -> None: ... - def minChanged(self, min: float) -> None: ... + baseChanged: typing.ClassVar[QtCore.pyqtSignal] + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] def base(self) -> float: ... def setBase(self, base: float) -> None: ... def labelFormat(self) -> str: ... @@ -1222,19 +1222,19 @@ class QPieSeries('QAbstractSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def doubleClicked(self, slice: 'QPieSlice') -> None: ... - def released(self, slice: 'QPieSlice') -> None: ... - def pressed(self, slice: 'QPieSlice') -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] def setLabelsPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def holeSize(self) -> float: ... def setHoleSize(self, holeSize: float) -> None: ... def take(self, slice: 'QPieSlice') -> bool: ... - def sumChanged(self) -> None: ... - def countChanged(self) -> None: ... - def hovered(self, slice: 'QPieSlice', state: bool) -> None: ... - def clicked(self, slice: 'QPieSlice') -> None: ... - def removed(self, slices: typing.Iterable['QPieSlice']) -> None: ... - def added(self, slices: typing.Iterable['QPieSlice']) -> None: ... + sumChanged: typing.ClassVar[QtCore.pyqtSignal] + countChanged: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + removed: typing.ClassVar[QtCore.pyqtSignal] + added: typing.ClassVar[QtCore.pyqtSignal] def setLabelsVisible(self, visible: bool = ...) -> None: ... def pieEndAngle(self) -> float: ... def setPieEndAngle(self, endAngle: float) -> None: ... @@ -1280,25 +1280,25 @@ class QPieSlice(QtCore.QObject): @typing.overload def __init__(self, label: str, value: float, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def doubleClicked(self) -> None: ... - def released(self) -> None: ... - def pressed(self) -> None: ... - def hovered(self, state: bool) -> None: ... - def clicked(self) -> None: ... - def labelColorChanged(self) -> None: ... - def borderWidthChanged(self) -> None: ... - def borderColorChanged(self) -> None: ... - def colorChanged(self) -> None: ... - def angleSpanChanged(self) -> None: ... - def startAngleChanged(self) -> None: ... - def percentageChanged(self) -> None: ... - def labelFontChanged(self) -> None: ... - def labelBrushChanged(self) -> None: ... - def brushChanged(self) -> None: ... - def penChanged(self) -> None: ... - def labelVisibleChanged(self) -> None: ... - def valueChanged(self) -> None: ... - def labelChanged(self) -> None: ... + doubleClicked: typing.ClassVar[QtCore.pyqtSignal] + released: typing.ClassVar[QtCore.pyqtSignal] + pressed: typing.ClassVar[QtCore.pyqtSignal] + hovered: typing.ClassVar[QtCore.pyqtSignal] + clicked: typing.ClassVar[QtCore.pyqtSignal] + labelColorChanged: typing.ClassVar[QtCore.pyqtSignal] + borderWidthChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] + angleSpanChanged: typing.ClassVar[QtCore.pyqtSignal] + startAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + percentageChanged: typing.ClassVar[QtCore.pyqtSignal] + labelFontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBrushChanged: typing.ClassVar[QtCore.pyqtSignal] + brushChanged: typing.ClassVar[QtCore.pyqtSignal] + penChanged: typing.ClassVar[QtCore.pyqtSignal] + labelVisibleChanged: typing.ClassVar[QtCore.pyqtSignal] + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + labelChanged: typing.ClassVar[QtCore.pyqtSignal] def setLabelPosition(self, position: 'QPieSlice.LabelPosition') -> None: ... def labelPosition(self) -> 'QPieSlice.LabelPosition': ... def series(self) -> 'QPieSeries': ... @@ -1376,10 +1376,10 @@ class QScatterSeries('QXYSeries'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def markerSizeChanged(self, size: float) -> None: ... - def markerShapeChanged(self, shape: 'QScatterSeries.MarkerShape') -> None: ... - def borderColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... - def colorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... + markerSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + markerShapeChanged: typing.ClassVar[QtCore.pyqtSignal] + borderColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorChanged: typing.ClassVar[QtCore.pyqtSignal] def borderColor(self) -> QtGui.QColor: ... def setBorderColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... def color(self) -> QtGui.QColor: ... @@ -1409,12 +1409,12 @@ class QVBarModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def lastBarSetColumnChanged(self) -> None: ... - def firstBarSetColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBarSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1432,12 +1432,12 @@ class QVBoxPlotModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def lastBoxSetColumnChanged(self) -> None: ... - def firstBoxSetColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lastBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstBoxSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1455,13 +1455,13 @@ class QVCandlestickModelMapper('QCandlestickModelMapper'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def lastSetColumnChanged(self) -> None: ... - def firstSetColumnChanged(self) -> None: ... - def closeRowChanged(self) -> None: ... - def lowRowChanged(self) -> None: ... - def highRowChanged(self) -> None: ... - def openRowChanged(self) -> None: ... - def timestampRowChanged(self) -> None: ... + lastSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + firstSetColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + closeRowChanged: typing.ClassVar[QtCore.pyqtSignal] + lowRowChanged: typing.ClassVar[QtCore.pyqtSignal] + highRowChanged: typing.ClassVar[QtCore.pyqtSignal] + openRowChanged: typing.ClassVar[QtCore.pyqtSignal] + timestampRowChanged: typing.ClassVar[QtCore.pyqtSignal] def lastSetColumn(self) -> int: ... def setLastSetColumn(self, lastSetColumn: int) -> None: ... def firstSetColumn(self) -> int: ... @@ -1482,12 +1482,12 @@ class QVPieModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def labelsColumnChanged(self) -> None: ... - def valuesColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + valuesColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... @@ -1505,12 +1505,12 @@ class QVXYModelMapper(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def rowCountChanged(self) -> None: ... - def firstRowChanged(self) -> None: ... - def yColumnChanged(self) -> None: ... - def xColumnChanged(self) -> None: ... - def modelReplaced(self) -> None: ... - def seriesReplaced(self) -> None: ... + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + firstRowChanged: typing.ClassVar[QtCore.pyqtSignal] + yColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + xColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + modelReplaced: typing.ClassVar[QtCore.pyqtSignal] + seriesReplaced: typing.ClassVar[QtCore.pyqtSignal] def setRowCount(self, rowCount: int) -> None: ... def rowCount(self) -> int: ... def setFirstRow(self, firstRow: int) -> None: ... diff --git a/PyQt5-stubs/QtCore.pyi b/PyQt5-stubs/QtCore.pyi index e430ea9a..9e34274f 100644 --- a/PyQt5-stubs/QtCore.pyi +++ b/PyQt5-stubs/QtCore.pyi @@ -3135,10 +3135,10 @@ class QAbstractAnimation(QObject): def resume(self) -> None: ... def pause(self) -> None: ... def start(self, policy: 'QAbstractAnimation.DeletionPolicy' = ...) -> None: ... - def directionChanged(self, a0: 'QAbstractAnimation.Direction') -> None: ... - def currentLoopChanged(self, currentLoop: int) -> None: ... - def stateChanged(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ... - def finished(self) -> None: ... + directionChanged: typing.ClassVar[QtCore.pyqtSignal] + currentLoopChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def totalDuration(self) -> int: ... def duration(self) -> int: ... def currentLoop(self) -> int: ... @@ -3167,8 +3167,8 @@ class QAbstractEventDispatcher(QObject): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - def awake(self) -> None: ... - def aboutToBlock(self) -> None: ... + awake: typing.ClassVar[QtCore.pyqtSignal] + aboutToBlock: typing.ClassVar[QtCore.pyqtSignal] def filterNativeEvent(self, eventType: typing.Union['QByteArray', bytes, bytearray], message: sip.voidptr) -> typing.Tuple[bool, int]: ... def removeNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... def installNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter') -> None: ... @@ -3292,10 +3292,10 @@ class QAbstractItemModel(QObject): def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ... def endMoveRows(self) -> None: ... def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ... - def columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) -> None: ... - def columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) -> None: ... - def rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) -> None: ... - def rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) -> None: ... + columnsMoved: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] + rowsMoved: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeMoved: typing.ClassVar[QtCore.pyqtSignal] def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ... def roleNames(self) -> typing.Dict[int, 'QByteArray']: ... def supportedDragActions(self) -> Qt.DropActions: ... @@ -3318,19 +3318,19 @@ class QAbstractItemModel(QObject): def encodeData(self, indexes: typing.Iterable[QModelIndex], stream: 'QDataStream') -> None: ... def revert(self) -> None: ... def submit(self) -> bool: ... - def modelReset(self) -> None: ... - def modelAboutToBeReset(self) -> None: ... - def columnsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) -> None: ... - def layoutChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... - def layoutAboutToBeChanged(self, parents: typing.Iterable[QPersistentModelIndex] = ..., hint: 'QAbstractItemModel.LayoutChangeHint' = ...) -> None: ... - def headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) -> None: ... + modelReset: typing.ClassVar[QtCore.pyqtSignal] + modelAboutToBeReset: typing.ClassVar[QtCore.pyqtSignal] + columnsRemoved: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + columnsInserted: typing.ClassVar[QtCore.pyqtSignal] + columnsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + layoutChanged: typing.ClassVar[QtCore.pyqtSignal] + layoutAboutToBeChanged: typing.ClassVar[QtCore.pyqtSignal] + headerDataChanged: typing.ClassVar[QtCore.pyqtSignal] dataChanged: typing.ClassVar[pyqtSignal] def span(self, index: QModelIndex) -> 'QSize': ... def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: typing.Union[Qt.MatchFlags, Qt.MatchFlag] = ...) -> typing.List[QModelIndex]: ... @@ -3401,7 +3401,7 @@ class QAbstractProxyModel(QAbstractItemModel): def supportedDragActions(self) -> Qt.DropActions: ... def dropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... def canDropMimeData(self, data: 'QMimeData', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ... - def sourceModelChanged(self) -> None: ... + sourceModelChanged: typing.ClassVar[QtCore.pyqtSignal] def resetInternalData(self) -> None: ... def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ... def supportedDropActions(self) -> Qt.DropActions: ... @@ -3437,9 +3437,9 @@ class QAbstractState(QObject): def event(self, e: 'QEvent') -> bool: ... def onExit(self, event: 'QEvent') -> None: ... def onEntry(self, event: 'QEvent') -> None: ... - def exited(self) -> None: ... - def entered(self) -> None: ... - def activeChanged(self, active: bool) -> None: ... + exited: typing.ClassVar[QtCore.pyqtSignal] + entered: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def active(self) -> bool: ... def machine(self) -> 'QStateMachine': ... def parentState(self) -> 'QState': ... @@ -3461,9 +3461,9 @@ class QAbstractTransition(QObject): def event(self, e: 'QEvent') -> bool: ... def onTransition(self, event: 'QEvent') -> None: ... def eventTest(self, event: 'QEvent') -> bool: ... - def targetStatesChanged(self) -> None: ... - def targetStateChanged(self) -> None: ... - def triggered(self) -> None: ... + targetStatesChanged: typing.ClassVar[QtCore.pyqtSignal] + targetStateChanged: typing.ClassVar[QtCore.pyqtSignal] + triggered: typing.ClassVar[QtCore.pyqtSignal] def animations(self) -> typing.List[QAbstractAnimation]: ... def removeAnimation(self, animation: QAbstractAnimation) -> None: ... def addAnimation(self, animation: QAbstractAnimation) -> None: ... @@ -3604,8 +3604,8 @@ class QIODevice(QObject): def __init__(self, parent: QObject) -> None: ... def skip(self, maxSize: int) -> int: ... - def channelBytesWritten(self, channel: int, bytes: int) -> None: ... - def channelReadyRead(self, channel: int) -> None: ... + channelBytesWritten: typing.ClassVar[QtCore.pyqtSignal] + channelReadyRead: typing.ClassVar[QtCore.pyqtSignal] def isTransactionStarted(self) -> bool: ... def rollbackTransaction(self) -> None: ... def commitTransaction(self) -> None: ... @@ -3621,10 +3621,10 @@ class QIODevice(QObject): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def readChannelFinished(self) -> None: ... - def aboutToClose(self) -> None: ... - def bytesWritten(self, bytes: int) -> None: ... - def readyRead(self) -> None: ... + readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] + aboutToClose: typing.ClassVar[QtCore.pyqtSignal] + bytesWritten: typing.ClassVar[QtCore.pyqtSignal] + readyRead: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... def getChar(self) -> typing.Tuple[bool, bytes]: ... def putChar(self, c: str) -> bool: ... @@ -6074,8 +6074,8 @@ class QFileSystemWatcher(QObject): @typing.overload def __init__(self, paths: typing.Iterable[str], parent: typing.Optional[QObject] = ...) -> None: ... - def fileChanged(self, path: str) -> None: ... - def directoryChanged(self, path: str) -> None: ... + fileChanged: typing.ClassVar[QtCore.pyqtSignal] + directoryChanged: typing.ClassVar[QtCore.pyqtSignal] def removePaths(self, files: typing.Iterable[str]) -> typing.List[str]: ... def removePath(self, file: str) -> bool: ... def files(self) -> typing.List[str]: ... @@ -6107,11 +6107,11 @@ class QHistoryState(QAbstractState): @typing.overload def __init__(self, type: 'QHistoryState.HistoryType', parent: typing.Optional['QState'] = ...) -> None: ... - def defaultTransitionChanged(self) -> None: ... + defaultTransitionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDefaultTransition(self, transition: QAbstractTransition) -> None: ... def defaultTransition(self) -> QAbstractTransition: ... - def historyTypeChanged(self) -> None: ... - def defaultStateChanged(self) -> None: ... + historyTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + defaultStateChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... @@ -6227,15 +6227,15 @@ class QItemSelectionModel(QObject): @typing.overload def __init__(self, model: QAbstractItemModel, parent: QObject) -> None: ... - def modelChanged(self, model: QAbstractItemModel) -> None: ... + modelChanged: typing.ClassVar[QtCore.pyqtSignal] def setModel(self, model: QAbstractItemModel) -> None: ... def selectedColumns(self, row: int = ...) -> typing.List[QModelIndex]: ... def selectedRows(self, column: int = ...) -> typing.List[QModelIndex]: ... def hasSelection(self) -> bool: ... def emitSelectionChanged(self, newSelection: 'QItemSelection', oldSelection: 'QItemSelection') -> None: ... - def currentColumnChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... - def currentRowChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... - def currentChanged(self, current: QModelIndex, previous: QModelIndex) -> None: ... + currentColumnChanged: typing.ClassVar[QtCore.pyqtSignal] + currentRowChanged: typing.ClassVar[QtCore.pyqtSignal] + currentChanged: typing.ClassVar[QtCore.pyqtSignal] selectionChanged: typing.ClassVar[pyqtSignal] def clearCurrentIndex(self) -> None: ... def setCurrentIndex(self, index: QModelIndex, command: typing.Union['QItemSelectionModel.SelectionFlags', 'QItemSelectionModel.SelectionFlag']) -> None: ... @@ -9302,7 +9302,7 @@ class QVariantAnimation(QAbstractAnimation): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - def valueChanged(self, value: typing.Any) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setEasingCurve(self, easing: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def setDuration(self, msecs: int) -> None: ... @@ -9540,10 +9540,7 @@ class QProcess(QIODevice): def waitForStarted(self, msecs: int = ...) -> bool: ... def pid(self) -> int: ... def state(self) -> 'QProcess.ProcessState': ... - @typing.overload - def error(self) -> 'QProcess.ProcessError': ... - @typing.overload - def error(self, error: 'QProcess.ProcessError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def setWorkingDirectory(self, dir: str) -> None: ... def workingDirectory(self) -> str: ... def closeWriteChannel(self) -> None: ... @@ -10166,7 +10163,7 @@ class QSequentialAnimationGroup(QAnimationGroup): def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ... def updateCurrentTime(self, a0: int) -> None: ... def event(self, event: QEvent) -> bool: ... - def currentAnimationChanged(self, current: QAbstractAnimation) -> None: ... + currentAnimationChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> int: ... def currentAnimation(self) -> QAbstractAnimation: ... def insertPause(self, index: int, msecs: int) -> QPauseAnimation: ... @@ -10314,10 +10311,10 @@ class QSignalMapper(QObject): def map(self) -> None: ... @typing.overload def map(self, sender: QObject) -> None: ... - def mappedObject(self, a0: QObject) -> None: ... - def mappedWidget(self, a0: QtWidgets.QWidget) -> None: ... - def mappedString(self, a0: str) -> None: ... - def mappedInt(self, a0: int) -> None: ... + mappedObject: typing.ClassVar[QtCore.pyqtSignal] + mappedWidget: typing.ClassVar[QtCore.pyqtSignal] + mappedString: typing.ClassVar[QtCore.pyqtSignal] + mappedInt: typing.ClassVar[QtCore.pyqtSignal] mapped: typing.ClassVar[pyqtSignal] @typing.overload def mapping(self, id: int) -> QObject: ... @@ -10345,8 +10342,8 @@ class QSignalTransition(QAbstractTransition): @typing.overload def __init__(self, signal: pyqtBoundSignal, sourceState: typing.Optional['QState'] = ...) -> None: ... - def signalChanged(self) -> None: ... - def senderObjectChanged(self) -> None: ... + signalChanged: typing.ClassVar[QtCore.pyqtSignal] + senderObjectChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onTransition(self, event: QEvent) -> None: ... def eventTest(self, event: QEvent) -> bool: ... @@ -10441,7 +10438,7 @@ class QSocketNotifier(QObject): def __init__(self, socket: sip.voidptr, a1: 'QSocketNotifier.Type', parent: typing.Optional[QObject] = ...) -> None: ... def event(self, a0: QEvent) -> bool: ... - def activated(self, socket: int) -> None: ... + activated: typing.ClassVar[QtCore.pyqtSignal] def setEnabled(self, a0: bool) -> None: ... def isEnabled(self) -> bool: ... def type(self) -> 'QSocketNotifier.Type': ... @@ -10452,13 +10449,13 @@ class QSortFilterProxyModel(QAbstractProxyModel): def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... - def recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) -> None: ... - def filterRoleChanged(self, filterRole: int) -> None: ... - def sortRoleChanged(self, sortRole: int) -> None: ... - def sortLocaleAwareChanged(self, sortLocaleAware: bool) -> None: ... - def sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) -> None: ... - def filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) -> None: ... - def dynamicSortFilterChanged(self, dynamicSortFilter: bool) -> None: ... + recursiveFilteringEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + filterRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + sortRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + sortLocaleAwareChanged: typing.ClassVar[QtCore.pyqtSignal] + sortCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + filterCaseSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + dynamicSortFilterChanged: typing.ClassVar[QtCore.pyqtSignal] def invalidateFilter(self) -> None: ... def setRecursiveFilteringEnabled(self, recursive: bool) -> None: ... def isRecursiveFilteringEnabled(self) -> bool: ... @@ -10637,14 +10634,14 @@ class QState(QAbstractState): @typing.overload def __init__(self, childMode: 'QState.ChildMode', parent: typing.Optional['QState'] = ...) -> None: ... - def errorStateChanged(self) -> None: ... - def initialStateChanged(self) -> None: ... - def childModeChanged(self) -> None: ... + errorStateChanged: typing.ClassVar[QtCore.pyqtSignal] + initialStateChanged: typing.ClassVar[QtCore.pyqtSignal] + childModeChanged: typing.ClassVar[QtCore.pyqtSignal] def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - def propertiesAssigned(self) -> None: ... - def finished(self) -> None: ... + propertiesAssigned: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def assignProperty(self, object: QObject, name: str, value: typing.Any) -> None: ... def setChildMode(self, mode: 'QState.ChildMode') -> None: ... def childMode(self) -> 'QState.ChildMode': ... @@ -10703,9 +10700,9 @@ class QStateMachine(QState): def event(self, e: QEvent) -> bool: ... def onExit(self, event: QEvent) -> None: ... def onEntry(self, event: QEvent) -> None: ... - def runningChanged(self, running: bool) -> None: ... - def stopped(self) -> None: ... - def started(self) -> None: ... + runningChanged: typing.ClassVar[QtCore.pyqtSignal] + stopped: typing.ClassVar[QtCore.pyqtSignal] + started: typing.ClassVar[QtCore.pyqtSignal] def setRunning(self, running: bool) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... @@ -11273,10 +11270,10 @@ class QTimeLine(QObject): def setEasingCurve(self, curve: typing.Union[QEasingCurve, QEasingCurve.Type]) -> None: ... def easingCurve(self) -> QEasingCurve: ... def timerEvent(self, event: QTimerEvent) -> None: ... - def valueChanged(self, x: float) -> None: ... - def stateChanged(self, newState: 'QTimeLine.State') -> None: ... - def frameChanged(self, a0: int) -> None: ... - def finished(self) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + frameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def toggleDirection(self) -> None: ... def stop(self) -> None: ... def start(self) -> None: ... diff --git a/PyQt5-stubs/QtDBus.pyi b/PyQt5-stubs/QtDBus.pyi index ac26141b..d831bccd 100644 --- a/PyQt5-stubs/QtDBus.pyi +++ b/PyQt5-stubs/QtDBus.pyi @@ -282,10 +282,10 @@ class QDBusConnectionInterface(QDBusAbstractInterface): def disconnectNotify(self, a0: QtCore.QMetaMethod) -> None: ... def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... - def callWithCallbackFailed(self, error: 'QDBusError', call: 'QDBusMessage') -> None: ... - def serviceOwnerChanged(self, name: str, oldOwner: str, newOwner: str) -> None: ... - def serviceUnregistered(self, service: str) -> None: ... - def serviceRegistered(self, service: str) -> None: ... + callWithCallbackFailed: typing.ClassVar[QtCore.pyqtSignal] + serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] + serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] + serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] def startService(self, name: str) -> QDBusReply: ... def serviceUid(self, serviceName: str) -> QDBusReply: ... def servicePid(self, serviceName: str) -> QDBusReply: ... @@ -498,7 +498,7 @@ class QDBusPendingCallWatcher(QtCore.QObject, QDBusPendingCall): def __init__(self, call: QDBusPendingCall, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def finished(self, watcher: typing.Optional['QDBusPendingCallWatcher'] = ...) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def waitForFinished(self) -> None: ... def isFinished(self) -> bool: ... @@ -534,9 +534,9 @@ class QDBusServiceWatcher(QtCore.QObject): @typing.overload def __init__(self, service: str, connection: QDBusConnection, watchMode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag'] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def serviceOwnerChanged(self, service: str, oldOwner: str, newOwner: str) -> None: ... - def serviceUnregistered(self, service: str) -> None: ... - def serviceRegistered(self, service: str) -> None: ... + serviceOwnerChanged: typing.ClassVar[QtCore.pyqtSignal] + serviceUnregistered: typing.ClassVar[QtCore.pyqtSignal] + serviceRegistered: typing.ClassVar[QtCore.pyqtSignal] def setConnection(self, connection: QDBusConnection) -> None: ... def connection(self) -> QDBusConnection: ... def setWatchMode(self, mode: typing.Union['QDBusServiceWatcher.WatchMode', 'QDBusServiceWatcher.WatchModeFlag']) -> None: ... diff --git a/PyQt5-stubs/QtDataVisualization.pyi b/PyQt5-stubs/QtDataVisualization.pyi index b4c86933..3d4b0971 100644 --- a/PyQt5-stubs/QtDataVisualization.pyi +++ b/PyQt5-stubs/QtDataVisualization.pyi @@ -134,14 +134,14 @@ class QAbstract3DGraph(QtGui.QWindow): def __int__(self) -> int: ... def hasContext(self) -> bool: ... - def marginChanged(self, margin: float) -> None: ... - def queriedGraphPositionChanged(self, data: QtGui.QVector3D) -> None: ... - def localeChanged(self, locale: QtCore.QLocale) -> None: ... - def reflectivityChanged(self, reflectivity: float) -> None: ... - def reflectionChanged(self, enabled: bool) -> None: ... - def horizontalAspectRatioChanged(self, ratio: float) -> None: ... - def radialLabelOffsetChanged(self, offset: float) -> None: ... - def polarChanged(self, enabled: bool) -> None: ... + marginChanged: typing.ClassVar[QtCore.pyqtSignal] + queriedGraphPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + localeChanged: typing.ClassVar[QtCore.pyqtSignal] + reflectivityChanged: typing.ClassVar[QtCore.pyqtSignal] + reflectionChanged: typing.ClassVar[QtCore.pyqtSignal] + horizontalAspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + radialLabelOffsetChanged: typing.ClassVar[QtCore.pyqtSignal] + polarChanged: typing.ClassVar[QtCore.pyqtSignal] def margin(self) -> float: ... def setMargin(self, margin: float) -> None: ... def queriedGraphPosition(self) -> QtGui.QVector3D: ... @@ -158,12 +158,12 @@ class QAbstract3DGraph(QtGui.QWindow): def isPolar(self) -> bool: ... def setPolar(self, enable: bool) -> None: ... def customItems(self) -> typing.List['QCustom3DItem']: ... - def optimizationHintsChanged(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... - def aspectRatioChanged(self, ratio: float) -> None: ... - def orthoProjectionChanged(self, enabled: bool) -> None: ... - def currentFpsChanged(self, fps: float) -> None: ... - def measureFpsChanged(self, enabled: bool) -> None: ... - def selectedElementChanged(self, type: 'QAbstract3DGraph.ElementType') -> None: ... + optimizationHintsChanged: typing.ClassVar[QtCore.pyqtSignal] + aspectRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + orthoProjectionChanged: typing.ClassVar[QtCore.pyqtSignal] + currentFpsChanged: typing.ClassVar[QtCore.pyqtSignal] + measureFpsChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedElementChanged: typing.ClassVar[QtCore.pyqtSignal] def optimizationHints(self) -> 'QAbstract3DGraph.OptimizationHints': ... def setOptimizationHints(self, hints: typing.Union['QAbstract3DGraph.OptimizationHints', 'QAbstract3DGraph.OptimizationHint']) -> None: ... def aspectRatio(self) -> float: ... @@ -193,10 +193,10 @@ class QAbstract3DGraph(QtGui.QWindow): def exposeEvent(self, event: QtGui.QExposeEvent) -> None: ... def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - def shadowQualityChanged(self, quality: 'QAbstract3DGraph.ShadowQuality') -> None: ... - def selectionModeChanged(self, mode: typing.Union['QAbstract3DGraph.SelectionFlags', 'QAbstract3DGraph.SelectionFlag']) -> None: ... - def activeThemeChanged(self, theme: 'Q3DTheme') -> None: ... - def activeInputHandlerChanged(self, inputHandler: 'QAbstract3DInputHandler') -> None: ... + shadowQualityChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionModeChanged: typing.ClassVar[QtCore.pyqtSignal] + activeThemeChanged: typing.ClassVar[QtCore.pyqtSignal] + activeInputHandlerChanged: typing.ClassVar[QtCore.pyqtSignal] def shadowsSupported(self) -> bool: ... def activeInputHandler(self) -> 'QAbstract3DInputHandler': ... def clearSelection(self) -> None: ... @@ -219,18 +219,18 @@ class Q3DBars('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - def floorLevelChanged(self, level: float) -> None: ... + floorLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def floorLevel(self) -> float: ... def setFloorLevel(self, level: float) -> None: ... - def selectedSeriesChanged(self, series: 'QBar3DSeries') -> None: ... - def primarySeriesChanged(self, series: 'QBar3DSeries') -> None: ... - def valueAxisChanged(self, axis: 'QValue3DAxis') -> None: ... - def columnAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... - def rowAxisChanged(self, axis: 'QCategory3DAxis') -> None: ... - def barSpacingRelativeChanged(self, relative: bool) -> None: ... - def barSpacingChanged(self, spacing: QtCore.QSizeF) -> None: ... - def barThicknessChanged(self, thicknessRatio: float) -> None: ... - def multiSeriesUniformChanged(self, uniform: bool) -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + primarySeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + valueAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + columnAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + rowAxisChanged: typing.ClassVar[QtCore.pyqtSignal] + barSpacingRelativeChanged: typing.ClassVar[QtCore.pyqtSignal] + barSpacingChanged: typing.ClassVar[QtCore.pyqtSignal] + barThicknessChanged: typing.ClassVar[QtCore.pyqtSignal] + multiSeriesUniformChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QBar3DSeries': ... def axes(self) -> typing.List['QAbstract3DAxis']: ... def releaseAxis(self, axis: 'QAbstract3DAxis') -> None: ... @@ -262,7 +262,7 @@ class Q3DObject(QtCore.QObject): def isDirty(self) -> bool: ... def setDirty(self, dirty: bool) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... + positionChanged: typing.ClassVar[QtCore.pyqtSignal] def setPosition(self, position: QtGui.QVector3D) -> None: ... def position(self) -> QtGui.QVector3D: ... def parentScene(self) -> 'Q3DScene': ... @@ -325,21 +325,21 @@ class Q3DCamera('Q3DObject'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def targetChanged(self, target: QtGui.QVector3D) -> None: ... - def maxZoomLevelChanged(self, zoomLevel: float) -> None: ... - def minZoomLevelChanged(self, zoomLevel: float) -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + maxZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + minZoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] def setTarget(self, target: QtGui.QVector3D) -> None: ... def target(self) -> QtGui.QVector3D: ... def setMaxZoomLevel(self, zoomLevel: float) -> None: ... def maxZoomLevel(self) -> float: ... def setMinZoomLevel(self, zoomLevel: float) -> None: ... def minZoomLevel(self) -> float: ... - def wrapYRotationChanged(self, isEnabled: bool) -> None: ... - def wrapXRotationChanged(self, isEnabled: bool) -> None: ... - def cameraPresetChanged(self, preset: 'Q3DCamera.CameraPreset') -> None: ... - def zoomLevelChanged(self, zoomLevel: float) -> None: ... - def yRotationChanged(self, rotation: float) -> None: ... - def xRotationChanged(self, rotation: float) -> None: ... + wrapYRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + wrapXRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + cameraPresetChanged: typing.ClassVar[QtCore.pyqtSignal] + zoomLevelChanged: typing.ClassVar[QtCore.pyqtSignal] + yRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + xRotationChanged: typing.ClassVar[QtCore.pyqtSignal] def setZoomLevel(self, zoomLevel: float) -> None: ... def zoomLevel(self) -> float: ... def setCameraPosition(self, horizontal: float, vertical: float, zoom: float = ...) -> None: ... @@ -372,9 +372,9 @@ class QAbstract3DInputHandler(QtCore.QObject): def setPreviousInputPos(self, position: QtCore.QPoint) -> None: ... def prevDistance(self) -> int: ... def setPrevDistance(self, distance: int) -> None: ... - def sceneChanged(self, scene: 'Q3DScene') -> None: ... - def inputViewChanged(self, view: 'QAbstract3DInputHandler.InputView') -> None: ... - def positionChanged(self, position: QtCore.QPoint) -> None: ... + sceneChanged: typing.ClassVar[QtCore.pyqtSignal] + inputViewChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] def setScene(self, scene: 'Q3DScene') -> None: ... def scene(self) -> 'Q3DScene': ... def setInputPosition(self, position: QtCore.QPoint) -> None: ... @@ -392,10 +392,10 @@ class Q3DInputHandler('QAbstract3DInputHandler'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def zoomAtTargetEnabledChanged(self, enable: bool) -> None: ... - def selectionEnabledChanged(self, enable: bool) -> None: ... - def zoomEnabledChanged(self, enable: bool) -> None: ... - def rotationEnabledChanged(self, enable: bool) -> None: ... + zoomAtTargetEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + zoomEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def isZoomAtTargetEnabled(self) -> bool: ... def setZoomAtTargetEnabled(self, enable: bool) -> None: ... def isSelectionEnabled(self) -> bool: ... @@ -413,7 +413,7 @@ class Q3DLight('Q3DObject'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def autoPositionChanged(self, autoPosition: bool) -> None: ... + autoPositionChanged: typing.ClassVar[QtCore.pyqtSignal] def isAutoPosition(self) -> bool: ... def setAutoPosition(self, enabled: bool) -> None: ... @@ -421,10 +421,10 @@ class Q3DScatter('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - def selectedSeriesChanged(self, series: 'QScatter3DSeries') -> None: ... - def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + axisZChanged: typing.ClassVar[QtCore.pyqtSignal] + axisYChanged: typing.ClassVar[QtCore.pyqtSignal] + axisXChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QScatter3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -443,18 +443,18 @@ class Q3DScene(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def graphPositionQueryChanged(self, position: QtCore.QPoint) -> None: ... + graphPositionQueryChanged: typing.ClassVar[QtCore.pyqtSignal] def graphPositionQuery(self) -> QtCore.QPoint: ... def setGraphPositionQuery(self, point: QtCore.QPoint) -> None: ... - def selectionQueryPositionChanged(self, position: QtCore.QPoint) -> None: ... - def devicePixelRatioChanged(self, pixelRatio: float) -> None: ... - def activeLightChanged(self, light: 'Q3DLight') -> None: ... - def activeCameraChanged(self, camera: 'Q3DCamera') -> None: ... - def slicingActiveChanged(self, isSlicingActive: bool) -> None: ... - def secondarySubviewOnTopChanged(self, isSecondaryOnTop: bool) -> None: ... - def secondarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... - def primarySubViewportChanged(self, subViewport: QtCore.QRect) -> None: ... - def viewportChanged(self, viewport: QtCore.QRect) -> None: ... + selectionQueryPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + devicePixelRatioChanged: typing.ClassVar[QtCore.pyqtSignal] + activeLightChanged: typing.ClassVar[QtCore.pyqtSignal] + activeCameraChanged: typing.ClassVar[QtCore.pyqtSignal] + slicingActiveChanged: typing.ClassVar[QtCore.pyqtSignal] + secondarySubviewOnTopChanged: typing.ClassVar[QtCore.pyqtSignal] + secondarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] + primarySubViewportChanged: typing.ClassVar[QtCore.pyqtSignal] + viewportChanged: typing.ClassVar[QtCore.pyqtSignal] def setDevicePixelRatio(self, pixelRatio: float) -> None: ... def devicePixelRatio(self) -> float: ... def setActiveLight(self, light: 'Q3DLight') -> None: ... @@ -481,13 +481,13 @@ class Q3DSurface('QAbstract3DGraph'): def __init__(self, format: typing.Optional[QtGui.QSurfaceFormat] = ..., parent: typing.Optional[QtGui.QWindow] = ...) -> None: ... - def flipHorizontalGridChanged(self, flip: bool) -> None: ... + flipHorizontalGridChanged: typing.ClassVar[QtCore.pyqtSignal] def flipHorizontalGrid(self) -> bool: ... def setFlipHorizontalGrid(self, flip: bool) -> None: ... - def selectedSeriesChanged(self, series: 'QSurface3DSeries') -> None: ... - def axisZChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisYChanged(self, axis: 'QValue3DAxis') -> None: ... - def axisXChanged(self, axis: 'QValue3DAxis') -> None: ... + selectedSeriesChanged: typing.ClassVar[QtCore.pyqtSignal] + axisZChanged: typing.ClassVar[QtCore.pyqtSignal] + axisYChanged: typing.ClassVar[QtCore.pyqtSignal] + axisXChanged: typing.ClassVar[QtCore.pyqtSignal] def selectedSeries(self) -> 'QSurface3DSeries': ... def axes(self) -> typing.List['QValue3DAxis']: ... def releaseAxis(self, axis: 'QValue3DAxis') -> None: ... @@ -539,28 +539,28 @@ class Q3DTheme(QtCore.QObject): @typing.overload def __init__(self, themeType: 'Q3DTheme.Theme', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... - def labelBackgroundEnabledChanged(self, enabled: bool) -> None: ... - def gridEnabledChanged(self, enabled: bool) -> None: ... - def backgroundEnabledChanged(self, enabled: bool) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def labelBorderEnabledChanged(self, enabled: bool) -> None: ... - def highlightLightStrengthChanged(self, strength: float) -> None: ... - def ambientLightStrengthChanged(self, strength: float) -> None: ... - def lightStrengthChanged(self, strength: float) -> None: ... - def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def baseGradientsChanged(self, gradients: typing.Iterable[QtGui.QLinearGradient]) -> None: ... - def lightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def gridLineColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def labelBackgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def labelTextColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def windowColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def baseColorsChanged(self, colors: typing.Iterable[typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]]) -> None: ... - def typeChanged(self, themeType: 'Q3DTheme.Theme') -> None: ... + colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBackgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + gridEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBorderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + highlightLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + ambientLightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + lightStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + baseGradientsChanged: typing.ClassVar[QtCore.pyqtSignal] + lightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + gridLineColorChanged: typing.ClassVar[QtCore.pyqtSignal] + labelBackgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + labelTextColorChanged: typing.ClassVar[QtCore.pyqtSignal] + windowColorChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorsChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] def colorStyle(self) -> 'Q3DTheme.ColorStyle': ... def setColorStyle(self, style: 'Q3DTheme.ColorStyle') -> None: ... def isLabelBackgroundEnabled(self) -> bool: ... @@ -628,22 +628,22 @@ class QAbstract3DAxis(QtCore.QObject): AxisOrientationY = ... # type: QAbstract3DAxis.AxisOrientation AxisOrientationZ = ... # type: QAbstract3DAxis.AxisOrientation - def titleFixedChanged(self, fixed: bool) -> None: ... - def titleVisibilityChanged(self, visible: bool) -> None: ... - def labelAutoRotationChanged(self, angle: float) -> None: ... + titleFixedChanged: typing.ClassVar[QtCore.pyqtSignal] + titleVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + labelAutoRotationChanged: typing.ClassVar[QtCore.pyqtSignal] def isTitleFixed(self) -> bool: ... def setTitleFixed(self, fixed: bool) -> None: ... def isTitleVisible(self) -> bool: ... def setTitleVisible(self, visible: bool) -> None: ... def labelAutoRotation(self) -> float: ... def setLabelAutoRotation(self, angle: float) -> None: ... - def autoAdjustRangeChanged(self, autoAdjust: bool) -> None: ... - def rangeChanged(self, min: float, max: float) -> None: ... - def maxChanged(self, value: float) -> None: ... - def minChanged(self, value: float) -> None: ... - def orientationChanged(self, orientation: 'QAbstract3DAxis.AxisOrientation') -> None: ... - def labelsChanged(self) -> None: ... - def titleChanged(self, newTitle: str) -> None: ... + autoAdjustRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + rangeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxChanged: typing.ClassVar[QtCore.pyqtSignal] + minChanged: typing.ClassVar[QtCore.pyqtSignal] + orientationChanged: typing.ClassVar[QtCore.pyqtSignal] + labelsChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] def setTitle(self, title: str) -> None: ... def setRange(self, min: float, max: float) -> None: ... def isAutoAdjustRange(self) -> bool: ... @@ -698,25 +698,25 @@ class QAbstract3DSeries(QtCore.QObject): SeriesTypeScatter = ... # type: QAbstract3DSeries.SeriesType SeriesTypeSurface = ... # type: QAbstract3DSeries.SeriesType - def itemLabelVisibilityChanged(self, visible: bool) -> None: ... - def itemLabelChanged(self, label: str) -> None: ... + itemLabelVisibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + itemLabelChanged: typing.ClassVar[QtCore.pyqtSignal] def isItemLabelVisible(self) -> bool: ... def setItemLabelVisible(self, visible: bool) -> None: ... def itemLabel(self) -> str: ... - def nameChanged(self, name: str) -> None: ... - def multiHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def multiHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def singleHighlightGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def singleHighlightColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def baseGradientChanged(self, gradient: QtGui.QLinearGradient) -> None: ... - def baseColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def colorStyleChanged(self, style: 'Q3DTheme.ColorStyle') -> None: ... - def userDefinedMeshChanged(self, fileName: str) -> None: ... - def meshRotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def meshSmoothChanged(self, enabled: bool) -> None: ... - def meshChanged(self, mesh: 'QAbstract3DSeries.Mesh') -> None: ... - def visibilityChanged(self, visible: bool) -> None: ... - def itemLabelFormatChanged(self, format: str) -> None: ... + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + multiHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + singleHighlightColorChanged: typing.ClassVar[QtCore.pyqtSignal] + baseGradientChanged: typing.ClassVar[QtCore.pyqtSignal] + baseColorChanged: typing.ClassVar[QtCore.pyqtSignal] + colorStyleChanged: typing.ClassVar[QtCore.pyqtSignal] + userDefinedMeshChanged: typing.ClassVar[QtCore.pyqtSignal] + meshRotationChanged: typing.ClassVar[QtCore.pyqtSignal] + meshSmoothChanged: typing.ClassVar[QtCore.pyqtSignal] + meshChanged: typing.ClassVar[QtCore.pyqtSignal] + visibilityChanged: typing.ClassVar[QtCore.pyqtSignal] + itemLabelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def setMeshAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def name(self) -> str: ... def setName(self, name: str) -> None: ... @@ -770,9 +770,9 @@ class QBar3DSeries('QAbstract3DSeries'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def meshAngleChanged(self, angle: float) -> None: ... - def selectedBarChanged(self, position: QtCore.QPoint) -> None: ... - def dataProxyChanged(self, proxy: 'QBarDataProxy') -> None: ... + meshAngleChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedBarChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def meshAngle(self) -> float: ... def setMeshAngle(self, angle: float) -> None: ... @staticmethod @@ -802,16 +802,16 @@ class QBarDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def seriesChanged(self, series: 'QBar3DSeries') -> None: ... - def columnLabelsChanged(self) -> None: ... - def rowLabelsChanged(self) -> None: ... - def rowCountChanged(self, count: int) -> None: ... - def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... - def rowsInserted(self, startIndex: int, count: int) -> None: ... - def rowsRemoved(self, startIndex: int, count: int) -> None: ... - def rowsChanged(self, startIndex: int, count: int) -> None: ... - def rowsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QBar3DSeries': ... def removeRows(self, rowIndex: int, removeCount: int, removeLabels: bool = ...) -> None: ... @typing.overload @@ -864,7 +864,7 @@ class QCategory3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def labelsChanged(self) -> None: ... + labelsChanged: typing.ClassVar[QtCore.pyqtSignal] def labels(self) -> typing.List[str]: ... def setLabels(self, labels: typing.Iterable[str]) -> None: ... @@ -875,17 +875,17 @@ class QCustom3DItem(QtCore.QObject): @typing.overload def __init__(self, meshFile: str, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, texture: QtGui.QImage, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def scalingAbsoluteChanged(self, scalingAbsolute: bool) -> None: ... + scalingAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] def isScalingAbsolute(self) -> bool: ... def setScalingAbsolute(self, scalingAbsolute: bool) -> None: ... - def shadowCastingChanged(self, shadowCasting: bool) -> None: ... - def visibleChanged(self, visible: bool) -> None: ... - def rotationChanged(self, rotation: QtGui.QQuaternion) -> None: ... - def scalingChanged(self, scaling: QtGui.QVector3D) -> None: ... - def positionAbsoluteChanged(self, positionAbsolute: bool) -> None: ... - def positionChanged(self, position: QtGui.QVector3D) -> None: ... - def textureFileChanged(self, textureFile: str) -> None: ... - def meshFileChanged(self, meshFile: str) -> None: ... + shadowCastingChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationChanged: typing.ClassVar[QtCore.pyqtSignal] + scalingChanged: typing.ClassVar[QtCore.pyqtSignal] + positionAbsoluteChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] + meshFileChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureImage(self, textureImage: QtGui.QImage) -> None: ... def setRotationAxisAndAngle(self, axis: QtGui.QVector3D, angle: float) -> None: ... def isShadowCasting(self) -> bool: ... @@ -912,13 +912,13 @@ class QCustom3DLabel('QCustom3DItem'): @typing.overload def __init__(self, text: str, font: QtGui.QFont, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def facingCameraChanged(self, enabled: bool) -> None: ... - def backgroundEnabledChanged(self, enabled: bool) -> None: ... - def borderEnabledChanged(self, enabled: bool) -> None: ... - def backgroundColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def textColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def fontChanged(self, font: QtGui.QFont) -> None: ... - def textChanged(self, text: str) -> None: ... + facingCameraChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + borderEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + backgroundColorChanged: typing.ClassVar[QtCore.pyqtSignal] + textColorChanged: typing.ClassVar[QtCore.pyqtSignal] + fontChanged: typing.ClassVar[QtCore.pyqtSignal] + textChanged: typing.ClassVar[QtCore.pyqtSignal] def isFacingCamera(self) -> bool: ... def setFacingCamera(self, enabled: bool) -> None: ... def isBackgroundEnabled(self) -> bool: ... @@ -941,24 +941,24 @@ class QCustom3DVolume('QCustom3DItem'): @typing.overload def __init__(self, position: QtGui.QVector3D, scaling: QtGui.QVector3D, rotation: QtGui.QQuaternion, textureWidth: int, textureHeight: int, textureDepth: int, textureData: sip.array[int], textureFormat: QtGui.QImage.Format, colorTable: typing.Iterable[int], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def sliceFrameThicknessesChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameGapsChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameWidthsChanged(self, values: QtGui.QVector3D) -> None: ... - def sliceFrameColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... - def drawSliceFramesChanged(self, enabled: bool) -> None: ... - def drawSlicesChanged(self, enabled: bool) -> None: ... - def useHighDefShaderChanged(self, enabled: bool) -> None: ... - def preserveOpacityChanged(self, enabled: bool) -> None: ... - def alphaMultiplierChanged(self, mult: float) -> None: ... - def textureFormatChanged(self, format: QtGui.QImage.Format) -> None: ... - def textureDataChanged(self, data: sip.array[int]) -> None: ... - def colorTableChanged(self) -> None: ... - def sliceIndexZChanged(self, value: int) -> None: ... - def sliceIndexYChanged(self, value: int) -> None: ... - def sliceIndexXChanged(self, value: int) -> None: ... - def textureDepthChanged(self, value: int) -> None: ... - def textureHeightChanged(self, value: int) -> None: ... - def textureWidthChanged(self, value: int) -> None: ... + sliceFrameThicknessesChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameGapsChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameWidthsChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceFrameColorChanged: typing.ClassVar[QtCore.pyqtSignal] + drawSliceFramesChanged: typing.ClassVar[QtCore.pyqtSignal] + drawSlicesChanged: typing.ClassVar[QtCore.pyqtSignal] + useHighDefShaderChanged: typing.ClassVar[QtCore.pyqtSignal] + preserveOpacityChanged: typing.ClassVar[QtCore.pyqtSignal] + alphaMultiplierChanged: typing.ClassVar[QtCore.pyqtSignal] + textureFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + textureDataChanged: typing.ClassVar[QtCore.pyqtSignal] + colorTableChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexZChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexYChanged: typing.ClassVar[QtCore.pyqtSignal] + sliceIndexXChanged: typing.ClassVar[QtCore.pyqtSignal] + textureDepthChanged: typing.ClassVar[QtCore.pyqtSignal] + textureHeightChanged: typing.ClassVar[QtCore.pyqtSignal] + textureWidthChanged: typing.ClassVar[QtCore.pyqtSignal] def renderSlice(self, axis: QtCore.Qt.Axis, index: int) -> QtGui.QImage: ... def sliceFrameThicknesses(self) -> QtGui.QVector3D: ... def setSliceFrameThicknesses(self, values: QtGui.QVector3D) -> None: ... @@ -1009,15 +1009,15 @@ class QSurfaceDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def seriesChanged(self, series: 'QSurface3DSeries') -> None: ... - def columnCountChanged(self, count: int) -> None: ... - def rowCountChanged(self, count: int) -> None: ... - def itemChanged(self, rowIndex: int, columnIndex: int) -> None: ... - def rowsInserted(self, startIndex: int, count: int) -> None: ... - def rowsRemoved(self, startIndex: int, count: int) -> None: ... - def rowsChanged(self, startIndex: int, count: int) -> None: ... - def rowsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCountChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsInserted: typing.ClassVar[QtCore.pyqtSignal] + rowsRemoved: typing.ClassVar[QtCore.pyqtSignal] + rowsChanged: typing.ClassVar[QtCore.pyqtSignal] + rowsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def itemAt(self, rowIndex: int, columnIndex: int) -> 'QSurfaceDataItem': ... @typing.overload @@ -1048,12 +1048,12 @@ class QHeightMapSurfaceDataProxy('QSurfaceDataProxy'): @typing.overload def __init__(self, filename: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def maxZValueChanged(self, value: float) -> None: ... - def minZValueChanged(self, value: float) -> None: ... - def maxXValueChanged(self, value: float) -> None: ... - def minXValueChanged(self, value: float) -> None: ... - def heightMapFileChanged(self, filename: str) -> None: ... - def heightMapChanged(self, image: QtGui.QImage) -> None: ... + maxZValueChanged: typing.ClassVar[QtCore.pyqtSignal] + minZValueChanged: typing.ClassVar[QtCore.pyqtSignal] + maxXValueChanged: typing.ClassVar[QtCore.pyqtSignal] + minXValueChanged: typing.ClassVar[QtCore.pyqtSignal] + heightMapFileChanged: typing.ClassVar[QtCore.pyqtSignal] + heightMapChanged: typing.ClassVar[QtCore.pyqtSignal] def maxZValue(self) -> float: ... def setMaxZValue(self, max: float) -> None: ... def minZValue(self) -> float: ... @@ -1096,15 +1096,15 @@ class QItemModelBarDataProxy('QBarDataProxy'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def multiMatchBehaviorChanged(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... - def rotationRoleReplaceChanged(self, replace: str) -> None: ... - def valueRoleReplaceChanged(self, replace: str) -> None: ... - def columnRoleReplaceChanged(self, replace: str) -> None: ... - def rowRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def valueRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def multiMatchBehavior(self) -> 'QItemModelBarDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelBarDataProxy.MultiMatchBehavior') -> None: ... def rotationRoleReplace(self) -> str: ... @@ -1123,16 +1123,16 @@ class QItemModelBarDataProxy('QBarDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def autoColumnCategoriesChanged(self, enable: bool) -> None: ... - def autoRowCategoriesChanged(self, enable: bool) -> None: ... - def useModelCategoriesChanged(self, enable: bool) -> None: ... - def columnCategoriesChanged(self) -> None: ... - def rowCategoriesChanged(self) -> None: ... - def rotationRoleChanged(self, role: str) -> None: ... - def valueRoleChanged(self, role: str) -> None: ... - def columnRoleChanged(self, role: str) -> None: ... - def rowRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + valueRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, rowRole: str, columnRole: str, valueRole: str, rotationRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1161,13 +1161,13 @@ class QScatterDataProxy('QAbstractDataProxy'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def seriesChanged(self, series: 'QScatter3DSeries') -> None: ... - def itemCountChanged(self, count: int) -> None: ... - def itemsInserted(self, startIndex: int, count: int) -> None: ... - def itemsRemoved(self, startIndex: int, count: int) -> None: ... - def itemsChanged(self, startIndex: int, count: int) -> None: ... - def itemsAdded(self, startIndex: int, count: int) -> None: ... - def arrayReset(self) -> None: ... + seriesChanged: typing.ClassVar[QtCore.pyqtSignal] + itemCountChanged: typing.ClassVar[QtCore.pyqtSignal] + itemsInserted: typing.ClassVar[QtCore.pyqtSignal] + itemsRemoved: typing.ClassVar[QtCore.pyqtSignal] + itemsChanged: typing.ClassVar[QtCore.pyqtSignal] + itemsAdded: typing.ClassVar[QtCore.pyqtSignal] + arrayReset: typing.ClassVar[QtCore.pyqtSignal] def series(self) -> 'QScatter3DSeries': ... def removeItems(self, index: int, removeCount: int) -> None: ... def insertItems(self, index: int, items: typing.Iterable['QScatterDataItem']) -> None: ... @@ -1192,14 +1192,14 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def zPosRoleReplaceChanged(self, replace: str) -> None: ... - def yPosRoleReplaceChanged(self, replace: str) -> None: ... - def xPosRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRoleReplaceChanged(self, replace: str) -> None: ... - def rotationRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rotationRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def rotationRoleReplace(self) -> str: ... def setRotationRoleReplace(self, replace: str) -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1216,11 +1216,11 @@ class QItemModelScatterDataProxy('QScatterDataProxy'): def setYPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def xPosRolePattern(self) -> QtCore.QRegExp: ... def setXPosRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def rotationRoleChanged(self, role: str) -> None: ... - def zPosRoleChanged(self, role: str) -> None: ... - def yPosRoleChanged(self, role: str) -> None: ... - def xPosRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + rotationRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, xPosRole: str, yPosRole: str, zPosRole: str, rotationRole: str) -> None: ... def rotationRole(self) -> str: ... def setRotationRole(self, role: str) -> None: ... @@ -1261,17 +1261,17 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def multiMatchBehaviorChanged(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... - def zPosRoleReplaceChanged(self, replace: str) -> None: ... - def yPosRoleReplaceChanged(self, replace: str) -> None: ... - def xPosRoleReplaceChanged(self, replace: str) -> None: ... - def columnRoleReplaceChanged(self, replace: str) -> None: ... - def rowRoleReplaceChanged(self, replace: str) -> None: ... - def zPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def yPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def xPosRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def columnRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... - def rowRolePatternChanged(self, pattern: QtCore.QRegExp) -> None: ... + multiMatchBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleReplaceChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRolePatternChanged: typing.ClassVar[QtCore.pyqtSignal] def multiMatchBehavior(self) -> 'QItemModelSurfaceDataProxy.MultiMatchBehavior': ... def setMultiMatchBehavior(self, behavior: 'QItemModelSurfaceDataProxy.MultiMatchBehavior') -> None: ... def zPosRoleReplace(self) -> str: ... @@ -1294,17 +1294,17 @@ class QItemModelSurfaceDataProxy('QSurfaceDataProxy'): def setColumnRolePattern(self, pattern: QtCore.QRegExp) -> None: ... def rowRolePattern(self) -> QtCore.QRegExp: ... def setRowRolePattern(self, pattern: QtCore.QRegExp) -> None: ... - def autoColumnCategoriesChanged(self, enable: bool) -> None: ... - def autoRowCategoriesChanged(self, enable: bool) -> None: ... - def useModelCategoriesChanged(self, enable: bool) -> None: ... - def columnCategoriesChanged(self) -> None: ... - def rowCategoriesChanged(self) -> None: ... - def zPosRoleChanged(self, role: str) -> None: ... - def yPosRoleChanged(self, role: str) -> None: ... - def xPosRoleChanged(self, role: str) -> None: ... - def columnRoleChanged(self, role: str) -> None: ... - def rowRoleChanged(self, role: str) -> None: ... - def itemModelChanged(self, itemModel: QtCore.QAbstractItemModel) -> None: ... + autoColumnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + autoRowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + useModelCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + columnCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + rowCategoriesChanged: typing.ClassVar[QtCore.pyqtSignal] + zPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + yPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + xPosRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + columnRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + rowRoleChanged: typing.ClassVar[QtCore.pyqtSignal] + itemModelChanged: typing.ClassVar[QtCore.pyqtSignal] def remap(self, rowRole: str, columnRole: str, xPosRole: str, yPosRole: str, zPosRole: str, rowCategories: typing.Iterable[str], columnCategories: typing.Iterable[str]) -> None: ... def zPosRole(self) -> str: ... def setZPosRole(self, role: str) -> None: ... @@ -1363,9 +1363,9 @@ class QLogValue3DAxisFormatter('QValue3DAxisFormatter'): def positionAt(self, value: float) -> float: ... def recalculate(self) -> None: ... def createNewInstance(self) -> 'QValue3DAxisFormatter': ... - def showEdgeLabelsChanged(self, enabled: bool) -> None: ... - def autoSubGridChanged(self, enabled: bool) -> None: ... - def baseChanged(self, base: float) -> None: ... + showEdgeLabelsChanged: typing.ClassVar[QtCore.pyqtSignal] + autoSubGridChanged: typing.ClassVar[QtCore.pyqtSignal] + baseChanged: typing.ClassVar[QtCore.pyqtSignal] def showEdgeLabels(self) -> bool: ... def setShowEdgeLabels(self, enabled: bool) -> None: ... def autoSubGrid(self) -> bool: ... @@ -1380,9 +1380,9 @@ class QScatter3DSeries('QAbstract3DSeries'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def itemSizeChanged(self, size: float) -> None: ... - def selectedItemChanged(self, index: int) -> None: ... - def dataProxyChanged(self, proxy: 'QScatterDataProxy') -> None: ... + itemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedItemChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def itemSize(self) -> float: ... def setItemSize(self, size: float) -> None: ... @staticmethod @@ -1445,17 +1445,17 @@ class QSurface3DSeries('QAbstract3DSeries'): @typing.overload def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def textureFileChanged(self, filename: str) -> None: ... - def textureChanged(self, image: QtGui.QImage) -> None: ... + textureFileChanged: typing.ClassVar[QtCore.pyqtSignal] + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def textureFile(self) -> str: ... def setTextureFile(self, filename: str) -> None: ... def texture(self) -> QtGui.QImage: ... def setTexture(self, texture: QtGui.QImage) -> None: ... - def drawModeChanged(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... - def flatShadingSupportedChanged(self, enable: bool) -> None: ... - def flatShadingEnabledChanged(self, enable: bool) -> None: ... - def selectedPointChanged(self, position: QtCore.QPoint) -> None: ... - def dataProxyChanged(self, proxy: 'QSurfaceDataProxy') -> None: ... + drawModeChanged: typing.ClassVar[QtCore.pyqtSignal] + flatShadingSupportedChanged: typing.ClassVar[QtCore.pyqtSignal] + flatShadingEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedPointChanged: typing.ClassVar[QtCore.pyqtSignal] + dataProxyChanged: typing.ClassVar[QtCore.pyqtSignal] def isFlatShadingSupported(self) -> bool: ... def drawMode(self) -> 'QSurface3DSeries.DrawFlags': ... def setDrawMode(self, mode: typing.Union['QSurface3DSeries.DrawFlags', 'QSurface3DSeries.DrawFlag']) -> None: ... @@ -1496,15 +1496,15 @@ class QValue3DAxis('QAbstract3DAxis'): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def reversedChanged(self, enable: bool) -> None: ... - def formatterChanged(self, formatter: 'QValue3DAxisFormatter') -> None: ... + reversedChanged: typing.ClassVar[QtCore.pyqtSignal] + formatterChanged: typing.ClassVar[QtCore.pyqtSignal] def reversed(self) -> bool: ... def setReversed(self, enable: bool) -> None: ... def formatter(self) -> 'QValue3DAxisFormatter': ... def setFormatter(self, formatter: 'QValue3DAxisFormatter') -> None: ... - def labelFormatChanged(self, format: str) -> None: ... - def subSegmentCountChanged(self, count: int) -> None: ... - def segmentCountChanged(self, count: int) -> None: ... + labelFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + subSegmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] + segmentCountChanged: typing.ClassVar[QtCore.pyqtSignal] def labelFormat(self) -> str: ... def setLabelFormat(self, format: str) -> None: ... def subSegmentCount(self) -> int: ... diff --git a/PyQt5-stubs/QtDesigner.pyi b/PyQt5-stubs/QtDesigner.pyi index 8bd1874d..e24e8cf4 100644 --- a/PyQt5-stubs/QtDesigner.pyi +++ b/PyQt5-stubs/QtDesigner.pyi @@ -112,19 +112,19 @@ class QDesignerFormWindowInterface(QtWidgets.QWidget): def formContainer(self) -> QtWidgets.QWidget: ... def activeResourceFilePaths(self) -> typing.List[str]: ... def checkContents(self) -> typing.List[str]: ... - def objectRemoved(self, o: QtCore.QObject) -> None: ... - def widgetRemoved(self, w: QtWidgets.QWidget) -> None: ... - def changed(self) -> None: ... - def activated(self, widget: QtWidgets.QWidget) -> None: ... - def aboutToUnmanageWidget(self, widget: QtWidgets.QWidget) -> None: ... - def widgetUnmanaged(self, widget: QtWidgets.QWidget) -> None: ... - def widgetManaged(self, widget: QtWidgets.QWidget) -> None: ... - def resourceFilesChanged(self) -> None: ... - def geometryChanged(self) -> None: ... - def selectionChanged(self) -> None: ... - def featureChanged(self, f: typing.Union['QDesignerFormWindowInterface.Feature', 'QDesignerFormWindowInterface.FeatureFlag']) -> None: ... - def fileNameChanged(self, fileName: str) -> None: ... - def mainContainerChanged(self, mainContainer: QtWidgets.QWidget) -> None: ... + objectRemoved: typing.ClassVar[QtCore.pyqtSignal] + widgetRemoved: typing.ClassVar[QtCore.pyqtSignal] + changed: typing.ClassVar[QtCore.pyqtSignal] + activated: typing.ClassVar[QtCore.pyqtSignal] + aboutToUnmanageWidget: typing.ClassVar[QtCore.pyqtSignal] + widgetUnmanaged: typing.ClassVar[QtCore.pyqtSignal] + widgetManaged: typing.ClassVar[QtCore.pyqtSignal] + resourceFilesChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + featureChanged: typing.ClassVar[QtCore.pyqtSignal] + fileNameChanged: typing.ClassVar[QtCore.pyqtSignal] + mainContainerChanged: typing.ClassVar[QtCore.pyqtSignal] def setFileName(self, fileName: str) -> None: ... def setGrid(self, grid: QtCore.QPoint) -> None: ... def selectWidget(self, widget: QtWidgets.QWidget, select: bool = ...) -> None: ... @@ -286,10 +286,10 @@ class QDesignerFormWindowManagerInterface(QtCore.QObject): def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def removeFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... def addFormWindow(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowSettingsChanged(self, fw: QDesignerFormWindowInterface) -> None: ... - def activeFormWindowChanged(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowRemoved(self, formWindow: QDesignerFormWindowInterface) -> None: ... - def formWindowAdded(self, formWindow: QDesignerFormWindowInterface) -> None: ... + formWindowSettingsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeFormWindowChanged: typing.ClassVar[QtCore.pyqtSignal] + formWindowRemoved: typing.ClassVar[QtCore.pyqtSignal] + formWindowAdded: typing.ClassVar[QtCore.pyqtSignal] def core(self) -> QDesignerFormEditorInterface: ... def createFormWindow(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> QDesignerFormWindowInterface: ... def formWindow(self, index: int) -> QDesignerFormWindowInterface: ... @@ -314,7 +314,7 @@ class QDesignerPropertyEditorInterface(QtWidgets.QWidget): def setReadOnly(self, readOnly: bool) -> None: ... def setPropertyValue(self, name: str, value: typing.Any, changed: bool = ...) -> None: ... def setObject(self, object: QtCore.QObject) -> None: ... - def propertyChanged(self, name: str, value: typing.Any) -> None: ... + propertyChanged: typing.ClassVar[QtCore.pyqtSignal] def currentPropertyName(self) -> str: ... def object(self) -> QtCore.QObject: ... def isReadOnly(self) -> bool: ... diff --git a/PyQt5-stubs/QtGui.pyi b/PyQt5-stubs/QtGui.pyi index 2dddd700..624d6960 100644 --- a/PyQt5-stubs/QtGui.pyi +++ b/PyQt5-stubs/QtGui.pyi @@ -80,10 +80,10 @@ class QAbstractTextDocumentLayout(QtCore.QObject): def positionInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def resizeInlineObject(self, item: 'QTextInlineObject', posInDocument: int, format: 'QTextFormat') -> None: ... def documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) -> None: ... - def updateBlock(self, block: 'QTextBlock') -> None: ... - def pageCountChanged(self, newPages: int) -> None: ... - def documentSizeChanged(self, newSize: QtCore.QSizeF) -> None: ... - def update(self, rect: QtCore.QRectF = ...) -> None: ... + updateBlock: typing.ClassVar[QtCore.pyqtSignal] + pageCountChanged: typing.ClassVar[QtCore.pyqtSignal] + documentSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + update: typing.ClassVar[QtCore.pyqtSignal] def handlerForObject(self, objectType: int) -> 'QTextObjectInterface': ... def unregisterHandler(self, objectType: int, component: typing.Optional[QtCore.QObject] = ...) -> None: ... def registerHandler(self, objectType: int, component: QtCore.QObject) -> None: ... @@ -1291,8 +1291,8 @@ class QDrag(QtCore.QObject): def defaultAction(self) -> QtCore.Qt.DropAction: ... def supportedActions(self) -> QtCore.Qt.DropActions: ... def dragCursor(self, action: QtCore.Qt.DropAction) -> QPixmap: ... - def targetChanged(self, newTarget: QtCore.QObject) -> None: ... - def actionChanged(self, action: QtCore.Qt.DropAction) -> None: ... + targetChanged: typing.ClassVar[QtCore.pyqtSignal] + actionChanged: typing.ClassVar[QtCore.pyqtSignal] def setDragCursor(self, cursor: QPixmap, action: QtCore.Qt.DropAction) -> None: ... def target(self) -> QtCore.QObject: ... def source(self) -> QtCore.QObject: ... @@ -2653,21 +2653,21 @@ class QGuiApplication(QtCore.QCoreApplication): def highDpiScaleFactorRoundingPolicy() -> QtCore.Qt.HighDpiScaleFactorRoundingPolicy: ... @staticmethod def setHighDpiScaleFactorRoundingPolicy(policy: QtCore.Qt.HighDpiScaleFactorRoundingPolicy) -> None: ... - def fontChanged(self, font: QFont) -> None: ... + fontChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def screenAt(point: QtCore.QPoint) -> 'QScreen': ... @staticmethod def desktopFileName() -> str: ... @staticmethod def setDesktopFileName(name: str) -> None: ... - def primaryScreenChanged(self, screen: 'QScreen') -> None: ... + primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def setFallbackSessionManagementEnabled(a0: bool) -> None: ... @staticmethod def isFallbackSessionManagementEnabled() -> bool: ... - def paletteChanged(self, pal: 'QPalette') -> None: ... - def layoutDirectionChanged(self, direction: QtCore.Qt.LayoutDirection) -> None: ... - def screenRemoved(self, screen: 'QScreen') -> None: ... + paletteChanged: typing.ClassVar[QtCore.pyqtSignal] + layoutDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + screenRemoved: typing.ClassVar[QtCore.pyqtSignal] def event(self, a0: QtCore.QEvent) -> bool: ... @staticmethod def windowIcon() -> 'QIcon': ... @@ -2692,15 +2692,15 @@ class QGuiApplication(QtCore.QCoreApplication): def applicationDisplayName() -> str: ... @staticmethod def setApplicationDisplayName(name: str) -> None: ... - def applicationDisplayNameChanged(self) -> None: ... - def applicationStateChanged(self, state: QtCore.Qt.ApplicationState) -> None: ... - def focusWindowChanged(self, focusWindow: 'QWindow') -> None: ... - def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ... - def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ... - def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ... + applicationDisplayNameChanged: typing.ClassVar[QtCore.pyqtSignal] + applicationStateChanged: typing.ClassVar[QtCore.pyqtSignal] + focusWindowChanged: typing.ClassVar[QtCore.pyqtSignal] + saveStateRequest: typing.ClassVar[QtCore.pyqtSignal] + commitDataRequest: typing.ClassVar[QtCore.pyqtSignal] + focusObjectChanged: typing.ClassVar[QtCore.pyqtSignal] lastWindowClosed: typing.ClassVar[QtCore.pyqtSignal] - def screenAdded(self, screen: 'QScreen') -> None: ... - def fontDatabaseChanged(self) -> None: ... + screenAdded: typing.ClassVar[QtCore.pyqtSignal] + fontDatabaseChanged: typing.ClassVar[QtCore.pyqtSignal] def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... @staticmethod def exec() -> int: ... @@ -3376,16 +3376,16 @@ class QInputMethod(QtCore.QObject): Click = ... # type: QInputMethod.Action ContextMenu = ... # type: QInputMethod.Action - def inputItemClipRectangleChanged(self) -> None: ... - def anchorRectangleChanged(self) -> None: ... + inputItemClipRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + anchorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] def inputItemClipRectangle(self) -> QtCore.QRectF: ... def anchorRectangle(self) -> QtCore.QRectF: ... - def inputDirectionChanged(self, newDirection: QtCore.Qt.LayoutDirection) -> None: ... - def localeChanged(self) -> None: ... - def animatingChanged(self) -> None: ... - def visibleChanged(self) -> None: ... - def keyboardRectangleChanged(self) -> None: ... - def cursorRectangleChanged(self) -> None: ... + inputDirectionChanged: typing.ClassVar[QtCore.pyqtSignal] + localeChanged: typing.ClassVar[QtCore.pyqtSignal] + animatingChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] + keyboardRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorRectangleChanged: typing.ClassVar[QtCore.pyqtSignal] def invokeAction(self, a: 'QInputMethod.Action', cursorPosition: int) -> None: ... def commit(self) -> None: ... def reset(self) -> None: ... @@ -3717,13 +3717,13 @@ class QMovie(QtCore.QObject): def setPaused(self, paused: bool) -> None: ... def jumpToNextFrame(self) -> bool: ... def start(self) -> None: ... - def frameChanged(self, frameNumber: int) -> None: ... - def finished(self) -> None: ... - def error(self, error: QImageReader.ImageReaderError) -> None: ... - def stateChanged(self, state: 'QMovie.MovieState') -> None: ... - def updated(self, rect: QtCore.QRect) -> None: ... - def resized(self, size: QtCore.QSize) -> None: ... - def started(self) -> None: ... + frameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + updated: typing.ClassVar[QtCore.pyqtSignal] + resized: typing.ClassVar[QtCore.pyqtSignal] + started: typing.ClassVar[QtCore.pyqtSignal] def setCacheMode(self, mode: 'QMovie.CacheMode') -> None: ... def cacheMode(self) -> 'QMovie.CacheMode': ... def setScaledSize(self, size: QtCore.QSize) -> None: ... @@ -3797,7 +3797,7 @@ class QOffscreenSurface(QtCore.QObject, QSurface): def setNativeHandle(self, handle: sip.voidptr) -> None: ... def nativeHandle(self) -> sip.voidptr: ... - def screenChanged(self, screen: 'QScreen') -> None: ... + screenChanged: typing.ClassVar[QtCore.pyqtSignal] def setScreen(self, screen: 'QScreen') -> None: ... def screen(self) -> 'QScreen': ... def size(self) -> QtCore.QSize: ... @@ -3946,7 +3946,7 @@ class QOpenGLContext(QtCore.QObject): @staticmethod def openGLModuleHandle() -> sip.voidptr: ... def versionFunctions(self, versionProfile: typing.Optional['QOpenGLVersionProfile'] = ...) -> typing.Any: ... - def aboutToBeDestroyed(self) -> None: ... + aboutToBeDestroyed: typing.ClassVar[QtCore.pyqtSignal] def hasExtension(self, extension: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def extensions(self) -> typing.Set[QtCore.QByteArray]: ... @staticmethod @@ -4122,7 +4122,7 @@ class QOpenGLDebugLogger(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def messageLogged(self, debugMessage: QOpenGLDebugMessage) -> None: ... + messageLogged: typing.ClassVar[QtCore.pyqtSignal] def stopLogging(self) -> None: ... def startLogging(self, loggingMode: 'QOpenGLDebugLogger.LoggingMode' = ...) -> None: ... def logMessage(self, debugMessage: QOpenGLDebugMessage) -> None: ... @@ -5548,7 +5548,7 @@ class QOpenGLWindow(QPaintDeviceWindow): def paintGL(self) -> None: ... def resizeGL(self, w: int, h: int) -> None: ... def initializeGL(self) -> None: ... - def frameSwapped(self) -> None: ... + frameSwapped: typing.ClassVar[QtCore.pyqtSignal] def shareContext(self) -> QOpenGLContext: ... def grabFramebuffer(self) -> QImage: ... def defaultFramebufferObject(self) -> int: ... @@ -8088,15 +8088,15 @@ class QScreen(QtCore.QObject): def serialNumber(self) -> str: ... def model(self) -> str: ... def manufacturer(self) -> str: ... - def availableGeometryChanged(self, geometry: QtCore.QRect) -> None: ... - def virtualGeometryChanged(self, rect: QtCore.QRect) -> None: ... - def physicalSizeChanged(self, size: QtCore.QSizeF) -> None: ... - def refreshRateChanged(self, refreshRate: float) -> None: ... - def orientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... - def primaryOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ... - def logicalDotsPerInchChanged(self, dpi: float) -> None: ... - def physicalDotsPerInchChanged(self, dpi: float) -> None: ... - def geometryChanged(self, geometry: QtCore.QRect) -> None: ... + availableGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] + virtualGeometryChanged: typing.ClassVar[QtCore.pyqtSignal] + physicalSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + refreshRateChanged: typing.ClassVar[QtCore.pyqtSignal] + orientationChanged: typing.ClassVar[QtCore.pyqtSignal] + primaryOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + logicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] + physicalDotsPerInchChanged: typing.ClassVar[QtCore.pyqtSignal] + geometryChanged: typing.ClassVar[QtCore.pyqtSignal] def devicePixelRatio(self) -> float: ... def refreshRate(self) -> float: ... def grabWindow(self, window: sip.voidptr, x: int = ..., y: int = ..., width: int = ..., height: int = ...) -> QPixmap: ... @@ -8171,7 +8171,7 @@ class QStandardItemModel(QtCore.QAbstractItemModel): def __init__(self, rows: int, columns: int, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def clearItemData(self, index: QtCore.QModelIndex) -> bool: ... - def itemChanged(self, item: 'QStandardItem') -> None: ... + itemChanged: typing.ClassVar[QtCore.pyqtSignal] def setItemRoleNames(self, roleNames: typing.Dict[int, typing.Union[QtCore.QByteArray, bytes, bytearray]]) -> None: ... def sibling(self, row: int, column: int, idx: QtCore.QModelIndex) -> QtCore.QModelIndex: ... def dropMimeData(self, data: QtCore.QMimeData, action: QtCore.Qt.DropAction, row: int, column: int, parent: QtCore.QModelIndex) -> bool: ... @@ -8392,24 +8392,24 @@ class QStyleHints(QtCore.QObject): def touchDoubleTapDistance(self) -> int: ... def mouseDoubleClickDistance(self) -> int: ... - def showShortcutsInContextMenusChanged(self, a0: bool) -> None: ... + showShortcutsInContextMenusChanged: typing.ClassVar[QtCore.pyqtSignal] def setShowShortcutsInContextMenus(self, showShortcutsInContextMenus: bool) -> None: ... - def mouseQuickSelectionThresholdChanged(self, threshold: int) -> None: ... + mouseQuickSelectionThresholdChanged: typing.ClassVar[QtCore.pyqtSignal] def mouseQuickSelectionThreshold(self) -> int: ... def showShortcutsInContextMenus(self) -> bool: ... - def wheelScrollLinesChanged(self, scrollLines: int) -> None: ... + wheelScrollLinesChanged: typing.ClassVar[QtCore.pyqtSignal] def wheelScrollLines(self) -> int: ... - def useHoverEffectsChanged(self, useHoverEffects: bool) -> None: ... + useHoverEffectsChanged: typing.ClassVar[QtCore.pyqtSignal] def setUseHoverEffects(self, useHoverEffects: bool) -> None: ... def useHoverEffects(self) -> bool: ... def showIsMaximized(self) -> bool: ... - def tabFocusBehaviorChanged(self, tabFocusBehavior: QtCore.Qt.TabFocusBehavior) -> None: ... - def mousePressAndHoldIntervalChanged(self, mousePressAndHoldInterval: int) -> None: ... - def startDragTimeChanged(self, startDragTime: int) -> None: ... - def startDragDistanceChanged(self, startDragDistance: int) -> None: ... - def mouseDoubleClickIntervalChanged(self, mouseDoubleClickInterval: int) -> None: ... - def keyboardInputIntervalChanged(self, keyboardInputInterval: int) -> None: ... - def cursorFlashTimeChanged(self, cursorFlashTime: int) -> None: ... + tabFocusBehaviorChanged: typing.ClassVar[QtCore.pyqtSignal] + mousePressAndHoldIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + startDragTimeChanged: typing.ClassVar[QtCore.pyqtSignal] + startDragDistanceChanged: typing.ClassVar[QtCore.pyqtSignal] + mouseDoubleClickIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + keyboardInputIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorFlashTimeChanged: typing.ClassVar[QtCore.pyqtSignal] def singleClickActivation(self) -> bool: ... def tabFocusBehavior(self) -> QtCore.Qt.TabFocusBehavior: ... def mousePressAndHoldInterval(self) -> int: ... @@ -8834,7 +8834,7 @@ class QTextDocument(QtCore.QObject): def setMarkdown(self, markdown: str, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> None: ... def toMarkdown(self, features: typing.Union['QTextDocument.MarkdownFeatures', 'QTextDocument.MarkdownFeature'] = ...) -> str: ... def toRawText(self) -> str: ... - def baseUrlChanged(self, url: QtCore.QUrl) -> None: ... + baseUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def setBaseUrl(self, url: QtCore.QUrl) -> None: ... def baseUrl(self) -> QtCore.QUrl: ... def setDefaultCursorMoveStyle(self, style: QtCore.Qt.CursorMoveStyle) -> None: ... @@ -8847,8 +8847,8 @@ class QTextDocument(QtCore.QObject): def setDocumentMargin(self, margin: float) -> None: ... def documentMargin(self) -> float: ... def characterAt(self, pos: int) -> str: ... - def documentLayoutChanged(self) -> None: ... - def undoCommandAdded(self) -> None: ... + documentLayoutChanged: typing.ClassVar[QtCore.pyqtSignal] + undoCommandAdded: typing.ClassVar[QtCore.pyqtSignal] def setIndentWidth(self, width: float) -> None: ... def indentWidth(self) -> float: ... def lastBlock(self) -> 'QTextBlock': ... @@ -8880,13 +8880,13 @@ class QTextDocument(QtCore.QObject): def undo(self) -> None: ... @typing.overload def undo(self, cursor: QTextCursor) -> None: ... - def undoAvailable(self, a0: bool) -> None: ... - def redoAvailable(self, a0: bool) -> None: ... - def modificationChanged(self, m: bool) -> None: ... - def cursorPositionChanged(self, cursor: QTextCursor) -> None: ... - def contentsChanged(self) -> None: ... - def contentsChange(self, from_: int, charsRemoves: int, charsAdded: int) -> None: ... - def blockCountChanged(self, newBlockCount: int) -> None: ... + undoAvailable: typing.ClassVar[QtCore.pyqtSignal] + redoAvailable: typing.ClassVar[QtCore.pyqtSignal] + modificationChanged: typing.ClassVar[QtCore.pyqtSignal] + cursorPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsChange: typing.ClassVar[QtCore.pyqtSignal] + blockCountChanged: typing.ClassVar[QtCore.pyqtSignal] def useDesignMetrics(self) -> bool: ... def setUseDesignMetrics(self, b: bool) -> None: ... def markContentsDirty(self, from_: int, length: int) -> None: ... @@ -10314,7 +10314,7 @@ class QValidator(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def changed(self) -> None: ... + changed: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def fixup(self, a0: str) -> str: ... diff --git a/PyQt5-stubs/QtHelp.pyi b/PyQt5-stubs/QtHelp.pyi index 0b87c478..28946023 100644 --- a/PyQt5-stubs/QtHelp.pyi +++ b/PyQt5-stubs/QtHelp.pyi @@ -69,8 +69,8 @@ class QHelpContentItem(sip.simplewrapper): class QHelpContentModel(QtCore.QAbstractItemModel): - def contentsCreated(self) -> None: ... - def contentsCreationStarted(self) -> None: ... + contentsCreated: typing.ClassVar[QtCore.pyqtSignal] + contentsCreationStarted: typing.ClassVar[QtCore.pyqtSignal] def isCreatingContents(self) -> bool: ... def columnCount(self, parent: QtCore.QModelIndex = ...) -> int: ... def rowCount(self, parent: QtCore.QModelIndex = ...) -> int: ... @@ -83,7 +83,7 @@ class QHelpContentModel(QtCore.QAbstractItemModel): class QHelpContentWidget(QtWidgets.QTreeView): - def linkActivated(self, link: QtCore.QUrl) -> None: ... + linkActivated: typing.ClassVar[QtCore.pyqtSignal] def indexOf(self, link: QtCore.QUrl) -> QtCore.QModelIndex: ... @@ -102,11 +102,11 @@ class QHelpEngineCore(QtCore.QObject): def usesFilterEngine(self) -> bool: ... def setUsesFilterEngine(self, uses: bool) -> None: ... def filterEngine(self) -> 'QHelpFilterEngine': ... - def readersAboutToBeInvalidated(self) -> None: ... - def warning(self, msg: str) -> None: ... - def currentFilterChanged(self, newFilter: str) -> None: ... - def setupFinished(self) -> None: ... - def setupStarted(self) -> None: ... + readersAboutToBeInvalidated: typing.ClassVar[QtCore.pyqtSignal] + warning: typing.ClassVar[QtCore.pyqtSignal] + currentFilterChanged: typing.ClassVar[QtCore.pyqtSignal] + setupFinished: typing.ClassVar[QtCore.pyqtSignal] + setupStarted: typing.ClassVar[QtCore.pyqtSignal] def setAutoSaveFilter(self, save: bool) -> None: ... def autoSaveFilter(self) -> bool: ... def error(self) -> str: ... @@ -177,7 +177,7 @@ class QHelpFilterEngine(QtCore.QObject): @typing.overload def indices(self, filterName: str) -> typing.List[str]: ... def availableVersions(self) -> typing.List[QtCore.QVersionNumber]: ... - def filterActivated(self, newFilter: str) -> None: ... + filterActivated: typing.ClassVar[QtCore.pyqtSignal] def namespacesForFilter(self, filterName: str) -> typing.List[str]: ... def removeFilter(self, filterName: str) -> bool: ... def setFilterData(self, filterName: str, filterData: QHelpFilterData) -> bool: ... @@ -202,8 +202,8 @@ class QHelpFilterSettingsWidget(QtWidgets.QWidget): class QHelpIndexModel(QtCore.QStringListModel): - def indexCreated(self) -> None: ... - def indexCreationStarted(self) -> None: ... + indexCreated: typing.ClassVar[QtCore.pyqtSignal] + indexCreationStarted: typing.ClassVar[QtCore.pyqtSignal] def isCreatingIndex(self) -> bool: ... def linksForKeyword(self, keyword: str) -> typing.Dict[str, QtCore.QUrl]: ... def filter(self, filter: str, wildcard: str = ...) -> QtCore.QModelIndex: ... @@ -213,12 +213,12 @@ class QHelpIndexModel(QtCore.QStringListModel): class QHelpIndexWidget(QtWidgets.QListView): - def documentsActivated(self, documents: typing.Iterable['QHelpLink'], keyword: str) -> None: ... - def documentActivated(self, document: 'QHelpLink', keyword: str) -> None: ... + documentsActivated: typing.ClassVar[QtCore.pyqtSignal] + documentActivated: typing.ClassVar[QtCore.pyqtSignal] def activateCurrentItem(self) -> None: ... def filterIndices(self, filter: str, wildcard: str = ...) -> None: ... - def linksActivated(self, links: typing.Dict[str, QtCore.QUrl], keyword: str) -> None: ... - def linkActivated(self, link: QtCore.QUrl, keyword: str) -> None: ... + linksActivated: typing.ClassVar[QtCore.pyqtSignal] + linkActivated: typing.ClassVar[QtCore.pyqtSignal] class QHelpLink(sip.simplewrapper): @@ -264,10 +264,10 @@ class QHelpSearchEngine(QtCore.QObject): def searchInput(self) -> str: ... def searchResults(self, start: int, end: int) -> typing.List['QHelpSearchResult']: ... def searchResultCount(self) -> int: ... - def searchingFinished(self, hits: int) -> None: ... - def searchingStarted(self) -> None: ... - def indexingFinished(self) -> None: ... - def indexingStarted(self) -> None: ... + searchingFinished: typing.ClassVar[QtCore.pyqtSignal] + searchingStarted: typing.ClassVar[QtCore.pyqtSignal] + indexingFinished: typing.ClassVar[QtCore.pyqtSignal] + indexingStarted: typing.ClassVar[QtCore.pyqtSignal] def cancelSearching(self) -> None: ... @typing.overload def search(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -304,7 +304,7 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): def searchInput(self) -> str: ... def setCompactMode(self, on: bool) -> None: ... def isCompactMode(self) -> bool: ... - def search(self) -> None: ... + search: typing.ClassVar[QtCore.pyqtSignal] def collapseExtendedSearch(self) -> None: ... def expandExtendedSearch(self) -> None: ... def setQuery(self, queryList: typing.Iterable[QHelpSearchQuery]) -> None: ... @@ -313,5 +313,5 @@ class QHelpSearchQueryWidget(QtWidgets.QWidget): class QHelpSearchResultWidget(QtWidgets.QWidget): - def requestShowLink(self, url: QtCore.QUrl) -> None: ... + requestShowLink: typing.ClassVar[QtCore.pyqtSignal] def linkAt(self, point: QtCore.QPoint) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtLocation.pyi b/PyQt5-stubs/QtLocation.pyi index 3926f660..6b42b097 100644 --- a/PyQt5-stubs/QtLocation.pyi +++ b/PyQt5-stubs/QtLocation.pyi @@ -64,25 +64,22 @@ class QGeoCodeReply(QtCore.QObject): def setViewport(self, viewport: QtPositioning.QGeoShape) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoCodeReply.Error', errorString: str) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def offset(self) -> int: ... def limit(self) -> int: ... def locations(self) -> typing.List[QtPositioning.QGeoLocation]: ... def viewport(self) -> QtPositioning.QGeoShape: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QGeoCodeReply.Error': ... - @typing.overload - def error(self, error: 'QGeoCodeReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isFinished(self) -> bool: ... class QGeoCodingManager(QtCore.QObject): - def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoCodeReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape = ...) -> QGeoCodeReply: ... @@ -98,8 +95,8 @@ class QGeoCodingManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def error(self, reply: QGeoCodeReply, error: QGeoCodeReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoCodeReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def locale(self) -> QtCore.QLocale: ... def setLocale(self, locale: QtCore.QLocale) -> None: ... def reverseGeocode(self, coordinate: QtPositioning.QGeoCoordinate, bounds: QtPositioning.QGeoShape) -> QGeoCodeReply: ... @@ -230,16 +227,13 @@ class QGeoRouteReply(QtCore.QObject): def setRoutes(self, routes: typing.Iterable[QGeoRoute]) -> None: ... def setFinished(self, finished: bool) -> None: ... def setError(self, error: 'QGeoRouteReply.Error', errorString: str) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... def routes(self) -> typing.List[QGeoRoute]: ... def request(self) -> 'QGeoRouteRequest': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QGeoRouteReply.Error': ... - @typing.overload - def error(self, error: 'QGeoRouteReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isFinished(self) -> bool: ... @@ -464,8 +458,8 @@ class QGeoRouteSegment(sip.simplewrapper): class QGeoRoutingManager(QtCore.QObject): - def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoRouteReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -492,8 +486,8 @@ class QGeoRoutingManagerEngine(QtCore.QObject): def setSupportedFeatureWeights(self, featureWeights: typing.Union[QGeoRouteRequest.FeatureWeights, QGeoRouteRequest.FeatureWeight]) -> None: ... def setSupportedFeatureTypes(self, featureTypes: typing.Union[QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.FeatureType]) -> None: ... def setSupportedTravelModes(self, travelModes: typing.Union[QGeoRouteRequest.TravelModes, QGeoRouteRequest.TravelMode]) -> None: ... - def error(self, reply: QGeoRouteReply, error: QGeoRouteReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QGeoRouteReply) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def measurementSystem(self) -> QtCore.QLocale.MeasurementSystem: ... def setMeasurementSystem(self, system: QtCore.QLocale.MeasurementSystem) -> None: ... def locale(self) -> QtCore.QLocale: ... @@ -930,14 +924,11 @@ class QPlaceReply(QtCore.QObject): def setError(self, error: 'QPlaceReply.Error', errorString: str) -> None: ... def setFinished(self, finished: bool) -> None: ... - def contentUpdated(self) -> None: ... - def finished(self) -> None: ... - def aborted(self) -> None: ... + contentUpdated: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + aborted: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... - @typing.overload - def error(self) -> 'QPlaceReply.Error': ... - @typing.overload - def error(self, error: 'QPlaceReply.Error', errorString: str = ...) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... def type(self) -> 'QPlaceReply.Type': ... def isFinished(self) -> bool: ... @@ -1061,15 +1052,15 @@ class QPlaceImage(QPlaceContent): class QPlaceManager(QtCore.QObject): - def dataChanged(self) -> None: ... - def categoryRemoved(self, categoryId: str, parentId: str) -> None: ... - def categoryUpdated(self, category: QPlaceCategory, parentId: str) -> None: ... - def categoryAdded(self, category: QPlaceCategory, parentId: str) -> None: ... - def placeRemoved(self, placeId: str) -> None: ... - def placeUpdated(self, placeId: str) -> None: ... - def placeAdded(self, placeId: str) -> None: ... - def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QPlaceReply) -> None: ... + dataChanged: typing.ClassVar[QtCore.pyqtSignal] + categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] + categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] + categoryAdded: typing.ClassVar[QtCore.pyqtSignal] + placeRemoved: typing.ClassVar[QtCore.pyqtSignal] + placeUpdated: typing.ClassVar[QtCore.pyqtSignal] + placeAdded: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, place: QPlace) -> QPlace: ... def setLocales(self, locale: typing.Iterable[QtCore.QLocale]) -> None: ... @@ -1097,15 +1088,15 @@ class QPlaceManagerEngine(QtCore.QObject): def __init__(self, parameters: typing.Dict[str, typing.Any], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def manager(self) -> QPlaceManager: ... - def dataChanged(self) -> None: ... - def categoryRemoved(self, categoryId: str, parentCategoryId: str) -> None: ... - def categoryUpdated(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... - def categoryAdded(self, category: QPlaceCategory, parentCategoryId: str) -> None: ... - def placeRemoved(self, placeId: str) -> None: ... - def placeUpdated(self, placeId: str) -> None: ... - def placeAdded(self, placeId: str) -> None: ... - def error(self, a0: QPlaceReply, error: QPlaceReply.Error, errorString: str = ...) -> None: ... - def finished(self, reply: QPlaceReply) -> None: ... + dataChanged: typing.ClassVar[QtCore.pyqtSignal] + categoryRemoved: typing.ClassVar[QtCore.pyqtSignal] + categoryUpdated: typing.ClassVar[QtCore.pyqtSignal] + categoryAdded: typing.ClassVar[QtCore.pyqtSignal] + placeRemoved: typing.ClassVar[QtCore.pyqtSignal] + placeUpdated: typing.ClassVar[QtCore.pyqtSignal] + placeAdded: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def matchingPlaces(self, request: 'QPlaceMatchRequest') -> 'QPlaceMatchReply': ... def compatiblePlace(self, original: QPlace) -> QPlace: ... def constructIconUrl(self, icon: QPlaceIcon, size: QtCore.QSize) -> QtCore.QUrl: ... diff --git a/PyQt5-stubs/QtMultimedia.pyi b/PyQt5-stubs/QtMultimedia.pyi index e574b8cd..eb35ac66 100644 --- a/PyQt5-stubs/QtMultimedia.pyi +++ b/PyQt5-stubs/QtMultimedia.pyi @@ -115,7 +115,7 @@ class QAbstractVideoFilter(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def activeChanged(self) -> None: ... + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def createFilterRunnable(self) -> QVideoFilterRunnable: ... def isActive(self) -> bool: ... @@ -137,13 +137,13 @@ class QAbstractVideoSurface(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def nativeResolutionChanged(self, a0: QtCore.QSize) -> None: ... + nativeResolutionChanged: typing.ClassVar[QtCore.pyqtSignal] def setNativeResolution(self, resolution: QtCore.QSize) -> None: ... def nativeResolution(self) -> QtCore.QSize: ... def setError(self, error: 'QAbstractVideoSurface.Error') -> None: ... - def supportedFormatsChanged(self) -> None: ... - def surfaceFormatChanged(self, format: 'QVideoSurfaceFormat') -> None: ... - def activeChanged(self, active: bool) -> None: ... + supportedFormatsChanged: typing.ClassVar[QtCore.pyqtSignal] + surfaceFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] def error(self) -> 'QAbstractVideoSurface.Error': ... def present(self, frame: 'QVideoFrame') -> bool: ... def isActive(self) -> bool: ... @@ -257,16 +257,10 @@ class QMediaObject(QtCore.QObject): def removePropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def addPropertyWatch(self, name: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - @typing.overload - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... - @typing.overload - def availabilityChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - def notifyIntervalChanged(self, milliSeconds: int) -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + notifyIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -305,14 +299,14 @@ class QAudioDecoder(QMediaObject): def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - def durationChanged(self, duration: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def sourceChanged(self) -> None: ... - def formatChanged(self, format: 'QAudioFormat') -> None: ... - def stateChanged(self, newState: 'QAudioDecoder.State') -> None: ... - def finished(self) -> None: ... - def bufferReady(self) -> None: ... - def bufferAvailableChanged(self, a0: bool) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + bufferReady: typing.ClassVar[QtCore.pyqtSignal] + bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def duration(self) -> int: ... @@ -320,10 +314,7 @@ class QAudioDecoder(QMediaObject): def bufferAvailable(self) -> bool: ... def read(self) -> QAudioBuffer: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QAudioDecoder.Error': ... - @typing.overload - def error(self, error: 'QAudioDecoder.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def setAudioFormat(self, format: 'QAudioFormat') -> None: ... def audioFormat(self) -> 'QAudioFormat': ... def setSourceDevice(self, device: QtCore.QIODevice) -> None: ... @@ -344,15 +335,15 @@ class QAudioDecoderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def finished(self) -> None: ... - def bufferAvailableChanged(self, available: bool) -> None: ... - def bufferReady(self) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def sourceChanged(self) -> None: ... - def formatChanged(self, format: 'QAudioFormat') -> None: ... - def stateChanged(self, newState: QAudioDecoder.State) -> None: ... + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + bufferAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferReady: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] + formatChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def duration(self) -> int: ... def position(self) -> int: ... def bufferAvailable(self) -> bool: ... @@ -462,8 +453,8 @@ class QAudioInput(QtCore.QObject): def volume(self) -> float: ... def setVolume(self, volume: float) -> None: ... - def notify(self) -> None: ... - def stateChanged(self, a0: QAudio.State) -> None: ... + notify: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -489,8 +480,8 @@ class QAudioInputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def availableInputsChanged(self) -> None: ... - def activeInputChanged(self, name: str) -> None: ... + availableInputsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeInputChanged: typing.ClassVar[QtCore.pyqtSignal] def setActiveInput(self, name: str) -> None: ... def activeInput(self) -> str: ... def defaultInput(self) -> str: ... @@ -509,8 +500,8 @@ class QAudioOutput(QtCore.QObject): def category(self) -> str: ... def volume(self) -> float: ... def setVolume(self, a0: float) -> None: ... - def notify(self) -> None: ... - def stateChanged(self, a0: QAudio.State) -> None: ... + notify: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> QAudio.State: ... def error(self) -> QAudio.Error: ... def elapsedUSecs(self) -> int: ... @@ -536,8 +527,8 @@ class QAudioOutputSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def availableOutputsChanged(self) -> None: ... - def activeOutputChanged(self, name: str) -> None: ... + availableOutputsChanged: typing.ClassVar[QtCore.pyqtSignal] + activeOutputChanged: typing.ClassVar[QtCore.pyqtSignal] def setActiveOutput(self, name: str) -> None: ... def activeOutput(self) -> str: ... def defaultOutput(self) -> str: ... @@ -549,8 +540,8 @@ class QAudioProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def flush(self) -> None: ... - def audioBufferProbed(self, audioBuffer: QAudioBuffer) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -613,22 +604,16 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - @typing.overload - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... - @typing.overload - def availabilityChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - def metaDataWritableChanged(self, writable: bool) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... - def volumeChanged(self, volume: float) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def statusChanged(self, status: 'QMediaRecorder.Status') -> None: ... - def stateChanged(self, state: 'QMediaRecorder.State') -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataWritableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def stop(self) -> None: ... @@ -659,10 +644,7 @@ class QMediaRecorder(QtCore.QObject, QMediaBindableInterface): def isMuted(self) -> bool: ... def duration(self) -> int: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QMediaRecorder.Error': ... - @typing.overload - def error(self, error: 'QMediaRecorder.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def status(self) -> 'QMediaRecorder.Status': ... def state(self) -> 'QMediaRecorder.State': ... def actualLocation(self) -> QtCore.QUrl: ... @@ -677,8 +659,8 @@ class QAudioRecorder(QMediaRecorder): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def availableAudioInputsChanged(self) -> None: ... - def audioInputChanged(self, name: str) -> None: ... + availableAudioInputsChanged: typing.ClassVar[QtCore.pyqtSignal] + audioInputChanged: typing.ClassVar[QtCore.pyqtSignal] def setAudioInput(self, name: str) -> None: ... def audioInput(self) -> str: ... def audioInputDescription(self, name: str) -> str: ... @@ -690,7 +672,7 @@ class QAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def audioRoleChanged(self, role: QAudio.Role) -> None: ... + audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, role: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... @@ -849,16 +831,13 @@ class QCamera(QMediaObject): def supportedViewfinderSettings(self, settings: 'QCameraViewfinderSettings' = ...) -> typing.List['QCameraViewfinderSettings']: ... def setViewfinderSettings(self, settings: 'QCameraViewfinderSettings') -> None: ... def viewfinderSettings(self) -> 'QCameraViewfinderSettings': ... - def errorOccurred(self, a0: 'QCamera.Error') -> None: ... - @typing.overload - def lockStatusChanged(self, a0: 'QCamera.LockStatus', a1: 'QCamera.LockChangeReason') -> None: ... - @typing.overload - def lockStatusChanged(self, a0: 'QCamera.LockType', a1: 'QCamera.LockStatus', a2: 'QCamera.LockChangeReason') -> None: ... - def lockFailed(self) -> None: ... - def locked(self) -> None: ... - def statusChanged(self, a0: 'QCamera.Status') -> None: ... - def captureModeChanged(self, a0: typing.Union['QCamera.CaptureModes', 'QCamera.CaptureMode']) -> None: ... - def stateChanged(self, a0: 'QCamera.State') -> None: ... + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + lockFailed: typing.ClassVar[QtCore.pyqtSignal] + locked: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def unlock(self) -> None: ... @typing.overload @@ -879,10 +858,7 @@ class QCamera(QMediaObject): def requestedLocks(self) -> 'QCamera.LockTypes': ... def supportedLocks(self) -> 'QCamera.LockTypes': ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QCamera.Error': ... - @typing.overload - def error(self, a0: 'QCamera.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def setViewfinder(self, viewfinder: QtMultimediaWidgets.QVideoWidget) -> None: ... @typing.overload @@ -907,7 +883,7 @@ class QCameraCaptureBufferFormatControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def bufferFormatChanged(self, format: 'QVideoFrame.PixelFormat') -> None: ... + bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] def setBufferFormat(self, format: 'QVideoFrame.PixelFormat') -> None: ... def bufferFormat(self) -> 'QVideoFrame.PixelFormat': ... def supportedBufferFormats(self) -> typing.List['QVideoFrame.PixelFormat']: ... @@ -917,7 +893,7 @@ class QCameraCaptureDestinationControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def captureDestinationChanged(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... + captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... def captureDestination(self) -> 'QCameraImageCapture.CaptureDestinations': ... def isCaptureDestinationSupported(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> bool: ... @@ -940,10 +916,10 @@ class QCameraControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def captureModeChanged(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def statusChanged(self, a0: QCamera.Status) -> None: ... - def stateChanged(self, a0: QCamera.State) -> None: ... + captureModeChanged: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def canChangeProperty(self, changeType: 'QCameraControl.PropertyChangeType', status: QCamera.Status) -> bool: ... def isCaptureModeSupported(self, mode: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> bool: ... def setCaptureMode(self, a0: typing.Union[QCamera.CaptureModes, QCamera.CaptureMode]) -> None: ... @@ -1049,13 +1025,13 @@ class QCameraExposure(QtCore.QObject): def __index__(self) -> int: ... def __int__(self) -> int: ... - def exposureCompensationChanged(self, a0: float) -> None: ... - def isoSensitivityChanged(self, a0: int) -> None: ... - def shutterSpeedRangeChanged(self) -> None: ... - def shutterSpeedChanged(self, a0: float) -> None: ... - def apertureRangeChanged(self) -> None: ... - def apertureChanged(self, a0: float) -> None: ... - def flashReady(self, a0: bool) -> None: ... + exposureCompensationChanged: typing.ClassVar[QtCore.pyqtSignal] + isoSensitivityChanged: typing.ClassVar[QtCore.pyqtSignal] + shutterSpeedRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + shutterSpeedChanged: typing.ClassVar[QtCore.pyqtSignal] + apertureRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + apertureChanged: typing.ClassVar[QtCore.pyqtSignal] + flashReady: typing.ClassVar[QtCore.pyqtSignal] def setAutoShutterSpeed(self) -> None: ... def setManualShutterSpeed(self, seconds: float) -> None: ... def setAutoAperture(self) -> None: ... @@ -1117,9 +1093,9 @@ class QCameraExposureControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def parameterRangeChanged(self, parameter: int) -> None: ... - def actualValueChanged(self, parameter: int) -> None: ... - def requestedValueChanged(self, parameter: int) -> None: ... + parameterRangeChanged: typing.ClassVar[QtCore.pyqtSignal] + actualValueChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedValueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, parameter: 'QCameraExposureControl.ExposureParameter', value: typing.Any) -> bool: ... def actualValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... def requestedValue(self, parameter: 'QCameraExposureControl.ExposureParameter') -> typing.Any: ... @@ -1167,7 +1143,7 @@ class QCameraFlashControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def flashReady(self, a0: bool) -> None: ... + flashReady: typing.ClassVar[QtCore.pyqtSignal] def isFlashReady(self) -> bool: ... def isFlashModeSupported(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> bool: ... def setFlashMode(self, mode: typing.Union[QCameraExposure.FlashModes, QCameraExposure.FlashMode]) -> None: ... @@ -1237,11 +1213,11 @@ class QCameraFocus(QtCore.QObject): def __index__(self) -> int: ... def __int__(self) -> int: ... - def maximumDigitalZoomChanged(self, a0: float) -> None: ... - def maximumOpticalZoomChanged(self, a0: float) -> None: ... - def focusZonesChanged(self) -> None: ... - def digitalZoomChanged(self, a0: float) -> None: ... - def opticalZoomChanged(self, a0: float) -> None: ... + maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] + digitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + opticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] def zoomTo(self, opticalZoom: float, digitalZoom: float) -> None: ... def digitalZoom(self) -> float: ... def opticalZoom(self) -> float: ... @@ -1263,10 +1239,10 @@ class QCameraFocusControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def focusZonesChanged(self) -> None: ... - def customFocusPointChanged(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def focusPointModeChanged(self, mode: QCameraFocus.FocusPointMode) -> None: ... - def focusModeChanged(self, mode: typing.Union[QCameraFocus.FocusModes, QCameraFocus.FocusMode]) -> None: ... + focusZonesChanged: typing.ClassVar[QtCore.pyqtSignal] + customFocusPointChanged: typing.ClassVar[QtCore.pyqtSignal] + focusPointModeChanged: typing.ClassVar[QtCore.pyqtSignal] + focusModeChanged: typing.ClassVar[QtCore.pyqtSignal] def focusZones(self) -> typing.List[QCameraFocusZone]: ... def setCustomFocusPoint(self, point: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... def customFocusPoint(self) -> QtCore.QPointF: ... @@ -1325,14 +1301,14 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - def imageSaved(self, id: int, fileName: str) -> None: ... - def imageAvailable(self, id: int, image: 'QVideoFrame') -> None: ... - def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... - def imageCaptured(self, id: int, preview: QtGui.QImage) -> None: ... - def imageExposed(self, id: int) -> None: ... - def captureDestinationChanged(self, a0: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... - def bufferFormatChanged(self, a0: 'QVideoFrame.PixelFormat') -> None: ... - def readyForCaptureChanged(self, a0: bool) -> None: ... + imageSaved: typing.ClassVar[QtCore.pyqtSignal] + imageAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageCaptured: typing.ClassVar[QtCore.pyqtSignal] + imageExposed: typing.ClassVar[QtCore.pyqtSignal] + captureDestinationChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] def cancelCapture(self) -> None: ... def capture(self, file: str = ...) -> int: ... def setCaptureDestination(self, destination: typing.Union['QCameraImageCapture.CaptureDestinations', 'QCameraImageCapture.CaptureDestination']) -> None: ... @@ -1348,10 +1324,7 @@ class QCameraImageCapture(QtCore.QObject, QMediaBindableInterface): def supportedImageCodecs(self) -> typing.List[str]: ... def isReadyForCapture(self) -> bool: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QCameraImageCapture.Error': ... - @typing.overload - def error(self, id: int, error: 'QCameraImageCapture.Error', errorString: str) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def mediaObject(self) -> QMediaObject: ... def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def isAvailable(self) -> bool: ... @@ -1361,13 +1334,13 @@ class QCameraImageCaptureControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def error(self, id: int, error: int, errorString: str) -> None: ... - def imageSaved(self, requestId: int, fileName: str) -> None: ... - def imageAvailable(self, requestId: int, buffer: 'QVideoFrame') -> None: ... - def imageMetadataAvailable(self, id: int, key: str, value: typing.Any) -> None: ... - def imageCaptured(self, requestId: int, preview: QtGui.QImage) -> None: ... - def imageExposed(self, requestId: int) -> None: ... - def readyForCaptureChanged(self, ready: bool) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + imageSaved: typing.ClassVar[QtCore.pyqtSignal] + imageAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageMetadataAvailable: typing.ClassVar[QtCore.pyqtSignal] + imageCaptured: typing.ClassVar[QtCore.pyqtSignal] + imageExposed: typing.ClassVar[QtCore.pyqtSignal] + readyForCaptureChanged: typing.ClassVar[QtCore.pyqtSignal] def cancelCapture(self) -> None: ... def capture(self, fileName: str) -> int: ... def setDriveMode(self, mode: QCameraImageCapture.DriveMode) -> None: ... @@ -1517,7 +1490,7 @@ class QCameraLocksControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def lockStatusChanged(self, type: QCamera.LockType, status: QCamera.LockStatus, reason: QCamera.LockChangeReason) -> None: ... + lockStatusChanged: typing.ClassVar[QtCore.pyqtSignal] def unlock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def searchAndLock(self, locks: typing.Union[QCamera.LockTypes, QCamera.LockType]) -> None: ... def lockStatus(self, lock: QCamera.LockType) -> QCamera.LockStatus: ... @@ -1588,12 +1561,12 @@ class QCameraZoomControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def currentDigitalZoomChanged(self, digitalZoom: float) -> None: ... - def currentOpticalZoomChanged(self, opticalZoom: float) -> None: ... - def requestedDigitalZoomChanged(self, digitalZoom: float) -> None: ... - def requestedOpticalZoomChanged(self, opticalZoom: float) -> None: ... - def maximumDigitalZoomChanged(self, a0: float) -> None: ... - def maximumOpticalZoomChanged(self, a0: float) -> None: ... + currentDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + currentOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + requestedOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumDigitalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] + maximumOpticalZoomChanged: typing.ClassVar[QtCore.pyqtSignal] def zoomTo(self, optical: float, digital: float) -> None: ... def currentDigitalZoom(self) -> float: ... def currentOpticalZoom(self) -> float: ... @@ -1607,7 +1580,7 @@ class QCustomAudioRoleControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def customAudioRoleChanged(self, role: str) -> None: ... + customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, role: str) -> None: ... def customAudioRole(self) -> str: ... @@ -1628,15 +1601,15 @@ class QMediaAudioProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def flush(self) -> None: ... - def audioBufferProbed(self, buffer: QAudioBuffer) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + audioBufferProbed: typing.ClassVar[QtCore.pyqtSignal] class QMediaAvailabilityControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def availabilityChanged(self, availability: 'QMultimedia.AvailabilityStatus') -> None: ... + availabilityChanged: typing.ClassVar[QtCore.pyqtSignal] def availability(self) -> 'QMultimedia.AvailabilityStatus': ... @@ -1758,9 +1731,9 @@ class QMediaGaplessPlaybackControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def advancedToNextMedia(self) -> None: ... - def nextMediaChanged(self, media: QMediaContent) -> None: ... - def crossfadeTimeChanged(self, crossfadeTime: float) -> None: ... + advancedToNextMedia: typing.ClassVar[QtCore.pyqtSignal] + nextMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + crossfadeTimeChanged: typing.ClassVar[QtCore.pyqtSignal] def setCrossfadeTime(self, crossfadeTime: float) -> None: ... def crossfadeTime(self) -> float: ... def isCrossfadeSupported(self) -> bool: ... @@ -1867,7 +1840,7 @@ class QMediaNetworkAccessControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def configurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... + configurationChanged: typing.ClassVar[QtCore.pyqtSignal] def currentConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def setConfigurations(self, configuration: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... @@ -1945,30 +1918,30 @@ class QMediaPlayer(QMediaObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ..., flags: typing.Union['QMediaPlayer.Flags', 'QMediaPlayer.Flag'] = ...) -> None: ... - def customAudioRoleChanged(self, role: str) -> None: ... + customAudioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedCustomAudioRoles(self) -> typing.List[str]: ... def setCustomAudioRole(self, audioRole: str) -> None: ... def customAudioRole(self) -> str: ... - def audioRoleChanged(self, role: QAudio.Role) -> None: ... + audioRoleChanged: typing.ClassVar[QtCore.pyqtSignal] def supportedAudioRoles(self) -> typing.List[QAudio.Role]: ... def setAudioRole(self, audioRole: QAudio.Role) -> None: ... def audioRole(self) -> QAudio.Role: ... def unbind(self, a0: QtCore.QObject) -> None: ... def bind(self, a0: QtCore.QObject) -> bool: ... - def networkConfigurationChanged(self, configuration: QtNetwork.QNetworkConfiguration) -> None: ... - def playbackRateChanged(self, rate: float) -> None: ... - def seekableChanged(self, seekable: bool) -> None: ... - def bufferStatusChanged(self, percentFilled: int) -> None: ... - def videoAvailableChanged(self, videoAvailable: bool) -> None: ... - def audioAvailableChanged(self, available: bool) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def positionChanged(self, position: int) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def mediaStatusChanged(self, status: 'QMediaPlayer.MediaStatus') -> None: ... - def stateChanged(self, newState: 'QMediaPlayer.State') -> None: ... - def currentMediaChanged(self, media: QMediaContent) -> None: ... - def mediaChanged(self, media: QMediaContent) -> None: ... + networkConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] + seekableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] def setNetworkConfigurations(self, configurations: typing.Iterable[QtNetwork.QNetworkConfiguration]) -> None: ... def setPlaylist(self, playlist: 'QMediaPlaylist') -> None: ... def setMedia(self, media: QMediaContent, stream: typing.Optional[QtCore.QIODevice] = ...) -> None: ... @@ -1982,10 +1955,7 @@ class QMediaPlayer(QMediaObject): def availability(self) -> 'QMultimedia.AvailabilityStatus': ... def currentNetworkConfiguration(self) -> QtNetwork.QNetworkConfiguration: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QMediaPlayer.Error': ... - @typing.overload - def error(self, error: 'QMediaPlayer.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def playbackRate(self) -> float: ... def isSeekable(self) -> bool: ... def bufferStatus(self) -> int: ... @@ -2019,20 +1989,20 @@ class QMediaPlayerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def playbackRateChanged(self, rate: float) -> None: ... - def availablePlaybackRangesChanged(self, ranges: 'QMediaTimeRange') -> None: ... - def seekableChanged(self, seekable: bool) -> None: ... - def bufferStatusChanged(self, percentFilled: int) -> None: ... - def videoAvailableChanged(self, videoAvailable: bool) -> None: ... - def audioAvailableChanged(self, audioAvailable: bool) -> None: ... - def mutedChanged(self, mute: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def mediaStatusChanged(self, status: QMediaPlayer.MediaStatus) -> None: ... - def stateChanged(self, newState: QMediaPlayer.State) -> None: ... - def positionChanged(self, position: int) -> None: ... - def durationChanged(self, duration: int) -> None: ... - def mediaChanged(self, content: QMediaContent) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + playbackRateChanged: typing.ClassVar[QtCore.pyqtSignal] + availablePlaybackRangesChanged: typing.ClassVar[QtCore.pyqtSignal] + seekableChanged: typing.ClassVar[QtCore.pyqtSignal] + bufferStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + videoAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + audioAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + positionChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def pause(self) -> None: ... def play(self) -> None: ... @@ -2088,16 +2058,16 @@ class QMediaPlaylist(QtCore.QObject, QMediaBindableInterface): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, object: QMediaObject) -> bool: ... - def loadFailed(self) -> None: ... - def loaded(self) -> None: ... - def mediaChanged(self, start: int, end: int) -> None: ... - def mediaRemoved(self, start: int, end: int) -> None: ... - def mediaAboutToBeRemoved(self, start: int, end: int) -> None: ... - def mediaInserted(self, start: int, end: int) -> None: ... - def mediaAboutToBeInserted(self, start: int, end: int) -> None: ... - def currentMediaChanged(self, a0: QMediaContent) -> None: ... - def playbackModeChanged(self, mode: 'QMediaPlaylist.PlaybackMode') -> None: ... - def currentIndexChanged(self, index: int) -> None: ... + loadFailed: typing.ClassVar[QtCore.pyqtSignal] + loaded: typing.ClassVar[QtCore.pyqtSignal] + mediaChanged: typing.ClassVar[QtCore.pyqtSignal] + mediaRemoved: typing.ClassVar[QtCore.pyqtSignal] + mediaAboutToBeRemoved: typing.ClassVar[QtCore.pyqtSignal] + mediaInserted: typing.ClassVar[QtCore.pyqtSignal] + mediaAboutToBeInserted: typing.ClassVar[QtCore.pyqtSignal] + currentMediaChanged: typing.ClassVar[QtCore.pyqtSignal] + playbackModeChanged: typing.ClassVar[QtCore.pyqtSignal] + currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] def setCurrentIndex(self, index: int) -> None: ... def previous(self) -> None: ... def next(self) -> None: ... @@ -2148,13 +2118,13 @@ class QMediaRecorderControl(QMediaControl): def setVolume(self, volume: float) -> None: ... def setMuted(self, muted: bool) -> None: ... def setState(self, state: QMediaRecorder.State) -> None: ... - def error(self, error: int, errorString: str) -> None: ... - def actualLocationChanged(self, location: QtCore.QUrl) -> None: ... - def volumeChanged(self, volume: float) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def durationChanged(self, position: int) -> None: ... - def statusChanged(self, status: QMediaRecorder.Status) -> None: ... - def stateChanged(self, state: QMediaRecorder.State) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + actualLocationChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + durationChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def applySettings(self) -> None: ... def volume(self) -> float: ... def isMuted(self) -> bool: ... @@ -2228,8 +2198,8 @@ class QMediaStreamsControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def activeStreamsChanged(self) -> None: ... - def streamsChanged(self) -> None: ... + activeStreamsChanged: typing.ClassVar[QtCore.pyqtSignal] + streamsChanged: typing.ClassVar[QtCore.pyqtSignal] def setActive(self, streamNumber: int, state: bool) -> None: ... def isActive(self, streamNumber: int) -> bool: ... def metaData(self, streamNumber: int, key: str) -> typing.Any: ... @@ -2288,19 +2258,16 @@ class QMediaVideoProbeControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def flush(self) -> None: ... - def videoFrameProbed(self, frame: 'QVideoFrame') -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] class QMetaDataReaderControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def metaData(self, key: str) -> typing.Any: ... def isMetaDataAvailable(self) -> bool: ... @@ -2310,12 +2277,9 @@ class QMetaDataWriterControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def metaDataAvailableChanged(self, available: bool) -> None: ... - def writableChanged(self, writable: bool) -> None: ... - @typing.overload - def metaDataChanged(self) -> None: ... - @typing.overload - def metaDataChanged(self, key: str, value: typing.Any) -> None: ... + metaDataAvailableChanged: typing.ClassVar[QtCore.pyqtSignal] + writableChanged: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] def availableMetaData(self) -> typing.List[str]: ... def setMetaData(self, key: str, value: typing.Any) -> None: ... def metaData(self, key: str) -> typing.Any: ... @@ -2487,18 +2451,15 @@ class QRadioData(QtCore.QObject, QMediaBindableInterface): def __init__(self, mediaObject: QMediaObject, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setMediaObject(self, a0: QMediaObject) -> bool: ... - def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... - def radioTextChanged(self, radioText: str) -> None: ... - def stationNameChanged(self, stationName: str) -> None: ... - def programTypeNameChanged(self, programTypeName: str) -> None: ... - def programTypeChanged(self, programType: 'QRadioData.ProgramType') -> None: ... - def stationIdChanged(self, stationId: str) -> None: ... + alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] + stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QRadioData.Error': ... - @typing.overload - def error(self, error: 'QRadioData.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAlternativeFrequenciesEnabled(self) -> bool: ... def radioText(self) -> str: ... def stationName(self) -> str: ... @@ -2513,17 +2474,14 @@ class QRadioDataControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def alternativeFrequenciesEnabledChanged(self, enabled: bool) -> None: ... - def radioTextChanged(self, radioText: str) -> None: ... - def stationNameChanged(self, stationName: str) -> None: ... - def programTypeNameChanged(self, programTypeName: str) -> None: ... - def programTypeChanged(self, programType: QRadioData.ProgramType) -> None: ... - def stationIdChanged(self, stationId: str) -> None: ... + alternativeFrequenciesEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + radioTextChanged: typing.ClassVar[QtCore.pyqtSignal] + stationNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeNameChanged: typing.ClassVar[QtCore.pyqtSignal] + programTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + stationIdChanged: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> QRadioData.Error: ... - @typing.overload - def error(self, err: QRadioData.Error) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAlternativeFrequenciesEnabled(self) -> bool: ... def setAlternativeFrequenciesEnabled(self, enabled: bool) -> None: ... def radioText(self) -> str: ... @@ -2584,16 +2542,16 @@ class QRadioTuner(QMediaObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... - def stationFound(self, frequency: int, stationId: str) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def signalStrengthChanged(self, signalStrength: int) -> None: ... - def searchingChanged(self, searching: bool) -> None: ... - def stereoStatusChanged(self, stereo: bool) -> None: ... - def frequencyChanged(self, frequency: int) -> None: ... - def bandChanged(self, band: 'QRadioTuner.Band') -> None: ... - def stateChanged(self, state: 'QRadioTuner.State') -> None: ... + antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] + stationFound: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + searchingChanged: typing.ClassVar[QtCore.pyqtSignal] + stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] + bandChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def setMuted(self, muted: bool) -> None: ... @@ -2606,10 +2564,7 @@ class QRadioTuner(QMediaObject): def searchForward(self) -> None: ... def radioData(self) -> QRadioData: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QRadioTuner.Error': ... - @typing.overload - def error(self, error: 'QRadioTuner.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def isAntennaConnected(self) -> bool: ... def isSearching(self) -> bool: ... def isMuted(self) -> bool: ... @@ -2631,21 +2586,18 @@ class QRadioTunerControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def antennaConnectedChanged(self, connectionStatus: bool) -> None: ... - def stationFound(self, frequency: int, stationId: str) -> None: ... - def mutedChanged(self, muted: bool) -> None: ... - def volumeChanged(self, volume: int) -> None: ... - def signalStrengthChanged(self, signalStrength: int) -> None: ... - def searchingChanged(self, searching: bool) -> None: ... - def stereoStatusChanged(self, stereo: bool) -> None: ... - def frequencyChanged(self, frequency: int) -> None: ... - def bandChanged(self, band: QRadioTuner.Band) -> None: ... - def stateChanged(self, state: QRadioTuner.State) -> None: ... + antennaConnectedChanged: typing.ClassVar[QtCore.pyqtSignal] + stationFound: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + signalStrengthChanged: typing.ClassVar[QtCore.pyqtSignal] + searchingChanged: typing.ClassVar[QtCore.pyqtSignal] + stereoStatusChanged: typing.ClassVar[QtCore.pyqtSignal] + frequencyChanged: typing.ClassVar[QtCore.pyqtSignal] + bandChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def errorString(self) -> str: ... - @typing.overload - def error(self) -> QRadioTuner.Error: ... - @typing.overload - def error(self, err: QRadioTuner.Error) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> None: ... def cancelSearch(self) -> None: ... @@ -2719,15 +2671,15 @@ class QSoundEffect(QtCore.QObject): def stop(self) -> None: ... def play(self) -> None: ... - def categoryChanged(self) -> None: ... - def statusChanged(self) -> None: ... - def playingChanged(self) -> None: ... - def loadedChanged(self) -> None: ... - def mutedChanged(self) -> None: ... - def volumeChanged(self) -> None: ... - def loopsRemainingChanged(self) -> None: ... - def loopCountChanged(self) -> None: ... - def sourceChanged(self) -> None: ... + categoryChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + playingChanged: typing.ClassVar[QtCore.pyqtSignal] + loadedChanged: typing.ClassVar[QtCore.pyqtSignal] + mutedChanged: typing.ClassVar[QtCore.pyqtSignal] + volumeChanged: typing.ClassVar[QtCore.pyqtSignal] + loopsRemainingChanged: typing.ClassVar[QtCore.pyqtSignal] + loopCountChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceChanged: typing.ClassVar[QtCore.pyqtSignal] def setCategory(self, category: str) -> None: ... def category(self) -> str: ... def status(self) -> 'QSoundEffect.Status': ... @@ -2750,11 +2702,8 @@ class QVideoDeviceSelectorControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def devicesChanged(self) -> None: ... - @typing.overload - def selectedDeviceChanged(self, index: int) -> None: ... - @typing.overload - def selectedDeviceChanged(self, name: str) -> None: ... + devicesChanged: typing.ClassVar[QtCore.pyqtSignal] + selectedDeviceChanged: typing.ClassVar[QtCore.pyqtSignal] def setSelectedDevice(self, index: int) -> None: ... def selectedDevice(self) -> int: ... def defaultDevice(self) -> int: ... @@ -2918,8 +2867,8 @@ class QVideoProbe(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def flush(self) -> None: ... - def videoFrameProbed(self, videoFrame: QVideoFrame) -> None: ... + flush: typing.ClassVar[QtCore.pyqtSignal] + videoFrameProbed: typing.ClassVar[QtCore.pyqtSignal] def isActive(self) -> bool: ... @typing.overload def setSource(self, source: QMediaObject) -> bool: ... @@ -3001,12 +2950,12 @@ class QVideoWindowControl(QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def nativeSizeChanged(self) -> None: ... - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtMultimediaWidgets.pyi b/PyQt5-stubs/QtMultimediaWidgets.pyi index c7a0cc68..0de761fb 100644 --- a/PyQt5-stubs/QtMultimediaWidgets.pyi +++ b/PyQt5-stubs/QtMultimediaWidgets.pyi @@ -53,11 +53,11 @@ class QVideoWidget(QtWidgets.QWidget, QtMultimedia.QMediaBindableInterface): def hideEvent(self, event: QtGui.QHideEvent) -> None: ... def showEvent(self, event: QtGui.QShowEvent) -> None: ... def event(self, event: QtCore.QEvent) -> bool: ... - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def setHue(self, hue: int) -> None: ... def setContrast(self, contrast: int) -> None: ... @@ -89,7 +89,7 @@ class QGraphicsVideoItem(QtWidgets.QGraphicsObject, QtMultimedia.QMediaBindableI def setMediaObject(self, object: QtMultimedia.QMediaObject) -> bool: ... def itemChange(self, change: QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any) -> typing.Any: ... def timerEvent(self, event: QtCore.QTimerEvent) -> None: ... - def nativeSizeChanged(self, size: QtCore.QSizeF) -> None: ... + nativeSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def paint(self, painter: QtGui.QPainter, option: QtWidgets.QStyleOptionGraphicsItem, widget: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... def boundingRect(self) -> QtCore.QRectF: ... def nativeSize(self) -> QtCore.QSizeF: ... @@ -106,11 +106,11 @@ class QVideoWidgetControl(QtMultimedia.QMediaControl): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def saturationChanged(self, saturation: int) -> None: ... - def hueChanged(self, hue: int) -> None: ... - def contrastChanged(self, contrast: int) -> None: ... - def brightnessChanged(self, brightness: int) -> None: ... - def fullScreenChanged(self, fullScreen: bool) -> None: ... + saturationChanged: typing.ClassVar[QtCore.pyqtSignal] + hueChanged: typing.ClassVar[QtCore.pyqtSignal] + contrastChanged: typing.ClassVar[QtCore.pyqtSignal] + brightnessChanged: typing.ClassVar[QtCore.pyqtSignal] + fullScreenChanged: typing.ClassVar[QtCore.pyqtSignal] def setSaturation(self, saturation: int) -> None: ... def saturation(self) -> int: ... def setHue(self, hue: int) -> None: ... diff --git a/PyQt5-stubs/QtNetwork.pyi b/PyQt5-stubs/QtNetwork.pyi index 4acd10cb..0133f9b5 100644 --- a/PyQt5-stubs/QtNetwork.pyi +++ b/PyQt5-stubs/QtNetwork.pyi @@ -270,12 +270,12 @@ class QAbstractSocket(QtCore.QIODevice): def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def proxyAuthenticationRequired(self, proxy: 'QNetworkProxy', authenticator: 'QAuthenticator') -> None: ... - def errorOccurred(self, a0: 'QAbstractSocket.SocketError') -> None: ... - def stateChanged(self, a0: 'QAbstractSocket.SocketState') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... - def hostFound(self) -> None: ... + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] + hostFound: typing.ClassVar[QtCore.pyqtSignal] def proxy(self) -> 'QNetworkProxy': ... def setProxy(self, networkProxy: 'QNetworkProxy') -> None: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... @@ -286,10 +286,7 @@ class QAbstractSocket(QtCore.QIODevice): def atEnd(self) -> bool: ... def isSequential(self) -> bool: ... def close(self) -> None: ... - @typing.overload - def error(self) -> 'QAbstractSocket.SocketError': ... - @typing.overload - def error(self, a0: 'QAbstractSocket.SocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QAbstractSocket.SocketState': ... def socketType(self) -> 'QAbstractSocket.SocketType': ... def socketDescriptor(self) -> sip.voidptr: ... @@ -449,12 +446,12 @@ class QDnsLookup(QtCore.QObject): @typing.overload def __init__(self, type: 'QDnsLookup.Type', name: str, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def nameserverChanged(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... + nameserverChanged: typing.ClassVar[QtCore.pyqtSignal] def setNameserver(self, nameserver: typing.Union['QHostAddress', 'QHostAddress.SpecialAddress']) -> None: ... def nameserver(self) -> 'QHostAddress': ... - def typeChanged(self, type: 'QDnsLookup.Type') -> None: ... - def nameChanged(self, name: str) -> None: ... - def finished(self) -> None: ... + typeChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def lookup(self) -> None: ... def abort(self) -> None: ... def textRecords(self) -> typing.List[QDnsTextRecord]: ... @@ -739,7 +736,7 @@ class QLocalServer(QtCore.QObject): def socketOptions(self) -> 'QLocalServer.SocketOptions': ... def setSocketOptions(self, options: typing.Union['QLocalServer.SocketOptions', 'QLocalServer.SocketOption']) -> None: ... def incomingConnection(self, socketDescriptor: sip.voidptr) -> None: ... - def newConnection(self) -> None: ... + newConnection: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def removeServer(name: str) -> bool: ... def waitForNewConnection(self, msecs: int = ...) -> typing.Tuple[bool, bool]: ... @@ -801,10 +798,10 @@ class QLocalSocket(QtCore.QIODevice): def writeData(self, a0: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def stateChanged(self, socketState: 'QLocalSocket.LocalSocketState') -> None: ... - def errorOccurred(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] def waitForReadyRead(self, msecs: int = ...) -> bool: ... def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForConnected(self, msecs: int = ...) -> bool: ... @@ -816,10 +813,7 @@ class QLocalSocket(QtCore.QIODevice): def readBufferSize(self) -> int: ... def isValid(self) -> bool: ... def flush(self) -> bool: ... - @typing.overload - def error(self) -> 'QLocalSocket.LocalSocketError': ... - @typing.overload - def error(self, socketError: 'QLocalSocket.LocalSocketError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def close(self) -> None: ... def canReadLine(self) -> bool: ... def bytesToWrite(self) -> int: ... @@ -966,11 +960,11 @@ class QNetworkConfigurationManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def updateCompleted(self) -> None: ... - def onlineStateChanged(self, isOnline: bool) -> None: ... - def configurationChanged(self, config: 'QNetworkConfiguration') -> None: ... - def configurationRemoved(self, config: 'QNetworkConfiguration') -> None: ... - def configurationAdded(self, config: 'QNetworkConfiguration') -> None: ... + updateCompleted: typing.ClassVar[QtCore.pyqtSignal] + onlineStateChanged: typing.ClassVar[QtCore.pyqtSignal] + configurationChanged: typing.ClassVar[QtCore.pyqtSignal] + configurationRemoved: typing.ClassVar[QtCore.pyqtSignal] + configurationAdded: typing.ClassVar[QtCore.pyqtSignal] def isOnline(self) -> bool: ... def updateConfigurations(self) -> None: ... def configurationFromIdentifier(self, identifier: str) -> 'QNetworkConfiguration': ... @@ -1552,16 +1546,16 @@ class QNetworkReply(QtCore.QIODevice): def setRequest(self, request: 'QNetworkRequest') -> None: ... def setOperation(self, operation: QNetworkAccessManager.Operation) -> None: ... def writeData(self, data: bytes) -> int: ... - def redirectAllowed(self) -> None: ... - def redirected(self, url: QtCore.QUrl) -> None: ... - def preSharedKeyAuthenticationRequired(self, authenticator: 'QSslPreSharedKeyAuthenticator') -> None: ... - def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... - def uploadProgress(self, bytesSent: int, bytesTotal: int) -> None: ... - def sslErrors(self, errors: typing.Iterable['QSslError']) -> None: ... - def errorOccurred(self, a0: 'QNetworkReply.NetworkError') -> None: ... - def encrypted(self) -> None: ... - def finished(self) -> None: ... - def metaDataChanged(self) -> None: ... + redirectAllowed: typing.ClassVar[QtCore.pyqtSignal] + redirected: typing.ClassVar[QtCore.pyqtSignal] + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + downloadProgress: typing.ClassVar[QtCore.pyqtSignal] + uploadProgress: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + encrypted: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + metaDataChanged: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -1574,10 +1568,7 @@ class QNetworkReply(QtCore.QIODevice): def hasRawHeader(self, headerName: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def header(self, header: 'QNetworkRequest.KnownHeaders') -> typing.Any: ... def url(self) -> QtCore.QUrl: ... - @typing.overload - def error(self) -> 'QNetworkReply.NetworkError': ... - @typing.overload - def error(self, a0: 'QNetworkReply.NetworkError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def request(self) -> 'QNetworkRequest': ... def operation(self) -> QNetworkAccessManager.Operation: ... def manager(self) -> QNetworkAccessManager: ... @@ -1811,15 +1802,15 @@ class QNetworkSession(QtCore.QObject): def __init__(self, connConfig: QNetworkConfiguration, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def usagePoliciesChanged(self, usagePolicies: typing.Union['QNetworkSession.UsagePolicies', 'QNetworkSession.UsagePolicy']) -> None: ... + usagePoliciesChanged: typing.ClassVar[QtCore.pyqtSignal] def usagePolicies(self) -> 'QNetworkSession.UsagePolicies': ... def disconnectNotify(self, signal: QtCore.QMetaMethod) -> None: ... def connectNotify(self, signal: QtCore.QMetaMethod) -> None: ... - def newConfigurationActivated(self) -> None: ... - def preferredConfigurationChanged(self, config: QNetworkConfiguration, isSeamless: bool) -> None: ... - def closed(self) -> None: ... - def opened(self) -> None: ... - def stateChanged(self, a0: 'QNetworkSession.State') -> None: ... + newConfigurationActivated: typing.ClassVar[QtCore.pyqtSignal] + preferredConfigurationChanged: typing.ClassVar[QtCore.pyqtSignal] + closed: typing.ClassVar[QtCore.pyqtSignal] + opened: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] def reject(self) -> None: ... def accept(self) -> None: ... def ignore(self) -> None: ... @@ -1834,10 +1825,7 @@ class QNetworkSession(QtCore.QObject): def setSessionProperty(self, key: str, value: typing.Any) -> None: ... def sessionProperty(self, key: str) -> typing.Any: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> 'QNetworkSession.SessionError': ... - @typing.overload - def error(self, a0: 'QNetworkSession.SessionError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def state(self) -> 'QNetworkSession.State': ... def interface(self) -> QNetworkInterface: ... def configuration(self) -> QNetworkConfiguration: ... @@ -2392,7 +2380,7 @@ class QSslSocket(QTcpSocket): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def newSessionTicketReceived(self) -> None: ... + newSessionTicketReceived: typing.ClassVar[QtCore.pyqtSignal] def sslHandshakeErrors(self) -> typing.List[QSslError]: ... def ocspResponses(self) -> typing.List[QOcspResponse]: ... @staticmethod @@ -2413,8 +2401,8 @@ class QSslSocket(QTcpSocket): def peerVerifyName(self) -> str: ... def socketOption(self, option: QAbstractSocket.SocketOption) -> typing.Any: ... def setSocketOption(self, option: QAbstractSocket.SocketOption, value: typing.Any) -> None: ... - def encryptedBytesWritten(self, totalBytes: int) -> None: ... - def peerVerifyError(self, error: QSslError) -> None: ... + encryptedBytesWritten: typing.ClassVar[QtCore.pyqtSignal] + peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] def setSslConfiguration(self, config: QSslConfiguration) -> None: ... def sslConfiguration(self) -> QSslConfiguration: ... def encryptedBytesToWrite(self) -> int: ... @@ -2426,9 +2414,9 @@ class QSslSocket(QTcpSocket): def peerVerifyMode(self) -> 'QSslSocket.PeerVerifyMode': ... def writeData(self, data: bytes) -> int: ... def readData(self, maxlen: int) -> bytes: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QSslPreSharedKeyAuthenticator) -> None: ... - def modeChanged(self, newMode: 'QSslSocket.SslMode') -> None: ... - def encrypted(self) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + modeChanged: typing.ClassVar[QtCore.pyqtSignal] + encrypted: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def ignoreSslErrors(self) -> None: ... @typing.overload @@ -2437,10 +2425,7 @@ class QSslSocket(QTcpSocket): def startClientEncryption(self) -> None: ... @staticmethod def supportsSsl() -> bool: ... - @typing.overload - def sslErrors(self) -> typing.List[QSslError]: ... - @typing.overload - def sslErrors(self, errors: typing.Iterable[QSslError]) -> None: ... + sslErrors: typing.ClassVar[QtCore.pyqtSignal] def waitForDisconnected(self, msecs: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... def waitForReadyRead(self, msecs: int = ...) -> bool: ... @@ -2513,8 +2498,8 @@ class QTcpServer(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def acceptError(self, socketError: QAbstractSocket.SocketError) -> None: ... - def newConnection(self) -> None: ... + acceptError: typing.ClassVar[QtCore.pyqtSignal] + newConnection: typing.ClassVar[QtCore.pyqtSignal] def addPendingConnection(self, socket: QTcpSocket) -> None: ... def incomingConnection(self, handle: sip.voidptr) -> None: ... def resumeAccepting(self) -> None: ... diff --git a/PyQt5-stubs/QtNetworkAuth.pyi b/PyQt5-stubs/QtNetworkAuth.pyi index b9f650b4..9925af09 100644 --- a/PyQt5-stubs/QtNetworkAuth.pyi +++ b/PyQt5-stubs/QtNetworkAuth.pyi @@ -64,17 +64,17 @@ class QAbstractOAuth(QtCore.QObject): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any]) -> None: ... def callback(self) -> str: ... def setStatus(self, status: 'QAbstractOAuth.Status') -> None: ... - def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def finished(self, reply: QtNetwork.QNetworkReply) -> None: ... - def granted(self) -> None: ... - def authorizeWithBrowser(self, url: QtCore.QUrl) -> None: ... - def requestFailed(self, error: 'QAbstractOAuth.Error') -> None: ... - def contentTypeChanged(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... - def extraTokensChanged(self, tokens: typing.Dict[str, typing.Any]) -> None: ... - def authorizationUrlChanged(self, url: QtCore.QUrl) -> None: ... - def statusChanged(self, status: 'QAbstractOAuth.Status') -> None: ... - def tokenChanged(self, token: str) -> None: ... - def clientIdentifierChanged(self, clientIdentifier: str) -> None: ... + replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] + granted: typing.ClassVar[QtCore.pyqtSignal] + authorizeWithBrowser: typing.ClassVar[QtCore.pyqtSignal] + requestFailed: typing.ClassVar[QtCore.pyqtSignal] + contentTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + extraTokensChanged: typing.ClassVar[QtCore.pyqtSignal] + authorizationUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] + tokenChanged: typing.ClassVar[QtCore.pyqtSignal] + clientIdentifierChanged: typing.ClassVar[QtCore.pyqtSignal] def grant(self) -> None: ... def prepareRequest(self, request: QtNetwork.QNetworkRequest, verb: typing.Union[QtCore.QByteArray, bytes, bytearray], body: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... def setContentType(self, contentType: 'QAbstractOAuth.ContentType') -> None: ... @@ -108,15 +108,15 @@ class QAbstractOAuth2(QAbstractOAuth): def __init__(self, manager: QtNetwork.QNetworkAccessManager, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def setResponseType(self, responseType: str) -> None: ... - def authorizationCallbackReceived(self, data: typing.Dict[str, typing.Any]) -> None: ... - def error(self, error: str, errorDescription: str, uri: QtCore.QUrl) -> None: ... - def expirationAtChanged(self, expiration: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ... - def stateChanged(self, state: str) -> None: ... - def clientIdentifierSharedKeyChanged(self, clientIdentifierSharedKey: str) -> None: ... - def responseTypeChanged(self, responseType: str) -> None: ... - def refreshTokenChanged(self, refreshToken: str) -> None: ... - def userAgentChanged(self, userAgent: str) -> None: ... - def scopeChanged(self, scope: str) -> None: ... + authorizationCallbackReceived: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + expirationAtChanged: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + clientIdentifierSharedKeyChanged: typing.ClassVar[QtCore.pyqtSignal] + responseTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + refreshTokenChanged: typing.ClassVar[QtCore.pyqtSignal] + userAgentChanged: typing.ClassVar[QtCore.pyqtSignal] + scopeChanged: typing.ClassVar[QtCore.pyqtSignal] def setRefreshToken(self, refreshToken: str) -> None: ... def refreshToken(self) -> str: ... def expirationAt(self) -> QtCore.QDateTime: ... @@ -151,10 +151,10 @@ class QAbstractOAuthReplyHandler(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def callbackDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def replyDataReceived(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def tokensReceived(self, tokens: typing.Dict[str, typing.Any]) -> None: ... - def callbackReceived(self, values: typing.Dict[str, typing.Any]) -> None: ... + callbackDataReceived: typing.ClassVar[QtCore.pyqtSignal] + replyDataReceived: typing.ClassVar[QtCore.pyqtSignal] + tokensReceived: typing.ClassVar[QtCore.pyqtSignal] + callbackReceived: typing.ClassVar[QtCore.pyqtSignal] def networkReplyFinished(self, reply: QtNetwork.QNetworkReply) -> None: ... def callback(self) -> str: ... @@ -183,11 +183,11 @@ class QOAuth1(QAbstractOAuth): def setup(self, request: QtNetwork.QNetworkRequest, signingParameters: typing.Dict[str, typing.Any], operationVerb: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... def requestTokenCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, temporaryToken: typing.Tuple[str, str], parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... def requestTemporaryCredentials(self, operation: QtNetwork.QNetworkAccessManager.Operation, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... - def tokenCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... - def temporaryCredentialsUrlChanged(self, url: QtCore.QUrl) -> None: ... - def tokenSecretChanged(self, token: str) -> None: ... - def clientSharedSecretChanged(self, credential: str) -> None: ... - def signatureMethodChanged(self, method: 'QOAuth1.SignatureMethod') -> None: ... + tokenCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + temporaryCredentialsUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + tokenSecretChanged: typing.ClassVar[QtCore.pyqtSignal] + clientSharedSecretChanged: typing.ClassVar[QtCore.pyqtSignal] + signatureMethodChanged: typing.ClassVar[QtCore.pyqtSignal] def continueGrantWithVerifier(self, verifier: str) -> None: ... def grant(self) -> None: ... def deleteResource(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> QtNetwork.QNetworkReply: ... @@ -278,7 +278,7 @@ class QOAuth2AuthorizationCodeFlow(QAbstractOAuth2): def resourceOwnerAuthorization(self, url: QtCore.QUrl, parameters: typing.Dict[str, typing.Any] = ...) -> None: ... def requestAccessToken(self, code: str) -> None: ... def buildAuthenticateUrl(self, parameters: typing.Dict[str, typing.Any] = ...) -> QtCore.QUrl: ... - def accessTokenUrlChanged(self, accessTokenUrl: QtCore.QUrl) -> None: ... + accessTokenUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def refreshAccessToken(self) -> None: ... def grant(self) -> None: ... def setAccessTokenUrl(self, accessTokenUrl: QtCore.QUrl) -> None: ... diff --git a/PyQt5-stubs/QtNfc.pyi b/PyQt5-stubs/QtNfc.pyi index 669afa27..5257bc84 100644 --- a/PyQt5-stubs/QtNfc.pyi +++ b/PyQt5-stubs/QtNfc.pyi @@ -274,10 +274,10 @@ class QNearFieldManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def adapterStateChanged(self, state: 'QNearFieldManager.AdapterState') -> None: ... + adapterStateChanged: typing.ClassVar[QtCore.pyqtSignal] def isSupported(self) -> bool: ... - def targetLost(self, target: 'QNearFieldTarget') -> None: ... - def targetDetected(self, target: 'QNearFieldTarget') -> None: ... + targetLost: typing.ClassVar[QtCore.pyqtSignal] + targetDetected: typing.ClassVar[QtCore.pyqtSignal] def unregisterNdefMessageHandler(self, handlerId: int) -> bool: ... @typing.overload def registerNdefMessageHandler(self, slot: PYQT_SLOT) -> int: ... @@ -341,9 +341,9 @@ class QNearFieldShareManager(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def error(self, error: 'QNearFieldShareManager.ShareError') -> None: ... - def shareModesChanged(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... - def targetDetected(self, shareTarget: 'QNearFieldShareTarget') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + shareModesChanged: typing.ClassVar[QtCore.pyqtSignal] + targetDetected: typing.ClassVar[QtCore.pyqtSignal] def shareError(self) -> 'QNearFieldShareManager.ShareError': ... def shareModes(self) -> 'QNearFieldShareManager.ShareModes': ... def setShareModes(self, modes: typing.Union['QNearFieldShareManager.ShareModes', 'QNearFieldShareManager.ShareMode']) -> None: ... @@ -353,8 +353,8 @@ class QNearFieldShareManager(QtCore.QObject): class QNearFieldShareTarget(QtCore.QObject): - def shareFinished(self) -> None: ... - def error(self, error: QNearFieldShareManager.ShareError) -> None: ... + shareFinished: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] def shareError(self) -> QNearFieldShareManager.ShareError: ... def isShareInProgress(self) -> bool: ... def cancel(self) -> None: ... @@ -447,11 +447,11 @@ class QNearFieldTarget(QtCore.QObject): def disconnect(self) -> bool: ... # type: ignore[override] def setKeepConnection(self, isPersistent: bool) -> bool: ... def keepConnection(self) -> bool: ... - def error(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... - def requestCompleted(self, id: 'QNearFieldTarget.RequestId') -> None: ... - def ndefMessagesWritten(self) -> None: ... - def ndefMessageRead(self, message: QNdefMessage) -> None: ... - def disconnected(self) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] + requestCompleted: typing.ClassVar[QtCore.pyqtSignal] + ndefMessagesWritten: typing.ClassVar[QtCore.pyqtSignal] + ndefMessageRead: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] def reportError(self, error: 'QNearFieldTarget.Error', id: 'QNearFieldTarget.RequestId') -> None: ... def handleResponse(self, id: 'QNearFieldTarget.RequestId', response: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... def setResponseForRequest(self, id: 'QNearFieldTarget.RequestId', response: typing.Any, emitRequestCompleted: bool = ...) -> None: ... @@ -491,9 +491,9 @@ class QQmlNdefRecord(QtCore.QObject): @typing.overload def __init__(self, record: QNdefRecord, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def recordChanged(self) -> None: ... - def typeNameFormatChanged(self) -> None: ... - def typeChanged(self) -> None: ... + recordChanged: typing.ClassVar[QtCore.pyqtSignal] + typeNameFormatChanged: typing.ClassVar[QtCore.pyqtSignal] + typeChanged: typing.ClassVar[QtCore.pyqtSignal] def setRecord(self, record: QNdefRecord) -> None: ... def record(self) -> QNdefRecord: ... def typeNameFormat(self) -> 'QQmlNdefRecord.TypeNameFormat': ... diff --git a/PyQt5-stubs/QtPositioning.pyi b/PyQt5-stubs/QtPositioning.pyi index de57e255..2923e553 100644 --- a/PyQt5-stubs/QtPositioning.pyi +++ b/PyQt5-stubs/QtPositioning.pyi @@ -120,9 +120,9 @@ class QGeoAreaMonitorSource(QtCore.QObject): def __init__(self, parent: QtCore.QObject) -> None: ... - def monitorExpired(self, monitor: QGeoAreaMonitorInfo) -> None: ... - def areaExited(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... - def areaEntered(self, monitor: QGeoAreaMonitorInfo, update: 'QGeoPositionInfo') -> None: ... + monitorExpired: typing.ClassVar[QtCore.pyqtSignal] + areaExited: typing.ClassVar[QtCore.pyqtSignal] + areaEntered: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def activeMonitors(self) -> typing.List[QGeoAreaMonitorInfo]: ... @typing.overload @@ -131,10 +131,7 @@ class QGeoAreaMonitorSource(QtCore.QObject): def stopMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def startMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ... def supportedAreaMonitorFeatures(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeatures': ... - @typing.overload - def error(self) -> 'QGeoAreaMonitorSource.Error': ... - @typing.overload - def error(self, error: 'QGeoAreaMonitorSource.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def sourceName(self) -> str: ... def positionInfoSource(self) -> 'QGeoPositionInfoSource': ... def setPositionInfoSource(self, source: 'QGeoPositionInfoSource') -> None: ... @@ -414,14 +411,14 @@ class QGeoPositionInfoSource(QtCore.QObject): def backendProperty(self, name: str) -> typing.Any: ... def setBackendProperty(self, name: str, value: typing.Any) -> bool: ... - def supportedPositioningMethodsChanged(self) -> None: ... - def updateTimeout(self) -> None: ... - def positionUpdated(self, update: QGeoPositionInfo) -> None: ... + supportedPositioningMethodsChanged: typing.ClassVar[QtCore.pyqtSignal] + updateTimeout: typing.ClassVar[QtCore.pyqtSignal] + positionUpdated: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... # If the error signal is real, it isn't accessible in PyQt 5.15.1 - def error(self) -> 'QGeoPositionInfoSource.Error': ... + error: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def availableSources() -> typing.List[str]: ... @typing.overload @@ -534,16 +531,13 @@ class QGeoSatelliteInfoSource(QtCore.QObject): def __init__(self, parent: QtCore.QObject) -> None: ... - def requestTimeout(self) -> None: ... - def satellitesInUseUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... - def satellitesInViewUpdated(self, satellites: typing.Iterable[QGeoSatelliteInfo]) -> None: ... + requestTimeout: typing.ClassVar[QtCore.pyqtSignal] + satellitesInUseUpdated: typing.ClassVar[QtCore.pyqtSignal] + satellitesInViewUpdated: typing.ClassVar[QtCore.pyqtSignal] def requestUpdate(self, timeout: int = ...) -> None: ... def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... - @typing.overload - def error(self) -> 'QGeoSatelliteInfoSource.Error': ... - @typing.overload - def error(self, a0: 'QGeoSatelliteInfoSource.Error') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def minimumUpdateInterval(self) -> int: ... def updateInterval(self) -> int: ... def setUpdateInterval(self, msec: int) -> None: ... diff --git a/PyQt5-stubs/QtPrintSupport.pyi b/PyQt5-stubs/QtPrintSupport.pyi index c49a0efa..a4698cad 100644 --- a/PyQt5-stubs/QtPrintSupport.pyi +++ b/PyQt5-stubs/QtPrintSupport.pyi @@ -129,10 +129,7 @@ class QPrintDialog(QAbstractPrintDialog): @typing.overload def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... - @typing.overload # type: ignore[override] - def accepted(self) -> None: ... - @typing.overload - def accepted(self, printer: 'QPrinter') -> None: ... + accepted: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def open(self) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtPurchasing.pyi b/PyQt5-stubs/QtPurchasing.pyi index 5dc2605a..2eb2a1eb 100644 --- a/PyQt5-stubs/QtPurchasing.pyi +++ b/PyQt5-stubs/QtPurchasing.pyi @@ -53,9 +53,9 @@ class QInAppStore(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def transactionReady(self, transaction: 'QInAppTransaction') -> None: ... - def productUnknown(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... - def productRegistered(self, product: QInAppProduct) -> None: ... + transactionReady: typing.ClassVar[QtCore.pyqtSignal] + productUnknown: typing.ClassVar[QtCore.pyqtSignal] + productRegistered: typing.ClassVar[QtCore.pyqtSignal] def setPlatformProperty(self, propertyName: str, value: str) -> None: ... def registeredProduct(self, identifier: str) -> QInAppProduct: ... def registerProduct(self, productType: QInAppProduct.ProductType, identifier: str) -> None: ... diff --git a/PyQt5-stubs/QtQml.pyi b/PyQt5-stubs/QtQml.pyi index 78e530bd..9db6eaf2 100644 --- a/PyQt5-stubs/QtQml.pyi +++ b/PyQt5-stubs/QtQml.pyi @@ -66,7 +66,7 @@ class QJSEngine(QtCore.QObject): @typing.overload def __init__(self, parent: QtCore.QObject) -> None: ... - def uiLanguageChanged(self) -> None: ... + uiLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] def setUiLanguage(self, language: str) -> None: ... def uiLanguage(self) -> str: ... def isInterrupted(self) -> bool: ... @@ -299,8 +299,8 @@ class QQmlComponent(QtCore.QObject): def setInitialProperties(self, component: QtCore.QObject, properties: typing.Dict[str, typing.Any]) -> None: ... def engine(self) -> QQmlEngine: ... - def progressChanged(self, a0: float) -> None: ... - def statusChanged(self, a0: 'QQmlComponent.Status') -> None: ... + progressChanged: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setData(self, a0: typing.Union[QtCore.QByteArray, bytes, bytearray], baseUrl: QtCore.QUrl) -> None: ... @typing.overload def loadUrl(self, url: QtCore.QUrl) -> None: ... @@ -429,7 +429,7 @@ class QQmlExpression(QtCore.QObject): @typing.overload def __init__(self, a0: 'QQmlScriptString', context: typing.Optional[QQmlContext] = ..., scope: typing.Optional[QtCore.QObject] = ..., parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def valueChanged(self) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def evaluate(self) -> typing.Tuple[typing.Any, bool]: ... def error(self) -> QQmlError: ... def clearError(self) -> None: ... @@ -663,7 +663,7 @@ class QQmlPropertyMap(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def updateValue(self, key: str, input: typing.Any) -> typing.Any: ... - def valueChanged(self, key: str, value: typing.Any) -> None: ... + valueChanged: typing.ClassVar[QtCore.pyqtSignal] def __getitem__(self, key: str) -> typing.Any: ... def contains(self, key: str) -> bool: ... def isEmpty(self) -> bool: ... diff --git a/PyQt5-stubs/QtQuick.pyi b/PyQt5-stubs/QtQuick.pyi index 0f9ea248..ee95d603 100644 --- a/PyQt5-stubs/QtQuick.pyi +++ b/PyQt5-stubs/QtQuick.pyi @@ -142,7 +142,7 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def __init__(self, parent: typing.Optional['QQuickItem'] = ...) -> None: ... - def containmentMaskChanged(self) -> None: ... + containmentMaskChanged: typing.ClassVar[QtCore.pyqtSignal] def setContainmentMask(self, mask: QtCore.QObject) -> None: ... def containmentMask(self) -> QtCore.QObject: ... def setAcceptTouchEvents(self, accept: bool) -> None: ... @@ -153,7 +153,7 @@ class QQuickItem(QtCore.QObject, QtQml.QQmlParserStatus): def isAncestorOf(self, child: 'QQuickItem') -> bool: ... def grabToImage(self, targetSize: QtCore.QSize = ...) -> 'QQuickItemGrabResult': ... def resetAntialiasing(self) -> None: ... - def windowChanged(self, window: 'QQuickWindow') -> None: ... + windowChanged: typing.ClassVar[QtCore.pyqtSignal] def nextItemInFocusChain(self, forward: bool = ...) -> 'QQuickItem': ... def setActiveFocusOnTab(self, a0: bool) -> None: ... def activeFocusOnTab(self) -> bool: ... @@ -302,13 +302,13 @@ class QQuickFramebufferObject(QQuickItem): def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - def mirrorVerticallyChanged(self, a0: bool) -> None: ... + mirrorVerticallyChanged: typing.ClassVar[QtCore.pyqtSignal] def setMirrorVertically(self, enable: bool) -> None: ... def mirrorVertically(self) -> bool: ... def releaseResources(self) -> None: ... def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... - def textureFollowsItemSizeChanged(self, a0: bool) -> None: ... + textureFollowsItemSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... def geometryChanged(self, newGeometry: QtCore.QRectF, oldGeometry: QtCore.QRectF) -> None: ... def createRenderer(self) -> 'QQuickFramebufferObject.Renderer': ... @@ -346,7 +346,7 @@ class QQuickImageResponse(QtCore.QObject): def __init__(self) -> None: ... - def finished(self) -> None: ... + finished: typing.ClassVar[QtCore.pyqtSignal] def cancel(self) -> None: ... def errorString(self) -> str: ... def textureFactory(self) -> QQuickTextureFactory: ... @@ -364,7 +364,7 @@ class QQuickAsyncImageProvider(QQuickImageProvider): class QQuickItemGrabResult(QtCore.QObject): - def ready(self) -> None: ... + ready: typing.ClassVar[QtCore.pyqtSignal] def event(self, a0: QtCore.QEvent) -> bool: ... def saveToFile(self, fileName: str) -> bool: ... def url(self) -> QtCore.QUrl: ... @@ -404,7 +404,7 @@ class QQuickPaintedItem(QQuickItem): def __init__(self, parent: typing.Optional[QQuickItem] = ...) -> None: ... - def textureSizeChanged(self) -> None: ... + textureSizeChanged: typing.ClassVar[QtCore.pyqtSignal] def setTextureSize(self, size: QtCore.QSize) -> None: ... def textureSize(self) -> QtCore.QSize: ... def itemChange(self, a0: QQuickItem.ItemChange, a1: QQuickItem.ItemChangeData) -> None: ... @@ -412,10 +412,10 @@ class QQuickPaintedItem(QQuickItem): def textureProvider(self) -> 'QSGTextureProvider': ... def isTextureProvider(self) -> bool: ... def updatePaintNode(self, a0: 'QSGNode', a1: QQuickItem.UpdatePaintNodeData) -> 'QSGNode': ... - def renderTargetChanged(self) -> None: ... - def contentsScaleChanged(self) -> None: ... - def contentsSizeChanged(self) -> None: ... - def fillColorChanged(self) -> None: ... + renderTargetChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsScaleChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + fillColorChanged: typing.ClassVar[QtCore.pyqtSignal] def paint(self, painter: QtGui.QPainter) -> None: ... def setRenderTarget(self, target: 'QQuickPaintedItem.RenderTarget') -> None: ... def renderTarget(self) -> 'QQuickPaintedItem.RenderTarget': ... @@ -443,8 +443,8 @@ class QQuickRenderControl(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def sceneChanged(self) -> None: ... - def renderRequested(self) -> None: ... + sceneChanged: typing.ClassVar[QtCore.pyqtSignal] + renderRequested: typing.ClassVar[QtCore.pyqtSignal] def prepareThread(self, targetThread: QtCore.QThread) -> None: ... def renderWindow(self, offset: QtCore.QPoint) -> QtGui.QWindow: ... @staticmethod @@ -651,7 +651,7 @@ class QQuickView(QQuickWindow): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - def statusChanged(self, a0: 'QQuickView.Status') -> None: ... + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ... def setSource(self, a0: QtCore.QUrl) -> None: ... def initialSize(self) -> QtCore.QSize: ... @@ -714,7 +714,7 @@ class QSGAbstractRenderer(QtCore.QObject): def __index__(self) -> int: ... def __int__(self) -> int: ... - def sceneGraphChanged(self) -> None: ... + sceneGraphChanged: typing.ClassVar[QtCore.pyqtSignal] def renderScene(self, fboId: int = ...) -> None: ... def clearMode(self) -> 'QSGAbstractRenderer.ClearMode': ... def setClearMode(self, mode: typing.Union['QSGAbstractRenderer.ClearMode', 'QSGAbstractRenderer.ClearModeBit']) -> None: ... @@ -1805,7 +1805,7 @@ class QSGTextureProvider(QtCore.QObject): def __init__(self) -> None: ... - def textureChanged(self) -> None: ... + textureChanged: typing.ClassVar[QtCore.pyqtSignal] def texture(self) -> QSGTexture: ... diff --git a/PyQt5-stubs/QtQuickWidgets.pyi b/PyQt5-stubs/QtQuickWidgets.pyi index e3cc6b57..62c14f4b 100644 --- a/PyQt5-stubs/QtQuickWidgets.pyi +++ b/PyQt5-stubs/QtQuickWidgets.pyi @@ -92,8 +92,8 @@ class QQuickWidget(QtWidgets.QWidget): def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... - def sceneGraphError(self, error: QtQuick.QQuickWindow.SceneGraphError, message: str) -> None: ... - def statusChanged(self, a0: 'QQuickWidget.Status') -> None: ... + sceneGraphError: typing.ClassVar[QtCore.pyqtSignal] + statusChanged: typing.ClassVar[QtCore.pyqtSignal] def setSource(self, a0: QtCore.QUrl) -> None: ... def format(self) -> QtGui.QSurfaceFormat: ... def setFormat(self, format: QtGui.QSurfaceFormat) -> None: ... diff --git a/PyQt5-stubs/QtRemoteObjects.pyi b/PyQt5-stubs/QtRemoteObjects.pyi index 8ae155b2..ed9a41e4 100644 --- a/PyQt5-stubs/QtRemoteObjects.pyi +++ b/PyQt5-stubs/QtRemoteObjects.pyi @@ -34,7 +34,7 @@ PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] class QAbstractItemModelReplica(QtCore.QAbstractItemModel): - def initialized(self) -> None: ... + initialized: typing.ClassVar[QtCore.pyqtSignal] def setRootCacheSize(self, rootCacheSize: int) -> None: ... def rootCacheSize(self) -> int: ... def hasData(self, index: QtCore.QModelIndex, role: int) -> bool: ... @@ -68,9 +68,9 @@ class QRemoteObjectReplica(QtCore.QObject): Suspect = ... # type: QRemoteObjectReplica.State SignatureMismatch = ... # type: QRemoteObjectReplica.State - def notified(self) -> None: ... - def stateChanged(self, state: 'QRemoteObjectReplica.State', oldState: 'QRemoteObjectReplica.State') -> None: ... - def initialized(self) -> None: ... + notified: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + initialized: typing.ClassVar[QtCore.pyqtSignal] def setNode(self, node: 'QRemoteObjectNode') -> None: ... def node(self) -> 'QRemoteObjectNode': ... def state(self) -> 'QRemoteObjectReplica.State': ... @@ -125,10 +125,10 @@ class QRemoteObjectNode(QtCore.QObject): def __init__(self, registryAddress: QtCore.QUrl, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... - def heartbeatIntervalChanged(self, heartbeatInterval: int) -> None: ... - def error(self, errorCode: 'QRemoteObjectNode.ErrorCode') -> None: ... - def remoteObjectRemoved(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... - def remoteObjectAdded(self, a0: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + heartbeatIntervalChanged: typing.ClassVar[QtCore.pyqtSignal] + error: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] def setHeartbeatInterval(self, interval: int) -> None: ... def heartbeatInterval(self) -> int: ... def lastError(self) -> 'QRemoteObjectNode.ErrorCode': ... @@ -175,7 +175,7 @@ class QRemoteObjectHost(QRemoteObjectHostBase): @typing.overload def __init__(self, address: QtCore.QUrl, parent: QtCore.QObject) -> None: ... - def hostUrlChanged(self) -> None: ... + hostUrlChanged: typing.ClassVar[QtCore.pyqtSignal] def setHostUrl(self, hostAddress: QtCore.QUrl, allowedSchemas: QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ... def hostUrl(self) -> QtCore.QUrl: ... @@ -189,8 +189,8 @@ class QRemoteObjectRegistryHost(QRemoteObjectHostBase): class QRemoteObjectRegistry(QRemoteObjectReplica): - def remoteObjectRemoved(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... - def remoteObjectAdded(self, entry: typing.Tuple[str, 'QRemoteObjectSourceLocationInfo']) -> None: ... + remoteObjectRemoved: typing.ClassVar[QtCore.pyqtSignal] + remoteObjectAdded: typing.ClassVar[QtCore.pyqtSignal] def sourceLocations(self) -> typing.Dict[str, 'QRemoteObjectSourceLocationInfo']: ... diff --git a/PyQt5-stubs/QtSensors.pyi b/PyQt5-stubs/QtSensors.pyi index 017cbd80..fcd947e6 100644 --- a/PyQt5-stubs/QtSensors.pyi +++ b/PyQt5-stubs/QtSensors.pyi @@ -102,20 +102,20 @@ class QSensor(QtCore.QObject): def __init__(self, type: typing.Union[QtCore.QByteArray, bytes, bytearray], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def bufferSizeChanged(self, bufferSize: int) -> None: ... - def efficientBufferSizeChanged(self, efficientBufferSize: int) -> None: ... - def maxBufferSizeChanged(self, maxBufferSize: int) -> None: ... - def userOrientationChanged(self, userOrientation: int) -> None: ... - def currentOrientationChanged(self, currentOrientation: int) -> None: ... - def axesOrientationModeChanged(self, axesOrientationMode: 'QSensor.AxesOrientationMode') -> None: ... - def skipDuplicatesChanged(self, skipDuplicates: bool) -> None: ... - def dataRateChanged(self) -> None: ... - def alwaysOnChanged(self) -> None: ... - def availableSensorsChanged(self) -> None: ... - def sensorError(self, error: int) -> None: ... - def readingChanged(self) -> None: ... - def activeChanged(self) -> None: ... - def busyChanged(self) -> None: ... + bufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + efficientBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + maxBufferSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + userOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + currentOrientationChanged: typing.ClassVar[QtCore.pyqtSignal] + axesOrientationModeChanged: typing.ClassVar[QtCore.pyqtSignal] + skipDuplicatesChanged: typing.ClassVar[QtCore.pyqtSignal] + dataRateChanged: typing.ClassVar[QtCore.pyqtSignal] + alwaysOnChanged: typing.ClassVar[QtCore.pyqtSignal] + availableSensorsChanged: typing.ClassVar[QtCore.pyqtSignal] + sensorError: typing.ClassVar[QtCore.pyqtSignal] + readingChanged: typing.ClassVar[QtCore.pyqtSignal] + activeChanged: typing.ClassVar[QtCore.pyqtSignal] + busyChanged: typing.ClassVar[QtCore.pyqtSignal] def stop(self) -> None: ... def start(self) -> bool: ... def setBufferSize(self, bufferSize: int) -> None: ... @@ -176,7 +176,7 @@ class QAccelerometer(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def accelerationModeChanged(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... + accelerationModeChanged: typing.ClassVar[QtCore.pyqtSignal] def reading(self) -> QAccelerometerReading: ... def setAccelerationMode(self, accelerationMode: 'QAccelerometer.AccelerationMode') -> None: ... def accelerationMode(self) -> 'QAccelerometer.AccelerationMode': ... @@ -414,8 +414,8 @@ class QIRProximitySensor(QSensor): class QLidReading(QSensorReading): - def frontLidChanged(self, closed: bool) -> None: ... - def backLidChanged(self, closed: bool) -> None: ... + frontLidChanged: typing.ClassVar[QtCore.pyqtSignal] + backLidChanged: typing.ClassVar[QtCore.pyqtSignal] def setFrontLidClosed(self, closed: bool) -> None: ... def frontLidClosed(self) -> bool: ... def setBackLidClosed(self, closed: bool) -> None: ... @@ -459,7 +459,7 @@ class QLightSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def fieldOfViewChanged(self, fieldOfView: float) -> None: ... + fieldOfViewChanged: typing.ClassVar[QtCore.pyqtSignal] def setFieldOfView(self, fieldOfView: float) -> None: ... def fieldOfView(self) -> float: ... def reading(self) -> QLightReading: ... @@ -491,7 +491,7 @@ class QMagnetometer(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def returnGeoValuesChanged(self, returnGeoValues: bool) -> None: ... + returnGeoValuesChanged: typing.ClassVar[QtCore.pyqtSignal] def setReturnGeoValues(self, returnGeoValues: bool) -> None: ... def returnGeoValues(self) -> bool: ... def reading(self) -> QMagnetometerReading: ... @@ -648,7 +648,7 @@ class QTapSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def returnDoubleTapEventsChanged(self, returnDoubleTapEvents: bool) -> None: ... + returnDoubleTapEventsChanged: typing.ClassVar[QtCore.pyqtSignal] def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool) -> None: ... def returnDoubleTapEvents(self) -> bool: ... def reading(self) -> QTapReading: ... @@ -702,7 +702,7 @@ class QRotationSensor(QSensor): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def hasZChanged(self, hasZ: bool) -> None: ... + hasZChanged: typing.ClassVar[QtCore.pyqtSignal] def setHasZ(self, hasZ: bool) -> None: ... def hasZ(self) -> bool: ... def reading(self) -> QRotationReading: ... diff --git a/PyQt5-stubs/QtSerialPort.pyi b/PyQt5-stubs/QtSerialPort.pyi index 607e7f50..b6512581 100644 --- a/PyQt5-stubs/QtSerialPort.pyi +++ b/PyQt5-stubs/QtSerialPort.pyi @@ -220,22 +220,22 @@ class QSerialPort(QtCore.QIODevice): @typing.overload def __init__(self, info: 'QSerialPortInfo', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def errorOccurred(self, error: 'QSerialPort.SerialPortError') -> None: ... - def breakEnabledChanged(self, set: bool) -> None: ... + errorOccurred: typing.ClassVar[QtCore.pyqtSignal] + breakEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] def isBreakEnabled(self) -> bool: ... def handle(self) -> int: ... def writeData(self, data: bytes) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... def readData(self, maxlen: int) -> bytes: ... - def settingsRestoredOnCloseChanged(self, restore: bool) -> None: ... - def requestToSendChanged(self, set: bool) -> None: ... - def dataTerminalReadyChanged(self, set: bool) -> None: ... - def dataErrorPolicyChanged(self, policy: 'QSerialPort.DataErrorPolicy') -> None: ... - def flowControlChanged(self, flow: 'QSerialPort.FlowControl') -> None: ... - def stopBitsChanged(self, stopBits: 'QSerialPort.StopBits') -> None: ... - def parityChanged(self, parity: 'QSerialPort.Parity') -> None: ... - def dataBitsChanged(self, dataBits: 'QSerialPort.DataBits') -> None: ... - def baudRateChanged(self, baudRate: int, directions: typing.Union['QSerialPort.Directions', 'QSerialPort.Direction']) -> None: ... + settingsRestoredOnCloseChanged: typing.ClassVar[QtCore.pyqtSignal] + requestToSendChanged: typing.ClassVar[QtCore.pyqtSignal] + dataTerminalReadyChanged: typing.ClassVar[QtCore.pyqtSignal] + dataErrorPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + flowControlChanged: typing.ClassVar[QtCore.pyqtSignal] + stopBitsChanged: typing.ClassVar[QtCore.pyqtSignal] + parityChanged: typing.ClassVar[QtCore.pyqtSignal] + dataBitsChanged: typing.ClassVar[QtCore.pyqtSignal] + baudRateChanged: typing.ClassVar[QtCore.pyqtSignal] def setBreakEnabled(self, enabled: bool = ...) -> bool: ... def sendBreak(self, duration: int = ...) -> bool: ... def waitForBytesWritten(self, msecs: int = ...) -> bool: ... @@ -247,10 +247,7 @@ class QSerialPort(QtCore.QIODevice): def setReadBufferSize(self, size: int) -> None: ... def readBufferSize(self) -> int: ... def clearError(self) -> None: ... - @typing.overload - def error(self) -> 'QSerialPort.SerialPortError': ... - @typing.overload - def error(self, serialPortError: 'QSerialPort.SerialPortError') -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def dataErrorPolicy(self) -> 'QSerialPort.DataErrorPolicy': ... def setDataErrorPolicy(self, policy: 'QSerialPort.DataErrorPolicy' = ...) -> bool: ... def atEnd(self) -> bool: ... diff --git a/PyQt5-stubs/QtSql.pyi b/PyQt5-stubs/QtSql.pyi index 160fcf4e..558e4ea9 100644 --- a/PyQt5-stubs/QtSql.pyi +++ b/PyQt5-stubs/QtSql.pyi @@ -213,10 +213,7 @@ class QSqlDriver(QtCore.QObject): def setNumericalPrecisionPolicy(self, precisionPolicy: 'QSql.NumericalPrecisionPolicy') -> None: ... def stripDelimiters(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> str: ... def isIdentifierEscaped(self, identifier: str, type: 'QSqlDriver.IdentifierType') -> bool: ... - @typing.overload - def notification(self, name: str) -> None: ... - @typing.overload - def notification(self, name: str, source: 'QSqlDriver.NotificationSource', payload: typing.Any) -> None: ... + notification: typing.ClassVar[QtCore.pyqtSignal] def subscribedToNotifications(self) -> typing.List[str]: ... def unsubscribeFromNotification(self, name: str) -> bool: ... def subscribeToNotification(self, name: str) -> bool: ... @@ -560,10 +557,10 @@ class QSqlTableModel(QSqlQueryModel): def deleteRowFromTable(self, row: int) -> bool: ... def insertRowIntoTable(self, values: QSqlRecord) -> bool: ... def updateRowInTable(self, row: int, values: QSqlRecord) -> bool: ... - def beforeDelete(self, row: int) -> None: ... - def beforeUpdate(self, row: int, record: QSqlRecord) -> None: ... - def beforeInsert(self, record: QSqlRecord) -> None: ... - def primeInsert(self, row: int, record: QSqlRecord) -> None: ... + beforeDelete: typing.ClassVar[QtCore.pyqtSignal] + beforeUpdate: typing.ClassVar[QtCore.pyqtSignal] + beforeInsert: typing.ClassVar[QtCore.pyqtSignal] + primeInsert: typing.ClassVar[QtCore.pyqtSignal] def revertAll(self) -> None: ... def submitAll(self) -> bool: ... def revert(self) -> None: ... diff --git a/PyQt5-stubs/QtSvg.pyi b/PyQt5-stubs/QtSvg.pyi index 97d2b50b..608b3393 100644 --- a/PyQt5-stubs/QtSvg.pyi +++ b/PyQt5-stubs/QtSvg.pyi @@ -98,7 +98,7 @@ class QSvgRenderer(QtCore.QObject): def transformForElement(self, id: str) -> QtGui.QTransform: ... def setAspectRatioMode(self, mode: QtCore.Qt.AspectRatioMode) -> None: ... def aspectRatioMode(self) -> QtCore.Qt.AspectRatioMode: ... - def repaintNeeded(self) -> None: ... + repaintNeeded: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def render(self, p: QtGui.QPainter) -> None: ... @typing.overload diff --git a/PyQt5-stubs/QtWebChannel.pyi b/PyQt5-stubs/QtWebChannel.pyi index 4ff9b336..a4a5c73f 100644 --- a/PyQt5-stubs/QtWebChannel.pyi +++ b/PyQt5-stubs/QtWebChannel.pyi @@ -38,7 +38,7 @@ class QWebChannel(QtCore.QObject): def disconnectFrom(self, transport: 'QWebChannelAbstractTransport') -> None: ... def connectTo(self, transport: 'QWebChannelAbstractTransport') -> None: ... - def blockUpdatesChanged(self, block: bool) -> None: ... + blockUpdatesChanged: typing.ClassVar[QtCore.pyqtSignal] def setBlockUpdates(self, block: bool) -> None: ... def blockUpdates(self) -> bool: ... def deregisterObject(self, object: QtCore.QObject) -> None: ... @@ -51,5 +51,5 @@ class QWebChannelAbstractTransport(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def messageReceived(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]], transport: 'QWebChannelAbstractTransport') -> None: ... + messageReceived: typing.ClassVar[QtCore.pyqtSignal] def sendMessage(self, message: typing.Dict[str, typing.Union[QtCore.QJsonValue, QtCore.QJsonValue.Type, typing.Iterable[QtCore.QJsonValue], bool, int, float, None, str]]) -> None: ... diff --git a/PyQt5-stubs/QtWebEngine.pyi b/PyQt5-stubs/QtWebEngine.pyi index 7b3c7fe0..856edf88 100644 --- a/PyQt5-stubs/QtWebEngine.pyi +++ b/PyQt5-stubs/QtWebEngine.pyi @@ -61,29 +61,29 @@ class QQuickWebEngineProfile(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def presentNotification(self, notification: QtWebEngineCore.QWebEngineNotification) -> None: ... - def downloadPathChanged(self) -> None: ... - def useForGlobalCertificateVerificationChanged(self) -> None: ... + presentNotification: typing.ClassVar[QtCore.pyqtSignal] + downloadPathChanged: typing.ClassVar[QtCore.pyqtSignal] + useForGlobalCertificateVerificationChanged: typing.ClassVar[QtCore.pyqtSignal] def clientCertificateStore(self) -> QtWebEngineCore.QWebEngineClientCertificateStore: ... def setDownloadPath(self, path: str) -> None: ... def downloadPath(self) -> str: ... def isUsedForGlobalCertificateVerification(self) -> bool: ... def setUseForGlobalCertificateVerification(self, b: bool) -> None: ... - def spellCheckEnabledChanged(self) -> None: ... - def spellCheckLanguagesChanged(self) -> None: ... + spellCheckEnabledChanged: typing.ClassVar[QtCore.pyqtSignal] + spellCheckLanguagesChanged: typing.ClassVar[QtCore.pyqtSignal] def isSpellCheckEnabled(self) -> bool: ... def setSpellCheckEnabled(self, enabled: bool) -> None: ... def spellCheckLanguages(self) -> typing.List[str]: ... def setSpellCheckLanguages(self, languages: typing.Iterable[str]) -> None: ... - def httpAcceptLanguageChanged(self) -> None: ... - def httpCacheMaximumSizeChanged(self) -> None: ... - def persistentCookiesPolicyChanged(self) -> None: ... - def httpCacheTypeChanged(self) -> None: ... - def httpUserAgentChanged(self) -> None: ... - def cachePathChanged(self) -> None: ... - def persistentStoragePathChanged(self) -> None: ... - def offTheRecordChanged(self) -> None: ... - def storageNameChanged(self) -> None: ... + httpAcceptLanguageChanged: typing.ClassVar[QtCore.pyqtSignal] + httpCacheMaximumSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + persistentCookiesPolicyChanged: typing.ClassVar[QtCore.pyqtSignal] + httpCacheTypeChanged: typing.ClassVar[QtCore.pyqtSignal] + httpUserAgentChanged: typing.ClassVar[QtCore.pyqtSignal] + cachePathChanged: typing.ClassVar[QtCore.pyqtSignal] + persistentStoragePathChanged: typing.ClassVar[QtCore.pyqtSignal] + offTheRecordChanged: typing.ClassVar[QtCore.pyqtSignal] + storageNameChanged: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def defaultProfile() -> 'QQuickWebEngineProfile': ... def clearHttpCache(self) -> None: ... @@ -138,12 +138,12 @@ class QQuickWebEngineScript(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... - def runOnSubframesChanged(self, on: bool) -> None: ... - def worldIdChanged(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... - def injectionPointChanged(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... - def sourceCodeChanged(self, code: str) -> None: ... - def sourceUrlChanged(self, url: QtCore.QUrl) -> None: ... - def nameChanged(self, name: str) -> None: ... + runOnSubframesChanged: typing.ClassVar[QtCore.pyqtSignal] + worldIdChanged: typing.ClassVar[QtCore.pyqtSignal] + injectionPointChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceCodeChanged: typing.ClassVar[QtCore.pyqtSignal] + sourceUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + nameChanged: typing.ClassVar[QtCore.pyqtSignal] def setRunOnSubframes(self, on: bool) -> None: ... def setWorldId(self, scriptWorldId: 'QQuickWebEngineScript.ScriptWorldId') -> None: ... def setInjectionPoint(self, injectionPoint: 'QQuickWebEngineScript.InjectionPoint') -> None: ... diff --git a/PyQt5-stubs/QtWebEngineCore.pyi b/PyQt5-stubs/QtWebEngineCore.pyi index 4fd28480..af38c5f6 100644 --- a/PyQt5-stubs/QtWebEngineCore.pyi +++ b/PyQt5-stubs/QtWebEngineCore.pyi @@ -65,8 +65,8 @@ class QWebEngineCookieStore(QtCore.QObject): def __init__(self, a0: 'QWebEngineCookieStore.FilterRequest') -> None: ... def setCookieFilter(self, filterCallback: typing.Optional[typing.Callable[[FilterRequest], bool]] = ...) -> None: ... - def cookieRemoved(self, cookie: QtNetwork.QNetworkCookie) -> None: ... - def cookieAdded(self, cookie: QtNetwork.QNetworkCookie) -> None: ... + cookieRemoved: typing.ClassVar[QtCore.pyqtSignal] + cookieAdded: typing.ClassVar[QtCore.pyqtSignal] def loadAllCookies(self) -> None: ... def deleteAllCookies(self) -> None: ... def deleteSessionCookies(self) -> None: ... @@ -117,7 +117,7 @@ class QWebEngineHttpRequest(sip.simplewrapper): class QWebEngineNotification(QtCore.QObject): - def closed(self) -> None: ... + closed: typing.ClassVar[QtCore.pyqtSignal] def close(self) -> None: ... def click(self) -> None: ... def show(self) -> None: ... diff --git a/PyQt5-stubs/QtWebEngineWidgets.pyi b/PyQt5-stubs/QtWebEngineWidgets.pyi index fe699fc7..34a50da8 100644 --- a/PyQt5-stubs/QtWebEngineWidgets.pyi +++ b/PyQt5-stubs/QtWebEngineWidgets.pyi @@ -312,7 +312,7 @@ class QWebEngineDownloadItem(QtCore.QObject): def suggestedFileName(self) -> str: ... def page(self) -> 'QWebEnginePage': ... def isSavePageDownload(self) -> bool: ... - def isPausedChanged(self, isPaused: bool) -> None: ... + isPausedChanged: typing.ClassVar[QtCore.pyqtSignal] def resume(self) -> None: ... def pause(self) -> None: ... def isPaused(self) -> bool: ... @@ -322,9 +322,9 @@ class QWebEngineDownloadItem(QtCore.QObject): def setSavePageFormat(self, format: 'QWebEngineDownloadItem.SavePageFormat') -> None: ... def savePageFormat(self) -> 'QWebEngineDownloadItem.SavePageFormat': ... def mimeType(self) -> str: ... - def downloadProgress(self, bytesReceived: int, bytesTotal: int) -> None: ... - def stateChanged(self, state: 'QWebEngineDownloadItem.DownloadState') -> None: ... - def finished(self) -> None: ... + downloadProgress: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + finished: typing.ClassVar[QtCore.pyqtSignal] def cancel(self) -> None: ... def accept(self) -> None: ... def isFinished(self) -> bool: ... @@ -594,22 +594,22 @@ class QWebEnginePage(QtCore.QObject): @typing.overload def __init__(self, profile: 'QWebEngineProfile', parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def renderProcessPidChanged(self, pid: int) -> None: ... + renderProcessPidChanged: typing.ClassVar[QtCore.pyqtSignal] def renderProcessPid(self) -> int: ... - def findTextFinished(self, result: QtWebEngineCore.QWebEngineFindTextResult) -> None: ... - def recommendedStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... - def lifecycleStateChanged(self, state: 'QWebEnginePage.LifecycleState') -> None: ... - def visibleChanged(self, visible: bool) -> None: ... + findTextFinished: typing.ClassVar[QtCore.pyqtSignal] + recommendedStateChanged: typing.ClassVar[QtCore.pyqtSignal] + lifecycleStateChanged: typing.ClassVar[QtCore.pyqtSignal] + visibleChanged: typing.ClassVar[QtCore.pyqtSignal] def setVisible(self, visible: bool) -> None: ... def isVisible(self) -> bool: ... def recommendedState(self) -> 'QWebEnginePage.LifecycleState': ... def setLifecycleState(self, state: 'QWebEnginePage.LifecycleState') -> None: ... def lifecycleState(self) -> 'QWebEnginePage.LifecycleState': ... def setUrlRequestInterceptor(self, interceptor: QtWebEngineCore.QWebEngineUrlRequestInterceptor) -> None: ... - def printRequested(self) -> None: ... - def selectClientCertificate(self, clientCertSelection: QWebEngineClientCertificateSelection) -> None: ... - def registerProtocolHandlerRequested(self, request: QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest) -> None: ... - def quotaRequested(self, quotaRequest: QtWebEngineCore.QWebEngineQuotaRequest) -> None: ... + printRequested: typing.ClassVar[QtCore.pyqtSignal] + selectClientCertificate: typing.ClassVar[QtCore.pyqtSignal] + registerProtocolHandlerRequested: typing.ClassVar[QtCore.pyqtSignal] + quotaRequested: typing.ClassVar[QtCore.pyqtSignal] def devToolsPage(self) -> 'QWebEnginePage': ... def setDevToolsPage(self, page: 'QWebEnginePage') -> None: ... def inspectedPage(self) -> 'QWebEnginePage': ... @@ -618,12 +618,12 @@ class QWebEnginePage(QtCore.QObject): def print(self, printer: QtPrintSupport.QPrinter, resultCallback: typing.Callable[[bool], None]) -> None: ... def save(self, filePath: str, format: QWebEngineDownloadItem.SavePageFormat = ...) -> None: ... def replaceMisspelledWord(self, replacement: str) -> None: ... - def pdfPrintingFinished(self, filePath: str, success: bool) -> None: ... - def recentlyAudibleChanged(self, recentlyAudible: bool) -> None: ... - def audioMutedChanged(self, muted: bool) -> None: ... - def contentsSizeChanged(self, size: QtCore.QSizeF) -> None: ... - def scrollPositionChanged(self, position: typing.Union[QtCore.QPointF, QtCore.QPoint]) -> None: ... - def iconChanged(self, icon: QtGui.QIcon) -> None: ... + pdfPrintingFinished: typing.ClassVar[QtCore.pyqtSignal] + recentlyAudibleChanged: typing.ClassVar[QtCore.pyqtSignal] + audioMutedChanged: typing.ClassVar[QtCore.pyqtSignal] + contentsSizeChanged: typing.ClassVar[QtCore.pyqtSignal] + scrollPositionChanged: typing.ClassVar[QtCore.pyqtSignal] + iconChanged: typing.ClassVar[QtCore.pyqtSignal] def contextMenuData(self) -> QWebEngineContextMenuData: ... @typing.overload def printToPdf(self, filePath: str, pageLayout: QtGui.QPageLayout = ...) -> None: ... @@ -635,8 +635,8 @@ class QWebEnginePage(QtCore.QObject): def contentsSize(self) -> QtCore.QSizeF: ... def scrollPosition(self) -> QtCore.QPointF: ... def icon(self) -> QtGui.QIcon: ... - def renderProcessTerminated(self, terminationStatus: 'QWebEnginePage.RenderProcessTerminationStatus', exitCode: int) -> None: ... - def fullScreenRequested(self, fullScreenRequest: QWebEngineFullScreenRequest) -> None: ... + renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] + fullScreenRequested: typing.ClassVar[QtCore.pyqtSignal] def setBackgroundColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ... def backgroundColor(self) -> QtGui.QColor: ... def acceptNavigationRequest(self, url: QtCore.QUrl, type: 'QWebEnginePage.NavigationType', isMainFrame: bool) -> bool: ... @@ -654,20 +654,20 @@ class QWebEnginePage(QtCore.QObject): def javaScriptAlert(self, securityOrigin: QtCore.QUrl, msg: str) -> None: ... def chooseFiles(self, mode: 'QWebEnginePage.FileSelectionMode', oldFiles: typing.Iterable[str], acceptedMimeTypes: typing.Iterable[str]) -> typing.List[str]: ... def createWindow(self, type: 'QWebEnginePage.WebWindowType') -> 'QWebEnginePage': ... - def iconUrlChanged(self, url: QtCore.QUrl) -> None: ... - def urlChanged(self, url: QtCore.QUrl) -> None: ... - def titleChanged(self, title: str) -> None: ... - def proxyAuthenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator, proxyHost: str) -> None: ... - def authenticationRequired(self, requestUrl: QtCore.QUrl, authenticator: QtNetwork.QAuthenticator) -> None: ... - def featurePermissionRequestCanceled(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... - def featurePermissionRequested(self, securityOrigin: QtCore.QUrl, feature: 'QWebEnginePage.Feature') -> None: ... - def windowCloseRequested(self) -> None: ... - def geometryChangeRequested(self, geom: QtCore.QRect) -> None: ... - def selectionChanged(self) -> None: ... - def linkHovered(self, url: str) -> None: ... - def loadFinished(self, ok: bool) -> None: ... - def loadProgress(self, progress: int) -> None: ... - def loadStarted(self) -> None: ... + iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + urlChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + authenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + featurePermissionRequestCanceled: typing.ClassVar[QtCore.pyqtSignal] + featurePermissionRequested: typing.ClassVar[QtCore.pyqtSignal] + windowCloseRequested: typing.ClassVar[QtCore.pyqtSignal] + geometryChangeRequested: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + linkHovered: typing.ClassVar[QtCore.pyqtSignal] + loadFinished: typing.ClassVar[QtCore.pyqtSignal] + loadProgress: typing.ClassVar[QtCore.pyqtSignal] + loadStarted: typing.ClassVar[QtCore.pyqtSignal] def settings(self) -> 'QWebEngineSettings': ... @typing.overload def runJavaScript(self, scriptSource: str, worldId: int) -> None: ... @@ -751,7 +751,7 @@ class QWebEngineProfile(QtCore.QObject): def cookieStore(self) -> QtWebEngineCore.QWebEngineCookieStore: ... def httpAcceptLanguage(self) -> str: ... def setHttpAcceptLanguage(self, httpAcceptLanguage: str) -> None: ... - def downloadRequested(self, download: QWebEngineDownloadItem) -> None: ... + downloadRequested: typing.ClassVar[QtCore.pyqtSignal] @staticmethod def defaultProfile() -> 'QWebEngineProfile': ... def scripts(self) -> 'QWebEngineScriptCollection': ... @@ -964,21 +964,21 @@ class QWebEngineView(QtWidgets.QWidget): def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... - def iconChanged(self, a0: QtGui.QIcon) -> None: ... + iconChanged: typing.ClassVar[QtCore.pyqtSignal] def icon(self) -> QtGui.QIcon: ... def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... def showEvent(self, a0: QtGui.QShowEvent) -> None: ... def event(self, a0: QtCore.QEvent) -> bool: ... def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... def createWindow(self, type: QWebEnginePage.WebWindowType) -> 'QWebEngineView': ... - def renderProcessTerminated(self, terminationStatus: QWebEnginePage.RenderProcessTerminationStatus, exitCode: int) -> None: ... - def iconUrlChanged(self, a0: QtCore.QUrl) -> None: ... - def urlChanged(self, a0: QtCore.QUrl) -> None: ... - def selectionChanged(self) -> None: ... - def titleChanged(self, title: str) -> None: ... - def loadFinished(self, a0: bool) -> None: ... - def loadProgress(self, progress: int) -> None: ... - def loadStarted(self) -> None: ... + renderProcessTerminated: typing.ClassVar[QtCore.pyqtSignal] + iconUrlChanged: typing.ClassVar[QtCore.pyqtSignal] + urlChanged: typing.ClassVar[QtCore.pyqtSignal] + selectionChanged: typing.ClassVar[QtCore.pyqtSignal] + titleChanged: typing.ClassVar[QtCore.pyqtSignal] + loadFinished: typing.ClassVar[QtCore.pyqtSignal] + loadProgress: typing.ClassVar[QtCore.pyqtSignal] + loadStarted: typing.ClassVar[QtCore.pyqtSignal] def reload(self) -> None: ... def forward(self) -> None: ... def back(self) -> None: ... diff --git a/PyQt5-stubs/QtWebSockets.pyi b/PyQt5-stubs/QtWebSockets.pyi index bdb0d168..b331369a 100644 --- a/PyQt5-stubs/QtWebSockets.pyi +++ b/PyQt5-stubs/QtWebSockets.pyi @@ -58,20 +58,20 @@ class QWebSocket(QtCore.QObject): def maxAllowedIncomingFrameSize(self) -> int: ... def setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int) -> None: ... def bytesToWrite(self) -> int: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... - def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... - def bytesWritten(self, bytes: int) -> None: ... - def pong(self, elapsedTime: int, payload: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def binaryMessageReceived(self, message: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> None: ... - def textMessageReceived(self, message: str) -> None: ... - def binaryFrameReceived(self, frame: typing.Union[QtCore.QByteArray, bytes, bytearray], isLastFrame: bool) -> None: ... - def textFrameReceived(self, frame: str, isLastFrame: bool) -> None: ... - def readChannelFinished(self) -> None: ... - def proxyAuthenticationRequired(self, proxy: QtNetwork.QNetworkProxy, pAuthenticator: QtNetwork.QAuthenticator) -> None: ... - def stateChanged(self, state: QtNetwork.QAbstractSocket.SocketState) -> None: ... - def disconnected(self) -> None: ... - def connected(self) -> None: ... - def aboutToClose(self) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + bytesWritten: typing.ClassVar[QtCore.pyqtSignal] + pong: typing.ClassVar[QtCore.pyqtSignal] + binaryMessageReceived: typing.ClassVar[QtCore.pyqtSignal] + textMessageReceived: typing.ClassVar[QtCore.pyqtSignal] + binaryFrameReceived: typing.ClassVar[QtCore.pyqtSignal] + textFrameReceived: typing.ClassVar[QtCore.pyqtSignal] + readChannelFinished: typing.ClassVar[QtCore.pyqtSignal] + proxyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + stateChanged: typing.ClassVar[QtCore.pyqtSignal] + disconnected: typing.ClassVar[QtCore.pyqtSignal] + connected: typing.ClassVar[QtCore.pyqtSignal] + aboutToClose: typing.ClassVar[QtCore.pyqtSignal] def ping(self, payload: typing.Union[QtCore.QByteArray, bytes, bytearray] = ...) -> None: ... @typing.overload def open(self, url: QtCore.QUrl) -> None: ... @@ -111,10 +111,7 @@ class QWebSocket(QtCore.QObject): def isValid(self) -> bool: ... def flush(self) -> bool: ... def errorString(self) -> str: ... - @typing.overload - def error(self) -> QtNetwork.QAbstractSocket.SocketError: ... - @typing.overload - def error(self, error: QtNetwork.QAbstractSocket.SocketError) -> None: ... + error: typing.ClassVar[QtCore.pyqtSignal] def abort(self) -> None: ... @@ -199,14 +196,14 @@ class QWebSocketServer(QtCore.QObject): def setHandshakeTimeout(self, msec: int) -> None: ... def nativeDescriptor(self) -> sip.voidptr: ... def setNativeDescriptor(self, descriptor: sip.voidptr) -> bool: ... - def preSharedKeyAuthenticationRequired(self, authenticator: QtNetwork.QSslPreSharedKeyAuthenticator) -> None: ... - def closed(self) -> None: ... - def sslErrors(self, errors: typing.Iterable[QtNetwork.QSslError]) -> None: ... - def peerVerifyError(self, error: QtNetwork.QSslError) -> None: ... - def newConnection(self) -> None: ... - def originAuthenticationRequired(self, pAuthenticator: QWebSocketCorsAuthenticator) -> None: ... - def serverError(self, closeCode: QWebSocketProtocol.CloseCode) -> None: ... - def acceptError(self, socketError: QtNetwork.QAbstractSocket.SocketError) -> None: ... + preSharedKeyAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + closed: typing.ClassVar[QtCore.pyqtSignal] + sslErrors: typing.ClassVar[QtCore.pyqtSignal] + peerVerifyError: typing.ClassVar[QtCore.pyqtSignal] + newConnection: typing.ClassVar[QtCore.pyqtSignal] + originAuthenticationRequired: typing.ClassVar[QtCore.pyqtSignal] + serverError: typing.ClassVar[QtCore.pyqtSignal] + acceptError: typing.ClassVar[QtCore.pyqtSignal] def handleConnection(self, socket: QtNetwork.QTcpSocket) -> None: ... def serverUrl(self) -> QtCore.QUrl: ... def supportedVersions(self) -> typing.List[QWebSocketProtocol.Version]: ... diff --git a/PyQt5-stubs/QtWidgets.pyi b/PyQt5-stubs/QtWidgets.pyi index 92d28ffb..73377c7b 100644 --- a/PyQt5-stubs/QtWidgets.pyi +++ b/PyQt5-stubs/QtWidgets.pyi @@ -1515,10 +1515,10 @@ class QButtonGroup(QtCore.QObject): def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... - def idToggled(self, a0: int, a1: bool) -> None: ... - def idReleased(self, a0: int) -> None: ... - def idPressed(self, a0: int) -> None: ... - def idClicked(self, a0: int) -> None: ... + idToggled: typing.ClassVar[QtCore.pyqtSignal] + idReleased: typing.ClassVar[QtCore.pyqtSignal] + idPressed: typing.ClassVar[QtCore.pyqtSignal] + idClicked: typing.ClassVar[QtCore.pyqtSignal] buttonToggled: typing.ClassVar[QtCore.pyqtSignal] buttonReleased: typing.ClassVar[QtCore.pyqtSignal] buttonPressed: typing.ClassVar[QtCore.pyqtSignal] @@ -1810,8 +1810,8 @@ class QComboBox(QWidget): def placeholderText(self) -> str: ... def setPlaceholderText(self, placeholderText: str) -> None: ... - def textHighlighted(self, a0: str) -> None: ... - def textActivated(self, a0: str) -> None: ... + textHighlighted: typing.ClassVar[QtCore.pyqtSignal] + textActivated: typing.ClassVar[QtCore.pyqtSignal] def currentData(self, role: int = ...) -> typing.Any: ... @typing.overload def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... @@ -1832,10 +1832,7 @@ class QComboBox(QWidget): def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ... - @typing.overload - def highlighted(self, index: int) -> None: ... - @typing.overload - def highlighted(self, a0: str) -> None: ... + highlighted: typing.ClassVar[QtCore.pyqtSignal] currentTextChanged: typing.ClassVar[QtCore.pyqtSignal] currentIndexChanged: typing.ClassVar[QtCore.pyqtSignal] activated: typing.ClassVar[QtCore.pyqtSignal] @@ -3478,10 +3475,10 @@ class QDesktopWidget(QWidget): def __init__(self) -> None: ... def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... - def primaryScreenChanged(self) -> None: ... - def screenCountChanged(self, a0: int) -> None: ... - def workAreaResized(self, a0: int) -> None: ... - def resized(self, a0: int) -> None: ... + primaryScreenChanged: typing.ClassVar[QtCore.pyqtSignal] + screenCountChanged: typing.ClassVar[QtCore.pyqtSignal] + workAreaResized: typing.ClassVar[QtCore.pyqtSignal] + resized: typing.ClassVar[QtCore.pyqtSignal] @typing.overload def availableGeometry(self, screen: int = ...) -> QtCore.QRect: ... @typing.overload @@ -5748,7 +5745,7 @@ class QGraphicsScene(QtCore.QObject): def setFocusOnTouch(self, enabled: bool) -> None: ... focusOnTouch: typing.ClassVar[QtCore.pyqtSignal] - def focusItemChanged(self, newFocus: QGraphicsItem, oldFocus: QGraphicsItem, reason: QtCore.Qt.FocusReason) -> None: ... + focusItemChanged: typing.ClassVar[QtCore.pyqtSignal] def setMinimumRenderSize(self, minSize: float) -> None: ... def minimumRenderSize(self) -> float: ... def sendEvent(self, item: QGraphicsItem, event: QtCore.QEvent) -> bool: ... @@ -5991,7 +5988,7 @@ class QGraphicsScale(QGraphicsTransform): yScaleChanged: typing.ClassVar[QtCore.pyqtSignal] xScaleChanged: typing.ClassVar[QtCore.pyqtSignal] scaleChanged: typing.ClassVar[QtCore.pyqtSignal] - def originChanged(self) -> None: ... + originChanged: typing.ClassVar[QtCore.pyqtSignal] def applyTo(self, matrix: QtGui.QMatrix4x4) -> None: ... def setZScale(self, a0: float) -> None: ... def zScale(self) -> float: ... @@ -6839,7 +6836,7 @@ class QLineEdit(QWidget): @typing.overload def __init__(self, contents: str, parent: typing.Optional[QWidget] = ...) -> None: ... - def inputRejected(self) -> None: ... + inputRejected: typing.ClassVar[QtCore.pyqtSignal] def selectionLength(self) -> int: ... def selectionEnd(self) -> int: ... @typing.overload @@ -7702,7 +7699,7 @@ class QMessageBox(QDialog): def setCheckBox(self, cb: QCheckBox) -> None: ... def textInteractionFlags(self) -> QtCore.Qt.TextInteractionFlags: ... def setTextInteractionFlags(self, flags: typing.Union[QtCore.Qt.TextInteractionFlags, QtCore.Qt.TextInteractionFlag]) -> None: ... - def buttonClicked(self, button: QAbstractButton) -> None: ... + buttonClicked: typing.ClassVar[QtCore.pyqtSignal] def buttonRole(self, button: QAbstractButton) -> 'QMessageBox.ButtonRole': ... def buttons(self) -> typing.List[QAbstractButton]: ... @typing.overload @@ -8536,7 +8533,7 @@ class QSpinBox(QAbstractSpinBox): def stepType(self) -> QAbstractSpinBox.StepType: ... def setDisplayIntegerBase(self, base: int) -> None: ... def displayIntegerBase(self) -> int: ... - def textChanged(self, a0: str) -> None: ... + textChanged: typing.ClassVar[QtCore.pyqtSignal] valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: int) -> None: ... def event(self, e: QtCore.QEvent) -> bool: ... @@ -8565,7 +8562,7 @@ class QDoubleSpinBox(QAbstractSpinBox): def setStepType(self, stepType: QAbstractSpinBox.StepType) -> None: ... def stepType(self) -> QAbstractSpinBox.StepType: ... - def textChanged(self, a0: str) -> None: ... + textChanged: typing.ClassVar[QtCore.pyqtSignal] valueChanged: typing.ClassVar[QtCore.pyqtSignal] def setValue(self, val: float) -> None: ... def fixup(self, str: str) -> str: ... diff --git a/signal_fixer.py b/signal_fixer.py index 6524f9eb..12e86edc 100644 --- a/signal_fixer.py +++ b/signal_fixer.py @@ -1,13 +1,15 @@ """Script that will check stub files and fix signal annotations.""" import importlib import os -from typing import List, Optional, Union +from types import ModuleType +from typing import List, Optional, Union, cast, Iterable import libcst as cst + from PyQt5 import QtCore -def is_signal(module: object, cls_name: str, func_name: str) -> bool: +def is_signal(module: ModuleType, cls_name: str, func_name: str) -> bool: """Check if a method of the given Qt class is a signal.""" cls = getattr(module, cls_name) try: @@ -25,7 +27,7 @@ def __init__(self, mod_name: str): super().__init__() self._last_class: List[cst.ClassDef] = [] self._fixed_signals: List[str] = [] - self._module = importlib.import_module(f"PyQt5.{mod_name}") + self._module: ModuleType = importlib.import_module(f"PyQt5.{mod_name}") def visit_ClassDef(self, node: cst.ClassDef) -> Optional[bool]: """Put a class on top of the stack when visiting.""" @@ -34,7 +36,11 @@ def visit_ClassDef(self, node: cst.ClassDef) -> Optional[bool]: def leave_FunctionDef( self, original_node: cst.FunctionDef, _: cst.FunctionDef - ) -> Union[cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel]: + ) -> Union[ + cst.BaseStatement, + cst.FlattenSentinel[cst.BaseStatement], + cst.RemovalSentinel, + ]: """Leave the method and change signature if a signal.""" if not self._last_class: return original_node @@ -45,24 +51,46 @@ def leave_FunctionDef( if is_signal(self._module, self._last_class[-1].name.value, f_name): full_name = f"{self._last_class[-1].name.value}.{f_name}" if full_name in self._fixed_signals: - # Handle the use-case of overloaded signals, i.e.: - # QComboBox.highlighted + # Handle the use-case of overloaded signals, that are defined + # multiple time because of their different signal arguments + # i.e.: QComboBox.highlighted return cst.RemovalSentinel.REMOVE self._fixed_signals.append(full_name) - return cst.parse_statement(f"{f_name}: typing.ClassVar[QtCore.pyqtSignal]") + stmt = f"{f_name}: typing.ClassVar[QtCore.pyqtSignal]" + node = cst.parse_statement(stmt) + if original_node.leading_lines: + # Copy the leading lines and return them with a + # FlattenSentinel. Just adding a newline char results in an + # indented EmptyLine which isn't bad but clutters the diff + # unnecessarily + empty_nodes = [ + line.deep_clone() for line in original_node.leading_lines + ] + return cst.FlattenSentinel( + cast(Iterable[cst.BaseStatement], [*empty_nodes, node]) + ) + return node return original_node def leave_ClassDef( self, original_node: cst.ClassDef, updated_node: cst.ClassDef - ) -> Union[cst.BaseStatement, cst.FlattenSentinel[cst.BaseStatement], cst.RemovalSentinel]: + ) -> Union[ + cst.BaseStatement, + cst.FlattenSentinel[cst.BaseStatement], + cst.RemovalSentinel, + ]: """Remove a class from the stack and return the updated node.""" self._last_class.pop() return updated_node -if __name__ == '__main__': +if __name__ == "__main__": for file in os.listdir("PyQt5-stubs"): - if file.startswith("QtWebKit") or file in ["QtX11Extras.pyi", "sip.pyi", "__init__.pyi"]: + if file.startswith("QtWebKit") or file in [ + "QtX11Extras.pyi", + "sip.pyi", + "__init__.pyi", + ]: continue print("Fixing signals in " + file) path = os.path.join("PyQt5-stubs", file) From 491828859dfe72e492acdb64a4bec7d08a1ca7b6 Mon Sep 17 00:00:00 2001 From: TilmanK Date: Tue, 24 Aug 2021 20:51:42 +0200 Subject: [PATCH 4/5] Fix for QGeoPositionInfoSource.error() --- PyQt5-stubs/QtPositioning.pyi | 2 +- signal_fixer.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/PyQt5-stubs/QtPositioning.pyi b/PyQt5-stubs/QtPositioning.pyi index 2923e553..43c5a379 100644 --- a/PyQt5-stubs/QtPositioning.pyi +++ b/PyQt5-stubs/QtPositioning.pyi @@ -418,7 +418,7 @@ class QGeoPositionInfoSource(QtCore.QObject): def stopUpdates(self) -> None: ... def startUpdates(self) -> None: ... # If the error signal is real, it isn't accessible in PyQt 5.15.1 - error: typing.ClassVar[QtCore.pyqtSignal] + def error(self) -> 'QGeoPositionInfoSource.Error': ... @staticmethod def availableSources() -> typing.List[str]: ... @typing.overload diff --git a/signal_fixer.py b/signal_fixer.py index 12e86edc..dbd5cf29 100644 --- a/signal_fixer.py +++ b/signal_fixer.py @@ -11,6 +11,9 @@ def is_signal(module: ModuleType, cls_name: str, func_name: str) -> bool: """Check if a method of the given Qt class is a signal.""" + if cls_name == "QGeoPositionInfoSource" and func_name == "error": + # this is a fix for the broken error method. + return False cls = getattr(module, cls_name) try: func = getattr(cls, func_name) From eb676aa2a60331c2a638ecbdbcd1e81ece239892 Mon Sep 17 00:00:00 2001 From: TilmanK Date: Tue, 24 Aug 2021 20:58:15 +0200 Subject: [PATCH 5/5] Added change log. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b68289d..e252b890 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). * [#138](https://github.com/python-qt-tools/PyQt5-stubs/pull/138) update to PyQt5 5.15.3 * [#144](https://github.com/python-qt-tools/PyQt5-stubs/pull/144) add `QTreeWidgetItem.__lt__()` to allow sorting of items in a QTreeWidget * [#143](https://github.com/python-qt-tools/PyQt5-stubs/pull/143) make `bytes(QByteArray())` valid by incorrectly adding `.__bytes__()` until a proper solution is developed upstream +* [#162](https://github.com/python-qt-tools/PyQt5-stubs/pull/162) fixes all signals ## 5.15.2.0