Remove PySide from main

This commit is contained in:
2026-05-05 16:05:24 +03:00
parent 9a8cdfa08a
commit 16a7fb32fd
79 changed files with 0 additions and 80830 deletions
@@ -1,499 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.Qt3DAnimation, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.Qt3DAnimation`
import PySide6.Qt3DAnimation
import PySide6.QtCore
import PySide6.QtGui
import PySide6.Qt3DCore
import PySide6.Qt3DRender
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class Qt3DAnimation(Shiboken.Object):
class QAbstractAnimation(PySide6.QtCore.QObject):
animationNameChanged : typing.ClassVar[Signal] = ... # animationNameChanged(QString)
durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
class AnimationType(enum.Enum):
KeyframeAnimation = 0x1
MorphingAnimation = 0x2
VertexBlendAnimation = 0x3
def animationName(self, /) -> str: ...
def animationType(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation.AnimationType: ...
def duration(self, /) -> float: ...
def position(self, /) -> float: ...
def setAnimationName(self, name: str, /) -> None: ...
def setDuration(self, duration: float, /) -> None: ...
def setPosition(self, position: float, /) -> None: ...
class QAbstractAnimationClip(PySide6.Qt3DCore.Qt3DCore.QNode):
durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
def duration(self, /) -> float: ...
class QAbstractChannelMapping(PySide6.Qt3DCore.Qt3DCore.QNode): ...
class QAbstractClipAnimator(PySide6.Qt3DCore.Qt3DCore.QComponent):
channelMapperChanged : typing.ClassVar[Signal] = ... # channelMapperChanged(Qt3DAnimation::QChannelMapper*)
clockChanged : typing.ClassVar[Signal] = ... # clockChanged(Qt3DAnimation::QClock*)
loopCountChanged : typing.ClassVar[Signal] = ... # loopCountChanged(int)
normalizedTimeChanged : typing.ClassVar[Signal] = ... # normalizedTimeChanged(float)
runningChanged : typing.ClassVar[Signal] = ... # runningChanged(bool)
class Loops(enum.Enum):
Infinite = -1
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, running: bool | None = ..., loops: int | None = ..., channelMapper: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper | None = ..., clock: PySide6.Qt3DAnimation.Qt3DAnimation.QClock | None = ..., normalizedTime: float | None = ...) -> None: ...
def channelMapper(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper: ...
def clock(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QClock: ...
def isRunning(self, /) -> bool: ...
def loopCount(self, /) -> int: ...
def normalizedTime(self, /) -> float: ...
def setChannelMapper(self, channelMapper: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper, /) -> None: ...
def setClock(self, clock: PySide6.Qt3DAnimation.Qt3DAnimation.QClock, /) -> None: ...
def setLoopCount(self, loops: int, /) -> None: ...
def setNormalizedTime(self, timeFraction: float, /) -> None: ...
def setRunning(self, running: bool, /) -> None: ...
def start(self, /) -> None: ...
def stop(self, /) -> None: ...
class QAbstractClipBlendNode(PySide6.Qt3DCore.Qt3DCore.QNode):
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
class QAdditiveClipBlend(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
additiveClipChanged : typing.ClassVar[Signal] = ... # additiveClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
additiveFactorChanged : typing.ClassVar[Signal] = ... # additiveFactorChanged(float)
baseClipChanged : typing.ClassVar[Signal] = ... # baseClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, baseClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., additiveClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., additiveFactor: float | None = ...) -> None: ...
def additiveClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
def additiveFactor(self, /) -> float: ...
def baseClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
def setAdditiveClip(self, additiveClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
def setAdditiveFactor(self, additiveFactor: float, /) -> None: ...
def setBaseClip(self, baseClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
class QAnimationAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QAnimationCallback(Shiboken.Object):
class Flag(enum.Flag):
OnOwningThread = 0x0
OnThreadPool = 0x1
def __init__(self, /) -> None: ...
def valueChanged(self, value: typing.Any, /) -> None: ...
class QAnimationClip(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip):
clipDataChanged : typing.ClassVar[Signal] = ... # clipDataChanged(Qt3DAnimation::QAnimationClipData)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clipData: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData | None = ...) -> None: ...
def clipData(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData: ...
def setClipData(self, clipData: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> None: ...
class QAnimationClipData(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> bool: ...
def __ne__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> bool: ...
def appendChannel(self, c: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
def channelCount(self, /) -> int: ...
def clearChannels(self, /) -> None: ...
def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
def insertChannel(self, index: int, c: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
def isValid(self, /) -> bool: ...
def name(self, /) -> str: ...
def removeChannel(self, index: int, /) -> None: ...
def setName(self, name: str, /) -> None: ...
class QAnimationClipLoader(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip):
sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged(QUrl)
statusChanged : typing.ClassVar[Signal] = ... # statusChanged(Status)
class Status(enum.Enum):
NotReady = 0x0
Ready = 0x1
Error = 0x2
@typing.overload
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, source: PySide6.QtCore.QUrl | None = ..., status: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status | None = ...) -> None: ...
@typing.overload
def __init__(self, source: PySide6.QtCore.QUrl | str, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, status: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status | None = ...) -> None: ...
def setSource(self, source: PySide6.QtCore.QUrl | str, /) -> None: ...
def source(self, /) -> PySide6.QtCore.QUrl: ...
def status(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status: ...
class QAnimationController(PySide6.QtCore.QObject):
activeAnimationGroupChanged: typing.ClassVar[Signal] = ... # activeAnimationGroupChanged(int)
entityChanged : typing.ClassVar[Signal] = ... # entityChanged(Qt3DCore::QEntity*)
positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
positionOffsetChanged : typing.ClassVar[Signal] = ... # positionOffsetChanged(float)
positionScaleChanged : typing.ClassVar[Signal] = ... # positionScaleChanged(float)
recursiveChanged : typing.ClassVar[Signal] = ... # recursiveChanged(bool)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, activeAnimationGroup: int | None = ..., position: float | None = ..., positionScale: float | None = ..., positionOffset: float | None = ..., entity: PySide6.Qt3DCore.Qt3DCore.QEntity | None = ..., recursive: bool | None = ...) -> None: ...
def activeAnimationGroup(self, /) -> int: ...
def addAnimationGroup(self, animationGroups: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup, /) -> None: ...
def animationGroupList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup]: ...
def entity(self, /) -> PySide6.Qt3DCore.Qt3DCore.QEntity: ...
def getAnimationIndex(self, name: str, /) -> int: ...
def getGroup(self, index: int, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup: ...
def position(self, /) -> float: ...
def positionOffset(self, /) -> float: ...
def positionScale(self, /) -> float: ...
def recursive(self, /) -> bool: ...
def removeAnimationGroup(self, animationGroups: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup, /) -> None: ...
def setActiveAnimationGroup(self, index: int, /) -> None: ...
def setAnimationGroups(self, animationGroups: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup], /) -> None: ...
def setEntity(self, entity: PySide6.Qt3DCore.Qt3DCore.QEntity, /) -> None: ...
def setPosition(self, position: float, /) -> None: ...
def setPositionOffset(self, offset: float, /) -> None: ...
def setPositionScale(self, scale: float, /) -> None: ...
def setRecursive(self, recursive: bool, /) -> None: ...
class QAnimationGroup(PySide6.QtCore.QObject):
durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
nameChanged : typing.ClassVar[Signal] = ... # nameChanged(QString)
positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, name: str | None = ..., position: float | None = ..., duration: float | None = ...) -> None: ...
def addAnimation(self, animation: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation, /) -> None: ...
def animationList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation]: ...
def duration(self, /) -> float: ...
def name(self, /) -> str: ...
def position(self, /) -> float: ...
def removeAnimation(self, animation: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation, /) -> None: ...
def setAnimations(self, animations: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation], /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setPosition(self, position: float, /) -> None: ...
class QBlendedClipAnimator(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipAnimator):
blendTreeChanged : typing.ClassVar[Signal] = ... # blendTreeChanged(QAbstractClipBlendNode*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, blendTree: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ...) -> None: ...
def blendTree(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
def setBlendTree(self, blendTree: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
class QCallbackMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
channelNameChanged : typing.ClassVar[Signal] = ... # channelNameChanged(QString)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, channelName: str | None = ...) -> None: ...
def callback(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback: ...
def channelName(self, /) -> str: ...
def setCallback(self, type: int, callback: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback, /, flags: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback.Flag = ...) -> None: ...
def setChannelName(self, channelName: str, /) -> None: ...
class QChannel(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
@typing.overload
def __init__(self, name: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def appendChannelComponent(self, component: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
def channelComponentCount(self, /) -> int: ...
def clearChannelComponents(self, /) -> None: ...
def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
def insertChannelComponent(self, index: int, component: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
def jointIndex(self, /) -> int: ...
def name(self, /) -> str: ...
def removeChannelComponent(self, index: int, /) -> None: ...
def setJointIndex(self, jointIndex: int, /) -> None: ...
def setName(self, name: str, /) -> None: ...
class QChannelComponent(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
@typing.overload
def __init__(self, name: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def appendKeyFrame(self, kf: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> None: ...
def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
def clearKeyFrames(self, /) -> None: ...
def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
def insertKeyFrame(self, index: int, kf: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> None: ...
def keyFrameCount(self, /) -> int: ...
def name(self, /) -> str: ...
def removeKeyFrame(self, index: int, /) -> None: ...
def setName(self, name: str, /) -> None: ...
class QChannelMapper(PySide6.Qt3DCore.Qt3DCore.QNode):
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
def addMapping(self, mapping: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping, /) -> None: ...
def mappings(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping]: ...
def removeMapping(self, mapping: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping, /) -> None: ...
class QChannelMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
channelNameChanged : typing.ClassVar[Signal] = ... # channelNameChanged(QString)
propertyChanged : typing.ClassVar[Signal] = ... # propertyChanged(QString)
targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DCore::QNode*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, channelName: str | None = ..., target: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., property: str | None = ...) -> None: ...
def channelName(self, /) -> str: ...
def property(self, /) -> str: ...
def setChannelName(self, channelName: str, /) -> None: ...
def setProperty(self, property: str, /) -> None: ...
def setTarget(self, target: PySide6.Qt3DCore.Qt3DCore.QNode, /) -> None: ...
def target(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNode: ...
class QClipAnimator(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipAnimator):
clipChanged : typing.ClassVar[Signal] = ... # clipChanged(Qt3DAnimation::QAbstractAnimationClip*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip | None = ...) -> None: ...
def clip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip: ...
def setClip(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /) -> None: ...
class QClipBlendValue(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
clipChanged : typing.ClassVar[Signal] = ... # clipChanged(Qt3DAnimation::QAbstractAnimationClip*)
@typing.overload
def __init__(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip | None = ...) -> None: ...
def clip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip: ...
def setClip(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /) -> None: ...
class QClock(PySide6.Qt3DCore.Qt3DCore.QNode):
playbackRateChanged : typing.ClassVar[Signal] = ... # playbackRateChanged(double)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, playbackRate: float | None = ...) -> None: ...
def playbackRate(self, /) -> float: ...
def setPlaybackRate(self, playbackRate: float, /) -> None: ...
class QKeyFrame(Shiboken.Object):
class InterpolationType(enum.Enum):
ConstantInterpolation = 0x0
LinearInterpolation = 0x1
BezierInterpolation = 0x2
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, coords: PySide6.QtGui.QVector2D, /) -> None: ...
@typing.overload
def __init__(self, coords: PySide6.QtGui.QVector2D, lh: PySide6.QtGui.QVector2D, rh: PySide6.QtGui.QVector2D, /) -> None: ...
def __eq__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> bool: ...
def __ne__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> bool: ...
def coordinates(self, /) -> PySide6.QtGui.QVector2D: ...
def interpolationType(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame.InterpolationType: ...
def leftControlPoint(self, /) -> PySide6.QtGui.QVector2D: ...
def rightControlPoint(self, /) -> PySide6.QtGui.QVector2D: ...
def setCoordinates(self, coords: PySide6.QtGui.QVector2D, /) -> None: ...
def setInterpolationType(self, interp: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame.InterpolationType, /) -> None: ...
def setLeftControlPoint(self, lh: PySide6.QtGui.QVector2D, /) -> None: ...
def setRightControlPoint(self, rh: PySide6.QtGui.QVector2D, /) -> None: ...
class QKeyframeAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
easingChanged : typing.ClassVar[Signal] = ... # easingChanged(QEasingCurve)
endModeChanged : typing.ClassVar[Signal] = ... # endModeChanged(QKeyframeAnimation::RepeatMode)
framePositionsChanged : typing.ClassVar[Signal] = ... # framePositionsChanged(QList<float>)
startModeChanged : typing.ClassVar[Signal] = ... # startModeChanged(QKeyframeAnimation::RepeatMode)
targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DCore::QTransform*)
targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
class RepeatMode(enum.Enum):
None_ = 0x0
Constant = 0x1
Repeat = 0x2
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, framePositions: collections.abc.Sequence[float] | None = ..., target: PySide6.Qt3DCore.Qt3DCore.QTransform | None = ..., easing: PySide6.QtCore.QEasingCurve | None = ..., targetName: str | None = ..., startMode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode | None = ..., endMode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode | None = ...) -> None: ...
def addKeyframe(self, keyframe: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
def easing(self, /) -> PySide6.QtCore.QEasingCurve: ...
def endMode(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode: ...
def framePositions(self, /) -> typing.List[float]: ...
def keyframeList(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QTransform]: ...
def removeKeyframe(self, keyframe: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
def setEasing(self, easing: PySide6.QtCore.QEasingCurve | PySide6.QtCore.QEasingCurve.Type, /) -> None: ...
def setEndMode(self, mode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode, /) -> None: ...
def setFramePositions(self, positions: collections.abc.Sequence[float], /) -> None: ...
def setKeyframes(self, keyframes: collections.abc.Sequence[PySide6.Qt3DCore.Qt3DCore.QTransform], /) -> None: ...
def setStartMode(self, mode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode, /) -> None: ...
def setTarget(self, target: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
def setTargetName(self, name: str, /) -> None: ...
def startMode(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode: ...
def target(self, /) -> PySide6.Qt3DCore.Qt3DCore.QTransform: ...
def targetName(self, /) -> str: ...
class QLerpClipBlend(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
blendFactorChanged : typing.ClassVar[Signal] = ... # blendFactorChanged(float)
endClipChanged : typing.ClassVar[Signal] = ... # endClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
startClipChanged : typing.ClassVar[Signal] = ... # startClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, startClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., endClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., blendFactor: float | None = ...) -> None: ...
def blendFactor(self, /) -> float: ...
def endClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
def setBlendFactor(self, blendFactor: float, /) -> None: ...
def setEndClip(self, endClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
def setStartClip(self, startClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
def startClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
class QMorphTarget(PySide6.QtCore.QObject):
attributeNamesChanged : typing.ClassVar[Signal] = ... # attributeNamesChanged(QStringList)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, attributeNames: collections.abc.Sequence[str] | None = ...) -> None: ...
def addAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
def attributeList(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QAttribute]: ...
def attributeNames(self, /) -> typing.List[str]: ...
@staticmethod
def fromGeometry(geometry: PySide6.Qt3DCore.Qt3DCore.QGeometry, attributes: collections.abc.Sequence[str], /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget: ...
def removeAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
def setAttributes(self, attributes: collections.abc.Sequence[PySide6.Qt3DCore.Qt3DCore.QAttribute], /) -> None: ...
class QMorphingAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
easingChanged : typing.ClassVar[Signal] = ... # easingChanged(QEasingCurve)
interpolatorChanged : typing.ClassVar[Signal] = ... # interpolatorChanged(float)
methodChanged : typing.ClassVar[Signal] = ... # methodChanged(QMorphingAnimation::Method)
targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DRender::QGeometryRenderer*)
targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
targetPositionsChanged : typing.ClassVar[Signal] = ... # targetPositionsChanged(QList<float>)
class Method(enum.Enum):
Normalized = 0x0
Relative = 0x1
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, targetPositions: collections.abc.Sequence[float] | None = ..., interpolator: float | None = ..., target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer | None = ..., targetName: str | None = ..., method: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method | None = ..., easing: PySide6.QtCore.QEasingCurve | None = ...) -> None: ...
def addMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
def easing(self, /) -> PySide6.QtCore.QEasingCurve: ...
def getWeights(self, positionIndex: int, /) -> typing.List[float]: ...
def interpolator(self, /) -> float: ...
def method(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method: ...
def morphTargetList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget]: ...
def removeMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
def setEasing(self, easing: PySide6.QtCore.QEasingCurve | PySide6.QtCore.QEasingCurve.Type, /) -> None: ...
def setMethod(self, method: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method, /) -> None: ...
def setMorphTargets(self, targets: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget], /) -> None: ...
def setTarget(self, target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer, /) -> None: ...
def setTargetName(self, name: str, /) -> None: ...
def setTargetPositions(self, targetPositions: collections.abc.Sequence[float], /) -> None: ...
def setWeights(self, positionIndex: int, weights: collections.abc.Sequence[float], /) -> None: ...
def target(self, /) -> PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer: ...
def targetName(self, /) -> str: ...
def targetPositions(self, /) -> typing.List[float]: ...
class QSkeletonMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
skeletonChanged : typing.ClassVar[Signal] = ... # skeletonChanged(Qt3DCore::QAbstractSkeleton*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton | None = ...) -> None: ...
def setSkeleton(self, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton, /) -> None: ...
def skeleton(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton: ...
class QVertexBlendAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
interpolatorChanged : typing.ClassVar[Signal] = ... # interpolatorChanged(float)
targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DRender::QGeometryRenderer*)
targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
targetPositionsChanged : typing.ClassVar[Signal] = ... # targetPositionsChanged(QList<float>)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, targetPositions: collections.abc.Sequence[float] | None = ..., interpolator: float | None = ..., target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer | None = ..., targetName: str | None = ...) -> None: ...
def addMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
def interpolator(self, /) -> float: ...
def morphTargetList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget]: ...
def removeMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
def setMorphTargets(self, targets: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget], /) -> None: ...
def setTarget(self, target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer, /) -> None: ...
def setTargetName(self, name: str, /) -> None: ...
def setTargetPositions(self, targetPositions: collections.abc.Sequence[float], /) -> None: ...
def target(self, /) -> PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer: ...
def targetName(self, /) -> str: ...
def targetPositions(self, /) -> typing.List[float]: ...
# eof
-589
View File
@@ -1,589 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.Qt3DCore, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.Qt3DCore`
import PySide6.Qt3DCore
import PySide6.QtCore
import PySide6.QtGui
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class Qt3DCore(Shiboken.Object):
class QAbstractAspect(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def dependencies(self, /) -> typing.List[str]: ...
def registerBackendType(self, obj: PySide6.QtCore.QMetaObject, functor: PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapperPtr, /) -> None: ...
def rootEntityId(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
def scheduleSingleShotJob(self, job: PySide6.Qt3DCore.Qt3DCore.QAspectJobPtr, /) -> None: ...
def unregisterBackendType(self, arg__1: PySide6.QtCore.QMetaObject, /) -> None: ...
class QAbstractFunctor(Shiboken.Object):
def __init__(self, /) -> None: ...
def id(self, /) -> int: ...
class QAbstractSkeleton(PySide6.Qt3DCore.Qt3DCore.QNode):
jointCountChanged : typing.ClassVar[Signal] = ... # jointCountChanged(int)
def jointCount(self, /) -> int: ...
class QArmature(PySide6.Qt3DCore.Qt3DCore.QComponent):
skeletonChanged : typing.ClassVar[Signal] = ... # skeletonChanged(Qt3DCore::QAbstractSkeleton*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton | None = ...) -> None: ...
def setSkeleton(self, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton, /) -> None: ...
def skeleton(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton: ...
class QAspectEngine(PySide6.QtCore.QObject):
class RunMode(enum.Enum):
Manual = 0x0
Automatic = 0x1
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def aspect(self, name: str, /) -> PySide6.Qt3DCore.Qt3DCore.QAbstractAspect: ...
def aspects(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QAbstractAspect]: ...
def executeCommand(self, command: str, /) -> typing.Any: ...
def lookupNode(self, id: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> PySide6.Qt3DCore.Qt3DCore.QNode: ...
def lookupNodes(self, ids: collections.abc.Sequence[PySide6.Qt3DCore.Qt3DCore.QNodeId], /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QNode]: ...
def processFrame(self, /) -> None: ...
@typing.overload
def registerAspect(self, aspect: PySide6.Qt3DCore.Qt3DCore.QAbstractAspect, /) -> None: ...
@typing.overload
def registerAspect(self, name: str, /) -> None: ...
def rootEntity(self, /) -> PySide6.Qt3DCore.Qt3DCore.QEntityPtr: ...
def runMode(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAspectEngine.RunMode: ...
def setRootEntity(self, root: PySide6.Qt3DCore.Qt3DCore.QEntityPtr, /) -> None: ...
def setRunMode(self, mode: PySide6.Qt3DCore.Qt3DCore.QAspectEngine.RunMode, /) -> None: ...
@typing.overload
def unregisterAspect(self, aspect: PySide6.Qt3DCore.Qt3DCore.QAbstractAspect, /) -> None: ...
@typing.overload
def unregisterAspect(self, name: str, /) -> None: ...
class QAspectJob(Shiboken.Object):
def __init__(self, /) -> None: ...
def isRequired(self, /) -> bool: ...
def postFrame(self, aspectEngine: PySide6.Qt3DCore.Qt3DCore.QAspectEngine, /) -> None: ...
def run(self, /) -> None: ...
class QAspectJobPtr(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, pointee: PySide6.Qt3DCore.Qt3DCore.QAspectJob, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __dir__(self, /) -> collections.abc.Iterable[str]: ...
def __repr__(self, /) -> str: ...
def data(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAspectJob: ...
@typing.overload
def reset(self, /) -> None: ...
@typing.overload
def reset(self, t: PySide6.Qt3DCore.Qt3DCore.QAspectJob, /) -> None: ...
class QAttribute(PySide6.Qt3DCore.Qt3DCore.QNode):
attributeTypeChanged : typing.ClassVar[Signal] = ... # attributeTypeChanged(AttributeType)
bufferChanged : typing.ClassVar[Signal] = ... # bufferChanged(QBuffer*)
byteOffsetChanged : typing.ClassVar[Signal] = ... # byteOffsetChanged(uint)
byteStrideChanged : typing.ClassVar[Signal] = ... # byteStrideChanged(uint)
countChanged : typing.ClassVar[Signal] = ... # countChanged(uint)
dataSizeChanged : typing.ClassVar[Signal] = ... # dataSizeChanged(uint)
dataTypeChanged : typing.ClassVar[Signal] = ... # dataTypeChanged(VertexBaseType)
divisorChanged : typing.ClassVar[Signal] = ... # divisorChanged(uint)
nameChanged : typing.ClassVar[Signal] = ... # nameChanged(QString)
vertexBaseTypeChanged : typing.ClassVar[Signal] = ... # vertexBaseTypeChanged(VertexBaseType)
vertexSizeChanged : typing.ClassVar[Signal] = ... # vertexSizeChanged(uint)
class AttributeType(enum.Enum):
VertexAttribute = 0x0
IndexAttribute = 0x1
DrawIndirectAttribute = 0x2
class VertexBaseType(enum.Enum):
Byte = 0x0
UnsignedByte = 0x1
Short = 0x2
UnsignedShort = 0x3
Int = 0x4
UnsignedInt = 0x5
HalfFloat = 0x6
Float = 0x7
Double = 0x8
@typing.overload
def __init__(self, buf: PySide6.Qt3DCore.Qt3DCore.QBuffer, vertexBaseType: PySide6.Qt3DCore.Qt3DCore.QAttribute.VertexBaseType, vertexSize: int, count: int, /, offset: int | None = ..., stride: int | None = ..., parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, buffer: PySide6.Qt3DCore.Qt3DCore.QBuffer | None = ..., name: str | None = ..., byteStride: int | None = ..., byteOffset: int | None = ..., divisor: int | None = ..., attributeType: PySide6.Qt3DCore.Qt3DCore.QAttribute.AttributeType | None = ..., defaultPositionAttributeName: str | None = ..., defaultNormalAttributeName: str | None = ..., defaultColorAttributeName: str | None = ..., defaultTextureCoordinateAttributeName: str | None = ..., defaultTextureCoordinate1AttributeName: str | None = ..., defaultTextureCoordinate2AttributeName: str | None = ..., defaultTangentAttributeName: str | None = ..., defaultJointIndicesAttributeName: str | None = ..., defaultJointWeightsAttributeName: str | None = ...) -> None: ...
@typing.overload
def __init__(self, buf: PySide6.Qt3DCore.Qt3DCore.QBuffer, name: str, vertexBaseType: PySide6.Qt3DCore.Qt3DCore.QAttribute.VertexBaseType, vertexSize: int, count: int, /, offset: int | None = ..., stride: int | None = ..., parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, buffer: PySide6.Qt3DCore.Qt3DCore.QBuffer | None = ..., byteStride: int | None = ..., byteOffset: int | None = ..., divisor: int | None = ..., attributeType: PySide6.Qt3DCore.Qt3DCore.QAttribute.AttributeType | None = ..., defaultPositionAttributeName: str | None = ..., defaultNormalAttributeName: str | None = ..., defaultColorAttributeName: str | None = ..., defaultTextureCoordinateAttributeName: str | None = ..., defaultTextureCoordinate1AttributeName: str | None = ..., defaultTextureCoordinate2AttributeName: str | None = ..., defaultTangentAttributeName: str | None = ..., defaultJointIndicesAttributeName: str | None = ..., defaultJointWeightsAttributeName: str | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, buffer: PySide6.Qt3DCore.Qt3DCore.QBuffer | None = ..., name: str | None = ..., vertexBaseType: PySide6.Qt3DCore.Qt3DCore.QAttribute.VertexBaseType | None = ..., vertexSize: int | None = ..., count: int | None = ..., byteStride: int | None = ..., byteOffset: int | None = ..., divisor: int | None = ..., attributeType: PySide6.Qt3DCore.Qt3DCore.QAttribute.AttributeType | None = ..., defaultPositionAttributeName: str | None = ..., defaultNormalAttributeName: str | None = ..., defaultColorAttributeName: str | None = ..., defaultTextureCoordinateAttributeName: str | None = ..., defaultTextureCoordinate1AttributeName: str | None = ..., defaultTextureCoordinate2AttributeName: str | None = ..., defaultTangentAttributeName: str | None = ..., defaultJointIndicesAttributeName: str | None = ..., defaultJointWeightsAttributeName: str | None = ...) -> None: ...
def attributeType(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAttribute.AttributeType: ...
def buffer(self, /) -> PySide6.Qt3DCore.Qt3DCore.QBuffer: ...
def byteOffset(self, /) -> int: ...
def byteStride(self, /) -> int: ...
def count(self, /) -> int: ...
@staticmethod
def defaultColorAttributeName() -> str: ...
@staticmethod
def defaultJointIndicesAttributeName() -> str: ...
@staticmethod
def defaultJointWeightsAttributeName() -> str: ...
@staticmethod
def defaultNormalAttributeName() -> str: ...
@staticmethod
def defaultPositionAttributeName() -> str: ...
@staticmethod
def defaultTangentAttributeName() -> str: ...
@staticmethod
def defaultTextureCoordinate1AttributeName() -> str: ...
@staticmethod
def defaultTextureCoordinate2AttributeName() -> str: ...
@staticmethod
def defaultTextureCoordinateAttributeName() -> str: ...
def divisor(self, /) -> int: ...
def name(self, /) -> str: ...
def setAttributeType(self, attributeType: PySide6.Qt3DCore.Qt3DCore.QAttribute.AttributeType, /) -> None: ...
def setBuffer(self, buffer: PySide6.Qt3DCore.Qt3DCore.QBuffer, /) -> None: ...
def setByteOffset(self, byteOffset: int, /) -> None: ...
def setByteStride(self, byteStride: int, /) -> None: ...
def setCount(self, count: int, /) -> None: ...
def setDivisor(self, divisor: int, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setVertexBaseType(self, type: PySide6.Qt3DCore.Qt3DCore.QAttribute.VertexBaseType, /) -> None: ...
def setVertexSize(self, size: int, /) -> None: ...
def vertexBaseType(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAttribute.VertexBaseType: ...
def vertexSize(self, /) -> int: ...
class QBackendNode(Shiboken.Object):
class Mode(enum.Enum):
ReadOnly = 0x0
ReadWrite = 0x1
def __init__(self, /, mode: PySide6.Qt3DCore.Qt3DCore.QBackendNode.Mode = ...) -> None: ...
def isEnabled(self, /) -> bool: ...
def mode(self, /) -> PySide6.Qt3DCore.Qt3DCore.QBackendNode.Mode: ...
def peerId(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
def setEnabled(self, enabled: bool, /) -> None: ...
def syncFromFrontEnd(self, frontEnd: PySide6.Qt3DCore.Qt3DCore.QNode, firstTime: bool, /) -> None: ...
class QBackendNodeMapper(Shiboken.Object):
def __init__(self, /) -> None: ...
def create(self, id: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> PySide6.Qt3DCore.Qt3DCore.QBackendNode: ...
def destroy(self, id: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> None: ...
def get(self, id: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> PySide6.Qt3DCore.Qt3DCore.QBackendNode: ...
class QBackendNodeMapperPtr(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, pointee: PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapper, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __dir__(self, /) -> collections.abc.Iterable[str]: ...
def __repr__(self, /) -> str: ...
def data(self, /) -> PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapper: ...
@typing.overload
def reset(self, /) -> None: ...
@typing.overload
def reset(self, t: PySide6.Qt3DCore.Qt3DCore.QBackendNodeMapper, /) -> None: ...
class QBoundingVolume(PySide6.Qt3DCore.Qt3DCore.QComponent):
implicitMaxPointChanged : typing.ClassVar[Signal] = ... # implicitMaxPointChanged(QVector3D)
implicitMinPointChanged : typing.ClassVar[Signal] = ... # implicitMinPointChanged(QVector3D)
implicitPointsValidChanged: typing.ClassVar[Signal] = ... # implicitPointsValidChanged(bool)
maxPointChanged : typing.ClassVar[Signal] = ... # maxPointChanged(QVector3D)
minPointChanged : typing.ClassVar[Signal] = ... # minPointChanged(QVector3D)
viewChanged : typing.ClassVar[Signal] = ... # viewChanged(QGeometryView*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, view: PySide6.Qt3DCore.Qt3DCore.QGeometryView | None = ..., implicitMinPoint: PySide6.QtGui.QVector3D | None = ..., implicitMaxPoint: PySide6.QtGui.QVector3D | None = ..., implicitPointsValid: bool | None = ..., minPoint: PySide6.QtGui.QVector3D | None = ..., maxPoint: PySide6.QtGui.QVector3D | None = ...) -> None: ...
def areImplicitPointsValid(self, /) -> bool: ...
def implicitMaxPoint(self, /) -> PySide6.QtGui.QVector3D: ...
def implicitMinPoint(self, /) -> PySide6.QtGui.QVector3D: ...
def maxPoint(self, /) -> PySide6.QtGui.QVector3D: ...
def minPoint(self, /) -> PySide6.QtGui.QVector3D: ...
def setMaxPoint(self, maxPoint: PySide6.QtGui.QVector3D, /) -> None: ...
def setMinPoint(self, minPoint: PySide6.QtGui.QVector3D, /) -> None: ...
def setView(self, view: PySide6.Qt3DCore.Qt3DCore.QGeometryView, /) -> None: ...
def updateImplicitBounds(self, /) -> bool: ...
def view(self, /) -> PySide6.Qt3DCore.Qt3DCore.QGeometryView: ...
class QBuffer(PySide6.Qt3DCore.Qt3DCore.QNode):
accessTypeChanged : typing.ClassVar[Signal] = ... # accessTypeChanged(AccessType)
dataAvailable : typing.ClassVar[Signal] = ... # dataAvailable()
dataChanged : typing.ClassVar[Signal] = ... # dataChanged(QByteArray)
usageChanged : typing.ClassVar[Signal] = ... # usageChanged(UsageType)
class AccessType(enum.Enum):
Write = 0x1
Read = 0x2
ReadWrite = 0x3
class UsageType(enum.Enum):
StreamDraw = 0x88e0
StreamRead = 0x88e1
StreamCopy = 0x88e2
StaticDraw = 0x88e4
StaticRead = 0x88e5
StaticCopy = 0x88e6
DynamicDraw = 0x88e8
DynamicRead = 0x88e9
DynamicCopy = 0x88ea
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, usage: PySide6.Qt3DCore.Qt3DCore.QBuffer.UsageType | None = ..., accessType: PySide6.Qt3DCore.Qt3DCore.QBuffer.AccessType | None = ...) -> None: ...
def accessType(self, /) -> PySide6.Qt3DCore.Qt3DCore.QBuffer.AccessType: ...
def data(self, /) -> PySide6.QtCore.QByteArray: ...
def setAccessType(self, access: PySide6.Qt3DCore.Qt3DCore.QBuffer.AccessType, /) -> None: ...
def setData(self, bytes: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setUsage(self, usage: PySide6.Qt3DCore.Qt3DCore.QBuffer.UsageType, /) -> None: ...
def updateData(self, offset: int, bytes: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def usage(self, /) -> PySide6.Qt3DCore.Qt3DCore.QBuffer.UsageType: ...
class QComponent(PySide6.Qt3DCore.Qt3DCore.QNode):
addedToEntity : typing.ClassVar[Signal] = ... # addedToEntity(QEntity*)
removedFromEntity : typing.ClassVar[Signal] = ... # removedFromEntity(QEntity*)
shareableChanged : typing.ClassVar[Signal] = ... # shareableChanged(bool)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, isShareable: bool | None = ...) -> None: ...
def entities(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QEntity]: ...
def isShareable(self, /) -> bool: ...
def setShareable(self, isShareable: bool, /) -> None: ...
class QCoreAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def calculateBoundingVolumeJob(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAspectJobPtr: ...
class QCoreSettings(PySide6.Qt3DCore.Qt3DCore.QComponent):
boundingVolumesEnabledChanged: typing.ClassVar[Signal] = ... # boundingVolumesEnabledChanged(bool)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, boundingVolumesEnabled: bool | None = ...) -> None: ...
def boundingVolumesEnabled(self, /) -> bool: ...
def setBoundingVolumesEnabled(self, boundingVolumesEnabled: bool, /) -> None: ...
class QEntity(PySide6.Qt3DCore.Qt3DCore.QNode):
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
def addComponent(self, comp: PySide6.Qt3DCore.Qt3DCore.QComponent, /) -> None: ...
def components(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QComponent]: ...
def parentEntity(self, /) -> PySide6.Qt3DCore.Qt3DCore.QEntity: ...
def removeComponent(self, comp: PySide6.Qt3DCore.Qt3DCore.QComponent, /) -> None: ...
class QEntityPtr(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, pointee: PySide6.Qt3DCore.Qt3DCore.QEntity, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __dir__(self, /) -> collections.abc.Iterable[str]: ...
def __repr__(self, /) -> str: ...
def data(self, /) -> PySide6.Qt3DCore.Qt3DCore.QEntity: ...
@typing.overload
def reset(self, /) -> None: ...
@typing.overload
def reset(self, t: PySide6.Qt3DCore.Qt3DCore.QEntity, /) -> None: ...
class QGeometry(PySide6.Qt3DCore.Qt3DCore.QNode):
boundingVolumePositionAttributeChanged: typing.ClassVar[Signal] = ... # boundingVolumePositionAttributeChanged(QAttribute*)
maxExtentChanged : typing.ClassVar[Signal] = ... # maxExtentChanged(QVector3D)
minExtentChanged : typing.ClassVar[Signal] = ... # minExtentChanged(QVector3D)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, boundingVolumePositionAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute | None = ..., minExtent: PySide6.QtGui.QVector3D | None = ..., maxExtent: PySide6.QtGui.QVector3D | None = ...) -> None: ...
def addAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
def attributes(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QAttribute]: ...
def boundingVolumePositionAttribute(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAttribute: ...
def maxExtent(self, /) -> PySide6.QtGui.QVector3D: ...
def minExtent(self, /) -> PySide6.QtGui.QVector3D: ...
def removeAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
def setBoundingVolumePositionAttribute(self, boundingVolumePositionAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
class QGeometryView(PySide6.Qt3DCore.Qt3DCore.QNode):
firstInstanceChanged : typing.ClassVar[Signal] = ... # firstInstanceChanged(int)
firstVertexChanged : typing.ClassVar[Signal] = ... # firstVertexChanged(int)
geometryChanged : typing.ClassVar[Signal] = ... # geometryChanged(QGeometry*)
indexBufferByteOffsetChanged: typing.ClassVar[Signal] = ... # indexBufferByteOffsetChanged(int)
indexOffsetChanged : typing.ClassVar[Signal] = ... # indexOffsetChanged(int)
instanceCountChanged : typing.ClassVar[Signal] = ... # instanceCountChanged(int)
primitiveRestartEnabledChanged: typing.ClassVar[Signal] = ... # primitiveRestartEnabledChanged(bool)
primitiveTypeChanged : typing.ClassVar[Signal] = ... # primitiveTypeChanged(PrimitiveType)
restartIndexValueChanged : typing.ClassVar[Signal] = ... # restartIndexValueChanged(int)
vertexCountChanged : typing.ClassVar[Signal] = ... # vertexCountChanged(int)
verticesPerPatchChanged : typing.ClassVar[Signal] = ... # verticesPerPatchChanged(int)
class PrimitiveType(enum.Enum):
Points = 0x0
Lines = 0x1
LineLoop = 0x2
LineStrip = 0x3
Triangles = 0x4
TriangleStrip = 0x5
TriangleFan = 0x6
LinesAdjacency = 0xa
LineStripAdjacency = 0xb
TrianglesAdjacency = 0xc
TriangleStripAdjacency = 0xd
Patches = 0xe
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, instanceCount: int | None = ..., vertexCount: int | None = ..., indexOffset: int | None = ..., firstInstance: int | None = ..., firstVertex: int | None = ..., indexBufferByteOffset: int | None = ..., restartIndexValue: int | None = ..., verticesPerPatch: int | None = ..., primitiveRestartEnabled: bool | None = ..., geometry: PySide6.Qt3DCore.Qt3DCore.QGeometry | None = ..., primitiveType: PySide6.Qt3DCore.Qt3DCore.QGeometryView.PrimitiveType | None = ...) -> None: ...
def firstInstance(self, /) -> int: ...
def firstVertex(self, /) -> int: ...
def geometry(self, /) -> PySide6.Qt3DCore.Qt3DCore.QGeometry: ...
def indexBufferByteOffset(self, /) -> int: ...
def indexOffset(self, /) -> int: ...
def instanceCount(self, /) -> int: ...
def primitiveRestartEnabled(self, /) -> bool: ...
def primitiveType(self, /) -> PySide6.Qt3DCore.Qt3DCore.QGeometryView.PrimitiveType: ...
def restartIndexValue(self, /) -> int: ...
def setFirstInstance(self, firstInstance: int, /) -> None: ...
def setFirstVertex(self, firstVertex: int, /) -> None: ...
def setGeometry(self, geometry: PySide6.Qt3DCore.Qt3DCore.QGeometry, /) -> None: ...
def setIndexBufferByteOffset(self, offset: int, /) -> None: ...
def setIndexOffset(self, indexOffset: int, /) -> None: ...
def setInstanceCount(self, instanceCount: int, /) -> None: ...
def setPrimitiveRestartEnabled(self, enabled: bool, /) -> None: ...
def setPrimitiveType(self, primitiveType: PySide6.Qt3DCore.Qt3DCore.QGeometryView.PrimitiveType, /) -> None: ...
def setRestartIndexValue(self, index: int, /) -> None: ...
def setVertexCount(self, vertexCount: int, /) -> None: ...
def setVerticesPerPatch(self, verticesPerPatch: int, /) -> None: ...
def vertexCount(self, /) -> int: ...
def verticesPerPatch(self, /) -> int: ...
class QJoint(PySide6.Qt3DCore.Qt3DCore.QNode):
inverseBindMatrixChanged : typing.ClassVar[Signal] = ... # inverseBindMatrixChanged(QMatrix4x4)
nameChanged : typing.ClassVar[Signal] = ... # nameChanged(QString)
rotationChanged : typing.ClassVar[Signal] = ... # rotationChanged(QQuaternion)
rotationXChanged : typing.ClassVar[Signal] = ... # rotationXChanged(float)
rotationYChanged : typing.ClassVar[Signal] = ... # rotationYChanged(float)
rotationZChanged : typing.ClassVar[Signal] = ... # rotationZChanged(float)
scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(QVector3D)
translationChanged : typing.ClassVar[Signal] = ... # translationChanged(QVector3D)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, scale: PySide6.QtGui.QVector3D | None = ..., rotation: PySide6.QtGui.QQuaternion | None = ..., translation: PySide6.QtGui.QVector3D | None = ..., inverseBindMatrix: PySide6.QtGui.QMatrix4x4 | None = ..., rotationX: float | None = ..., rotationY: float | None = ..., rotationZ: float | None = ..., name: str | None = ...) -> None: ...
def addChildJoint(self, joint: PySide6.Qt3DCore.Qt3DCore.QJoint, /) -> None: ...
def childJoints(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QJoint]: ...
def inverseBindMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
def name(self, /) -> str: ...
def removeChildJoint(self, joint: PySide6.Qt3DCore.Qt3DCore.QJoint, /) -> None: ...
def rotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def rotationX(self, /) -> float: ...
def rotationY(self, /) -> float: ...
def rotationZ(self, /) -> float: ...
def scale(self, /) -> PySide6.QtGui.QVector3D: ...
def setInverseBindMatrix(self, inverseBindMatrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setRotation(self, rotation: PySide6.QtGui.QQuaternion, /) -> None: ...
def setRotationX(self, rotationX: float, /) -> None: ...
def setRotationY(self, rotationY: float, /) -> None: ...
def setRotationZ(self, rotationZ: float, /) -> None: ...
def setScale(self, scale: PySide6.QtGui.QVector3D, /) -> None: ...
def setToIdentity(self, /) -> None: ...
def setTranslation(self, translation: PySide6.QtGui.QVector3D, /) -> None: ...
def translation(self, /) -> PySide6.QtGui.QVector3D: ...
class QNode(PySide6.QtCore.QObject):
enabledChanged : typing.ClassVar[Signal] = ... # enabledChanged(bool)
nodeDestroyed : typing.ClassVar[Signal] = ... # nodeDestroyed()
parentChanged : typing.ClassVar[Signal] = ... # parentChanged(QObject*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, enabled: bool | None = ...) -> None: ...
def blockNotifications(self, block: bool, /) -> bool: ...
def childNodes(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QNode]: ...
def id(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
def isEnabled(self, /) -> bool: ...
def notificationsBlocked(self, /) -> bool: ...
def parentNode(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNode: ...
def setEnabled(self, isEnabled: bool, /) -> None: ...
def setParent(self, parent: PySide6.Qt3DCore.Qt3DCore.QNode, /) -> None: ...
class QNodeId(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QNodeId: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> bool: ...
def __gt__(self, other: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> bool: ...
def __lt__(self, other: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> bool: ...
def __ne__(self, other: PySide6.Qt3DCore.Qt3DCore.QNodeId, /) -> bool: ...
def __repr__(self, /) -> str: ...
@staticmethod
def createId() -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
def id(self, /) -> int: ...
def isNull(self, /) -> bool: ...
class QNodeIdTypePair(Shiboken.Object):
id = ... # type: PySide6.Qt3DCore.Qt3DCore.QNodeId
type = ... # type: PySide6.QtCore.QMetaObject
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, _id: PySide6.Qt3DCore.Qt3DCore.QNodeId, _type: PySide6.QtCore.QMetaObject, /) -> None: ...
@typing.overload
def __init__(self, QNodeIdTypePair: PySide6.Qt3DCore.Qt3DCore.QNodeIdTypePair, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class QSkeleton(PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton):
rootJointChanged : typing.ClassVar[Signal] = ... # rootJointChanged(Qt3DCore::QJoint*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, rootJoint: PySide6.Qt3DCore.Qt3DCore.QJoint | None = ...) -> None: ...
def rootJoint(self, /) -> PySide6.Qt3DCore.Qt3DCore.QJoint: ...
def setRootJoint(self, rootJoint: PySide6.Qt3DCore.Qt3DCore.QJoint, /) -> None: ...
class QSkeletonLoader(PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton):
createJointsEnabledChanged: typing.ClassVar[Signal] = ... # createJointsEnabledChanged(bool)
rootJointChanged : typing.ClassVar[Signal] = ... # rootJointChanged(Qt3DCore::QJoint*)
sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged(QUrl)
statusChanged : typing.ClassVar[Signal] = ... # statusChanged(Status)
class Status(enum.Enum):
NotReady = 0x0
Ready = 0x1
Error = 0x2
@typing.overload
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, source: PySide6.QtCore.QUrl | None = ..., status: PySide6.Qt3DCore.Qt3DCore.QSkeletonLoader.Status | None = ..., createJointsEnabled: bool | None = ..., rootJoint: PySide6.Qt3DCore.Qt3DCore.QJoint | None = ...) -> None: ...
@typing.overload
def __init__(self, source: PySide6.QtCore.QUrl | str, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, status: PySide6.Qt3DCore.Qt3DCore.QSkeletonLoader.Status | None = ..., createJointsEnabled: bool | None = ..., rootJoint: PySide6.Qt3DCore.Qt3DCore.QJoint | None = ...) -> None: ...
def isCreateJointsEnabled(self, /) -> bool: ...
def rootJoint(self, /) -> PySide6.Qt3DCore.Qt3DCore.QJoint: ...
def setCreateJointsEnabled(self, enabled: bool, /) -> None: ...
def setSource(self, source: PySide6.QtCore.QUrl | str, /) -> None: ...
def source(self, /) -> PySide6.QtCore.QUrl: ...
def status(self, /) -> PySide6.Qt3DCore.Qt3DCore.QSkeletonLoader.Status: ...
class QTransform(PySide6.Qt3DCore.Qt3DCore.QComponent):
matrixChanged : typing.ClassVar[Signal] = ... # matrixChanged()
rotationChanged : typing.ClassVar[Signal] = ... # rotationChanged(QQuaternion)
rotationXChanged : typing.ClassVar[Signal] = ... # rotationXChanged(float)
rotationYChanged : typing.ClassVar[Signal] = ... # rotationYChanged(float)
rotationZChanged : typing.ClassVar[Signal] = ... # rotationZChanged(float)
scale3DChanged : typing.ClassVar[Signal] = ... # scale3DChanged(QVector3D)
scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(float)
translationChanged : typing.ClassVar[Signal] = ... # translationChanged(QVector3D)
worldMatrixChanged : typing.ClassVar[Signal] = ... # worldMatrixChanged(QMatrix4x4)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, matrix: PySide6.QtGui.QMatrix4x4 | None = ..., scale: float | None = ..., scale3D: PySide6.QtGui.QVector3D | None = ..., rotation: PySide6.QtGui.QQuaternion | None = ..., translation: PySide6.QtGui.QVector3D | None = ..., rotationX: float | None = ..., rotationY: float | None = ..., rotationZ: float | None = ..., worldMatrix: PySide6.QtGui.QMatrix4x4 | None = ...) -> None: ...
@staticmethod
def fromAxes(xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromAxesAndAngles(axis1: PySide6.QtGui.QVector3D, angle1: float, axis2: PySide6.QtGui.QVector3D, angle2: float, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromAxesAndAngles(axis1: PySide6.QtGui.QVector3D, angle1: float, axis2: PySide6.QtGui.QVector3D, angle2: float, axis3: PySide6.QtGui.QVector3D, angle3: float, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromAxisAndAngle(axis: PySide6.QtGui.QVector3D, angle: float, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromAxisAndAngle(x: float, y: float, z: float, angle: float, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromEulerAngles(eulerAngles: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
@typing.overload
@staticmethod
def fromEulerAngles(pitch: float, yaw: float, roll: float, /) -> PySide6.QtGui.QQuaternion: ...
def matrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
@staticmethod
def rotateAround(point: PySide6.QtGui.QVector3D, angle: float, axis: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QMatrix4x4: ...
@staticmethod
def rotateFromAxes(xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QMatrix4x4: ...
def rotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def rotationX(self, /) -> float: ...
def rotationY(self, /) -> float: ...
def rotationZ(self, /) -> float: ...
def scale(self, /) -> float: ...
def scale3D(self, /) -> PySide6.QtGui.QVector3D: ...
def setMatrix(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
def setRotation(self, rotation: PySide6.QtGui.QQuaternion, /) -> None: ...
def setRotationX(self, rotationX: float, /) -> None: ...
def setRotationY(self, rotationY: float, /) -> None: ...
def setRotationZ(self, rotationZ: float, /) -> None: ...
def setScale(self, scale: float, /) -> None: ...
def setScale3D(self, scale: PySide6.QtGui.QVector3D, /) -> None: ...
def setTranslation(self, translation: PySide6.QtGui.QVector3D, /) -> None: ...
def translation(self, /) -> PySide6.QtGui.QVector3D: ...
def worldMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
@staticmethod
def qHash(id: PySide6.Qt3DCore.Qt3DCore.QNodeId, /, seed: int | None = ...) -> int: ...
@staticmethod
def qIdForNode(node: PySide6.Qt3DCore.Qt3DCore.QNode, /) -> PySide6.Qt3DCore.Qt3DCore.QNodeId: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,400 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.Qt3DInput, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.Qt3DInput`
import PySide6.Qt3DInput
import PySide6.QtCore
import PySide6.QtGui
import PySide6.Qt3DCore
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class Qt3DInput(Shiboken.Object):
class QAbstractActionInput(PySide6.Qt3DCore.Qt3DCore.QNode): ...
class QAbstractAxisInput(PySide6.Qt3DCore.Qt3DCore.QNode):
sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QAbstractPhysicalDevice*)
def setSourceDevice(self, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice, /) -> None: ...
def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
class QAbstractPhysicalDevice(PySide6.Qt3DCore.Qt3DCore.QNode):
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
def addAxisSetting(self, axisSetting: PySide6.Qt3DInput.Qt3DInput.QAxisSetting, /) -> None: ...
def axisCount(self, /) -> int: ...
def axisIdentifier(self, name: str, /) -> int: ...
def axisNames(self, /) -> typing.List[str]: ...
def axisSettings(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAxisSetting]: ...
def buttonCount(self, /) -> int: ...
def buttonIdentifier(self, name: str, /) -> int: ...
def buttonNames(self, /) -> typing.List[str]: ...
def removeAxisSetting(self, axisSetting: PySide6.Qt3DInput.Qt3DInput.QAxisSetting, /) -> None: ...
class QAction(PySide6.Qt3DCore.Qt3DCore.QNode):
activeChanged : typing.ClassVar[Signal] = ... # activeChanged(bool)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, active: bool | None = ...) -> None: ...
def addInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
def inputs(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
def isActive(self, /) -> bool: ...
def removeInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
class QActionInput(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
buttonsChanged : typing.ClassVar[Signal] = ... # buttonsChanged(QList<int>)
sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QAbstractPhysicalDevice*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice | None = ..., buttons: collections.abc.Sequence[int] | None = ...) -> None: ...
def buttons(self, /) -> typing.List[int]: ...
def setButtons(self, buttons: collections.abc.Sequence[int], /) -> None: ...
def setSourceDevice(self, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice, /) -> None: ...
def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
class QAnalogAxisInput(PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput):
axisChanged : typing.ClassVar[Signal] = ... # axisChanged(int)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, axis: int | None = ...) -> None: ...
def axis(self, /) -> int: ...
def setAxis(self, axis: int, /) -> None: ...
class QAxis(PySide6.Qt3DCore.Qt3DCore.QNode):
valueChanged : typing.ClassVar[Signal] = ... # valueChanged(float)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, value: float | None = ...) -> None: ...
def addInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput, /) -> None: ...
def inputs(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput]: ...
def removeInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput, /) -> None: ...
def value(self, /) -> float: ...
class QAxisAccumulator(PySide6.Qt3DCore.Qt3DCore.QComponent):
scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(float)
sourceAxisChanged : typing.ClassVar[Signal] = ... # sourceAxisChanged(Qt3DInput::QAxis*)
sourceAxisTypeChanged : typing.ClassVar[Signal] = ... # sourceAxisTypeChanged(QAxisAccumulator::SourceAxisType)
valueChanged : typing.ClassVar[Signal] = ... # valueChanged(float)
velocityChanged : typing.ClassVar[Signal] = ... # velocityChanged(float)
class SourceAxisType(enum.Enum):
Velocity = 0x0
Acceleration = 0x1
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceAxis: PySide6.Qt3DInput.Qt3DInput.QAxis | None = ..., sourceAxisType: PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType | None = ..., scale: float | None = ..., value: float | None = ..., velocity: float | None = ...) -> None: ...
def scale(self, /) -> float: ...
def setScale(self, scale: float, /) -> None: ...
def setSourceAxis(self, sourceAxis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
def setSourceAxisType(self, sourceAxisType: PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType, /) -> None: ...
def sourceAxis(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAxis: ...
def sourceAxisType(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType: ...
def value(self, /) -> float: ...
def velocity(self, /) -> float: ...
class QAxisSetting(PySide6.Qt3DCore.Qt3DCore.QNode):
axesChanged : typing.ClassVar[Signal] = ... # axesChanged(QList<int>)
deadZoneRadiusChanged : typing.ClassVar[Signal] = ... # deadZoneRadiusChanged(float)
smoothChanged : typing.ClassVar[Signal] = ... # smoothChanged(bool)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, deadZoneRadius: float | None = ..., axes: collections.abc.Sequence[int] | None = ..., smooth: bool | None = ...) -> None: ...
def axes(self, /) -> typing.List[int]: ...
def deadZoneRadius(self, /) -> float: ...
def isSmoothEnabled(self, /) -> bool: ...
def setAxes(self, axes: collections.abc.Sequence[int], /) -> None: ...
def setDeadZoneRadius(self, deadZoneRadius: float, /) -> None: ...
def setSmoothEnabled(self, enabled: bool, /) -> None: ...
class QButtonAxisInput(PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput):
accelerationChanged : typing.ClassVar[Signal] = ... # accelerationChanged(float)
buttonsChanged : typing.ClassVar[Signal] = ... # buttonsChanged(QList<int>)
decelerationChanged : typing.ClassVar[Signal] = ... # decelerationChanged(float)
scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(float)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, scale: float | None = ..., buttons: collections.abc.Sequence[int] | None = ..., acceleration: float | None = ..., deceleration: float | None = ...) -> None: ...
def acceleration(self, /) -> float: ...
def buttons(self, /) -> typing.List[int]: ...
def deceleration(self, /) -> float: ...
def scale(self, /) -> float: ...
def setAcceleration(self, acceleration: float, /) -> None: ...
def setButtons(self, buttons: collections.abc.Sequence[int], /) -> None: ...
def setDeceleration(self, deceleration: float, /) -> None: ...
def setScale(self, scale: float, /) -> None: ...
class QInputAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def availablePhysicalDevices(self, /) -> typing.List[str]: ...
def createPhysicalDevice(self, name: str, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
class QInputChord(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
timeoutChanged : typing.ClassVar[Signal] = ... # timeoutChanged(int)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, timeout: int | None = ...) -> None: ...
def addChord(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
def chords(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
def removeChord(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
def setTimeout(self, timeout: int, /) -> None: ...
def timeout(self, /) -> int: ...
class QInputSequence(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
buttonIntervalChanged : typing.ClassVar[Signal] = ... # buttonIntervalChanged(int)
timeoutChanged : typing.ClassVar[Signal] = ... # timeoutChanged(int)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, timeout: int | None = ..., buttonInterval: int | None = ...) -> None: ...
def addSequence(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
def buttonInterval(self, /) -> int: ...
def removeSequence(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
def sequences(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
def setButtonInterval(self, buttonInterval: int, /) -> None: ...
def setTimeout(self, timeout: int, /) -> None: ...
def timeout(self, /) -> int: ...
class QInputSettings(PySide6.Qt3DCore.Qt3DCore.QComponent):
eventSourceChanged : typing.ClassVar[Signal] = ... # eventSourceChanged(QObject*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, eventSource: PySide6.QtCore.QObject | None = ...) -> None: ...
def eventSource(self, /) -> PySide6.QtCore.QObject: ...
def setEventSource(self, eventSource: PySide6.QtCore.QObject, /) -> None: ...
class QKeyEvent(PySide6.QtCore.QObject):
@typing.overload
def __init__(self, ke: PySide6.QtGui.QKeyEvent, /, *, key: int | None = ..., text: str | None = ..., modifiers: int | None = ..., isAutoRepeat: bool | None = ..., count: int | None = ..., nativeScanCode: int | None = ..., accepted: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, type: PySide6.QtCore.QEvent.Type, key: int, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, text: str = ..., autorep: bool = ..., count: int = ..., *, isAutoRepeat: bool | None = ..., nativeScanCode: int | None = ..., accepted: bool | None = ...) -> None: ...
def count(self, /) -> int: ...
def isAccepted(self, /) -> bool: ...
def isAutoRepeat(self, /) -> bool: ...
def key(self, /) -> int: ...
def matches(self, key_: PySide6.QtGui.QKeySequence.StandardKey, /) -> bool: ...
def modifiers(self, /) -> int: ...
def nativeScanCode(self, /) -> int: ...
def setAccepted(self, accepted: bool, /) -> None: ...
def text(self, /) -> str: ...
def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
class QKeyboardDevice(PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice):
activeInputChanged : typing.ClassVar[Signal] = ... # activeInputChanged(QKeyboardHandler*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, activeInput: PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler | None = ...) -> None: ...
def activeInput(self, /) -> PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler: ...
def axisCount(self, /) -> int: ...
def axisIdentifier(self, name: str, /) -> int: ...
def axisNames(self, /) -> typing.List[str]: ...
def buttonCount(self, /) -> int: ...
def buttonIdentifier(self, name: str, /) -> int: ...
def buttonNames(self, /) -> typing.List[str]: ...
class QKeyboardHandler(PySide6.Qt3DCore.Qt3DCore.QComponent):
asteriskPressed : typing.ClassVar[Signal] = ... # asteriskPressed(Qt3DInput::QKeyEvent*)
backPressed : typing.ClassVar[Signal] = ... # backPressed(Qt3DInput::QKeyEvent*)
backtabPressed : typing.ClassVar[Signal] = ... # backtabPressed(Qt3DInput::QKeyEvent*)
callPressed : typing.ClassVar[Signal] = ... # callPressed(Qt3DInput::QKeyEvent*)
cancelPressed : typing.ClassVar[Signal] = ... # cancelPressed(Qt3DInput::QKeyEvent*)
context1Pressed : typing.ClassVar[Signal] = ... # context1Pressed(Qt3DInput::QKeyEvent*)
context2Pressed : typing.ClassVar[Signal] = ... # context2Pressed(Qt3DInput::QKeyEvent*)
context3Pressed : typing.ClassVar[Signal] = ... # context3Pressed(Qt3DInput::QKeyEvent*)
context4Pressed : typing.ClassVar[Signal] = ... # context4Pressed(Qt3DInput::QKeyEvent*)
deletePressed : typing.ClassVar[Signal] = ... # deletePressed(Qt3DInput::QKeyEvent*)
digit0Pressed : typing.ClassVar[Signal] = ... # digit0Pressed(Qt3DInput::QKeyEvent*)
digit1Pressed : typing.ClassVar[Signal] = ... # digit1Pressed(Qt3DInput::QKeyEvent*)
digit2Pressed : typing.ClassVar[Signal] = ... # digit2Pressed(Qt3DInput::QKeyEvent*)
digit3Pressed : typing.ClassVar[Signal] = ... # digit3Pressed(Qt3DInput::QKeyEvent*)
digit4Pressed : typing.ClassVar[Signal] = ... # digit4Pressed(Qt3DInput::QKeyEvent*)
digit5Pressed : typing.ClassVar[Signal] = ... # digit5Pressed(Qt3DInput::QKeyEvent*)
digit6Pressed : typing.ClassVar[Signal] = ... # digit6Pressed(Qt3DInput::QKeyEvent*)
digit7Pressed : typing.ClassVar[Signal] = ... # digit7Pressed(Qt3DInput::QKeyEvent*)
digit8Pressed : typing.ClassVar[Signal] = ... # digit8Pressed(Qt3DInput::QKeyEvent*)
digit9Pressed : typing.ClassVar[Signal] = ... # digit9Pressed(Qt3DInput::QKeyEvent*)
downPressed : typing.ClassVar[Signal] = ... # downPressed(Qt3DInput::QKeyEvent*)
enterPressed : typing.ClassVar[Signal] = ... # enterPressed(Qt3DInput::QKeyEvent*)
escapePressed : typing.ClassVar[Signal] = ... # escapePressed(Qt3DInput::QKeyEvent*)
flipPressed : typing.ClassVar[Signal] = ... # flipPressed(Qt3DInput::QKeyEvent*)
focusChanged : typing.ClassVar[Signal] = ... # focusChanged(bool)
hangupPressed : typing.ClassVar[Signal] = ... # hangupPressed(Qt3DInput::QKeyEvent*)
leftPressed : typing.ClassVar[Signal] = ... # leftPressed(Qt3DInput::QKeyEvent*)
menuPressed : typing.ClassVar[Signal] = ... # menuPressed(Qt3DInput::QKeyEvent*)
noPressed : typing.ClassVar[Signal] = ... # noPressed(Qt3DInput::QKeyEvent*)
numberSignPressed : typing.ClassVar[Signal] = ... # numberSignPressed(Qt3DInput::QKeyEvent*)
pressed : typing.ClassVar[Signal] = ... # pressed(Qt3DInput::QKeyEvent*)
released : typing.ClassVar[Signal] = ... # released(Qt3DInput::QKeyEvent*)
returnPressed : typing.ClassVar[Signal] = ... # returnPressed(Qt3DInput::QKeyEvent*)
rightPressed : typing.ClassVar[Signal] = ... # rightPressed(Qt3DInput::QKeyEvent*)
selectPressed : typing.ClassVar[Signal] = ... # selectPressed(Qt3DInput::QKeyEvent*)
sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QKeyboardDevice*)
spacePressed : typing.ClassVar[Signal] = ... # spacePressed(Qt3DInput::QKeyEvent*)
tabPressed : typing.ClassVar[Signal] = ... # tabPressed(Qt3DInput::QKeyEvent*)
upPressed : typing.ClassVar[Signal] = ... # upPressed(Qt3DInput::QKeyEvent*)
volumeDownPressed : typing.ClassVar[Signal] = ... # volumeDownPressed(Qt3DInput::QKeyEvent*)
volumeUpPressed : typing.ClassVar[Signal] = ... # volumeUpPressed(Qt3DInput::QKeyEvent*)
yesPressed : typing.ClassVar[Signal] = ... # yesPressed(Qt3DInput::QKeyEvent*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice | None = ..., focus: bool | None = ...) -> None: ...
def focus(self, /) -> bool: ...
def setFocus(self, focus: bool, /) -> None: ...
def setSourceDevice(self, keyboardDevice: PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice, /) -> None: ...
def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice: ...
class QLogicalDevice(PySide6.Qt3DCore.Qt3DCore.QComponent):
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
def actions(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAction]: ...
def addAction(self, action: PySide6.Qt3DInput.Qt3DInput.QAction, /) -> None: ...
def addAxis(self, axis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
def axes(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAxis]: ...
def removeAction(self, action: PySide6.Qt3DInput.Qt3DInput.QAction, /) -> None: ...
def removeAxis(self, axis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
class QMouseDevice(PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice):
sensitivityChanged : typing.ClassVar[Signal] = ... # sensitivityChanged(float)
updateAxesContinuouslyChanged: typing.ClassVar[Signal] = ... # updateAxesContinuouslyChanged(bool)
class Axis(enum.Enum):
X = 0x0
Y = 0x1
WheelX = 0x2
WheelY = 0x3
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sensitivity: float | None = ..., updateAxesContinuously: bool | None = ...) -> None: ...
def axisCount(self, /) -> int: ...
def axisIdentifier(self, name: str, /) -> int: ...
def axisNames(self, /) -> typing.List[str]: ...
def buttonCount(self, /) -> int: ...
def buttonIdentifier(self, name: str, /) -> int: ...
def buttonNames(self, /) -> typing.List[str]: ...
def sensitivity(self, /) -> float: ...
def setSensitivity(self, value: float, /) -> None: ...
def setUpdateAxesContinuously(self, updateAxesContinuously: bool, /) -> None: ...
def updateAxesContinuously(self, /) -> bool: ...
class QMouseEvent(PySide6.QtCore.QObject):
class Buttons(enum.Enum):
NoButton = 0x0
LeftButton = 0x1
RightButton = 0x2
MiddleButton = 0x4
BackButton = 0x8
class Modifiers(enum.Enum):
NoModifier = 0x0
ShiftModifier = 0x2000000
ControlModifier = 0x4000000
AltModifier = 0x8000000
MetaModifier = 0x10000000
KeypadModifier = 0x20000000
def __init__(self, e: PySide6.QtGui.QMouseEvent, /, *, x: int | None = ..., y: int | None = ..., wasHeld: bool | None = ..., button: PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Buttons | None = ..., buttons: int | None = ..., modifiers: PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Modifiers | None = ..., accepted: bool | None = ...) -> None: ...
def button(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Buttons: ...
def buttons(self, /) -> int: ...
def isAccepted(self, /) -> bool: ...
def modifiers(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Modifiers: ...
def setAccepted(self, accepted: bool, /) -> None: ...
def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
def wasHeld(self, /) -> bool: ...
def x(self, /) -> int: ...
def y(self, /) -> int: ...
class QMouseHandler(PySide6.Qt3DCore.Qt3DCore.QComponent):
clicked : typing.ClassVar[Signal] = ... # clicked(Qt3DInput::QMouseEvent*)
containsMouseChanged : typing.ClassVar[Signal] = ... # containsMouseChanged(bool)
doubleClicked : typing.ClassVar[Signal] = ... # doubleClicked(Qt3DInput::QMouseEvent*)
entered : typing.ClassVar[Signal] = ... # entered()
exited : typing.ClassVar[Signal] = ... # exited()
positionChanged : typing.ClassVar[Signal] = ... # positionChanged(Qt3DInput::QMouseEvent*)
pressAndHold : typing.ClassVar[Signal] = ... # pressAndHold(Qt3DInput::QMouseEvent*)
pressed : typing.ClassVar[Signal] = ... # pressed(Qt3DInput::QMouseEvent*)
released : typing.ClassVar[Signal] = ... # released(Qt3DInput::QMouseEvent*)
sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QMouseDevice*)
wheel : typing.ClassVar[Signal] = ... # wheel(Qt3DInput::QWheelEvent*)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QMouseDevice | None = ..., containsMouse: bool | None = ...) -> None: ...
def containsMouse(self, /) -> bool: ...
def setContainsMouse(self, contains: bool, /) -> None: ...
def setSourceDevice(self, mouseDevice: PySide6.Qt3DInput.Qt3DInput.QMouseDevice, /) -> None: ...
def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseDevice: ...
class QWheelEvent(PySide6.QtCore.QObject):
class Buttons(enum.Enum):
NoButton = 0x0
LeftButton = 0x1
RightButton = 0x2
MiddleButton = 0x4
BackButton = 0x8
class Modifiers(enum.Enum):
NoModifier = 0x0
ShiftModifier = 0x2000000
ControlModifier = 0x4000000
AltModifier = 0x8000000
MetaModifier = 0x10000000
KeypadModifier = 0x20000000
def __init__(self, e: PySide6.QtGui.QWheelEvent, /, *, x: int | None = ..., y: int | None = ..., angleDelta: PySide6.QtCore.QPoint | None = ..., buttons: int | None = ..., modifiers: PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers | None = ..., accepted: bool | None = ...) -> None: ...
def angleDelta(self, /) -> PySide6.QtCore.QPoint: ...
def buttons(self, /) -> int: ...
def isAccepted(self, /) -> bool: ...
def modifiers(self, /) -> PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers: ...
def setAccepted(self, accepted: bool, /) -> None: ...
def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
def x(self, /) -> int: ...
def y(self, /) -> int: ...
# eof
@@ -1,37 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.Qt3DLogic, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.Qt3DLogic`
import PySide6.Qt3DLogic
import PySide6.QtCore
import PySide6.Qt3DCore
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class Qt3DLogic(Shiboken.Object):
class QFrameAction(PySide6.Qt3DCore.Qt3DCore.QComponent):
triggered : typing.ClassVar[Signal] = ... # triggered(float)
def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
class QLogicAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,220 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtAxContainer, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtAxContainer`
import PySide6.QtAxContainer
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAxBase(Shiboken.Object):
def __init__(self, /) -> None: ...
def __lshift__(self, s: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, s: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
@staticmethod
def argumentsToList(var1: typing.Any, var2: typing.Any, var3: typing.Any, var4: typing.Any, var5: typing.Any, var6: typing.Any, var7: typing.Any, var8: typing.Any, /) -> typing.List[typing.Any]: ...
def asVariant(self, /) -> typing.Any: ...
def axBaseMetaObject(self, /) -> PySide6.QtCore.QMetaObject: ...
def classContext(self, /) -> int: ...
def className(self, /) -> bytes | bytearray | memoryview: ...
def clear(self, /) -> None: ...
def control(self, /) -> str: ...
def disableClassInfo(self, /) -> None: ...
def disableEventSink(self, /) -> None: ...
def disableMetaObject(self, /) -> None: ...
@typing.overload
def dynamicCall(self, name: bytes | bytearray | memoryview, vars: collections.abc.Sequence[typing.Any], /) -> typing.Any: ...
@typing.overload
def dynamicCall(self, name: bytes | bytearray | memoryview, /, v1: typing.Any = ..., v2: typing.Any = ..., v3: typing.Any = ..., v4: typing.Any = ..., v5: typing.Any = ..., v6: typing.Any = ..., v7: typing.Any = ..., v8: typing.Any = ...) -> typing.Any: ...
def generateDocumentation(self, /) -> str: ...
def indexOfVerb(self, verb: str, /) -> int: ...
def initializeFrom(self, that: PySide6.QtAxContainer.QAxBase, /) -> None: ...
def internalRelease(self, /) -> None: ...
def isNull(self, /) -> bool: ...
def propertyBag(self, /) -> typing.Dict[str, typing.Any]: ...
def propertyWritable(self, arg__1: bytes | bytearray | memoryview, /) -> bool: ...
def qObject(self, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def querySubObject(self, name: bytes | bytearray | memoryview, vars: collections.abc.Sequence[typing.Any], /) -> PySide6.QtAxContainer.QAxObject: ...
@typing.overload
def querySubObject(self, name: bytes | bytearray | memoryview, /, v1: typing.Any = ..., v2: typing.Any = ..., v3: typing.Any = ..., v4: typing.Any = ..., v5: typing.Any = ..., v6: typing.Any = ..., v7: typing.Any = ..., v8: typing.Any = ...) -> PySide6.QtAxContainer.QAxObject: ...
def setClassContext(self, classContext: int, /) -> None: ...
def setControl(self, arg__1: str, /) -> bool: ...
def setPropertyBag(self, arg__1: typing.Dict[str, typing.Any], /) -> None: ...
def setPropertyWritable(self, arg__1: bytes | bytearray | memoryview, arg__2: bool, /) -> None: ...
def verbs(self, /) -> typing.List[str]: ...
class QAxBaseObject(PySide6.QtCore.QObject, PySide6.QtAxContainer.QAxObjectInterface):
exception : typing.ClassVar[Signal] = ... # exception(int,QString,QString,QString)
propertyChanged : typing.ClassVar[Signal] = ... # propertyChanged(QString)
signal : typing.ClassVar[Signal] = ... # signal(QString,int,void*)
class QAxBaseWidget(PySide6.QtWidgets.QWidget, PySide6.QtAxContainer.QAxObjectInterface):
exception : typing.ClassVar[Signal] = ... # exception(int,QString,QString,QString)
propertyChanged : typing.ClassVar[Signal] = ... # propertyChanged(QString)
signal : typing.ClassVar[Signal] = ... # signal(QString,int,void*)
class QAxObject(PySide6.QtAxContainer.QAxBaseObject, PySide6.QtAxContainer.QAxBase):
@typing.overload
def __init__(self, c: str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def classContext(self, /) -> int: ...
def clear(self, /) -> None: ...
def control(self, /) -> str: ...
def doVerb(self, verb: str, /) -> bool: ...
def resetControl(self, /) -> None: ...
def setClassContext(self, classContext: int, /) -> None: ...
def setControl(self, c: str, /) -> bool: ...
class QAxObjectInterface(Shiboken.Object):
def __init__(self, /) -> None: ...
def classContext(self, /) -> int: ...
def control(self, /) -> str: ...
def resetControl(self, /) -> None: ...
def setClassContext(self, classContext: int, /) -> None: ...
def setControl(self, c: str, /) -> bool: ...
class QAxScript(PySide6.QtCore.QObject):
entered : typing.ClassVar[Signal] = ... # entered()
error : typing.ClassVar[Signal] = ... # error(int,QString,int,QString)
finished : typing.ClassVar[Signal] = ... # finished(); finished(QVariant); finished(int,QString,QString,QString)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(int)
class FunctionFlags(enum.Enum):
FunctionNames = 0x0
FunctionSignatures = 0x1
def __init__(self, name: str, manager: PySide6.QtAxContainer.QAxScriptManager, /) -> None: ...
@typing.overload
def call(self, function: str, arguments: collections.abc.Sequence[typing.Any], /) -> typing.Any: ...
@typing.overload
def call(self, function: str, /, v1: typing.Any = ..., v2: typing.Any = ..., v3: typing.Any = ..., v4: typing.Any = ..., v5: typing.Any = ..., v6: typing.Any = ..., v7: typing.Any = ..., v8: typing.Any = ...) -> typing.Any: ...
def functions(self, /, arg__1: PySide6.QtAxContainer.QAxScript.FunctionFlags = ...) -> typing.List[str]: ...
def load(self, code: str, /, language: str = ...) -> bool: ...
def scriptCode(self, /) -> str: ...
def scriptEngine(self, /) -> PySide6.QtAxContainer.QAxScriptEngine: ...
def scriptName(self, /) -> str: ...
class QAxScriptEngine(PySide6.QtAxContainer.QAxObject):
class State(enum.Enum):
Uninitialized = 0x0
Started = 0x1
Connected = 0x2
Disconnected = 0x3
Closed = 0x4
Initialized = 0x5
def __init__(self, language: str, script: PySide6.QtAxContainer.QAxScript, /) -> None: ...
def addItem(self, name: str, /) -> None: ...
def hasIntrospection(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def scriptLanguage(self, /) -> str: ...
def setState(self, st: PySide6.QtAxContainer.QAxScriptEngine.State, /) -> None: ...
def state(self, /) -> PySide6.QtAxContainer.QAxScriptEngine.State: ...
class QAxScriptManager(PySide6.QtCore.QObject):
error : typing.ClassVar[Signal] = ... # error(QAxScript*,int,QString,int,QString)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addObject(self, object: PySide6.QtAxContainer.QAxBase, /) -> None: ...
@typing.overload
def call(self, function: str, arguments: collections.abc.Sequence[typing.Any], /) -> typing.Any: ...
@typing.overload
def call(self, function: str, /, v1: typing.Any = ..., v2: typing.Any = ..., v3: typing.Any = ..., v4: typing.Any = ..., v5: typing.Any = ..., v6: typing.Any = ..., v7: typing.Any = ..., v8: typing.Any = ...) -> typing.Any: ...
def functions(self, /, arg__1: PySide6.QtAxContainer.QAxScript.FunctionFlags = ...) -> typing.List[str]: ...
@typing.overload
def load(self, file: str, name: str, /) -> PySide6.QtAxContainer.QAxScript: ...
@typing.overload
def load(self, code: str, name: str, language: str, /) -> PySide6.QtAxContainer.QAxScript: ...
@staticmethod
def registerEngine(name: str, extension: str, /, code: str = ...) -> bool: ...
def script(self, name: str, /) -> PySide6.QtAxContainer.QAxScript: ...
@staticmethod
def scriptFileFilter() -> str: ...
def scriptNames(self, /) -> typing.List[str]: ...
class QAxSelect(PySide6.QtWidgets.QDialog):
class SandboxingLevel(enum.Enum):
SandboxingNone = 0x0
SandboxingProcess = 0x1
SandboxingLowIntegrity = 0x2
SandboxingAppContainer = 0x3
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def clsid(self, /) -> str: ...
def sandboxingLevel(self, /) -> PySide6.QtAxContainer.QAxSelect.SandboxingLevel: ...
class QAxWidget(PySide6.QtAxContainer.QAxBaseWidget, PySide6.QtAxContainer.QAxBase):
@typing.overload
def __init__(self, c: str, /, parent: PySide6.QtWidgets.QWidget | None = ..., f: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., f: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def changeEvent(self, e: PySide6.QtCore.QEvent, /) -> None: ...
def classContext(self, /) -> int: ...
def clear(self, /) -> None: ...
def control(self, /) -> str: ...
@typing.overload
def createHostWindow(self, arg__1: bool, /) -> bool: ...
@typing.overload
def createHostWindow(self, arg__1: bool, arg__2: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
def doVerb(self, verb: str, /) -> bool: ...
def minimumSizeHint(self, /) -> PySide6.QtCore.QSize: ...
def resetControl(self, /) -> None: ...
def resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
def setClassContext(self, classContext: int, /) -> None: ...
def setControl(self, arg__1: str, /) -> bool: ...
def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
def translateKeyEvent(self, message: int, keycode: int, /) -> bool: ...
class QIntList: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,784 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtCanvasPainter, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtCanvasPainter`
import PySide6.QtCanvasPainter
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtQuick
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QCanvasBoxGradient(PySide6.QtCanvasPainter.QCanvasGradient):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasBoxGradient: PySide6.QtCanvasPainter.QCanvasBoxGradient, /) -> None: ...
@typing.overload
def __init__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, feather: float, /, radius: float = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, width: float, height: float, feather: float, /, radius: float = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def feather(self, /) -> float: ...
def radius(self, /) -> float: ...
def rect(self, /) -> PySide6.QtCore.QRectF: ...
def setFeather(self, feather: float, /) -> None: ...
def setRadius(self, radius: float, /) -> None: ...
@typing.overload
def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def setRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
class QCanvasBoxShadow(PySide6.QtCanvasPainter.QCanvasBrush):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasBoxShadow: PySide6.QtCanvasPainter.QCanvasBoxShadow, /) -> None: ...
@typing.overload
def __init__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, radius: float = ..., blur: float = ..., color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, width: float, height: float, /, radius: float = ..., blur: float = ..., color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasBoxShadow | PySide6.QtCore.QRectF, /) -> bool: ...
def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasBoxShadow | PySide6.QtCore.QRectF, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def blur(self, /) -> float: ...
def bottomLeftRadius(self, /) -> float: ...
def bottomRightRadius(self, /) -> float: ...
def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
def color(self, /) -> PySide6.QtGui.QColor: ...
def radius(self, /) -> float: ...
def rect(self, /) -> PySide6.QtCore.QRectF: ...
def setBlur(self, blur: float, /) -> None: ...
def setBottomLeftRadius(self, radius: float, /) -> None: ...
def setBottomRightRadius(self, radius: float, /) -> None: ...
def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setRadius(self, radius: float, /) -> None: ...
@typing.overload
def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def setRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
def setSpread(self, spread: float, /) -> None: ...
def setTopLeftRadius(self, radius: float, /) -> None: ...
def setTopRightRadius(self, radius: float, /) -> None: ...
def spread(self, /) -> float: ...
def topLeftRadius(self, /) -> float: ...
def topRightRadius(self, /) -> float: ...
class QCanvasBrush(Shiboken.Object):
class BrushType(enum.Enum):
Invalid = 0x0
LinearGradient = 0x1
RadialGradient = 0x2
ConicalGradient = 0x3
BoxGradient = 0x4
BoxShadow = 0x5
ImagePattern = 0x6
GridPattern = 0x7
Custom = 0x3e8
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, brush: PySide6.QtCanvasPainter.QCanvasBrush, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
def swap(self, other: PySide6.QtCanvasPainter.QCanvasBrush, /) -> None: ...
def type(self, /) -> PySide6.QtCanvasPainter.QCanvasBrush.BrushType: ...
class QCanvasConicalGradient(PySide6.QtCanvasPainter.QCanvasGradient):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasConicalGradient: PySide6.QtCanvasPainter.QCanvasConicalGradient, /) -> None: ...
@typing.overload
def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, startAngle: float, /) -> None: ...
@typing.overload
def __init__(self, centerX: float, centerY: float, startAngle: float, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def angle(self, /) -> float: ...
def centerPosition(self, /) -> PySide6.QtCore.QPointF: ...
def setAngle(self, angle: float, /) -> None: ...
@typing.overload
def setCenterPosition(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setCenterPosition(self, x: float, y: float, /) -> None: ...
class QCanvasCustomBrush(PySide6.QtCanvasPainter.QCanvasBrush):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasCustomBrush: PySide6.QtCanvasPainter.QCanvasCustomBrush, /) -> None: ...
@typing.overload
def __init__(self, fragmentShader: str, /, vertexShader: str = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasCustomBrush | str, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasCustomBrush | str, /) -> bool: ...
def __repr__(self, /) -> str: ...
def setData1(self, data: PySide6.QtGui.QVector4D, /) -> None: ...
def setData2(self, data: PySide6.QtGui.QVector4D, /) -> None: ...
def setData3(self, data: PySide6.QtGui.QVector4D, /) -> None: ...
def setData4(self, data: PySide6.QtGui.QVector4D, /) -> None: ...
@typing.overload
def setFragmentShader(self, fragmentShader: PySide6.QtGui.QShader, /) -> None: ...
@typing.overload
def setFragmentShader(self, fragmentShader: str, /) -> None: ...
def setTimeRunning(self, running: bool, /) -> None: ...
@typing.overload
def setVertexShader(self, vertexShader: PySide6.QtGui.QShader, /) -> None: ...
@typing.overload
def setVertexShader(self, vertexShader: str, /) -> None: ...
def timeRunning(self, /) -> bool: ...
class QCanvasGradient(PySide6.QtCanvasPainter.QCanvasBrush):
def __init__(self, QCanvasGradient: PySide6.QtCanvasPainter.QCanvasGradient, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasGradient, /) -> bool: ...
def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasGradient, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def endColor(self, /) -> PySide6.QtGui.QColor: ...
def setColorAt(self, position: float, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setEndColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setStartColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def startColor(self, /) -> PySide6.QtGui.QColor: ...
def type(self, /) -> PySide6.QtCanvasPainter.QCanvasBrush.BrushType: ...
class QCanvasGridPattern(PySide6.QtCanvasPainter.QCanvasBrush):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasGridPattern: PySide6.QtCanvasPainter.QCanvasGridPattern, /) -> None: ...
@typing.overload
def __init__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, lineColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ..., backgroundColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ..., lineWidth: float = ..., feather: float = ..., angle: float = ...) -> None: ...
@typing.overload
def __init__(self, x: float, y: float, width: float, height: float, /, lineColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ..., backgroundColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ..., lineWidth: float = ..., feather: float = ..., angle: float = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasGridPattern | PySide6.QtCore.QRectF, /) -> bool: ...
def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasGridPattern | PySide6.QtCore.QRectF, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def backgroundColor(self, /) -> PySide6.QtGui.QColor: ...
def cellSize(self, /) -> PySide6.QtCore.QSizeF: ...
def feather(self, /) -> float: ...
def lineColor(self, /) -> PySide6.QtGui.QColor: ...
def lineWidth(self, /) -> float: ...
def rotation(self, /) -> float: ...
def setBackgroundColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
@typing.overload
def setCellSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
@typing.overload
def setCellSize(self, width: float, height: float, /) -> None: ...
def setFeather(self, feather: float, /) -> None: ...
def setLineColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setLineWidth(self, width: float, /) -> None: ...
def setRotation(self, rotation: float, /) -> None: ...
@typing.overload
def setStartPosition(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setStartPosition(self, x: float, y: float, /) -> None: ...
def startPosition(self, /) -> PySide6.QtCore.QPointF: ...
class QCanvasImage(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, image: PySide6.QtCanvasPainter.QCanvasImage, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasImage, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasImage, /) -> bool: ...
def __repr__(self, /) -> str: ...
def height(self, /) -> int: ...
def id(self, /) -> int: ...
def isNull(self, /) -> bool: ...
def setTintColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def size(self, /) -> PySide6.QtCore.QSize: ...
def sizeInBytes(self, /) -> int: ...
def swap(self, other: PySide6.QtCanvasPainter.QCanvasImage, /) -> None: ...
def tintColor(self, /) -> PySide6.QtGui.QColor: ...
def width(self, /) -> int: ...
class QCanvasImagePattern(PySide6.QtCanvasPainter.QCanvasBrush):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasImagePattern: PySide6.QtCanvasPainter.QCanvasImagePattern, /) -> None: ...
@typing.overload
def __init__(self, image: PySide6.QtCanvasPainter.QCanvasImage, /) -> None: ...
@typing.overload
def __init__(self, image: PySide6.QtCanvasPainter.QCanvasImage, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, angle: float = ..., tintColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ...) -> None: ...
@typing.overload
def __init__(self, image: PySide6.QtCanvasPainter.QCanvasImage, x: float, y: float, width: float, height: float, /, angle: float = ..., tintColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasImagePattern | PySide6.QtCanvasPainter.QCanvasImage, /) -> bool: ...
def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasImagePattern | PySide6.QtCanvasPainter.QCanvasImage, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def image(self, /) -> PySide6.QtCanvasPainter.QCanvasImage: ...
def imageSize(self, /) -> PySide6.QtCore.QSizeF: ...
def rotation(self, /) -> float: ...
def setImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, /) -> None: ...
@typing.overload
def setImageSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
@typing.overload
def setImageSize(self, width: float, height: float, /) -> None: ...
def setRotation(self, rotation: float, /) -> None: ...
@typing.overload
def setStartPosition(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setStartPosition(self, x: float, y: float, /) -> None: ...
def setTintColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def startPosition(self, /) -> PySide6.QtCore.QPointF: ...
def tintColor(self, /) -> PySide6.QtGui.QColor: ...
class QCanvasLinearGradient(PySide6.QtCanvasPainter.QCanvasGradient):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasLinearGradient: PySide6.QtCanvasPainter.QCanvasLinearGradient, /) -> None: ...
@typing.overload
def __init__(self, start: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, end: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def __init__(self, startX: float, startY: float, endX: float, endY: float, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def endPosition(self, /) -> PySide6.QtCore.QPointF: ...
@typing.overload
def setEndPosition(self, end: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setEndPosition(self, x: float, y: float, /) -> None: ...
@typing.overload
def setStartPosition(self, start: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setStartPosition(self, x: float, y: float, /) -> None: ...
def startPosition(self, /) -> PySide6.QtCore.QPointF: ...
class QCanvasOffscreenCanvas(Shiboken.Object):
class Flag(enum.Flag):
PreserveContents = 0x1
MipMaps = 0x2
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> bool: ...
def fillColor(self, /) -> PySide6.QtGui.QColor: ...
def flags(self, /) -> PySide6.QtCanvasPainter.QCanvasOffscreenCanvas.Flag: ...
def isNull(self, /) -> bool: ...
def setFillColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def swap(self, other: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> None: ...
def texture(self, /) -> PySide6.QtGui.QRhiTexture: ...
class QCanvasPainter(Shiboken.Object):
class CompositeOperation(enum.Enum):
SourceOver = 0x0
SourceAtop = 0x1
DestinationOut = 0x2
class ImageFlag(enum.Flag):
GenerateMipmaps = 0x1
RepeatX = 0x2
RepeatY = 0x4
Repeat = 0x6
FlipY = 0x8
Premultiplied = 0x10
Nearest = 0x20
NativeTexture = 0x40
class LineCap(enum.Enum):
Butt = 0x0
Round = 0x1
Square = 0x2
class LineJoin(enum.Enum):
Round = 0x0
Bevel = 0x1
Miter = 0x2
class PathConnection(enum.Enum):
NotConnected = 0x0
Connected = 0x1
class PathWinding(enum.Enum):
CounterClockWise = 0x0
ClockWise = 0x1
class RenderHint(enum.Flag):
Antialiasing = 0x1
HighQualityStroking = 0x2
DisableWindingEnforce = 0x4
class TextAlign(enum.Enum):
Left = 0x0
Right = 0x1
Center = 0x2
Start = 0x3
End = 0x4
class TextBaseline(enum.Enum):
Top = 0x0
Hanging = 0x1
Middle = 0x2
Alphabetic = 0x3
Bottom = 0x4
class TextDirection(enum.Enum):
LeftToRight = 0x0
RightToLeft = 0x1
Inherit = 0x2
Auto = 0x3
class WrapMode(enum.Enum):
NoWrap = 0x0
Wrap = 0x1
WordWrap = 0x2
WrapAnywhere = 0x3
def __init__(self, /) -> None: ...
def activeImageCount(self, /) -> int: ...
def activeImageMemoryUsage(self, /) -> int: ...
@typing.overload
def addImage(self, image: PySide6.QtGui.QImage, /, flags: PySide6.QtCanvasPainter.QCanvasPainter.ImageFlag = ...) -> PySide6.QtCanvasPainter.QCanvasImage: ...
@typing.overload
def addImage(self, texture: PySide6.QtGui.QRhiTexture, /, flags: PySide6.QtCanvasPainter.QCanvasPainter.ImageFlag = ...) -> PySide6.QtCanvasPainter.QCanvasImage: ...
@typing.overload
def addImage(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /, flags: PySide6.QtCanvasPainter.QCanvasPainter.ImageFlag = ...) -> PySide6.QtCanvasPainter.QCanvasImage: ...
@typing.overload
def addPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
@typing.overload
def addPath(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, /, transform: PySide6.QtGui.QTransform = ...) -> None: ...
@typing.overload
def addPath(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, start: int, count: int, /, transform: PySide6.QtGui.QTransform = ...) -> None: ...
@typing.overload
def arc(self, centerPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, a0: float, a1: float, /, direction: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding = ..., connection: PySide6.QtCanvasPainter.QCanvasPainter.PathConnection = ...) -> None: ...
@typing.overload
def arc(self, centerX: float, centerY: float, radius: float, a0: float, a1: float, /, direction: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding = ..., connection: PySide6.QtCanvasPainter.QCanvasPainter.PathConnection = ...) -> None: ...
@typing.overload
def arcTo(self, controlPoint1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, controlPoint2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, /) -> None: ...
@typing.overload
def arcTo(self, x1: float, y1: float, x2: float, y2: float, radius: float, /) -> None: ...
def beginHoleSubPath(self, /) -> None: ...
def beginPath(self, /) -> None: ...
def beginSolidSubPath(self, /) -> None: ...
@typing.overload
def bezierCurveTo(self, controlPoint1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, controlPoint2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def bezierCurveTo(self, cp1X: float, cp1Y: float, cp2X: float, cp2Y: float, x: float, y: float, /) -> None: ...
@typing.overload
def circle(self, centerPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, /) -> None: ...
@typing.overload
def circle(self, centerX: float, centerY: float, radius: float, /) -> None: ...
def cleanupResources(self, /) -> None: ...
@typing.overload
def clearRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def clearRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
def closePath(self, /) -> None: ...
def createCanvas(self, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ..., flags: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas.Flag = ...) -> PySide6.QtCanvasPainter.QCanvasOffscreenCanvas: ...
def destroyCanvas(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> None: ...
def devicePixelRatio(self, /) -> float: ...
def drawBoxShadow(self, shadow: PySide6.QtCanvasPainter.QCanvasBoxShadow | PySide6.QtCore.QRectF, /) -> None: ...
@typing.overload
def drawImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, destinationRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def drawImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, destinationRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def drawImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, x: float, y: float, /) -> None: ...
@typing.overload
def drawImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, x: float, y: float, width: float, height: float, /) -> None: ...
@typing.overload
def ellipse(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def ellipse(self, centerPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radiusX: float, radiusY: float, /) -> None: ...
@typing.overload
def ellipse(self, centerX: float, centerY: float, radiusX: float, radiusY: float, /) -> None: ...
@typing.overload
def fill(self, /) -> None: ...
@typing.overload
def fill(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, /, pathGroup: int | None = ...) -> None: ...
@typing.overload
def fillRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def fillRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
@typing.overload
def fillText(self, text: str, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def fillText(self, text: str, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, maxWidth: float = ...) -> None: ...
@typing.overload
def fillText(self, text: str, x: float, y: float, /, maxWidth: float = ...) -> None: ...
def getTransform(self, /) -> PySide6.QtGui.QTransform: ...
@typing.overload
def lineTo(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def lineTo(self, x: float, y: float, /) -> None: ...
@staticmethod
def mmToPx(mm: float, /) -> float: ...
@typing.overload
def moveTo(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def moveTo(self, x: float, y: float, /) -> None: ...
@staticmethod
def ptToPx(pt: float, /) -> float: ...
@typing.overload
def quadraticCurveTo(self, controlPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def quadraticCurveTo(self, cpX: float, cpY: float, x: float, y: float, /) -> None: ...
@typing.overload
def rect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def rect(self, x: float, y: float, width: float, height: float, /) -> None: ...
def removeImage(self, image: PySide6.QtCanvasPainter.QCanvasImage, /) -> None: ...
def removePathGroup(self, pathGroup: int, /) -> None: ...
def renderHints(self, /) -> PySide6.QtCanvasPainter.QCanvasPainter.RenderHint: ...
def reset(self, /) -> None: ...
def resetClipping(self, /) -> None: ...
def resetTransform(self, /) -> None: ...
def restore(self, /) -> None: ...
def rotate(self, angle: float, /) -> None: ...
@typing.overload
def roundRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, radius: float, /) -> None: ...
@typing.overload
def roundRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, radiusTopLeft: float, radiusTopRight: float, radiusBottomRight: float, radiusBottomLeft: float, /) -> None: ...
@typing.overload
def roundRect(self, x: float, y: float, width: float, height: float, radius: float, /) -> None: ...
@typing.overload
def roundRect(self, x: float, y: float, width: float, height: float, radiusTopLeft: float, radiusTopRight: float, radiusBottomRight: float, radiusBottomLeft: float, /) -> None: ...
def save(self, /) -> None: ...
@typing.overload
def scale(self, scale: float, /) -> None: ...
@typing.overload
def scale(self, scaleX: float, scaleY: float, /) -> None: ...
def setAntialias(self, antialias: float, /) -> None: ...
def setBrushTransform(self, transform: PySide6.QtGui.QTransform, /) -> None: ...
@typing.overload
def setClipRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def setClipRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
@typing.overload
def setFillStyle(self, brush: PySide6.QtCanvasPainter.QCanvasBrush, /) -> None: ...
@typing.overload
def setFillStyle(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setFont(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
def setGlobalAlpha(self, alpha: float, /) -> None: ...
def setGlobalBrightness(self, value: float, /) -> None: ...
def setGlobalCompositeOperation(self, operation: PySide6.QtCanvasPainter.QCanvasPainter.CompositeOperation, /) -> None: ...
def setGlobalContrast(self, value: float, /) -> None: ...
def setGlobalSaturate(self, value: float, /) -> None: ...
def setLineCap(self, cap: PySide6.QtCanvasPainter.QCanvasPainter.LineCap, /) -> None: ...
def setLineJoin(self, join: PySide6.QtCanvasPainter.QCanvasPainter.LineJoin, /) -> None: ...
def setLineWidth(self, width: float, /) -> None: ...
def setMiterLimit(self, limit: float, /) -> None: ...
def setPathWinding(self, winding: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding, /) -> None: ...
def setRenderHint(self, hint: PySide6.QtCanvasPainter.QCanvasPainter.RenderHint, /, on: bool = ...) -> None: ...
def setRenderHints(self, hints: PySide6.QtCanvasPainter.QCanvasPainter.RenderHint, /, on: bool = ...) -> None: ...
@typing.overload
def setStrokeStyle(self, brush: PySide6.QtCanvasPainter.QCanvasBrush, /) -> None: ...
@typing.overload
def setStrokeStyle(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setTextAlign(self, align: PySide6.QtCanvasPainter.QCanvasPainter.TextAlign, /) -> None: ...
def setTextAntialias(self, antialias: float, /) -> None: ...
def setTextBaseline(self, baseline: PySide6.QtCanvasPainter.QCanvasPainter.TextBaseline, /) -> None: ...
def setTextDirection(self, direction: PySide6.QtCanvasPainter.QCanvasPainter.TextDirection, /) -> None: ...
def setTextLineHeight(self, height: float, /) -> None: ...
def setTextWrapMode(self, wrapMode: PySide6.QtCanvasPainter.QCanvasPainter.WrapMode, /) -> None: ...
def setTransform(self, transform: PySide6.QtGui.QTransform, /) -> None: ...
def skew(self, angleX: float, /, angleY: float = ...) -> None: ...
@typing.overload
def stroke(self, /) -> None: ...
@typing.overload
def stroke(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, /, pathGroup: int | None = ...) -> None: ...
@typing.overload
def strokeRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def strokeRect(self, x: float, y: float, width: float, height: float, /) -> None: ...
@typing.overload
def textBoundingBox(self, text: str, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
@typing.overload
def textBoundingBox(self, text: str, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, maxWidth: float = ...) -> PySide6.QtCore.QRectF: ...
@typing.overload
def textBoundingBox(self, text: str, x: float, y: float, /, maxWidth: float = ...) -> PySide6.QtCore.QRectF: ...
def transform(self, transform: PySide6.QtGui.QTransform, /) -> None: ...
@typing.overload
def translate(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def translate(self, x: float, y: float, /) -> None: ...
class QCanvasPainterFactory(Shiboken.Object):
def __init__(self, /) -> None: ...
def create(self, rhi: PySide6.QtGui.QRhi, /) -> PySide6.QtCanvasPainter.QCanvasPainter: ...
def destroy(self, /) -> None: ...
def isValid(self, /) -> bool: ...
def paintDriver(self, /) -> PySide6.QtCanvasPainter.QCanvasRhiPaintDriver: ...
def painter(self, /) -> PySide6.QtCanvasPainter.QCanvasPainter: ...
@staticmethod
def sharedInstance(rhi: PySide6.QtGui.QRhi, /) -> PySide6.QtCanvasPainter.QCanvasPainterFactory: ...
class QCanvasPainterItem(PySide6.QtQuick.QQuickRhiItem):
debugChanged : typing.ClassVar[Signal] = ... # debugChanged()
fillColorChanged : typing.ClassVar[Signal] = ... # fillColorChanged()
def __init__(self, /, parent: PySide6.QtQuick.QQuickItem | None = ..., *, fillColor: PySide6.QtGui.QColor | None = ..., debug: typing.Optional[typing.Dict[str, typing.Any]] = ...) -> None: ...
def createItemRenderer(self, /) -> PySide6.QtCanvasPainter.QCanvasPainterItemRenderer: ...
def createRenderer(self, /) -> PySide6.QtQuick.QQuickRhiItemRenderer: ...
def debug(self, /) -> typing.Dict[str, typing.Any]: ...
def fillColor(self, /) -> PySide6.QtGui.QColor: ...
def setFillColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
class QCanvasPainterItemRenderer(PySide6.QtQuick.QQuickRhiItemRenderer):
def __init__(self, /) -> None: ...
def beginCanvasPainting(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> None: ...
def endCanvasPainting(self, /) -> None: ...
def fillColor(self, /) -> PySide6.QtGui.QColor: ...
def hasSharedPainter(self, /) -> bool: ...
def height(self, /) -> float: ...
def initialize(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
def initializeResources(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def paint(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def painter(self, /) -> PySide6.QtCanvasPainter.QCanvasPainter: ...
def prePaint(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def render(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
def setSharedPainter(self, enable: bool, /) -> None: ...
@typing.overload
def synchronize(self, item: PySide6.QtCanvasPainter.QCanvasPainterItem, /) -> None: ...
@typing.overload
def synchronize(self, item: PySide6.QtQuick.QQuickRhiItem, /) -> None: ...
def width(self, /) -> float: ...
class QCanvasPainterWidget(PySide6.QtWidgets.QRhiWidget):
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def beginCanvasPainting(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, /) -> None: ...
def endCanvasPainting(self, /) -> None: ...
def fillColor(self, /) -> PySide6.QtGui.QColor: ...
def grabCanvas(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, resultCallback: collections.abc.Callable[..., typing.Any], /) -> None: ...
def graphicsResourcesInvalidated(self, /) -> None: ...
def hasSharedPainter(self, /) -> bool: ...
def initialize(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
def initializeResources(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def paint(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def prePaint(self, painter: PySide6.QtCanvasPainter.QCanvasPainter, /) -> None: ...
def releaseResources(self, /) -> None: ...
@typing.overload
def render(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
@typing.overload
def render(self, target: PySide6.QtGui.QPaintDevice, /, targetOffset: PySide6.QtCore.QPoint = ..., sourceRegion: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect = ..., renderFlags: PySide6.QtWidgets.QWidget.RenderFlag = ...) -> None: ...
@typing.overload
def render(self, painter: PySide6.QtGui.QPainter, targetOffset: PySide6.QtCore.QPoint, /, sourceRegion: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect = ..., renderFlags: PySide6.QtWidgets.QWidget.RenderFlag = ...) -> None: ...
def setFillColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setSharedPainter(self, enable: bool, /) -> None: ...
class QCanvasPath(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, path: PySide6.QtCanvasPainter.QCanvasPath, /) -> None: ...
@typing.overload
def __init__(self, commandsSize: int, /, commandsDataSize: int = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtCanvasPainter.QCanvasPath | int, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtCanvasPainter.QCanvasPath | int, /) -> bool: ...
@typing.overload
def addPath(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, /, transform: PySide6.QtGui.QTransform = ...) -> None: ...
@typing.overload
def addPath(self, path: PySide6.QtCanvasPainter.QCanvasPath | int, start: int, count: int, /, transform: PySide6.QtGui.QTransform = ...) -> None: ...
@typing.overload
def arc(self, centerPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, a0: float, a1: float, /, direction: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding = ..., connection: PySide6.QtCanvasPainter.QCanvasPainter.PathConnection = ...) -> None: ...
@typing.overload
def arc(self, centerX: float, centerY: float, radius: float, a0: float, a1: float, /, direction: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding = ..., connection: PySide6.QtCanvasPainter.QCanvasPainter.PathConnection = ...) -> None: ...
@typing.overload
def arcTo(self, controlPoint1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, controlPoint2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, /) -> None: ...
@typing.overload
def arcTo(self, c1x: float, c1y: float, c2x: float, c2y: float, radius: float, /) -> None: ...
def beginHoleSubPath(self, /) -> None: ...
def beginSolidSubPath(self, /) -> None: ...
@typing.overload
def bezierCurveTo(self, controlPoint1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, controlPoint2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def bezierCurveTo(self, c1x: float, c1y: float, c2x: float, c2y: float, x: float, y: float, /) -> None: ...
@typing.overload
def circle(self, centerPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, /) -> None: ...
@typing.overload
def circle(self, x: float, y: float, radius: float, /) -> None: ...
def clear(self, /) -> None: ...
def closePath(self, /) -> None: ...
def commandsCapacity(self, /) -> int: ...
def commandsDataCapacity(self, /) -> int: ...
def commandsDataSize(self, /) -> int: ...
def commandsSize(self, /) -> int: ...
def currentPosition(self, /) -> PySide6.QtCore.QPointF: ...
@typing.overload
def ellipse(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def ellipse(self, x: float, y: float, radiusX: float, radiusY: float, /) -> None: ...
def isEmpty(self, /) -> bool: ...
@typing.overload
def lineTo(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def lineTo(self, x: float, y: float, /) -> None: ...
@typing.overload
def moveTo(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def moveTo(self, x: float, y: float, /) -> None: ...
def positionAt(self, index: int, /) -> PySide6.QtCore.QPointF: ...
@typing.overload
def quadraticCurveTo(self, controlPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def quadraticCurveTo(self, cx: float, cy: float, x: float, y: float, /) -> None: ...
@typing.overload
def rect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def rect(self, x: float, y: float, width: float, height: float, /) -> None: ...
@typing.overload
def reserve(self, commandsSize: int, /) -> None: ...
@typing.overload
def reserve(self, commandsSize: int, commandsDataSize: int, /) -> None: ...
@typing.overload
def roundRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, radius: float, /) -> None: ...
@typing.overload
def roundRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, radiusTopLeft: float, radiusTopRight: float, radiusBottomRight: float, radiusBottomLeft: float, /) -> None: ...
@typing.overload
def roundRect(self, x: float, y: float, width: float, height: float, radius: float, /) -> None: ...
@typing.overload
def roundRect(self, x: float, y: float, width: float, height: float, radiusTopLeft: float, radiusTopRight: float, radiusBottomRight: float, radiusBottomLeft: float, /) -> None: ...
def setPathWinding(self, winding: PySide6.QtCanvasPainter.QCanvasPainter.PathWinding, /) -> None: ...
def sliced(self, start: int, count: int, /, transform: PySide6.QtGui.QTransform = ...) -> PySide6.QtCanvasPainter.QCanvasPath: ...
def squeeze(self, /) -> None: ...
def swap(self, other: PySide6.QtCanvasPainter.QCanvasPath | int, /) -> None: ...
class QCanvasRadialGradient(PySide6.QtCanvasPainter.QCanvasGradient):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QCanvasRadialGradient: PySide6.QtCanvasPainter.QCanvasRadialGradient, /) -> None: ...
@typing.overload
def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, outerRadius: float, /, innerRadius: float = ...) -> None: ...
@typing.overload
def __init__(self, centerX: float, centerY: float, outerRadius: float, /, innerRadius: float = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def centerPosition(self, /) -> PySide6.QtCore.QPointF: ...
def innerRadius(self, /) -> float: ...
def outerRadius(self, /) -> float: ...
@typing.overload
def setCenterPosition(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
@typing.overload
def setCenterPosition(self, x: float, y: float, /) -> None: ...
def setInnerRadius(self, radius: float, /) -> None: ...
def setOuterRadius(self, radius: float, /) -> None: ...
class QCanvasRhiPaintDriver(Shiboken.Object):
class BeginPaintFlag(enum.Flag):
DepthTest = 0x1
class EndPaintFlag(enum.Flag):
DoNotRecordRenderPass = 0x1
def __init__(self, /) -> None: ...
@typing.overload
def beginPaint(self, cb: PySide6.QtGui.QRhiCommandBuffer, rt: PySide6.QtGui.QRhiRenderTarget, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /, flags: PySide6.QtCanvasPainter.QCanvasRhiPaintDriver.BeginPaintFlag = ...) -> None: ...
@typing.overload
def beginPaint(self, cb: PySide6.QtGui.QRhiCommandBuffer, rt: PySide6.QtGui.QRhiRenderTarget, /, fillColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ..., logicalSize: PySide6.QtCore.QSize = ..., dpr: float = ..., flags: PySide6.QtCanvasPainter.QCanvasRhiPaintDriver.BeginPaintFlag = ...) -> None: ...
@typing.overload
def beginPaint(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, cb: PySide6.QtGui.QRhiCommandBuffer, /, flags: PySide6.QtCanvasPainter.QCanvasRhiPaintDriver.BeginPaintFlag = ...) -> None: ...
def endPaint(self, /, flags: PySide6.QtCanvasPainter.QCanvasRhiPaintDriver.EndPaintFlag = ...) -> None: ...
def grabCanvas(self, canvas: PySide6.QtCanvasPainter.QCanvasOffscreenCanvas, resultCallback: collections.abc.Callable[..., typing.Any], /) -> None: ...
def renderPaint(self, /) -> None: ...
def resetForNewFrame(self, /) -> None: ...
class QIntList: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,119 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtConcurrent, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtConcurrent`
import PySide6.QtConcurrent
import PySide6.QtCore
import enum
import typing
from shiboken6 import Shiboken
class QFutureQString(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QFutureQString: PySide6.QtConcurrent.QFutureQString, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def cancel(self, /) -> None: ...
def cancelChain(self, /) -> None: ...
def isCanceled(self, /) -> bool: ...
def isFinished(self, /) -> bool: ...
def isPaused(self, /) -> bool: ...
def isRunning(self, /) -> bool: ...
def isStarted(self, /) -> bool: ...
def isSuspended(self, /) -> bool: ...
def isSuspending(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def pause(self, /) -> None: ...
def progressMaximum(self, /) -> int: ...
def progressMinimum(self, /) -> int: ...
def progressText(self, /) -> str: ...
def progressValue(self, /) -> int: ...
def resultCount(self, /) -> int: ...
def resume(self, /) -> None: ...
def setPaused(self, paused: bool, /) -> None: ...
def setSuspended(self, suspend: bool, /) -> None: ...
def suspend(self, /) -> None: ...
def togglePaused(self, /) -> None: ...
def toggleSuspended(self, /) -> None: ...
def waitForFinished(self, /) -> None: ...
class QFutureVoid(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QFutureVoid: PySide6.QtConcurrent.QFutureVoid, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def cancel(self, /) -> None: ...
def cancelChain(self, /) -> None: ...
def isCanceled(self, /) -> bool: ...
def isFinished(self, /) -> bool: ...
def isPaused(self, /) -> bool: ...
def isRunning(self, /) -> bool: ...
def isStarted(self, /) -> bool: ...
def isSuspended(self, /) -> bool: ...
def isSuspending(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def pause(self, /) -> None: ...
def progressMaximum(self, /) -> int: ...
def progressMinimum(self, /) -> int: ...
def progressText(self, /) -> str: ...
def progressValue(self, /) -> int: ...
def resultCount(self, /) -> int: ...
def resume(self, /) -> None: ...
def setPaused(self, paused: bool, /) -> None: ...
def setSuspended(self, suspend: bool, /) -> None: ...
def suspend(self, /) -> None: ...
def togglePaused(self, /) -> None: ...
def toggleSuspended(self, /) -> None: ...
def waitForFinished(self, /) -> None: ...
class QFutureWatcherQString(PySide6.QtCore.QObject):
def __init__(self, /, _parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def future(self, /) -> PySide6.QtConcurrent.QFutureQString: ...
def setFuture(self, future: PySide6.QtConcurrent.QFutureQString, /) -> None: ...
class QFutureWatcherVoid(PySide6.QtCore.QObject):
def __init__(self, /, _parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QIntList: ...
class QtConcurrent(Shiboken.Object):
class FutureResult(enum.Enum):
Ignore = 0x0
class ReduceOption(enum.Flag):
UnorderedReduce = 0x1
OrderedReduce = 0x2
SequentialReduce = 0x4
class ThreadFunctionResult(enum.Enum):
ThrottleThread = 0x0
ThreadFinished = 0x1
# eof
File diff suppressed because it is too large Load Diff
-691
View File
@@ -1,691 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtDBus, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtDBus`
import PySide6.QtDBus
import PySide6.QtCore
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QDBus(Shiboken.Object):
class CallMode(enum.Enum):
NoBlock = 0x0
Block = 0x1
BlockWithGui = 0x2
AutoDetect = 0x3
class QDBusAbstractAdaptor(PySide6.QtCore.QObject):
def __init__(self, parent: PySide6.QtCore.QObject, /) -> None: ...
def autoRelaySignals(self, /) -> bool: ...
def setAutoRelaySignals(self, enable: bool, /) -> None: ...
class QDBusAbstractInterface(PySide6.QtDBus.QDBusAbstractInterfaceBase):
def __init__(self, service: str, path: str, interface: bytes | bytearray | memoryview, connection: PySide6.QtDBus.QDBusConnection, parent: PySide6.QtCore.QObject, /) -> None: ...
def asyncCall(self, method: str, /) -> PySide6.QtDBus.QDBusPendingCall: ...
def asyncCallWithArgumentList(self, method: str, args: collections.abc.Sequence[typing.Any], /) -> PySide6.QtDBus.QDBusPendingCall: ...
@typing.overload
def call(self, mode: PySide6.QtDBus.QDBus.CallMode, method: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, arg__6: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, arg__6: typing.Any, arg__7: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, arg__6: typing.Any, arg__7: typing.Any, arg__8: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, arg__6: typing.Any, arg__7: typing.Any, arg__8: typing.Any, arg__9: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: PySide6.QtDBus.QDBus.CallMode, arg__2: str, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, arg__6: typing.Any, arg__7: typing.Any, arg__8: typing.Any, arg__9: typing.Any, arg__10: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, method: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: str, arg__2: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: str, arg__2: typing.Any, arg__3: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: str, arg__2: typing.Any, arg__3: typing.Any, arg__4: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def call(self, arg__1: str, arg__2: typing.Any, arg__3: typing.Any, arg__4: typing.Any, arg__5: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
def callWithArgumentList(self, mode: PySide6.QtDBus.QDBus.CallMode, method: str, args: collections.abc.Sequence[typing.Any], /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def callWithCallback(self, method: str, args: collections.abc.Sequence[typing.Any], receiver: PySide6.QtCore.QObject, member: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def callWithCallback(self, method: str, args: collections.abc.Sequence[typing.Any], receiver: PySide6.QtCore.QObject, member: bytes | bytearray | memoryview, errorSlot: bytes | bytearray | memoryview, /) -> bool: ...
def connectNotify(self, signal: PySide6.QtCore.QMetaMethod, /) -> None: ...
def connection(self, /) -> PySide6.QtDBus.QDBusConnection: ...
def disconnectNotify(self, signal: PySide6.QtCore.QMetaMethod, /) -> None: ...
def interface(self, /) -> str: ...
def internalConstCall(self, mode: PySide6.QtDBus.QDBus.CallMode, method: str, /, args: collections.abc.Sequence[typing.Any] = ...) -> PySide6.QtDBus.QDBusMessage: ...
def internalPropGet(self, propname: bytes | bytearray | memoryview, /) -> typing.Any: ...
def internalPropSet(self, propname: bytes | bytearray | memoryview, value: typing.Any, /) -> None: ...
def isInteractiveAuthorizationAllowed(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtDBus.QDBusError: ...
def path(self, /) -> str: ...
def service(self, /) -> str: ...
def setInteractiveAuthorizationAllowed(self, enable: bool, /) -> None: ...
def setTimeout(self, timeout: int, /) -> None: ...
def timeout(self, /) -> int: ...
class QDBusAbstractInterfaceBase(PySide6.QtCore.QObject): ...
class QDBusArgument(Shiboken.Object):
class ElementType(enum.Enum):
UnknownType = -1
BasicType = 0x0
VariantType = 0x1
ArrayType = 0x2
StructureType = 0x3
MapType = 0x4
MapEntryType = 0x5
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtDBus.QDBusArgument, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@typing.overload
def __lshift__(self, arg: PySide6.QtDBus.QDBusObjectPath, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: PySide6.QtDBus.QDBusSignature, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: PySide6.QtDBus.QDBusUnixFileDescriptor, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: PySide6.QtDBus.QDBusVariant, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, date: PySide6.QtCore.QDate, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, dt: PySide6.QtCore.QDateTime, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, line: PySide6.QtCore.QLine, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, pt: PySide6.QtCore.QPoint, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, rect: PySide6.QtCore.QRect, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, size: PySide6.QtCore.QSize, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, time: PySide6.QtCore.QTime, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: str, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, list: collections.abc.Sequence[typing.Any], /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: collections.abc.Sequence[str], /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, line: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, pt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, map: typing.Dict[str, typing.Any], /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: bool, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: int, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __lshift__(self, arg: float, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: PySide6.QtDBus.QDBusObjectPath, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: PySide6.QtDBus.QDBusSignature, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: PySide6.QtDBus.QDBusUnixFileDescriptor, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: PySide6.QtDBus.QDBusVariant, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, date: PySide6.QtCore.QDate, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, dt: PySide6.QtCore.QDateTime, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, line: PySide6.QtCore.QLine, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, pt: PySide6.QtCore.QPoint, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, rect: PySide6.QtCore.QRect, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, size: PySide6.QtCore.QSize, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, time: PySide6.QtCore.QTime, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: str, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: collections.abc.Sequence[str], /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, line: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, pt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: bool, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: int, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, arg: float, /) -> PySide6.QtDBus.QDBusArgument: ...
@typing.overload
def __rshift__(self, v: typing.Any, /) -> PySide6.QtDBus.QDBusArgument: ...
def appendVariant(self, v: typing.Any, /) -> None: ...
def asVariant(self, /) -> typing.Any: ...
def atEnd(self, /) -> bool: ...
@typing.overload
def beginArray(self, /) -> None: ...
@typing.overload
def beginArray(self, elementMetaType: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, /) -> None: ...
@typing.overload
def beginArray(self, elementMetaTypeId: int, /) -> None: ...
@typing.overload
def beginMap(self, /) -> None: ...
@typing.overload
def beginMap(self, keyMetaType: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, valueMetaType: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, /) -> None: ...
@typing.overload
def beginMap(self, keyMetaTypeId: int, valueMetaTypeId: int, /) -> None: ...
def beginMapEntry(self, /) -> None: ...
def beginStructure(self, /) -> None: ...
def currentSignature(self, /) -> str: ...
def currentType(self, /) -> PySide6.QtDBus.QDBusArgument.ElementType: ...
def endArray(self, /) -> None: ...
def endMap(self, /) -> None: ...
def endMapEntry(self, /) -> None: ...
def endStructure(self, /) -> None: ...
def swap(self, other: PySide6.QtDBus.QDBusArgument, /) -> None: ...
class QDBusConnection(Shiboken.Object):
class BusType(enum.Enum):
SessionBus = 0x0
SystemBus = 0x1
ActivationBus = 0x2
class ConnectionCapability(enum.Flag):
UnixFileDescriptorPassing = 0x1
class RegisterOption(enum.Flag):
ExportAdaptors = 0x1
ExportScriptableSlots = 0x10
ExportScriptableSignals = 0x20
ExportScriptableProperties = 0x40
ExportScriptableInvokables = 0x80
ExportScriptableContents = 0xf0
ExportNonScriptableSlots = 0x100
ExportAllSlots = 0x110
ExportNonScriptableSignals = 0x200
ExportAllSignal = 0x220
ExportAllSignals = 0x220
ExportNonScriptableProperties = 0x400
ExportAllProperties = 0x440
ExportNonScriptableInvokables = 0x800
ExportAllInvokables = 0x880
ExportNonScriptableContents = 0xf00
ExportAllContents = 0xff0
ExportChildObjects = 0x1000
class UnregisterMode(enum.Enum):
UnregisterNode = 0x0
UnregisterTree = 0x1
class VirtualObjectRegisterOption(enum.Flag):
SingleNode = 0x0
SubPath = 0x1
@typing.overload
def __init__(self, other: PySide6.QtDBus.QDBusConnection, /) -> None: ...
@typing.overload
def __init__(self, name: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def asyncCall(self, message: PySide6.QtDBus.QDBusMessage, /, timeout: int = ...) -> PySide6.QtDBus.QDBusPendingCall: ...
def baseService(self, /) -> str: ...
def call(self, message: PySide6.QtDBus.QDBusMessage, /, mode: PySide6.QtDBus.QDBus.CallMode = ..., timeout: int = ...) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def callWithCallback(self, message: PySide6.QtDBus.QDBusMessage, receiver: PySide6.QtCore.QObject, returnMethod: bytes | bytearray | memoryview, errorMethod: bytes | bytearray | memoryview, /, timeout: int = ...) -> bool: ...
@typing.overload
def callWithCallback(self, message: PySide6.QtDBus.QDBusMessage, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /, timeout: int = ...) -> bool: ...
@typing.overload
def connect(self, service: str, path: str, interface: str, name: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def connect(self, service: str, path: str, interface: str, name: str, signature: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def connect(self, service: str, path: str, interface: str, name: str, argumentMatch: collections.abc.Sequence[str], signature: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
@staticmethod
def connectToBus(type: PySide6.QtDBus.QDBusConnection.BusType, name: str, /) -> PySide6.QtDBus.QDBusConnection: ...
@typing.overload
@staticmethod
def connectToBus(address: str, name: str, /) -> PySide6.QtDBus.QDBusConnection: ...
@staticmethod
def connectToPeer(address: str, name: str, /) -> PySide6.QtDBus.QDBusConnection: ...
def connectionCapabilities(self, /) -> PySide6.QtDBus.QDBusConnection.ConnectionCapability: ...
@typing.overload
def disconnect(self, service: str, path: str, interface: str, name: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def disconnect(self, service: str, path: str, interface: str, name: str, signature: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def disconnect(self, service: str, path: str, interface: str, name: str, argumentMatch: collections.abc.Sequence[str], signature: str, receiver: PySide6.QtCore.QObject, slot: bytes | bytearray | memoryview, /) -> bool: ...
@staticmethod
def disconnectFromBus(name: str, /) -> None: ...
@staticmethod
def disconnectFromPeer(name: str, /) -> None: ...
def interface(self, /) -> PySide6.QtDBus.QDBusConnectionInterface: ...
def internalPointer(self, /) -> int: ...
def isConnected(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtDBus.QDBusError: ...
@staticmethod
def localMachineId() -> PySide6.QtCore.QByteArray: ...
def name(self, /) -> str: ...
def objectRegisteredAt(self, path: str, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def registerObject(self, path: str, object: PySide6.QtCore.QObject, /, options: PySide6.QtDBus.QDBusConnection.RegisterOption = ...) -> bool: ...
@typing.overload
def registerObject(self, path: str, interface: str, object: PySide6.QtCore.QObject, /, options: PySide6.QtDBus.QDBusConnection.RegisterOption = ...) -> bool: ...
def registerService(self, serviceName: str, /) -> bool: ...
def registerVirtualObject(self, path: str, object: PySide6.QtDBus.QDBusVirtualObject, /, options: PySide6.QtDBus.QDBusConnection.VirtualObjectRegisterOption = ...) -> bool: ...
def send(self, message: PySide6.QtDBus.QDBusMessage, /) -> bool: ...
@staticmethod
def sessionBus() -> PySide6.QtDBus.QDBusConnection: ...
def swap(self, other: PySide6.QtDBus.QDBusConnection, /) -> None: ...
@staticmethod
def systemBus() -> PySide6.QtDBus.QDBusConnection: ...
def unregisterObject(self, path: str, /, mode: PySide6.QtDBus.QDBusConnection.UnregisterMode = ...) -> None: ...
def unregisterService(self, serviceName: str, /) -> bool: ...
class QDBusConnectionInterface(PySide6.QtDBus.QDBusAbstractInterface):
NameAcquired : typing.ClassVar[Signal] = ... # NameAcquired(QString)
NameLost : typing.ClassVar[Signal] = ... # NameLost(QString)
NameOwnerChanged : typing.ClassVar[Signal] = ... # NameOwnerChanged(QString,QString,QString)
callWithCallbackFailed : typing.ClassVar[Signal] = ... # callWithCallbackFailed(QDBusError,QDBusMessage)
serviceOwnerChanged : typing.ClassVar[Signal] = ... # serviceOwnerChanged(QString,QString,QString)
serviceRegistered : typing.ClassVar[Signal] = ... # serviceRegistered(QString)
serviceUnregistered : typing.ClassVar[Signal] = ... # serviceUnregistered(QString)
class RegisterServiceReply(enum.Enum):
ServiceNotRegistered = 0x0
ServiceRegistered = 0x1
ServiceQueued = 0x2
class ServiceQueueOptions(enum.Enum):
DontQueueService = 0x0
QueueService = 0x1
ReplaceExistingService = 0x2
class ServiceReplacementOptions(enum.Enum):
DontAllowReplacement = 0x0
AllowReplacement = 0x1
def activatableServiceNames(self, /) -> PySide6.QtDBus.QDBusReply: ...
def connectNotify(self, arg__1: PySide6.QtCore.QMetaMethod, /) -> None: ...
def disconnectNotify(self, arg__1: PySide6.QtCore.QMetaMethod, /) -> None: ...
def isServiceRegistered(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
def registerService(self, arg__1: str, arg__2: PySide6.QtDBus.QDBusConnectionInterface.ServiceQueueOptions, arg__3: PySide6.QtDBus.QDBusConnectionInterface.ServiceReplacementOptions, /) -> PySide6.QtDBus.QDBusReply: ...
def registeredServiceNames(self, /) -> PySide6.QtDBus.QDBusReply: ...
def serviceOwner(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
def servicePid(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
def serviceUid(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
def startService(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
def unregisterService(self, arg__1: str, /) -> PySide6.QtDBus.QDBusReply: ...
class QDBusContext(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QDBusContext: PySide6.QtDBus.QDBusContext, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def calledFromDBus(self, /) -> bool: ...
def connection(self, /) -> PySide6.QtDBus.QDBusConnection: ...
def isDelayedReply(self, /) -> bool: ...
def message(self, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def sendErrorReply(self, type: PySide6.QtDBus.QDBusError.ErrorType, /, msg: str = ...) -> None: ...
@typing.overload
def sendErrorReply(self, name: str, /, msg: str = ...) -> None: ...
def setDelayedReply(self, enable: bool, /) -> None: ...
class QDBusError(Shiboken.Object):
class ErrorType(enum.Enum):
NoError = 0x0
Other = 0x1
Failed = 0x2
NoMemory = 0x3
ServiceUnknown = 0x4
NoReply = 0x5
BadAddress = 0x6
NotSupported = 0x7
LimitsExceeded = 0x8
AccessDenied = 0x9
NoServer = 0xa
Timeout = 0xb
NoNetwork = 0xc
AddressInUse = 0xd
Disconnected = 0xe
InvalidArgs = 0xf
UnknownMethod = 0x10
TimedOut = 0x11
InvalidSignature = 0x12
UnknownInterface = 0x13
UnknownObject = 0x14
UnknownProperty = 0x15
PropertyReadOnly = 0x16
InternalError = 0x17
InvalidService = 0x18
InvalidObjectPath = 0x19
InvalidInterface = 0x1a
InvalidMember = 0x1b
LastErrorType = 0x1b
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, error: PySide6.QtDBus.QDBusError.ErrorType, message: str, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtDBus.QDBusError, /) -> None: ...
@typing.overload
def __init__(self, msg: PySide6.QtDBus.QDBusMessage, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
@staticmethod
def errorString(error: PySide6.QtDBus.QDBusError.ErrorType, /) -> str: ...
def isValid(self, /) -> bool: ...
def message(self, /) -> str: ...
def name(self, /) -> str: ...
def swap(self, other: PySide6.QtDBus.QDBusError | PySide6.QtDBus.QDBusMessage, /) -> None: ...
def type(self, /) -> PySide6.QtDBus.QDBusError.ErrorType: ...
class QDBusInterface(PySide6.QtDBus.QDBusAbstractInterface):
def __init__(self, service: str, path: str, /, interface: str = ..., connection: PySide6.QtDBus.QDBusConnection = ..., parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QDBusMessage(Shiboken.Object):
class MessageType(enum.Enum):
InvalidMessage = 0x0
MethodCallMessage = 0x1
ReplyMessage = 0x2
ErrorMessage = 0x3
SignalMessage = 0x4
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtDBus.QDBusMessage, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __lshift__(self, arg: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
def __repr__(self, /) -> str: ...
def arguments(self, /) -> typing.List[typing.Any]: ...
def autoStartService(self, /) -> bool: ...
@typing.overload
@staticmethod
def createError(type: PySide6.QtDBus.QDBusError.ErrorType, msg: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
@staticmethod
def createError(name: str, msg: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
@staticmethod
def createError(err: PySide6.QtDBus.QDBusError | PySide6.QtDBus.QDBusMessage, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def createErrorReply(self, type: PySide6.QtDBus.QDBusError.ErrorType, msg: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def createErrorReply(self, name: str, msg: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def createErrorReply(self, err: PySide6.QtDBus.QDBusError | PySide6.QtDBus.QDBusMessage, /) -> PySide6.QtDBus.QDBusMessage: ...
@staticmethod
def createMethodCall(destination: str, path: str, interface: str, method: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def createReply(self, /, arguments: collections.abc.Sequence[typing.Any] = ...) -> PySide6.QtDBus.QDBusMessage: ...
@typing.overload
def createReply(self, argument: typing.Any, /) -> PySide6.QtDBus.QDBusMessage: ...
@staticmethod
def createSignal(path: str, interface: str, name: str, /) -> PySide6.QtDBus.QDBusMessage: ...
@staticmethod
def createTargetedSignal(service: str, path: str, interface: str, name: str, /) -> PySide6.QtDBus.QDBusMessage: ...
def errorMessage(self, /) -> str: ...
def errorName(self, /) -> str: ...
def interface(self, /) -> str: ...
def isDelayedReply(self, /) -> bool: ...
def isInteractiveAuthorizationAllowed(self, /) -> bool: ...
def isReplyRequired(self, /) -> bool: ...
def member(self, /) -> str: ...
def path(self, /) -> str: ...
def service(self, /) -> str: ...
def setArguments(self, arguments: collections.abc.Sequence[typing.Any], /) -> None: ...
def setAutoStartService(self, enable: bool, /) -> None: ...
def setDelayedReply(self, enable: bool, /) -> None: ...
def setInteractiveAuthorizationAllowed(self, enable: bool, /) -> None: ...
def signature(self, /) -> str: ...
def swap(self, other: PySide6.QtDBus.QDBusMessage, /) -> None: ...
def type(self, /) -> PySide6.QtDBus.QDBusMessage.MessageType: ...
class QDBusObjectPath(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QDBusObjectPath: PySide6.QtDBus.QDBusObjectPath, /) -> None: ...
@typing.overload
def __init__(self, path: str, /) -> None: ...
@typing.overload
def __init__(self, path: bytes | bytearray | memoryview, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtDBus.QDBusObjectPath, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lt__(self, rhs: PySide6.QtDBus.QDBusObjectPath, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtDBus.QDBusObjectPath, /) -> bool: ...
def path(self, /) -> str: ...
def setPath(self, path: str, /) -> None: ...
def swap(self, other: PySide6.QtDBus.QDBusObjectPath, /) -> None: ...
class QDBusPendingCall(Shiboken.Object):
def __init__(self, other: PySide6.QtDBus.QDBusPendingCall, /) -> None: ...
def error(self, /) -> PySide6.QtDBus.QDBusError: ...
@staticmethod
def fromCompletedCall(message: PySide6.QtDBus.QDBusMessage, /) -> PySide6.QtDBus.QDBusPendingCall: ...
@staticmethod
def fromError(error: PySide6.QtDBus.QDBusError | PySide6.QtDBus.QDBusMessage, /) -> PySide6.QtDBus.QDBusPendingCall: ...
def isError(self, /) -> bool: ...
def isFinished(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def reply(self, /) -> PySide6.QtDBus.QDBusMessage: ...
def swap(self, other: PySide6.QtDBus.QDBusPendingCall, /) -> None: ...
def waitForFinished(self, /) -> None: ...
class QDBusPendingCallWatcher(PySide6.QtCore.QObject, PySide6.QtDBus.QDBusPendingCall):
finished : typing.ClassVar[Signal] = ... # finished(); finished(QDBusPendingCallWatcher*)
def __init__(self, call: PySide6.QtDBus.QDBusPendingCall, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def waitForFinished(self, /) -> None: ...
class QDBusReply(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, reply: PySide6.QtDBus.QDBusMessage, /) -> None: ...
def error(self, /) -> PySide6.QtDBus.QDBusError: ...
def isValid(self, /) -> bool: ...
def value(self, /) -> typing.Any: ...
class QDBusServer(PySide6.QtCore.QObject):
newConnection : typing.ClassVar[Signal] = ... # newConnection(QDBusConnection)
@typing.overload
def __init__(self, address: str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def address(self, /) -> str: ...
def isAnonymousAuthenticationAllowed(self, /) -> bool: ...
def isConnected(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtDBus.QDBusError: ...
def setAnonymousAuthenticationAllowed(self, value: bool, /) -> None: ...
class QDBusServiceWatcher(PySide6.QtCore.QObject):
serviceOwnerChanged : typing.ClassVar[Signal] = ... # serviceOwnerChanged(QString,QString,QString)
serviceRegistered : typing.ClassVar[Signal] = ... # serviceRegistered(QString)
serviceUnregistered : typing.ClassVar[Signal] = ... # serviceUnregistered(QString)
class WatchModeFlag(enum.Flag):
WatchForRegistration = 0x1
WatchForUnregistration = 0x2
WatchForOwnerChange = 0x3
@typing.overload
def __init__(self, service: str, connection: PySide6.QtDBus.QDBusConnection, /, watchMode: PySide6.QtDBus.QDBusServiceWatcher.WatchModeFlag = ..., parent: PySide6.QtCore.QObject | None = ..., *, watchedServices: collections.abc.Sequence[str] | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, watchedServices: collections.abc.Sequence[str] | None = ..., watchMode: PySide6.QtDBus.QDBusServiceWatcher.WatchModeFlag | None = ...) -> None: ...
def addWatchedService(self, newService: str, /) -> None: ...
def connection(self, /) -> PySide6.QtDBus.QDBusConnection: ...
def removeWatchedService(self, service: str, /) -> bool: ...
def setConnection(self, connection: PySide6.QtDBus.QDBusConnection, /) -> None: ...
def setWatchMode(self, mode: PySide6.QtDBus.QDBusServiceWatcher.WatchModeFlag, /) -> None: ...
def setWatchedServices(self, services: collections.abc.Sequence[str], /) -> None: ...
def watchMode(self, /) -> PySide6.QtDBus.QDBusServiceWatcher.WatchModeFlag: ...
def watchedServices(self, /) -> typing.List[str]: ...
class QDBusSignature(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, signature: str, /) -> None: ...
@typing.overload
def __init__(self, signature: bytes | bytearray | memoryview, /) -> None: ...
def __eq__(self, rhs: PySide6.QtDBus.QDBusSignature, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lt__(self, rhs: PySide6.QtDBus.QDBusSignature, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtDBus.QDBusSignature, /) -> bool: ...
def setSignature(self, signature: str, /) -> None: ...
def signature(self, /) -> str: ...
def swap(self, other: PySide6.QtDBus.QDBusSignature, /) -> None: ...
class QDBusUnixFileDescriptor(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtDBus.QDBusUnixFileDescriptor, /) -> None: ...
@typing.overload
def __init__(self, fileDescriptor: int, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def fileDescriptor(self, /) -> int: ...
def giveFileDescriptor(self, fileDescriptor: int, /) -> None: ...
@staticmethod
def isSupported() -> bool: ...
def isValid(self, /) -> bool: ...
def setFileDescriptor(self, fileDescriptor: int, /) -> None: ...
def swap(self, other: PySide6.QtDBus.QDBusUnixFileDescriptor, /) -> None: ...
def takeFileDescriptor(self, /) -> int: ...
class QDBusVariant(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QDBusVariant: PySide6.QtDBus.QDBusVariant, /) -> None: ...
@typing.overload
def __init__(self, variant: typing.Any, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, v2: PySide6.QtDBus.QDBusVariant, /) -> bool: ...
def setVariant(self, variant: typing.Any, /) -> None: ...
def swap(self, other: PySide6.QtDBus.QDBusVariant, /) -> None: ...
def variant(self, /) -> typing.Any: ...
class QDBusVirtualObject(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def handleMessage(self, message: PySide6.QtDBus.QDBusMessage, connection: PySide6.QtDBus.QDBusConnection, /) -> bool: ...
def introspect(self, path: str, /) -> str: ...
class QIntList: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,594 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtDesigner, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtDesigner`
import PySide6.QtDesigner
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAbstractExtensionFactory(Shiboken.Object):
def __init__(self, /) -> None: ...
def extension(self, object: PySide6.QtCore.QObject, iid: str, /) -> PySide6.QtCore.QObject: ...
class QAbstractExtensionManager(Shiboken.Object):
def __init__(self, /) -> None: ...
def extension(self, object: PySide6.QtCore.QObject, iid: str, /) -> PySide6.QtCore.QObject: ...
def registerExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str, /) -> None: ...
def unregisterExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str, /) -> None: ...
class QAbstractFormBuilder(Shiboken.Object):
def __init__(self, /) -> None: ...
def addMenuAction(self, action: PySide6.QtGui.QAction, /) -> None: ...
def applyPropertyInternally(self, o: PySide6.QtCore.QObject, propertyName: str, value: typing.Any, /) -> bool: ...
def checkProperty(self, obj: PySide6.QtCore.QObject, prop: str, /) -> bool: ...
def createAction(self, parent: PySide6.QtCore.QObject, name: str, /) -> PySide6.QtGui.QAction: ...
def createActionGroup(self, parent: PySide6.QtCore.QObject, name: str, /) -> PySide6.QtGui.QActionGroup: ...
def createLayout(self, layoutName: str, parent: PySide6.QtCore.QObject, name: str, /) -> PySide6.QtWidgets.QLayout: ...
def createWidget(self, widgetName: str, parentWidget: PySide6.QtWidgets.QWidget, name: str, /) -> PySide6.QtWidgets.QWidget: ...
def errorString(self, /) -> str: ...
def load(self, dev: PySide6.QtCore.QIODevice, /, parentWidget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtWidgets.QWidget: ...
def reset(self, /) -> None: ...
def save(self, dev: PySide6.QtCore.QIODevice, widget: PySide6.QtWidgets.QWidget, /) -> None: ...
def setWorkingDirectory(self, directory: PySide6.QtCore.QDir, /) -> None: ...
@staticmethod
def toolBarAreaMetaEnum() -> PySide6.QtCore.QMetaEnum: ...
def workingDirectory(self, /) -> PySide6.QtCore.QDir: ...
class QDesignerActionEditorInterface(PySide6.QtWidgets.QWidget):
def __init__(self, parent: PySide6.QtWidgets.QWidget, /, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def manageAction(self, action: PySide6.QtGui.QAction, /) -> None: ...
def setFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface, /) -> None: ...
def unmanageAction(self, action: PySide6.QtGui.QAction, /) -> None: ...
class QDesignerContainerExtension(Shiboken.Object):
def __init__(self, /) -> None: ...
def addWidget(self, widget: PySide6.QtWidgets.QWidget, /) -> None: ...
def canAddWidget(self, /) -> bool: ...
def canRemove(self, index: int, /) -> bool: ...
def count(self, /) -> int: ...
def currentIndex(self, /) -> int: ...
def insertWidget(self, index: int, widget: PySide6.QtWidgets.QWidget, /) -> None: ...
def remove(self, index: int, /) -> None: ...
def setCurrentIndex(self, index: int, /) -> None: ...
def widget(self, index: int, /) -> PySide6.QtWidgets.QWidget: ...
class QDesignerCustomWidgetCollectionInterface(Shiboken.Object):
def __init__(self, /) -> None: ...
def customWidgets(self, /) -> typing.List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...
class QDesignerCustomWidgetInterface(Shiboken.Object):
def __init__(self, /) -> None: ...
def codeTemplate(self, /) -> str: ...
def createWidget(self, parent: PySide6.QtWidgets.QWidget, /) -> PySide6.QtWidgets.QWidget: ...
def domXml(self, /) -> str: ...
def group(self, /) -> str: ...
def icon(self, /) -> PySide6.QtGui.QIcon: ...
def includeFile(self, /) -> str: ...
def initialize(self, core: PySide6.QtDesigner.QDesignerFormEditorInterface, /) -> None: ...
def isContainer(self, /) -> bool: ...
def isInitialized(self, /) -> bool: ...
def name(self, /) -> str: ...
def toolTip(self, /) -> str: ...
def whatsThis(self, /) -> str: ...
class QDesignerDnDItemInterface(Shiboken.Object):
class DropType(enum.Enum):
MoveDrop = 0x0
CopyDrop = 0x1
def __init__(self, /) -> None: ...
def decoration(self, /) -> PySide6.QtWidgets.QWidget: ...
def hotSpot(self, /) -> PySide6.QtCore.QPoint: ...
def source(self, /) -> PySide6.QtWidgets.QWidget: ...
def type(self, /) -> PySide6.QtDesigner.QDesignerDnDItemInterface.DropType: ...
def widget(self, /) -> PySide6.QtWidgets.QWidget: ...
class QDesignerDynamicPropertySheetExtension(Shiboken.Object):
def __init__(self, /) -> None: ...
def addDynamicProperty(self, propertyName: str, value: typing.Any, /) -> int: ...
def canAddDynamicProperty(self, propertyName: str, /) -> bool: ...
def dynamicPropertiesAllowed(self, /) -> bool: ...
def isDynamicProperty(self, index: int, /) -> bool: ...
def removeDynamicProperty(self, index: int, /) -> bool: ...
class QDesignerFormEditorInterface(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def actionEditor(self, /) -> PySide6.QtDesigner.QDesignerActionEditorInterface: ...
@staticmethod
def createIcon(name: str, /) -> PySide6.QtGui.QIcon: ...
def extensionManager(self, /) -> PySide6.QtDesigner.QExtensionManager: ...
def formWindowManager(self, /) -> PySide6.QtDesigner.QDesignerFormWindowManagerInterface: ...
def objectInspector(self, /) -> PySide6.QtDesigner.QDesignerObjectInspectorInterface: ...
def pluginInstances(self, /) -> typing.List[PySide6.QtCore.QObject]: ...
def propertyEditor(self, /) -> PySide6.QtDesigner.QDesignerPropertyEditorInterface: ...
def resourceLocation(self, /) -> str: ...
def setActionEditor(self, actionEditor: PySide6.QtDesigner.QDesignerActionEditorInterface, /) -> None: ...
def setExtensionManager(self, extensionManager: PySide6.QtDesigner.QExtensionManager, /) -> None: ...
def setFormManager(self, formWindowManager: PySide6.QtDesigner.QDesignerFormWindowManagerInterface, /) -> None: ...
def setObjectInspector(self, objectInspector: PySide6.QtDesigner.QDesignerObjectInspectorInterface, /) -> None: ...
def setPropertyEditor(self, propertyEditor: PySide6.QtDesigner.QDesignerPropertyEditorInterface, /) -> None: ...
def setTopLevel(self, topLevel: PySide6.QtWidgets.QWidget, /) -> None: ...
def setWidgetBox(self, widgetBox: PySide6.QtDesigner.QDesignerWidgetBoxInterface, /) -> None: ...
def topLevel(self, /) -> PySide6.QtWidgets.QWidget: ...
def widgetBox(self, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface: ...
class QDesignerFormWindowCursorInterface(Shiboken.Object):
class MoveMode(enum.Enum):
MoveAnchor = 0x0
KeepAnchor = 0x1
class MoveOperation(enum.Enum):
NoMove = 0x0
Start = 0x1
End = 0x2
Next = 0x3
Prev = 0x4
Left = 0x5
Right = 0x6
Up = 0x7
Down = 0x8
def __init__(self, /) -> None: ...
def current(self, /) -> PySide6.QtWidgets.QWidget: ...
def formWindow(self, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def hasSelection(self, /) -> bool: ...
def isWidgetSelected(self, widget: PySide6.QtWidgets.QWidget, /) -> bool: ...
def movePosition(self, op: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation, /, mode: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveMode = ...) -> bool: ...
def position(self, /) -> int: ...
def resetWidgetProperty(self, widget: PySide6.QtWidgets.QWidget, name: str, /) -> None: ...
def selectedWidget(self, index: int, /) -> PySide6.QtWidgets.QWidget: ...
def selectedWidgetCount(self, /) -> int: ...
def setPosition(self, pos: int, /, mode: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveMode = ...) -> None: ...
def setProperty(self, name: str, value: typing.Any, /) -> None: ...
def setWidgetProperty(self, widget: PySide6.QtWidgets.QWidget, name: str, value: typing.Any, /) -> None: ...
def widget(self, index: int, /) -> PySide6.QtWidgets.QWidget: ...
def widgetCount(self, /) -> int: ...
class QDesignerFormWindowInterface(PySide6.QtWidgets.QWidget):
aboutToUnmanageWidget : typing.ClassVar[Signal] = ... # aboutToUnmanageWidget(QWidget*)
activated : typing.ClassVar[Signal] = ... # activated(QWidget*)
changed : typing.ClassVar[Signal] = ... # changed()
featureChanged : typing.ClassVar[Signal] = ... # featureChanged(Feature)
fileNameChanged : typing.ClassVar[Signal] = ... # fileNameChanged(QString)
geometryChanged : typing.ClassVar[Signal] = ... # geometryChanged()
mainContainerChanged : typing.ClassVar[Signal] = ... # mainContainerChanged(QWidget*)
objectRemoved : typing.ClassVar[Signal] = ... # objectRemoved(QObject*)
resourceFilesChanged : typing.ClassVar[Signal] = ... # resourceFilesChanged()
selectionChanged : typing.ClassVar[Signal] = ... # selectionChanged()
toolChanged : typing.ClassVar[Signal] = ... # toolChanged(int)
widgetManaged : typing.ClassVar[Signal] = ... # widgetManaged(QWidget*)
widgetRemoved : typing.ClassVar[Signal] = ... # widgetRemoved(QWidget*)
widgetUnmanaged : typing.ClassVar[Signal] = ... # widgetUnmanaged(QWidget*)
class FeatureFlag(enum.Flag):
EditFeature = 0x1
GridFeature = 0x2
DefaultFeature = 0x3
TabOrderFeature = 0x4
class ResourceFileSaveMode(enum.Enum):
SaveAllResourceFiles = 0x0
SaveOnlyUsedResourceFiles = 0x1
DontSaveResourceFiles = 0x2
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def absoluteDir(self, /) -> PySide6.QtCore.QDir: ...
def activateResourceFilePaths(self, paths: collections.abc.Sequence[str], /) -> typing.Tuple[int, str]: ...
def activeResourceFilePaths(self, /) -> typing.List[str]: ...
def addResourceFile(self, path: str, /) -> None: ...
def author(self, /) -> str: ...
def beginCommand(self, description: str, /) -> None: ...
def checkContents(self, /) -> typing.List[str]: ...
def clearSelection(self, /, changePropertyDisplay: bool = ...) -> None: ...
def commandHistory(self, /) -> PySide6.QtGui.QUndoStack: ...
def comment(self, /) -> str: ...
def contents(self, /) -> str: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def currentTool(self, /) -> int: ...
def cursor(self, /) -> PySide6.QtDesigner.QDesignerFormWindowCursorInterface: ...
def editWidgets(self, /) -> None: ...
def emitSelectionChanged(self, /) -> None: ...
def endCommand(self, /) -> None: ...
def ensureUniqueObjectName(self, object: PySide6.QtCore.QObject, /) -> None: ...
def exportMacro(self, /) -> str: ...
def features(self, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag: ...
def fileName(self, /) -> str: ...
@typing.overload
@staticmethod
def findFormWindow(w: PySide6.QtWidgets.QWidget, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
@typing.overload
@staticmethod
def findFormWindow(obj: PySide6.QtCore.QObject, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def formContainer(self, /) -> PySide6.QtWidgets.QWidget: ...
def grid(self, /) -> PySide6.QtCore.QPoint: ...
def hasFeature(self, f: PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag, /) -> bool: ...
def includeHints(self, /) -> typing.List[str]: ...
def isDirty(self, /) -> bool: ...
def isManaged(self, widget: PySide6.QtWidgets.QWidget, /) -> bool: ...
def layoutDefault(self, /) -> typing.Tuple[int, int]: ...
def layoutFunction(self, /) -> typing.Tuple[str, str]: ...
def mainContainer(self, /) -> PySide6.QtWidgets.QWidget: ...
def manageWidget(self, widget: PySide6.QtWidgets.QWidget, /) -> None: ...
def pixmapFunction(self, /) -> str: ...
def registerTool(self, tool: PySide6.QtDesigner.QDesignerFormWindowToolInterface, /) -> None: ...
def removeResourceFile(self, path: str, /) -> None: ...
def resourceFileSaveMode(self, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode: ...
def resourceFiles(self, /) -> typing.List[str]: ...
def selectWidget(self, w: PySide6.QtWidgets.QWidget, /, select: bool = ...) -> None: ...
def setAuthor(self, author: str, /) -> None: ...
def setComment(self, comment: str, /) -> None: ...
@typing.overload
def setContents(self, dev: PySide6.QtCore.QIODevice, /) -> typing.Tuple[bool, str]: ...
@typing.overload
def setContents(self, contents: str, /) -> bool: ...
def setCurrentTool(self, index: int, /) -> None: ...
def setDirty(self, dirty: bool, /) -> None: ...
def setExportMacro(self, exportMacro: str, /) -> None: ...
def setFeatures(self, f: PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag, /) -> None: ...
def setFileName(self, fileName: str, /) -> None: ...
def setGrid(self, grid: PySide6.QtCore.QPoint, /) -> None: ...
def setIncludeHints(self, includeHints: collections.abc.Sequence[str], /) -> None: ...
def setLayoutDefault(self, margin: int, spacing: int, /) -> None: ...
def setLayoutFunction(self, margin: str, spacing: str, /) -> None: ...
def setMainContainer(self, mainContainer: PySide6.QtWidgets.QWidget, /) -> None: ...
def setPixmapFunction(self, pixmapFunction: str, /) -> None: ...
def setResourceFileSaveMode(self, behaviour: PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode, /) -> None: ...
def simplifySelection(self, widgets: collections.abc.Sequence[PySide6.QtWidgets.QWidget], /) -> None: ...
def tool(self, index: int, /) -> PySide6.QtDesigner.QDesignerFormWindowToolInterface: ...
def toolCount(self, /) -> int: ...
def unmanageWidget(self, widget: PySide6.QtWidgets.QWidget, /) -> None: ...
class QDesignerFormWindowManagerInterface(PySide6.QtCore.QObject):
activeFormWindowChanged : typing.ClassVar[Signal] = ... # activeFormWindowChanged(QDesignerFormWindowInterface*)
formWindowAdded : typing.ClassVar[Signal] = ... # formWindowAdded(QDesignerFormWindowInterface*)
formWindowRemoved : typing.ClassVar[Signal] = ... # formWindowRemoved(QDesignerFormWindowInterface*)
formWindowSettingsChanged: typing.ClassVar[Signal] = ... # formWindowSettingsChanged(QDesignerFormWindowInterface*)
class Action(enum.Enum):
CutAction = 0x64
CopyAction = 0x65
PasteAction = 0x66
DeleteAction = 0x67
SelectAllAction = 0x68
LowerAction = 0xc8
RaiseAction = 0xc9
UndoAction = 0x12c
RedoAction = 0x12d
HorizontalLayoutAction = 0x190
VerticalLayoutAction = 0x191
SplitHorizontalAction = 0x192
SplitVerticalAction = 0x193
GridLayoutAction = 0x194
FormLayoutAction = 0x195
BreakLayoutAction = 0x196
AdjustSizeAction = 0x197
SimplifyLayoutAction = 0x198
DefaultPreviewAction = 0x1f4
FormWindowSettingsDialogAction = 0x258
class ActionGroup(enum.Enum):
StyledPreviewActionGroup = 0x64
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def action(self, action: PySide6.QtDesigner.QDesignerFormWindowManagerInterface.Action, /) -> PySide6.QtGui.QAction: ...
def actionAdjustSize(self, /) -> PySide6.QtGui.QAction: ...
def actionBreakLayout(self, /) -> PySide6.QtGui.QAction: ...
def actionCopy(self, /) -> PySide6.QtGui.QAction: ...
def actionCut(self, /) -> PySide6.QtGui.QAction: ...
def actionDelete(self, /) -> PySide6.QtGui.QAction: ...
def actionFormLayout(self, /) -> PySide6.QtGui.QAction: ...
def actionGridLayout(self, /) -> PySide6.QtGui.QAction: ...
def actionGroup(self, actionGroup: PySide6.QtDesigner.QDesignerFormWindowManagerInterface.ActionGroup, /) -> PySide6.QtGui.QActionGroup: ...
def actionHorizontalLayout(self, /) -> PySide6.QtGui.QAction: ...
def actionLower(self, /) -> PySide6.QtGui.QAction: ...
def actionPaste(self, /) -> PySide6.QtGui.QAction: ...
def actionRaise(self, /) -> PySide6.QtGui.QAction: ...
def actionRedo(self, /) -> PySide6.QtGui.QAction: ...
def actionSelectAll(self, /) -> PySide6.QtGui.QAction: ...
def actionSimplifyLayout(self, /) -> PySide6.QtGui.QAction: ...
def actionSplitHorizontal(self, /) -> PySide6.QtGui.QAction: ...
def actionSplitVertical(self, /) -> PySide6.QtGui.QAction: ...
def actionUndo(self, /) -> PySide6.QtGui.QAction: ...
def actionVerticalLayout(self, /) -> PySide6.QtGui.QAction: ...
def activeFormWindow(self, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def addFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface, /) -> None: ...
def closeAllPreviews(self, /) -> None: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def createFormWindow(self, /, parentWidget: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def createPreviewPixmap(self, /) -> PySide6.QtGui.QPixmap: ...
def dragItems(self, item_list: collections.abc.Sequence[PySide6.QtDesigner.QDesignerDnDItemInterface], /) -> None: ...
def formWindow(self, index: int, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def formWindowCount(self, /) -> int: ...
def removeFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface, /) -> None: ...
def setActiveFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface, /) -> None: ...
def showPluginDialog(self, /) -> None: ...
def showPreview(self, /) -> None: ...
class QDesignerFormWindowToolInterface(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def action(self, /) -> PySide6.QtGui.QAction: ...
def activated(self, /) -> None: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def deactivated(self, /) -> None: ...
def editor(self, /) -> PySide6.QtWidgets.QWidget: ...
def formWindow(self, /) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
def handleEvent(self, widget: PySide6.QtWidgets.QWidget, managedWidget: PySide6.QtWidgets.QWidget, event: PySide6.QtCore.QEvent, /) -> bool: ...
class QDesignerMemberSheetExtension(Shiboken.Object):
def __init__(self, /) -> None: ...
def count(self, /) -> int: ...
def declaredInClass(self, index: int, /) -> str: ...
def indexOf(self, name: str, /) -> int: ...
def inheritedFromWidget(self, index: int, /) -> bool: ...
def isSignal(self, index: int, /) -> bool: ...
def isSlot(self, index: int, /) -> bool: ...
def isVisible(self, index: int, /) -> bool: ...
def memberGroup(self, index: int, /) -> str: ...
def memberName(self, index: int, /) -> str: ...
def parameterNames(self, index: int, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
def parameterTypes(self, index: int, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
def setMemberGroup(self, index: int, group: str, /) -> None: ...
def setVisible(self, index: int, b: bool, /) -> None: ...
def signature(self, index: int, /) -> str: ...
class QDesignerObjectInspectorInterface(PySide6.QtWidgets.QWidget):
def __init__(self, parent: PySide6.QtWidgets.QWidget, /, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def setFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface, /) -> None: ...
class QDesignerPropertyEditorInterface(PySide6.QtWidgets.QWidget):
propertyChanged : typing.ClassVar[Signal] = ... # propertyChanged(QString,QVariant)
def __init__(self, parent: PySide6.QtWidgets.QWidget, /, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def core(self, /) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
def currentPropertyName(self, /) -> str: ...
def isReadOnly(self, /) -> bool: ...
def object(self, /) -> PySide6.QtCore.QObject: ...
def setObject(self, object: PySide6.QtCore.QObject, /) -> None: ...
def setPropertyValue(self, name: str, value: typing.Any, /, changed: bool = ...) -> None: ...
def setReadOnly(self, readOnly: bool, /) -> None: ...
class QDesignerPropertySheetExtension(Shiboken.Object):
def __init__(self, /) -> None: ...
def count(self, /) -> int: ...
def hasReset(self, index: int, /) -> bool: ...
def indexOf(self, name: str, /) -> int: ...
def isAttribute(self, index: int, /) -> bool: ...
def isChanged(self, index: int, /) -> bool: ...
def isEnabled(self, index: int, /) -> bool: ...
def isVisible(self, index: int, /) -> bool: ...
def property(self, index: int, /) -> typing.Any: ...
def propertyGroup(self, index: int, /) -> str: ...
def propertyName(self, index: int, /) -> str: ...
def reset(self, index: int, /) -> bool: ...
def setAttribute(self, index: int, b: bool, /) -> None: ...
def setChanged(self, index: int, changed: bool, /) -> None: ...
def setProperty(self, index: int, value: typing.Any, /) -> None: ...
def setPropertyGroup(self, index: int, group: str, /) -> None: ...
def setVisible(self, index: int, b: bool, /) -> None: ...
class QDesignerTaskMenuExtension(Shiboken.Object):
def __init__(self, /) -> None: ...
def preferredEditAction(self, /) -> PySide6.QtGui.QAction: ...
def taskActions(self, /) -> typing.List[PySide6.QtGui.QAction]: ...
class QDesignerWidgetBoxInterface(PySide6.QtWidgets.QWidget):
class Category(Shiboken.Object):
class Type(enum.Enum):
Default = 0x0
Scratchpad = 0x1
@typing.overload
def __init__(self, Category: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category, /) -> None: ...
@typing.overload
def __init__(self, /, aname: str = ..., atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def addWidget(self, awidget: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget, /) -> None: ...
def isNull(self, /) -> bool: ...
def name(self, /) -> str: ...
def removeWidget(self, idx: int, /) -> None: ...
def setName(self, aname: str, /) -> None: ...
def setType(self, atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type, /) -> None: ...
def type(self, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type: ...
def widget(self, idx: int, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget: ...
def widgetCount(self, /) -> int: ...
class Widget(Shiboken.Object):
class Type(enum.Enum):
Default = 0x0
Custom = 0x1
@typing.overload
def __init__(self, w: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget, /) -> None: ...
@typing.overload
def __init__(self, /, aname: str = ..., xml: str = ..., icon_name: str = ..., atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def domXml(self, /) -> str: ...
def iconName(self, /) -> str: ...
def isNull(self, /) -> bool: ...
def name(self, /) -> str: ...
def setDomXml(self, xml: str, /) -> None: ...
def setIconName(self, icon_name: str, /) -> None: ...
def setName(self, aname: str, /) -> None: ...
def setType(self, atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type, /) -> None: ...
def type(self, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type: ...
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def addCategory(self, cat: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category, /) -> None: ...
def addWidget(self, cat_idx: int, wgt: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget, /) -> None: ...
def category(self, cat_idx: int, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category: ...
def categoryCount(self, /) -> int: ...
def dropWidgets(self, item_list: collections.abc.Sequence[PySide6.QtDesigner.QDesignerDnDItemInterface], global_mouse_pos: PySide6.QtCore.QPoint, /) -> None: ...
def fileName(self, /) -> str: ...
def findOrInsertCategory(self, categoryName: str, /) -> int: ...
def load(self, /) -> bool: ...
def removeCategory(self, cat_idx: int, /) -> None: ...
def removeWidget(self, cat_idx: int, wgt_idx: int, /) -> None: ...
def save(self, /) -> bool: ...
def setFileName(self, file_name: str, /) -> None: ...
def widget(self, cat_idx: int, wgt_idx: int, /) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget: ...
def widgetCount(self, cat_idx: int, /) -> int: ...
class QExtensionFactory(PySide6.QtCore.QObject, PySide6.QtDesigner.QAbstractExtensionFactory):
def __init__(self, /, parent: PySide6.QtDesigner.QExtensionManager | None = ...) -> None: ...
def createExtension(self, object: PySide6.QtCore.QObject, iid: str, parent: PySide6.QtCore.QObject, /) -> PySide6.QtCore.QObject: ...
def extension(self, object: PySide6.QtCore.QObject, iid: str, /) -> PySide6.QtCore.QObject: ...
def extensionManager(self, /) -> PySide6.QtDesigner.QExtensionManager: ...
class QExtensionManager(PySide6.QtCore.QObject, PySide6.QtDesigner.QAbstractExtensionManager):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def extension(self, object: PySide6.QtCore.QObject, iid: str, /) -> PySide6.QtCore.QObject: ...
def registerExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, /, iid: str = ...) -> None: ...
def unregisterExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, /, iid: str = ...) -> None: ...
class QFormBuilder(PySide6.QtDesigner.QAbstractFormBuilder):
def __init__(self, /) -> None: ...
def addPluginPath(self, pluginPath: str, /) -> None: ...
def clearPluginPaths(self, /) -> None: ...
def createLayout(self, layoutName: str, parent: PySide6.QtCore.QObject, name: str, /) -> PySide6.QtWidgets.QLayout: ...
def createWidget(self, widgetName: str, parentWidget: PySide6.QtWidgets.QWidget, name: str, /) -> PySide6.QtWidgets.QWidget: ...
def customWidgets(self, /) -> typing.List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...
def pluginPaths(self, /) -> typing.List[str]: ...
def setPluginPath(self, pluginPaths: collections.abc.Sequence[str], /) -> None: ...
def updateCustomWidgets(self, /) -> None: ...
@staticmethod
def widgetByName(topLevel: PySide6.QtWidgets.QWidget, name: str, /) -> PySide6.QtWidgets.QWidget: ...
class QIntList: ...
class QPyDesignerContainerExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerContainerExtension):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QPyDesignerCustomWidgetCollection(PySide6.QtDesigner.QDesignerCustomWidgetCollectionInterface):
@staticmethod
def addCustomWidget(c: PySide6.QtDesigner.QDesignerCustomWidgetInterface, /) -> None: ...
def customWidgets(self, /) -> typing.List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...
@staticmethod
def instance() -> PySide6.QtDesigner.QPyDesignerCustomWidgetCollection: ...
@staticmethod
def registerCustomWidget(customWidgetType: object, /, xml: str = ..., tool_tip: str = ..., group: str = ..., module: str = ..., container: bool = ..., icon: str = ...) -> None: ...
class QPyDesignerMemberSheetExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerMemberSheetExtension):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QPyDesignerPropertySheetExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerPropertySheetExtension): # type: ignore[misc]
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
class QPyDesignerTaskMenuExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerTaskMenuExtension):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,291 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtGraphsWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtGraphsWidgets`
import PySide6.QtGraphsWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtQuick
import PySide6.QtQuickWidgets
import PySide6.QtGraphs
import typing
from PySide6.QtCore import Signal
class Q3DBarsWidgetItem(PySide6.QtGraphsWidgets.Q3DGraphsWidgetItem):
barSeriesMarginChanged : typing.ClassVar[Signal] = ... # barSeriesMarginChanged(QSizeF)
barSpacingChanged : typing.ClassVar[Signal] = ... # barSpacingChanged(QSizeF)
barSpacingRelativeChanged: typing.ClassVar[Signal] = ... # barSpacingRelativeChanged(bool)
barThicknessChanged : typing.ClassVar[Signal] = ... # barThicknessChanged(float)
columnAxisChanged : typing.ClassVar[Signal] = ... # columnAxisChanged(QCategory3DAxis*)
floorLevelChanged : typing.ClassVar[Signal] = ... # floorLevelChanged(float)
multiSeriesUniformChanged: typing.ClassVar[Signal] = ... # multiSeriesUniformChanged(bool)
primarySeriesChanged : typing.ClassVar[Signal] = ... # primarySeriesChanged(QBar3DSeries*)
rowAxisChanged : typing.ClassVar[Signal] = ... # rowAxisChanged(QCategory3DAxis*)
selectedSeriesChanged : typing.ClassVar[Signal] = ... # selectedSeriesChanged(QBar3DSeries*)
sliceImageChanged : typing.ClassVar[Signal] = ... # sliceImageChanged(QImage)
valueAxisChanged : typing.ClassVar[Signal] = ... # valueAxisChanged(QValue3DAxis*)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, multiSeriesUniform: bool | None = ..., barThickness: float | None = ..., barSpacing: PySide6.QtCore.QSizeF | None = ..., barSpacingRelative: bool | None = ..., barSeriesMargin: PySide6.QtCore.QSizeF | None = ..., rowAxis: PySide6.QtGraphs.QCategory3DAxis | None = ..., columnAxis: PySide6.QtGraphs.QCategory3DAxis | None = ..., valueAxis: PySide6.QtGraphs.QValue3DAxis | None = ..., primarySeries: PySide6.QtGraphs.QBar3DSeries | None = ..., selectedSeries: PySide6.QtGraphs.QBar3DSeries | None = ..., floorLevel: float | None = ...) -> None: ...
def addAxis(self, axis: PySide6.QtGraphs.QAbstract3DAxis, /) -> None: ...
def addSeries(self, series: PySide6.QtGraphs.QBar3DSeries, /) -> None: ...
def axes(self, /) -> typing.List[PySide6.QtGraphs.QAbstract3DAxis]: ...
def barSeriesMargin(self, /) -> PySide6.QtCore.QSizeF: ...
def barSpacing(self, /) -> PySide6.QtCore.QSizeF: ...
def barThickness(self, /) -> float: ...
def columnAxis(self, /) -> PySide6.QtGraphs.QCategory3DAxis: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def floorLevel(self, /) -> float: ...
def insertSeries(self, index: int, series: PySide6.QtGraphs.QBar3DSeries, /) -> None: ...
def isBarSpacingRelative(self, /) -> bool: ...
def isMultiSeriesUniform(self, /) -> bool: ...
def primarySeries(self, /) -> PySide6.QtGraphs.QBar3DSeries: ...
def releaseAxis(self, axis: PySide6.QtGraphs.QAbstract3DAxis, /) -> None: ...
def removeSeries(self, series: PySide6.QtGraphs.QBar3DSeries, /) -> None: ...
def renderSliceToImage(self, requestedIndex: int, sliceType: PySide6.QtGraphs.QtGraphs3D.SliceCaptureType, /) -> None: ...
def rowAxis(self, /) -> PySide6.QtGraphs.QCategory3DAxis: ...
def selectedSeries(self, /) -> PySide6.QtGraphs.QBar3DSeries: ...
def seriesList(self, /) -> typing.List[PySide6.QtGraphs.QBar3DSeries]: ...
def setBarSeriesMargin(self, margin: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
def setBarSpacing(self, spacing: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
def setBarSpacingRelative(self, relative: bool, /) -> None: ...
def setBarThickness(self, thicknessRatio: float, /) -> None: ...
def setColumnAxis(self, axis: PySide6.QtGraphs.QCategory3DAxis, /) -> None: ...
def setFloorLevel(self, level: float, /) -> None: ...
def setMultiSeriesUniform(self, uniform: bool, /) -> None: ...
def setPrimarySeries(self, series: PySide6.QtGraphs.QBar3DSeries, /) -> None: ...
def setRowAxis(self, axis: PySide6.QtGraphs.QCategory3DAxis, /) -> None: ...
def setValueAxis(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def valueAxis(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
class Q3DGraphsWidgetItem(PySide6.QtCore.QObject):
activeThemeChanged : typing.ClassVar[Signal] = ... # activeThemeChanged(QGraphsTheme*)
ambientLightStrengthChanged: typing.ClassVar[Signal] = ... # ambientLightStrengthChanged()
aspectRatioChanged : typing.ClassVar[Signal] = ... # aspectRatioChanged(double)
cameraPresetChanged : typing.ClassVar[Signal] = ... # cameraPresetChanged(QtGraphs3D::CameraPreset)
cameraTargetPositionChanged: typing.ClassVar[Signal] = ... # cameraTargetPositionChanged(QVector3D)
cameraXRotationChanged : typing.ClassVar[Signal] = ... # cameraXRotationChanged(float)
cameraYRotationChanged : typing.ClassVar[Signal] = ... # cameraYRotationChanged(float)
cameraZoomLevelChanged : typing.ClassVar[Signal] = ... # cameraZoomLevelChanged(float)
currentFpsChanged : typing.ClassVar[Signal] = ... # currentFpsChanged(int)
cutoffMarginChanged : typing.ClassVar[Signal] = ... # cutoffMarginChanged(double)
doubleTapped : typing.ClassVar[Signal] = ... # doubleTapped(QEventPoint,Qt::MouseButton)
dragged : typing.ClassVar[Signal] = ... # dragged(QVector2D)
gridLineTypeChanged : typing.ClassVar[Signal] = ... # gridLineTypeChanged()
horizontalAspectRatioChanged: typing.ClassVar[Signal] = ... # horizontalAspectRatioChanged(double)
labelMarginChanged : typing.ClassVar[Signal] = ... # labelMarginChanged(float)
lightColorChanged : typing.ClassVar[Signal] = ... # lightColorChanged()
lightStrengthChanged : typing.ClassVar[Signal] = ... # lightStrengthChanged()
localeChanged : typing.ClassVar[Signal] = ... # localeChanged(QLocale)
longPressed : typing.ClassVar[Signal] = ... # longPressed()
marginChanged : typing.ClassVar[Signal] = ... # marginChanged(double)
maxCameraXRotationChanged: typing.ClassVar[Signal] = ... # maxCameraXRotationChanged(float)
maxCameraYRotationChanged: typing.ClassVar[Signal] = ... # maxCameraYRotationChanged(float)
maxCameraZoomLevelChanged: typing.ClassVar[Signal] = ... # maxCameraZoomLevelChanged(float)
measureFpsChanged : typing.ClassVar[Signal] = ... # measureFpsChanged(bool)
minCameraXRotationChanged: typing.ClassVar[Signal] = ... # minCameraXRotationChanged(float)
minCameraYRotationChanged: typing.ClassVar[Signal] = ... # minCameraYRotationChanged(float)
minCameraZoomLevelChanged: typing.ClassVar[Signal] = ... # minCameraZoomLevelChanged(float)
mouseMove : typing.ClassVar[Signal] = ... # mouseMove(QPoint)
msaaSamplesChanged : typing.ClassVar[Signal] = ... # msaaSamplesChanged(int)
optimizationHintChanged : typing.ClassVar[Signal] = ... # optimizationHintChanged(QtGraphs3D::OptimizationHint)
orthoProjectionChanged : typing.ClassVar[Signal] = ... # orthoProjectionChanged(bool)
pinch : typing.ClassVar[Signal] = ... # pinch(double)
polarChanged : typing.ClassVar[Signal] = ... # polarChanged(bool)
queriedGraphPositionChanged: typing.ClassVar[Signal] = ... # queriedGraphPositionChanged(QVector3D)
radialLabelOffsetChanged : typing.ClassVar[Signal] = ... # radialLabelOffsetChanged(float)
rotationEnabledChanged : typing.ClassVar[Signal] = ... # rotationEnabledChanged(bool)
selectedElementChanged : typing.ClassVar[Signal] = ... # selectedElementChanged(QtGraphs3D::ElementType)
selectionEnabledChanged : typing.ClassVar[Signal] = ... # selectionEnabledChanged(bool)
selectionModeChanged : typing.ClassVar[Signal] = ... # selectionModeChanged(QtGraphs3D::SelectionFlags)
shadowQualityChanged : typing.ClassVar[Signal] = ... # shadowQualityChanged(QtGraphs3D::ShadowQuality)
shadowStrengthChanged : typing.ClassVar[Signal] = ... # shadowStrengthChanged()
tapped : typing.ClassVar[Signal] = ... # tapped(QEventPoint,Qt::MouseButton)
transparencyTechniqueChanged: typing.ClassVar[Signal] = ... # transparencyTechniqueChanged(QtGraphs3D::TransparencyTechnique)
wheel : typing.ClassVar[Signal] = ... # wheel(QWheelEvent*)
wrapCameraXRotationChanged: typing.ClassVar[Signal] = ... # wrapCameraXRotationChanged(bool)
wrapCameraYRotationChanged: typing.ClassVar[Signal] = ... # wrapCameraYRotationChanged(bool)
zoomAtTargetEnabledChanged: typing.ClassVar[Signal] = ... # zoomAtTargetEnabledChanged(bool)
zoomEnabledChanged : typing.ClassVar[Signal] = ... # zoomEnabledChanged(bool)
def activeTheme(self, /) -> PySide6.QtGraphs.QGraphsTheme: ...
def addCustomItem(self, item: PySide6.QtGraphs.QCustom3DItem, /) -> int: ...
def addTheme(self, theme: PySide6.QtGraphs.QGraphsTheme, /) -> None: ...
def ambientLightStrength(self, /) -> float: ...
def aspectRatio(self, /) -> float: ...
def cameraPreset(self, /) -> PySide6.QtGraphs.QtGraphs3D.CameraPreset: ...
def cameraTargetPosition(self, /) -> PySide6.QtGui.QVector3D: ...
def cameraXRotation(self, /) -> float: ...
def cameraYRotation(self, /) -> float: ...
def cameraZoomLevel(self, /) -> float: ...
def clearSelection(self, /) -> None: ...
def currentFps(self, /) -> int: ...
def customItems(self, /) -> typing.List[PySide6.QtGraphs.QCustom3DItem]: ...
def cutoffMargin(self, /) -> float: ...
def doPicking(self, point: PySide6.QtCore.QPoint, /) -> None: ...
def doRayPicking(self, origin: PySide6.QtGui.QVector3D, direction: PySide6.QtGui.QVector3D, /) -> None: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def eventFilter(self, obj: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent, /) -> bool: ...
def gridLineType(self, /) -> PySide6.QtGraphs.QtGraphs3D.GridLineType: ...
def hasSeries(self, series: PySide6.QtGraphs.QAbstract3DSeries, /) -> bool: ...
def horizontalAspectRatio(self, /) -> float: ...
def isOrthoProjection(self, /) -> bool: ...
def isPolar(self, /) -> bool: ...
def isRotationEnabled(self, /) -> bool: ...
def isSelectionEnabled(self, /) -> bool: ...
def isZoomAtTargetEnabled(self, /) -> bool: ...
def isZoomEnabled(self, /) -> bool: ...
def labelMargin(self, /) -> float: ...
def lightColor(self, /) -> PySide6.QtGui.QColor: ...
def lightStrength(self, /) -> float: ...
def locale(self, /) -> PySide6.QtCore.QLocale: ...
def margin(self, /) -> float: ...
def maxCameraXRotation(self, /) -> float: ...
def maxCameraYRotation(self, /) -> float: ...
def maxCameraZoomLevel(self, /) -> float: ...
def measureFps(self, /) -> bool: ...
def minCameraXRotation(self, /) -> float: ...
def minCameraYRotation(self, /) -> float: ...
def minCameraZoomLevel(self, /) -> float: ...
def msaaSamples(self, /) -> int: ...
def optimizationHint(self, /) -> PySide6.QtGraphs.QtGraphs3D.OptimizationHint: ...
def queriedGraphPosition(self, /) -> PySide6.QtGui.QVector3D: ...
def radialLabelOffset(self, /) -> float: ...
def releaseCustomItem(self, item: PySide6.QtGraphs.QCustom3DItem, /) -> None: ...
def releaseTheme(self, theme: PySide6.QtGraphs.QGraphsTheme, /) -> None: ...
def removeCustomItem(self, item: PySide6.QtGraphs.QCustom3DItem, /) -> None: ...
def removeCustomItemAt(self, position: PySide6.QtGui.QVector3D, /) -> None: ...
def removeCustomItems(self, /) -> None: ...
def renderToImage(self, /, imageSize: PySide6.QtCore.QSize = ...) -> typing.Tuple[PySide6.QtQuick.QQuickItemGrabResult]: ...
def scene(self, /) -> PySide6.QtGraphs.Q3DScene: ...
def selectedAxis(self, /) -> PySide6.QtGraphs.QAbstract3DAxis: ...
def selectedCustomItem(self, /) -> PySide6.QtGraphs.QCustom3DItem: ...
def selectedCustomItemIndex(self, /) -> int: ...
def selectedElement(self, /) -> PySide6.QtGraphs.QtGraphs3D.ElementType: ...
def selectedLabelIndex(self, /) -> int: ...
def selectionMode(self, /) -> PySide6.QtGraphs.QtGraphs3D.SelectionFlag: ...
def setActiveTheme(self, activeTheme: PySide6.QtGraphs.QGraphsTheme, /) -> None: ...
def setAmbientLightStrength(self, newAmbientLightStrength: float, /) -> None: ...
def setAspectRatio(self, ratio: float, /) -> None: ...
def setCameraPosition(self, horizontal: float, vertical: float, /, zoom: float = ...) -> None: ...
def setCameraPreset(self, preset: PySide6.QtGraphs.QtGraphs3D.CameraPreset, /) -> None: ...
def setCameraTargetPosition(self, target: PySide6.QtGui.QVector3D, /) -> None: ...
def setCameraXRotation(self, rotation: float, /) -> None: ...
def setCameraYRotation(self, rotation: float, /) -> None: ...
def setCameraZoomLevel(self, level: float, /) -> None: ...
def setCutoffMargin(self, margin: float, /) -> None: ...
def setDefaultInputHandler(self, /) -> None: ...
def setDragButton(self, button: PySide6.QtCore.Qt.MouseButton, /) -> None: ...
def setGridLineType(self, gridLineType: PySide6.QtGraphs.QtGraphs3D.GridLineType, /) -> None: ...
def setHorizontalAspectRatio(self, ratio: float, /) -> None: ...
def setLabelMargin(self, margin: float, /) -> None: ...
def setLightColor(self, newLightColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setLightStrength(self, newLightStrength: float, /) -> None: ...
def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
def setMargin(self, margin: float, /) -> None: ...
def setMaxCameraXRotation(self, rotation: float, /) -> None: ...
def setMaxCameraYRotation(self, rotation: float, /) -> None: ...
def setMaxCameraZoomLevel(self, level: float, /) -> None: ...
def setMeasureFps(self, enable: bool, /) -> None: ...
def setMinCameraXRotation(self, rotation: float, /) -> None: ...
def setMinCameraYRotation(self, rotation: float, /) -> None: ...
def setMinCameraZoomLevel(self, level: float, /) -> None: ...
def setMsaaSamples(self, samples: int, /) -> None: ...
def setOptimizationHint(self, hint: PySide6.QtGraphs.QtGraphs3D.OptimizationHint, /) -> None: ...
def setOrthoProjection(self, enable: bool, /) -> None: ...
def setPolar(self, enable: bool, /) -> None: ...
def setRadialLabelOffset(self, offset: float, /) -> None: ...
def setRotationEnabled(self, enable: bool, /) -> None: ...
def setSelectionEnabled(self, enable: bool, /) -> None: ...
def setSelectionMode(self, selectionMode: PySide6.QtGraphs.QtGraphs3D.SelectionFlag, /) -> None: ...
def setShadowQuality(self, shadowQuality: PySide6.QtGraphs.QtGraphs3D.ShadowQuality, /) -> None: ...
def setShadowStrength(self, newShadowStrength: float, /) -> None: ...
def setTransparencyTechnique(self, technique: PySide6.QtGraphs.QtGraphs3D.TransparencyTechnique, /) -> None: ...
def setWidget(self, widget: PySide6.QtQuickWidgets.QQuickWidget, /) -> None: ...
def setWrapCameraXRotation(self, wrap: bool, /) -> None: ...
def setWrapCameraYRotation(self, wrap: bool, /) -> None: ...
def setZoomAtTargetEnabled(self, enable: bool, /) -> None: ...
def setZoomEnabled(self, enable: bool, /) -> None: ...
def shadowQuality(self, /) -> PySide6.QtGraphs.QtGraphs3D.ShadowQuality: ...
def shadowStrength(self, /) -> float: ...
def themes(self, /) -> typing.List[PySide6.QtGraphs.QGraphsTheme]: ...
def transparencyTechnique(self, /) -> PySide6.QtGraphs.QtGraphs3D.TransparencyTechnique: ...
def unsetDefaultDragHandler(self, /) -> None: ...
def unsetDefaultInputHandler(self, /) -> None: ...
def unsetDefaultPinchHandler(self, /) -> None: ...
def unsetDefaultTapHandler(self, /) -> None: ...
def unsetDefaultWheelHandler(self, /) -> None: ...
def widget(self, /) -> PySide6.QtQuickWidgets.QQuickWidget: ...
def wrapCameraXRotation(self, /) -> bool: ...
def wrapCameraYRotation(self, /) -> bool: ...
class Q3DScatterWidgetItem(PySide6.QtGraphsWidgets.Q3DGraphsWidgetItem):
axisXChanged : typing.ClassVar[Signal] = ... # axisXChanged(QValue3DAxis*)
axisYChanged : typing.ClassVar[Signal] = ... # axisYChanged(QValue3DAxis*)
axisZChanged : typing.ClassVar[Signal] = ... # axisZChanged(QValue3DAxis*)
selectedSeriesChanged : typing.ClassVar[Signal] = ... # selectedSeriesChanged(QScatter3DSeries*)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, axisX: PySide6.QtGraphs.QValue3DAxis | None = ..., axisY: PySide6.QtGraphs.QValue3DAxis | None = ..., axisZ: PySide6.QtGraphs.QValue3DAxis | None = ..., selectedSeries: PySide6.QtGraphs.QScatter3DSeries | None = ...) -> None: ...
def addAxis(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def addSeries(self, series: PySide6.QtGraphs.QScatter3DSeries, /) -> None: ...
def axes(self, /) -> typing.List[PySide6.QtGraphs.QValue3DAxis]: ...
def axisX(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def axisY(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def axisZ(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def releaseAxis(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def removeSeries(self, series: PySide6.QtGraphs.QScatter3DSeries, /) -> None: ...
def selectedSeries(self, /) -> PySide6.QtGraphs.QScatter3DSeries: ...
def seriesList(self, /) -> typing.List[PySide6.QtGraphs.QScatter3DSeries]: ...
def setAxisX(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def setAxisY(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def setAxisZ(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
class Q3DSurfaceWidgetItem(PySide6.QtGraphsWidgets.Q3DGraphsWidgetItem):
axisXChanged : typing.ClassVar[Signal] = ... # axisXChanged(QValue3DAxis*)
axisYChanged : typing.ClassVar[Signal] = ... # axisYChanged(QValue3DAxis*)
axisZChanged : typing.ClassVar[Signal] = ... # axisZChanged(QValue3DAxis*)
flipHorizontalGridChanged: typing.ClassVar[Signal] = ... # flipHorizontalGridChanged(bool)
selectedSeriesChanged : typing.ClassVar[Signal] = ... # selectedSeriesChanged(QSurface3DSeries*)
sliceImageChanged : typing.ClassVar[Signal] = ... # sliceImageChanged(QImage)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, axisX: PySide6.QtGraphs.QValue3DAxis | None = ..., axisY: PySide6.QtGraphs.QValue3DAxis | None = ..., axisZ: PySide6.QtGraphs.QValue3DAxis | None = ..., selectedSeries: PySide6.QtGraphs.QSurface3DSeries | None = ..., flipHorizontalGrid: bool | None = ...) -> None: ...
def addAxis(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def addSeries(self, series: PySide6.QtGraphs.QSurface3DSeries, /) -> None: ...
def axes(self, /) -> typing.List[PySide6.QtGraphs.QValue3DAxis]: ...
def axisX(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def axisY(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def axisZ(self, /) -> PySide6.QtGraphs.QValue3DAxis: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def flipHorizontalGrid(self, /) -> bool: ...
def releaseAxis(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def removeSeries(self, series: PySide6.QtGraphs.QSurface3DSeries, /) -> None: ...
def renderSliceToImage(self, index: int, requestedIndex: int, sliceType: PySide6.QtGraphs.QtGraphs3D.SliceCaptureType, /) -> None: ...
def selectedSeries(self, /) -> PySide6.QtGraphs.QSurface3DSeries: ...
def seriesList(self, /) -> typing.List[PySide6.QtGraphs.QSurface3DSeries]: ...
def setAxisX(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def setAxisY(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def setAxisZ(self, axis: PySide6.QtGraphs.QValue3DAxis, /) -> None: ...
def setFlipHorizontalGrid(self, flip: bool, /) -> None: ...
class QIntList: ...
# eof
File diff suppressed because it is too large Load Diff
-355
View File
@@ -1,355 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtHelp, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtHelp`
import PySide6.QtHelp
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QCompressedHelpInfo(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtHelp.QCompressedHelpInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def component(self, /) -> str: ...
@staticmethod
def fromCompressedHelpFile(documentationFileName: str, /) -> PySide6.QtHelp.QCompressedHelpInfo: ...
def isNull(self, /) -> bool: ...
def namespaceName(self, /) -> str: ...
def swap(self, other: PySide6.QtHelp.QCompressedHelpInfo, /) -> None: ...
def version(self, /) -> PySide6.QtCore.QVersionNumber: ...
class QHelpContentItem(Shiboken.Object):
def child(self, row: int, /) -> PySide6.QtHelp.QHelpContentItem: ...
def childCount(self, /) -> int: ...
def childPosition(self, child: PySide6.QtHelp.QHelpContentItem, /) -> int: ...
def parent(self, /) -> PySide6.QtHelp.QHelpContentItem: ...
def row(self, /) -> int: ...
def title(self, /) -> str: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
class QHelpContentModel(PySide6.QtCore.QAbstractItemModel):
contentsCreated : typing.ClassVar[Signal] = ... # contentsCreated()
contentsCreationStarted : typing.ClassVar[Signal] = ... # contentsCreationStarted()
def columnCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def contentItemAt(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtHelp.QHelpContentItem: ...
def createContents(self, customFilterName: str, /) -> None: ...
def createContentsForCurrentFilter(self, /) -> None: ...
def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int, /) -> typing.Any: ...
def index(self, row: int, column: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> PySide6.QtCore.QModelIndex: ...
def isCreatingContents(self, /) -> bool: ...
@typing.overload
def parent(self, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def parent(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
class QHelpContentWidget(PySide6.QtWidgets.QTreeView):
linkActivated : typing.ClassVar[Signal] = ... # linkActivated(QUrl)
def indexOf(self, link: PySide6.QtCore.QUrl | str, /) -> PySide6.QtCore.QModelIndex: ...
class QHelpEngine(PySide6.QtHelp.QHelpEngineCore):
def __init__(self, collectionFile: str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def contentModel(self, /) -> PySide6.QtHelp.QHelpContentModel: ...
def contentWidget(self, /) -> PySide6.QtHelp.QHelpContentWidget: ...
def indexModel(self, /) -> PySide6.QtHelp.QHelpIndexModel: ...
def indexWidget(self, /) -> PySide6.QtHelp.QHelpIndexWidget: ...
def searchEngine(self, /) -> PySide6.QtHelp.QHelpSearchEngine: ...
class QHelpEngineCore(PySide6.QtCore.QObject):
currentFilterChanged : typing.ClassVar[Signal] = ... # currentFilterChanged(QString)
readersAboutToBeInvalidated: typing.ClassVar[Signal] = ... # readersAboutToBeInvalidated()
setupFinished : typing.ClassVar[Signal] = ... # setupFinished()
setupStarted : typing.ClassVar[Signal] = ... # setupStarted()
warning : typing.ClassVar[Signal] = ... # warning(QString)
def __init__(self, collectionFile: str, /, parent: PySide6.QtCore.QObject | None = ..., *, autoSaveFilter: bool | None = ..., readOnly: bool | None = ..., currentFilter: str | None = ...) -> None: ...
def addCustomFilter(self, filterName: str, attributes: collections.abc.Sequence[str], /) -> bool: ...
def autoSaveFilter(self, /) -> bool: ...
def collectionFile(self, /) -> str: ...
def copyCollectionFile(self, fileName: str, /) -> bool: ...
def currentFilter(self, /) -> str: ...
def customFilters(self, /) -> typing.List[str]: ...
def customValue(self, key: str, /, defaultValue: typing.Any = ...) -> typing.Any: ...
def documentationFileName(self, namespaceName: str, /) -> str: ...
@typing.overload
def documentsForIdentifier(self, id: str, /) -> typing.List[PySide6.QtHelp.QHelpLink]: ...
@typing.overload
def documentsForIdentifier(self, id: str, filterName: str, /) -> typing.List[PySide6.QtHelp.QHelpLink]: ...
@typing.overload
def documentsForKeyword(self, keyword: str, /) -> typing.List[PySide6.QtHelp.QHelpLink]: ...
@typing.overload
def documentsForKeyword(self, keyword: str, filterName: str, /) -> typing.List[PySide6.QtHelp.QHelpLink]: ...
def error(self, /) -> str: ...
def fileData(self, url: PySide6.QtCore.QUrl | str, /) -> PySide6.QtCore.QByteArray: ...
@typing.overload
def files(self, namespaceName: str, filterName: str, /, extensionFilter: str = ...) -> typing.List[PySide6.QtCore.QUrl]: ...
@typing.overload
def files(self, namespaceName: str, filterAttributes: collections.abc.Sequence[str], /, extensionFilter: str = ...) -> typing.List[PySide6.QtCore.QUrl]: ...
def filterAttributeSets(self, namespaceName: str, /) -> typing.List[typing.List[str]]: ...
@typing.overload
def filterAttributes(self, /) -> typing.List[str]: ...
@typing.overload
def filterAttributes(self, filterName: str, /) -> typing.List[str]: ...
def filterEngine(self, /) -> PySide6.QtHelp.QHelpFilterEngine: ...
def findFile(self, url: PySide6.QtCore.QUrl | str, /) -> PySide6.QtCore.QUrl: ...
def isReadOnly(self, /) -> bool: ...
@staticmethod
def metaData(documentationFileName: str, name: str, /) -> typing.Any: ...
@staticmethod
def namespaceName(documentationFileName: str, /) -> str: ...
def registerDocumentation(self, documentationFileName: str, /) -> bool: ...
def registeredDocumentations(self, /) -> typing.List[str]: ...
def removeCustomFilter(self, filterName: str, /) -> bool: ...
def removeCustomValue(self, key: str, /) -> bool: ...
def setAutoSaveFilter(self, save: bool, /) -> None: ...
def setCollectionFile(self, fileName: str, /) -> None: ...
def setCurrentFilter(self, filterName: str, /) -> None: ...
def setCustomValue(self, key: str, value: typing.Any, /) -> bool: ...
def setReadOnly(self, enable: bool, /) -> None: ...
def setUsesFilterEngine(self, uses: bool, /) -> None: ...
def setupData(self, /) -> bool: ...
def unregisterDocumentation(self, namespaceName: str, /) -> bool: ...
def usesFilterEngine(self, /) -> bool: ...
class QHelpFilterData(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtHelp.QHelpFilterData, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtHelp.QHelpFilterData, /) -> bool: ...
def components(self, /) -> typing.List[str]: ...
def setComponents(self, components: collections.abc.Sequence[str], /) -> None: ...
def setVersions(self, versions: collections.abc.Sequence[PySide6.QtCore.QVersionNumber], /) -> None: ...
def swap(self, other: PySide6.QtHelp.QHelpFilterData, /) -> None: ...
def versions(self, /) -> typing.List[PySide6.QtCore.QVersionNumber]: ...
class QHelpFilterEngine(PySide6.QtCore.QObject):
filterActivated : typing.ClassVar[Signal] = ... # filterActivated(QString)
def __init__(self, helpEngine: PySide6.QtHelp.QHelpEngineCore, /) -> None: ...
def activeFilter(self, /) -> str: ...
def availableComponents(self, /) -> typing.List[str]: ...
def availableVersions(self, /) -> typing.List[PySide6.QtCore.QVersionNumber]: ...
def filterData(self, filterName: str, /) -> PySide6.QtHelp.QHelpFilterData: ...
def filters(self, /) -> typing.List[str]: ...
@typing.overload
def indices(self, /) -> typing.List[str]: ...
@typing.overload
def indices(self, filterName: str, /) -> typing.List[str]: ...
def namespaceToComponent(self, /) -> typing.Dict[str, str]: ...
def namespaceToVersion(self, /) -> typing.Dict[str, PySide6.QtCore.QVersionNumber]: ...
def namespacesForFilter(self, filterName: str, /) -> typing.List[str]: ...
def removeFilter(self, filterName: str, /) -> bool: ...
def setActiveFilter(self, filterName: str, /) -> bool: ...
def setFilterData(self, filterName: str, filterData: PySide6.QtHelp.QHelpFilterData, /) -> bool: ...
class QHelpFilterSettingsWidget(PySide6.QtWidgets.QWidget):
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def applySettings(self, filterEngine: PySide6.QtHelp.QHelpFilterEngine, /) -> bool: ...
def readSettings(self, filterEngine: PySide6.QtHelp.QHelpFilterEngine, /) -> None: ...
def setAvailableComponents(self, components: collections.abc.Sequence[str], /) -> None: ...
def setAvailableVersions(self, versions: collections.abc.Sequence[PySide6.QtCore.QVersionNumber], /) -> None: ...
class QHelpGlobal(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QHelpGlobal: PySide6.QtHelp.QHelpGlobal, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@staticmethod
def documentTitle(content: str, /) -> str: ...
@staticmethod
def uniquifyConnectionName(name: str, pointer: int, /) -> str: ...
class QHelpIndexModel(PySide6.QtCore.QStringListModel):
indexCreated : typing.ClassVar[Signal] = ... # indexCreated()
indexCreationStarted : typing.ClassVar[Signal] = ... # indexCreationStarted()
def createIndex(self, customFilterName: str, /) -> None: ...
def createIndexForCurrentFilter(self, /) -> None: ...
def filter(self, filter: str, /, wildcard: str = ...) -> PySide6.QtCore.QModelIndex: ...
def helpEngine(self, /) -> PySide6.QtHelp.QHelpEngineCore: ...
def isCreatingIndex(self, /) -> bool: ...
class QHelpIndexWidget(PySide6.QtWidgets.QListView):
documentActivated : typing.ClassVar[Signal] = ... # documentActivated(QHelpLink,QString)
documentsActivated : typing.ClassVar[Signal] = ... # documentsActivated(QList<QHelpLink>,QString)
linkActivated : typing.ClassVar[Signal] = ... # linkActivated(QUrl,QString)
linksActivated : typing.ClassVar[Signal] = ... # linksActivated(QMultiMap<QString,QUrl>,QString)
def activateCurrentItem(self, /) -> None: ...
def filterIndices(self, filter: str, /, wildcard: str = ...) -> None: ...
class QHelpLink(Shiboken.Object):
title = ... # type: str
url = ... # type: PySide6.QtCore.QUrl
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QHelpLink: PySide6.QtHelp.QHelpLink, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class QHelpSearchEngine(PySide6.QtCore.QObject):
indexingFinished : typing.ClassVar[Signal] = ... # indexingFinished()
indexingStarted : typing.ClassVar[Signal] = ... # indexingStarted()
searchingFinished : typing.ClassVar[Signal] = ... # searchingFinished(int)
searchingStarted : typing.ClassVar[Signal] = ... # searchingStarted()
def __init__(self, helpEngine: PySide6.QtHelp.QHelpEngineCore, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def cancelIndexing(self, /) -> None: ...
def cancelSearching(self, /) -> None: ...
def hitCount(self, /) -> int: ...
def hits(self, start: int, end: int, /) -> typing.List[typing.Tuple[str, str]]: ...
def hitsCount(self, /) -> int: ...
def query(self, /) -> typing.List[PySide6.QtHelp.QHelpSearchQuery]: ...
def queryWidget(self, /) -> PySide6.QtHelp.QHelpSearchQueryWidget: ...
def reindexDocumentation(self, /) -> None: ...
def resultWidget(self, /) -> PySide6.QtHelp.QHelpSearchResultWidget: ...
def scheduleIndexDocumentation(self, /) -> None: ...
@typing.overload
def search(self, searchInput: str, /) -> None: ...
@typing.overload
def search(self, queryList: collections.abc.Sequence[PySide6.QtHelp.QHelpSearchQuery], /) -> None: ...
def searchInput(self, /) -> str: ...
def searchResultCount(self, /) -> int: ...
def searchResults(self, start: int, end: int, /) -> typing.List[PySide6.QtHelp.QHelpSearchResult]: ...
class QHelpSearchEngineCore(PySide6.QtCore.QObject):
indexingFinished : typing.ClassVar[Signal] = ... # indexingFinished()
indexingStarted : typing.ClassVar[Signal] = ... # indexingStarted()
searchingFinished : typing.ClassVar[Signal] = ... # searchingFinished()
searchingStarted : typing.ClassVar[Signal] = ... # searchingStarted()
def __init__(self, helpEngine: PySide6.QtHelp.QHelpEngineCore, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def cancelIndexing(self, /) -> None: ...
def cancelSearching(self, /) -> None: ...
def reindexDocumentation(self, /) -> None: ...
def scheduleIndexDocumentation(self, /) -> None: ...
def search(self, searchInput: str, /) -> None: ...
def searchInput(self, /) -> str: ...
def searchResultCount(self, /) -> int: ...
def searchResults(self, start: int, end: int, /) -> typing.List[PySide6.QtHelp.QHelpSearchResult]: ...
class QHelpSearchQuery(Shiboken.Object):
fieldName = ... # type: PySide6.QtHelp.QHelpSearchQuery.FieldName
wordList = ... # type: typing.List[str]
class FieldName(enum.Enum):
DEFAULT = 0x0
FUZZY = 0x1
WITHOUT = 0x2
PHRASE = 0x3
ALL = 0x4
ATLEAST = 0x5
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, field: PySide6.QtHelp.QHelpSearchQuery.FieldName, wordList_: collections.abc.Sequence[str], /) -> None: ...
@typing.overload
def __init__(self, QHelpSearchQuery: PySide6.QtHelp.QHelpSearchQuery, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class QHelpSearchQueryWidget(PySide6.QtWidgets.QWidget):
search : typing.ClassVar[Signal] = ... # search()
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def changeEvent(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def collapseExtendedSearch(self, /) -> None: ...
def expandExtendedSearch(self, /) -> None: ...
def focusInEvent(self, focusEvent: PySide6.QtGui.QFocusEvent, /) -> None: ...
def isCompactMode(self, /) -> bool: ...
def query(self, /) -> typing.List[PySide6.QtHelp.QHelpSearchQuery]: ...
def searchInput(self, /) -> str: ...
def setCompactMode(self, on: bool, /) -> None: ...
def setQuery(self, queryList: collections.abc.Sequence[PySide6.QtHelp.QHelpSearchQuery], /) -> None: ...
def setSearchInput(self, searchInput: str, /) -> None: ...
class QHelpSearchResult(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtHelp.QHelpSearchResult, /) -> None: ...
@typing.overload
def __init__(self, url: PySide6.QtCore.QUrl | str, title: str, snippet: str, /) -> None: ...
def snippet(self, /) -> str: ...
def title(self, /) -> str: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
class QHelpSearchResultWidget(PySide6.QtWidgets.QWidget):
requestShowLink : typing.ClassVar[Signal] = ... # requestShowLink(QUrl)
def changeEvent(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def linkAt(self, point: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QUrl: ...
class QIntList: ...
# eof
@@ -1,321 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtHttpServer, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtHttpServer`
import PySide6.QtHttpServer
import PySide6.QtCore
import PySide6.QtNetwork
import os
import enum
import typing
import collections.abc
from shiboken6 import Shiboken
class QAbstractHttpServer(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def bind(self, server: PySide6.QtNetwork.QLocalServer, /) -> bool: ...
@typing.overload
def bind(self, server: PySide6.QtNetwork.QTcpServer, /) -> bool: ...
def configuration(self, /) -> PySide6.QtHttpServer.QHttpServerConfiguration: ...
def http2Configuration(self, /) -> PySide6.QtNetwork.QHttp2Configuration: ...
def localServers(self, /) -> typing.List[PySide6.QtNetwork.QLocalServer]: ...
def serverPorts(self, /) -> typing.List[int]: ...
def servers(self, /) -> typing.List[PySide6.QtNetwork.QTcpServer]: ...
def setConfiguration(self, config: PySide6.QtHttpServer.QHttpServerConfiguration, /) -> None: ...
def setHttp2Configuration(self, configuration: PySide6.QtNetwork.QHttp2Configuration, /) -> None: ...
class QFutureHttpServerResponse(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QFutureHttpServerResponse: PySide6.QtHttpServer.QFutureHttpServerResponse, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def cancel(self, /) -> None: ...
def cancelChain(self, /) -> None: ...
def isCanceled(self, /) -> bool: ...
def isFinished(self, /) -> bool: ...
def isPaused(self, /) -> bool: ...
def isRunning(self, /) -> bool: ...
def isStarted(self, /) -> bool: ...
def isSuspended(self, /) -> bool: ...
def isSuspending(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def pause(self, /) -> None: ...
def progressMaximum(self, /) -> int: ...
def progressMinimum(self, /) -> int: ...
def progressText(self, /) -> str: ...
def progressValue(self, /) -> int: ...
def resultCount(self, /) -> int: ...
def resume(self, /) -> None: ...
def setPaused(self, paused: bool, /) -> None: ...
def setSuspended(self, suspend: bool, /) -> None: ...
def suspend(self, /) -> None: ...
def togglePaused(self, /) -> None: ...
def toggleSuspended(self, /) -> None: ...
def waitForFinished(self, /) -> None: ...
class QHttpServer(PySide6.QtHttpServer.QAbstractHttpServer):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addAfterRequestHandler(self, context: PySide6.QtCore.QObject, callback: collections.abc.Callable[..., typing.Any], /) -> None: ...
def clearMissingHandler(self, /) -> None: ...
def handleRequest(self, request: PySide6.QtHttpServer.QHttpServerRequest, responder: PySide6.QtHttpServer.QHttpServerResponder, /) -> bool: ...
def missingHandler(self, request: PySide6.QtHttpServer.QHttpServerRequest, responder: PySide6.QtHttpServer.QHttpServerResponder, /) -> None: ...
def route(self, rule: str, callback: collections.abc.Callable[..., typing.Any], /) -> bool: ...
def router(self, /) -> PySide6.QtHttpServer.QHttpServerRouter: ...
class QHttpServerConfiguration(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtHttpServer.QHttpServerConfiguration, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtHttpServer.QHttpServerConfiguration, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtHttpServer.QHttpServerConfiguration, /) -> bool: ...
def keepAliveTimeout(self, /) -> int: ...
def maximumBodySize(self, /) -> int: ...
def maximumHeaderFieldCount(self, /) -> int: ...
def maximumHeaderFieldSize(self, /) -> int: ...
def maximumTotalHeaderSize(self, /) -> int: ...
def maximumUrlSize(self, /) -> int: ...
def rateLimitPerSecond(self, /) -> int: ...
def setKeepAliveTimeout(self, timeout: int, /) -> None: ...
def setMaximumBodySize(self, maxBodySize: int, /) -> None: ...
def setMaximumHeaderFieldCount(self, maxNumberOfHeaders: int, /) -> None: ...
def setMaximumHeaderFieldSize(self, maxSingleHeaderSize: int, /) -> None: ...
def setMaximumTotalHeaderSize(self, maxTotalHeadersSize: int, /) -> None: ...
def setMaximumUrlSize(self, maxUrlSize: int, /) -> None: ...
def setRateLimitPerSecond(self, maxRequests: int, /) -> None: ...
def swap(self, other: PySide6.QtHttpServer.QHttpServerConfiguration, /) -> None: ...
class QHttpServerRequest(Shiboken.Object):
class Method(enum.Flag):
Unknown = 0x0
Get = 0x1
Put = 0x2
Delete = 0x4
Post = 0x8
Head = 0x10
Options = 0x20
Patch = 0x40
Connect = 0x80
Trace = 0x100
AnyKnown = 0x1ff
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtHttpServer.QHttpServerRequest, /) -> None: ...
def body(self, /) -> PySide6.QtCore.QByteArray: ...
def headers(self, /) -> PySide6.QtNetwork.QHttpHeaders: ...
def localAddress(self, /) -> PySide6.QtNetwork.QHostAddress: ...
def localPort(self, /) -> int: ...
def method(self, /) -> PySide6.QtHttpServer.QHttpServerRequest.Method: ...
def query(self, /) -> PySide6.QtCore.QUrlQuery: ...
def remoteAddress(self, /) -> PySide6.QtNetwork.QHostAddress: ...
def remotePort(self, /) -> int: ...
def sslConfiguration(self, /) -> PySide6.QtNetwork.QSslConfiguration: ...
def swap(self, other: PySide6.QtHttpServer.QHttpServerRequest, /) -> None: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
def value(self, key: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtCore.QByteArray: ...
class QHttpServerResponder(Shiboken.Object):
class StatusCode(enum.Enum):
Continue = 0x64
SwitchingProtocols = 0x65
Processing = 0x66
Ok = 0xc8
Created = 0xc9
Accepted = 0xca
NonAuthoritativeInformation = 0xcb
NoContent = 0xcc
ResetContent = 0xcd
PartialContent = 0xce
MultiStatus = 0xcf
AlreadyReported = 0xd0
IMUsed = 0xe2
MultipleChoices = 0x12c
MovedPermanently = 0x12d
Found = 0x12e
SeeOther = 0x12f
NotModified = 0x130
UseProxy = 0x131
TemporaryRedirect = 0x133
PermanentRedirect = 0x134
BadRequest = 0x190
Unauthorized = 0x191
PaymentRequired = 0x192
Forbidden = 0x193
NotFound = 0x194
MethodNotAllowed = 0x195
NotAcceptable = 0x196
ProxyAuthenticationRequired = 0x197
RequestTimeout = 0x198
Conflict = 0x199
Gone = 0x19a
LengthRequired = 0x19b
PreconditionFailed = 0x19c
PayloadTooLarge = 0x19d
UriTooLong = 0x19e
UnsupportedMediaType = 0x19f
RequestRangeNotSatisfiable = 0x1a0
ExpectationFailed = 0x1a1
ImATeapot = 0x1a2
MisdirectedRequest = 0x1a5
UnprocessableEntity = 0x1a6
Locked = 0x1a7
FailedDependency = 0x1a8
UpgradeRequired = 0x1aa
PreconditionRequired = 0x1ac
TooManyRequests = 0x1ad
RequestHeaderFieldsTooLarge = 0x1af
UnavailableForLegalReasons = 0x1c3
InternalServerError = 0x1f4
NotImplemented = 0x1f5
BadGateway = 0x1f6
ServiceUnavailable = 0x1f7
GatewayTimeout = 0x1f8
HttpVersionNotSupported = 0x1f9
VariantAlsoNegotiates = 0x1fa
InsufficientStorage = 0x1fb
LoopDetected = 0x1fc
NotExtended = 0x1fe
NetworkAuthenticationRequired = 0x1ff
NetworkConnectTimeoutError = 0x257
def isResponseCanceled(self, /) -> bool: ...
def sendResponse(self, response: PySide6.QtHttpServer.QHttpServerResponse, /) -> None: ...
def swap(self, other: PySide6.QtHttpServer.QHttpServerResponder, /) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QIODevice, headers: PySide6.QtNetwork.QHttpHeaders, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QIODevice, mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, headers: PySide6.QtNetwork.QHttpHeaders, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, document: PySide6.QtCore.QJsonDocument, headers: PySide6.QtNetwork.QHttpHeaders, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, document: PySide6.QtCore.QJsonDocument, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, headers: PySide6.QtNetwork.QHttpHeaders, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def writeBeginChunked(self, headers: PySide6.QtNetwork.QHttpHeaders, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def writeBeginChunked(self, headers: PySide6.QtNetwork.QHttpHeaders, trailerNames: collections.abc.Sequence[PySide6.QtNetwork.QHttpHeaders.WellKnownHeader], /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def writeBeginChunked(self, mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
def writeChunk(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def writeEndChunked(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def writeEndChunked(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, trailers: PySide6.QtNetwork.QHttpHeaders, /) -> None: ...
class QHttpServerResponse(Shiboken.Object):
@typing.overload
def __init__(self, data: PySide6.QtCore.QJsonArray, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def __init__(self, statusCode: PySide6.QtHttpServer.QHttpServerResponder.StatusCode, /) -> None: ...
@typing.overload
def __init__(self, data: str, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def __init__(self, data: typing.Dict[str, PySide6.QtCore.QJsonValue], /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def __init__(self, data: bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def __init__(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
@typing.overload
def __init__(self, mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, status: PySide6.QtHttpServer.QHttpServerResponder.StatusCode = ...) -> None: ...
def data(self, /) -> PySide6.QtCore.QByteArray: ...
@staticmethod
def fromFile(fileName: str, /) -> PySide6.QtHttpServer.QHttpServerResponse: ...
def headers(self, /) -> PySide6.QtNetwork.QHttpHeaders: ...
def mimeType(self, /) -> PySide6.QtCore.QByteArray: ...
def setHeaders(self, newHeaders: PySide6.QtNetwork.QHttpHeaders, /) -> None: ...
def statusCode(self, /) -> PySide6.QtHttpServer.QHttpServerResponder.StatusCode: ...
def swap(self, other: PySide6.QtHttpServer.QHttpServerResponse, /) -> None: ...
class QHttpServerRouter(Shiboken.Object):
def __init__(self, server: PySide6.QtHttpServer.QAbstractHttpServer, /) -> None: ...
def addConverter(self, metaType: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, regexp: str, /) -> None: ...
def clearConverters(self, /) -> None: ...
def converters(self, /) -> typing.Dict[PySide6.QtCore.QMetaType, str]: ...
def handleRequest(self, request: PySide6.QtHttpServer.QHttpServerRequest, responder: PySide6.QtHttpServer.QHttpServerResponder, /) -> bool: ...
def removeConverter(self, metaType: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, /) -> None: ...
class QHttpServerRouterRule(Shiboken.Object):
def contextObject(self, /) -> PySide6.QtCore.QObject: ...
def exec(self, request: PySide6.QtHttpServer.QHttpServerRequest, responder: PySide6.QtHttpServer.QHttpServerResponder, /) -> bool: ...
def hasValidMethods(self, /) -> bool: ...
def matches(self, request: PySide6.QtHttpServer.QHttpServerRequest, match: PySide6.QtCore.QRegularExpressionMatch, /) -> bool: ...
class QHttpServerWebSocketUpgradeResponse(Shiboken.Object):
class ResponseType(enum.Enum):
Accept = 0x0
Deny = 0x1
PassToNext = 0x2
def __init__(self, other: PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse, /) -> None: ...
@staticmethod
def accept() -> PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse: ...
@typing.overload
@staticmethod
def deny() -> PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse: ...
@typing.overload
@staticmethod
def deny(status: int, message: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse: ...
def denyMessage(self, /) -> PySide6.QtCore.QByteArray: ...
def denyStatus(self, /) -> int: ...
@staticmethod
def passToNext() -> PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse: ...
def swap(self, other: PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse, /) -> None: ...
def type(self, /) -> PySide6.QtHttpServer.QHttpServerWebSocketUpgradeResponse.ResponseType: ...
class QIntList: ...
# eof
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,64 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtMultimediaWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtMultimediaWidgets`
import PySide6.QtMultimediaWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtMultimedia
import typing
from PySide6.QtCore import Signal
class QGraphicsVideoItem(PySide6.QtWidgets.QGraphicsObject):
nativeSizeChanged : typing.ClassVar[Signal] = ... # nativeSizeChanged(QSizeF)
def __init__(self, /, parent: PySide6.QtWidgets.QGraphicsItem | None = ..., *, aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ..., offset: PySide6.QtCore.QPointF | None = ..., size: PySide6.QtCore.QSizeF | None = ..., nativeSize: PySide6.QtCore.QSizeF | None = ..., videoSink: PySide6.QtMultimedia.QVideoSink | None = ...) -> None: ...
def aspectRatioMode(self, /) -> PySide6.QtCore.Qt.AspectRatioMode: ...
def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
def itemChange(self, change: PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange, value: typing.Any, /) -> typing.Any: ...
def nativeSize(self, /) -> PySide6.QtCore.QSizeF: ...
def offset(self, /) -> PySide6.QtCore.QPointF: ...
def paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, /, widget: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def setAspectRatioMode(self, mode: PySide6.QtCore.Qt.AspectRatioMode, /) -> None: ...
def setOffset(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
def setSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
def size(self, /) -> PySide6.QtCore.QSizeF: ...
def timerEvent(self, event: PySide6.QtCore.QTimerEvent, /) -> None: ...
def type(self, /) -> int: ...
def videoSink(self, /) -> PySide6.QtMultimedia.QVideoSink: ...
class QIntList: ...
class QVideoWidget(PySide6.QtWidgets.QWidget):
aspectRatioModeChanged : typing.ClassVar[Signal] = ... # aspectRatioModeChanged(Qt::AspectRatioMode)
fullScreenChanged : typing.ClassVar[Signal] = ... # fullScreenChanged(bool)
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, fullScreen: bool | None = ..., aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ...) -> None: ...
def aspectRatioMode(self, /) -> PySide6.QtCore.Qt.AspectRatioMode: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def hideEvent(self, event: PySide6.QtGui.QHideEvent, /) -> None: ...
def moveEvent(self, event: PySide6.QtGui.QMoveEvent, /) -> None: ...
def resizeEvent(self, event: PySide6.QtGui.QResizeEvent, /) -> None: ...
def setAspectRatioMode(self, mode: PySide6.QtCore.Qt.AspectRatioMode, /) -> None: ...
def setFullScreen(self, fullScreen: bool, /) -> None: ...
def showEvent(self, event: PySide6.QtGui.QShowEvent, /) -> None: ...
def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
def videoSink(self, /) -> PySide6.QtMultimedia.QVideoSink: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,423 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtNetworkAuth, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtNetworkAuth`
import PySide6.QtNetworkAuth
import PySide6.QtCore
import PySide6.QtNetwork
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAbstractOAuth(PySide6.QtCore.QObject):
authorizationUrlChanged : typing.ClassVar[Signal] = ... # authorizationUrlChanged(QUrl)
authorizeWithBrowser : typing.ClassVar[Signal] = ... # authorizeWithBrowser(QUrl)
clientIdentifierChanged : typing.ClassVar[Signal] = ... # clientIdentifierChanged(QString)
contentTypeChanged : typing.ClassVar[Signal] = ... # contentTypeChanged(ContentType)
extraTokensChanged : typing.ClassVar[Signal] = ... # extraTokensChanged(QVariantMap)
finished : typing.ClassVar[Signal] = ... # finished(QNetworkReply*)
granted : typing.ClassVar[Signal] = ... # granted()
replyDataReceived : typing.ClassVar[Signal] = ... # replyDataReceived(QByteArray)
requestFailed : typing.ClassVar[Signal] = ... # requestFailed(Error)
statusChanged : typing.ClassVar[Signal] = ... # statusChanged(Status)
tokenChanged : typing.ClassVar[Signal] = ... # tokenChanged(QString)
class ContentType(enum.Enum):
WwwFormUrlEncoded = 0x0
Json = 0x1
class Error(enum.Enum):
NoError = 0x0
NetworkError = 0x1
ServerError = 0x2
OAuthTokenNotFoundError = 0x3
OAuthTokenSecretNotFoundError = 0x4
OAuthCallbackNotVerified = 0x5
ClientError = 0x6
ExpiredError = 0x7
class Stage(enum.Enum):
RequestingTemporaryCredentials = 0x0
RequestingAuthorization = 0x1
RequestingAccessToken = 0x2
RefreshingAccessToken = 0x3
class Status(enum.Enum):
NotAuthenticated = 0x0
TemporaryCredentialsReceived = 0x1
Granted = 0x2
RefreshingToken = 0x3
def authorizationUrl(self, /) -> PySide6.QtCore.QUrl: ...
def callback(self, /) -> str: ...
def clientIdentifier(self, /) -> str: ...
def contentType(self, /) -> PySide6.QtNetworkAuth.QAbstractOAuth.ContentType: ...
def deleteResource(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def extraTokens(self, /) -> typing.Dict[str, typing.Any]: ...
@staticmethod
def generateRandomString(length: int, /) -> PySide6.QtCore.QByteArray: ...
def get(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def grant(self, /) -> None: ...
def head(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def networkAccessManager(self, /) -> PySide6.QtNetwork.QNetworkAccessManager: ...
def post(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def prepareRequest(self, request: PySide6.QtNetwork.QNetworkRequest, verb: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, body: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
def put(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def replyHandler(self, /) -> PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler: ...
def resourceOwnerAuthorization(self, url: PySide6.QtCore.QUrl | str, parameters: typing.Dict[str, typing.Any], /) -> None: ...
def setAuthorizationUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def setClientIdentifier(self, clientIdentifier: str, /) -> None: ...
def setContentType(self, contentType: PySide6.QtNetworkAuth.QAbstractOAuth.ContentType, /) -> None: ...
def setModifyParametersFunction(self, modifyParametersFunction: object, /) -> None: ...
def setNetworkAccessManager(self, networkAccessManager: PySide6.QtNetwork.QNetworkAccessManager, /) -> None: ...
def setReplyHandler(self, handler: PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler, /) -> None: ...
def setStatus(self, status: PySide6.QtNetworkAuth.QAbstractOAuth.Status, /) -> None: ...
def setToken(self, token: str, /) -> None: ...
def status(self, /) -> PySide6.QtNetworkAuth.QAbstractOAuth.Status: ...
def token(self, /) -> str: ...
class QAbstractOAuth2(PySide6.QtNetworkAuth.QAbstractOAuth):
accessTokenAboutToExpire : typing.ClassVar[Signal] = ... # accessTokenAboutToExpire()
authorizationCallbackReceived: typing.ClassVar[Signal] = ... # authorizationCallbackReceived(QVariantMap)
autoRefreshChanged : typing.ClassVar[Signal] = ... # autoRefreshChanged(bool)
clientIdentifierSharedKeyChanged: typing.ClassVar[Signal] = ... # clientIdentifierSharedKeyChanged(QString)
error : typing.ClassVar[Signal] = ... # error(QString,QString,QUrl)
expirationAtChanged : typing.ClassVar[Signal] = ... # expirationAtChanged(QDateTime)
grantedScopeTokensChanged: typing.ClassVar[Signal] = ... # grantedScopeTokensChanged(QSet<QByteArray>)
idTokenChanged : typing.ClassVar[Signal] = ... # idTokenChanged(QString)
nonceChanged : typing.ClassVar[Signal] = ... # nonceChanged(QString)
nonceModeChanged : typing.ClassVar[Signal] = ... # nonceModeChanged(NonceMode)
refreshLeadTimeChanged : typing.ClassVar[Signal] = ... # refreshLeadTimeChanged(std::chrono::seconds)
refreshTokenChanged : typing.ClassVar[Signal] = ... # refreshTokenChanged(QString)
requestedScopeTokensChanged: typing.ClassVar[Signal] = ... # requestedScopeTokensChanged(QSet<QByteArray>)
responseTypeChanged : typing.ClassVar[Signal] = ... # responseTypeChanged(QString)
scopeChanged : typing.ClassVar[Signal] = ... # scopeChanged(QString)
serverReportedErrorOccurred: typing.ClassVar[Signal] = ... # serverReportedErrorOccurred(QString,QString,QUrl)
sslConfigurationChanged : typing.ClassVar[Signal] = ... # sslConfigurationChanged(QSslConfiguration)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QString)
tokenUrlChanged : typing.ClassVar[Signal] = ... # tokenUrlChanged(QUrl)
userAgentChanged : typing.ClassVar[Signal] = ... # userAgentChanged(QString)
class NonceMode(enum.Enum):
Automatic = 0x0
Enabled = 0x1
Disabled = 0x2
@typing.overload
def __init__(self, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ..., *, scope: str | None = ..., grantedScopeTokens: typing.Optional[typing.Set[PySide6.QtCore.QByteArray]] = ..., requestedScopeTokens: typing.Optional[typing.Set[PySide6.QtCore.QByteArray]] = ..., userAgent: str | None = ..., clientIdentifierSharedKey: str | None = ..., state: str | None = ..., expiration: PySide6.QtCore.QDateTime | None = ..., refreshToken: str | None = ..., refreshLeadTime: int | None = ..., autoRefresh: bool | None = ..., nonceMode: PySide6.QtNetworkAuth.QAbstractOAuth2.NonceMode | None = ..., nonce: str | None = ..., idToken: str | None = ..., tokenUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, scope: str | None = ..., grantedScopeTokens: typing.Optional[typing.Set[PySide6.QtCore.QByteArray]] = ..., requestedScopeTokens: typing.Optional[typing.Set[PySide6.QtCore.QByteArray]] = ..., userAgent: str | None = ..., clientIdentifierSharedKey: str | None = ..., state: str | None = ..., expiration: PySide6.QtCore.QDateTime | None = ..., refreshToken: str | None = ..., refreshLeadTime: int | None = ..., autoRefresh: bool | None = ..., nonceMode: PySide6.QtNetworkAuth.QAbstractOAuth2.NonceMode | None = ..., nonce: str | None = ..., idToken: str | None = ..., tokenUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
def autoRefresh(self, /) -> bool: ...
def clearNetworkRequestModifier(self, /) -> None: ...
def clientIdentifierSharedKey(self, /) -> str: ...
def createAuthenticatedUrl(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtCore.QUrl: ...
def deleteResource(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def expirationAt(self, /) -> PySide6.QtCore.QDateTime: ...
def get(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def grantedScopeTokens(self, /) -> typing.Set[PySide6.QtCore.QByteArray]: ...
def head(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def idToken(self, /) -> str: ...
def nonce(self, /) -> str: ...
def nonceMode(self, /) -> PySide6.QtNetworkAuth.QAbstractOAuth2.NonceMode: ...
@typing.overload
def post(self, url: PySide6.QtCore.QUrl | str, multiPart: PySide6.QtNetwork.QHttpMultiPart, /) -> PySide6.QtNetwork.QNetworkReply: ...
@typing.overload
def post(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
@typing.overload
def post(self, url: PySide6.QtCore.QUrl | str, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtNetwork.QNetworkReply: ...
def prepareRequest(self, request: PySide6.QtNetwork.QNetworkRequest, verb: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, body: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
@typing.overload
def put(self, url: PySide6.QtCore.QUrl | str, multiPart: PySide6.QtNetwork.QHttpMultiPart, /) -> PySide6.QtNetwork.QNetworkReply: ...
@typing.overload
def put(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
@typing.overload
def put(self, url: PySide6.QtCore.QUrl | str, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtNetwork.QNetworkReply: ...
def refreshLeadTime(self, /) -> int: ...
def refreshToken(self, /) -> str: ...
def refreshTokens(self, /) -> None: ...
def refreshTokensImplementation(self, /) -> None: ...
def requestedScopeTokens(self, /) -> typing.Set[PySide6.QtCore.QByteArray]: ...
def responseType(self, /) -> str: ...
def scope(self, /) -> str: ...
def setAutoRefresh(self, enable: bool, /) -> None: ...
def setClientIdentifierSharedKey(self, clientIdentifierSharedKey: str, /) -> None: ...
def setNonce(self, nonce: str, /) -> None: ...
def setNonceMode(self, mode: PySide6.QtNetworkAuth.QAbstractOAuth2.NonceMode, /) -> None: ...
def setRefreshLeadTime(self, leadTime: int, /) -> None: ...
def setRefreshToken(self, refreshToken: str, /) -> None: ...
def setRequestedScopeTokens(self, tokens: typing.Set[PySide6.QtCore.QByteArray], /) -> None: ...
def setResponseType(self, responseType: str, /) -> None: ...
def setScope(self, scope: str, /) -> None: ...
def setSslConfiguration(self, configuration: PySide6.QtNetwork.QSslConfiguration, /) -> None: ...
def setState(self, state: str, /) -> None: ...
def setTokenUrl(self, tokenUrl: PySide6.QtCore.QUrl | str, /) -> None: ...
def setUserAgent(self, userAgent: str, /) -> None: ...
def sslConfiguration(self, /) -> PySide6.QtNetwork.QSslConfiguration: ...
def state(self, /) -> str: ...
def tokenUrl(self, /) -> PySide6.QtCore.QUrl: ...
def userAgent(self, /) -> str: ...
class QAbstractOAuthReplyHandler(PySide6.QtCore.QObject):
callbackDataReceived : typing.ClassVar[Signal] = ... # callbackDataReceived(QByteArray)
callbackReceived : typing.ClassVar[Signal] = ... # callbackReceived(QVariantMap)
replyDataReceived : typing.ClassVar[Signal] = ... # replyDataReceived(QByteArray)
tokenRequestErrorOccurred: typing.ClassVar[Signal] = ... # tokenRequestErrorOccurred(QAbstractOAuth::Error,QString)
tokensReceived : typing.ClassVar[Signal] = ... # tokensReceived(QVariantMap)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def callback(self, /) -> str: ...
def networkReplyFinished(self, reply: PySide6.QtNetwork.QNetworkReply, /) -> None: ...
class QIntList: ...
class QOAuth1(PySide6.QtNetworkAuth.QAbstractOAuth):
clientSharedSecretChanged: typing.ClassVar[Signal] = ... # clientSharedSecretChanged(QString)
signatureMethodChanged : typing.ClassVar[Signal] = ... # signatureMethodChanged(QOAuth1::SignatureMethod)
temporaryCredentialsUrlChanged: typing.ClassVar[Signal] = ... # temporaryCredentialsUrlChanged(QUrl)
tokenCredentialsUrlChanged: typing.ClassVar[Signal] = ... # tokenCredentialsUrlChanged(QUrl)
tokenSecretChanged : typing.ClassVar[Signal] = ... # tokenSecretChanged(QString)
class SignatureMethod(enum.Enum):
Hmac_Sha1 = 0x0
Rsa_Sha1 = 0x1
PlainText = 0x2
@typing.overload
def __init__(self, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, clientIdentifier: str, clientSharedSecret: str, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def clientCredentials(self, /) -> typing.Tuple[str, str]: ...
def clientSharedSecret(self, /) -> str: ...
def continueGrantWithVerifier(self, verifier: str, /) -> None: ...
def deleteResource(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
@staticmethod
def generateAuthorizationHeader(oauthParams: typing.Dict[str, typing.Any], /) -> PySide6.QtCore.QByteArray: ...
def get(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def grant(self, /) -> None: ...
def head(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
@staticmethod
def nonce() -> PySide6.QtCore.QByteArray: ...
def post(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def prepareRequest(self, request: PySide6.QtNetwork.QNetworkRequest, verb: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, body: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
def put(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def requestTemporaryCredentials(self, operation: PySide6.QtNetwork.QNetworkAccessManager.Operation, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
def requestTokenCredentials(self, operation: PySide6.QtNetwork.QNetworkAccessManager.Operation, url: PySide6.QtCore.QUrl | str, temporaryToken: typing.Tuple[str, str], /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtNetwork.QNetworkReply: ...
@typing.overload
def setClientCredentials(self, clientIdentifier: str, clientSharedSecret: str, /) -> None: ...
@typing.overload
def setClientCredentials(self, clientCredentials: typing.Tuple[str, str], /) -> None: ...
def setClientSharedSecret(self, clientSharedSecret: str, /) -> None: ...
def setSignatureMethod(self, value: PySide6.QtNetworkAuth.QOAuth1.SignatureMethod, /) -> None: ...
def setTemporaryCredentialsUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
@typing.overload
def setTokenCredentials(self, token: str, tokenSecret: str, /) -> None: ...
@typing.overload
def setTokenCredentials(self, tokenCredentials: typing.Tuple[str, str], /) -> None: ...
def setTokenCredentialsUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def setTokenSecret(self, tokenSecret: str, /) -> None: ...
@typing.overload
def setup(self, request: PySide6.QtNetwork.QNetworkRequest, signingParameters: typing.Dict[str, typing.Any], operation: PySide6.QtNetwork.QNetworkAccessManager.Operation, /) -> None: ...
@typing.overload
def setup(self, request: PySide6.QtNetwork.QNetworkRequest, signingParameters: typing.Dict[str, typing.Any], operationVerb: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def signatureMethod(self, /) -> PySide6.QtNetworkAuth.QOAuth1.SignatureMethod: ...
def temporaryCredentialsUrl(self, /) -> PySide6.QtCore.QUrl: ...
def tokenCredentials(self, /) -> typing.Tuple[str, str]: ...
def tokenCredentialsUrl(self, /) -> PySide6.QtCore.QUrl: ...
def tokenSecret(self, /) -> str: ...
class QOAuth1Signature(Shiboken.Object):
class HttpRequestMethod(enum.Enum):
Unknown = 0x0
Head = 0x1
Get = 0x2
Put = 0x3
Post = 0x4
Delete = 0x5
Custom = 0x6
@typing.overload
def __init__(self, other: PySide6.QtNetworkAuth.QOAuth1Signature, /) -> None: ...
@typing.overload
def __init__(self, /, url: PySide6.QtCore.QUrl | str = ..., method: PySide6.QtNetworkAuth.QOAuth1Signature.HttpRequestMethod = ..., parameters: typing.Dict[str, typing.Any] = ...) -> None: ...
@typing.overload
def __init__(self, url: PySide6.QtCore.QUrl | str, clientSharedKey: str, tokenSecret: str, /, method: PySide6.QtNetworkAuth.QOAuth1Signature.HttpRequestMethod = ..., parameters: typing.Dict[str, typing.Any] = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def addRequestBody(self, body: PySide6.QtCore.QUrlQuery, /) -> None: ...
def clientSharedKey(self, /) -> str: ...
def customMethodString(self, /) -> PySide6.QtCore.QByteArray: ...
def hmacSha1(self, /) -> PySide6.QtCore.QByteArray: ...
def httpRequestMethod(self, /) -> PySide6.QtNetworkAuth.QOAuth1Signature.HttpRequestMethod: ...
def insert(self, key: str, value: typing.Any, /) -> None: ...
def keys(self, /) -> typing.List[str]: ...
def parameters(self, /) -> typing.Dict[str, typing.Any]: ...
@typing.overload # type: ignore[misc, overload-cannot-match]
def plainText(self, /) -> PySide6.QtCore.QByteArray: ... # type: ignore[misc, overload-cannot-match]
@typing.overload # type: ignore[misc, overload-cannot-match]
@staticmethod
def plainText(clientSharedSecret: str, tokenSecret: str, /) -> PySide6.QtCore.QByteArray: ... # type: ignore[misc, overload-cannot-match]
def rsaSha1(self, /) -> PySide6.QtCore.QByteArray: ...
def setClientSharedKey(self, secret: str, /) -> None: ...
def setCustomMethodString(self, verb: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setHttpRequestMethod(self, method: PySide6.QtNetworkAuth.QOAuth1Signature.HttpRequestMethod, /) -> None: ...
def setParameters(self, parameters: typing.Dict[str, typing.Any], /) -> None: ...
def setTokenSecret(self, secret: str, /) -> None: ...
def setUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def swap(self, other: PySide6.QtNetworkAuth.QOAuth1Signature, /) -> None: ...
def take(self, key: str, /) -> typing.Any: ...
def tokenSecret(self, /) -> str: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
def value(self, key: str, /, defaultValue: typing.Any = ...) -> typing.Any: ...
class QOAuth2AuthorizationCodeFlow(PySide6.QtNetworkAuth.QAbstractOAuth2):
accessTokenUrlChanged : typing.ClassVar[Signal] = ... # accessTokenUrlChanged(QUrl)
class PkceMethod(enum.Enum):
S256 = 0x0
Plain = 0x1
None_ = 0xff
@typing.overload
def __init__(self, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ..., *, accessTokenUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, clientIdentifier: str, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ..., *, accessTokenUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, clientIdentifier: str, authorizationUrl: PySide6.QtCore.QUrl | str, accessTokenUrl: PySide6.QtCore.QUrl | str, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, accessTokenUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, authorizationUrl: PySide6.QtCore.QUrl | str, accessTokenUrl: PySide6.QtCore.QUrl | str, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def accessTokenUrl(self, /) -> PySide6.QtCore.QUrl: ...
def buildAuthenticateUrl(self, /, parameters: typing.Dict[str, typing.Any] = ...) -> PySide6.QtCore.QUrl: ...
def grant(self, /) -> None: ...
def pkceMethod(self, /) -> PySide6.QtNetworkAuth.QOAuth2AuthorizationCodeFlow.PkceMethod: ...
def refreshAccessToken(self, /) -> None: ...
def refreshTokensImplementation(self, /) -> None: ...
def requestAccessToken(self, code: str, /) -> None: ...
def resourceOwnerAuthorization(self, url: PySide6.QtCore.QUrl | str, /, parameters: typing.Dict[str, typing.Any] = ...) -> None: ...
def setAccessTokenUrl(self, accessTokenUrl: PySide6.QtCore.QUrl | str, /) -> None: ...
def setPkceMethod(self, method: PySide6.QtNetworkAuth.QOAuth2AuthorizationCodeFlow.PkceMethod, /, length: int = ...) -> None: ...
class QOAuth2DeviceAuthorizationFlow(PySide6.QtNetworkAuth.QAbstractOAuth2):
authorizeWithUserCode : typing.ClassVar[Signal] = ... # authorizeWithUserCode(QUrl,QString,QUrl)
completeVerificationUrlChanged: typing.ClassVar[Signal] = ... # completeVerificationUrlChanged(QUrl)
pollingChanged : typing.ClassVar[Signal] = ... # pollingChanged(bool)
userCodeChanged : typing.ClassVar[Signal] = ... # userCodeChanged(QString)
userCodeExpirationAtChanged: typing.ClassVar[Signal] = ... # userCodeExpirationAtChanged(QDateTime)
verificationUrlChanged : typing.ClassVar[Signal] = ... # verificationUrlChanged(QUrl)
@typing.overload
def __init__(self, manager: PySide6.QtNetwork.QNetworkAccessManager, /, parent: PySide6.QtCore.QObject | None = ..., *, userCode: str | None = ..., verificationUrl: PySide6.QtCore.QUrl | None = ..., completeVerificationUrl: PySide6.QtCore.QUrl | None = ..., polling: bool | None = ..., userCodeExpirationAt: PySide6.QtCore.QDateTime | None = ...) -> None: ...
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, userCode: str | None = ..., verificationUrl: PySide6.QtCore.QUrl | None = ..., completeVerificationUrl: PySide6.QtCore.QUrl | None = ..., polling: bool | None = ..., userCodeExpirationAt: PySide6.QtCore.QDateTime | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, userCode: str | None = ..., verificationUrl: PySide6.QtCore.QUrl | None = ..., completeVerificationUrl: PySide6.QtCore.QUrl | None = ..., polling: bool | None = ..., userCodeExpirationAt: PySide6.QtCore.QDateTime | None = ...) -> None: ...
def completeVerificationUrl(self, /) -> PySide6.QtCore.QUrl: ...
def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def grant(self, /) -> None: ...
def isPolling(self, /) -> bool: ...
def refreshTokensImplementation(self, /) -> None: ...
def startTokenPolling(self, /) -> bool: ...
def stopTokenPolling(self, /) -> None: ...
def userCode(self, /) -> str: ...
def userCodeExpirationAt(self, /) -> PySide6.QtCore.QDateTime: ...
def verificationUrl(self, /) -> PySide6.QtCore.QUrl: ...
class QOAuthHttpServerReplyHandler(PySide6.QtNetworkAuth.QOAuthOobReplyHandler):
@typing.overload
def __init__(self, address: PySide6.QtNetwork.QHostAddress | PySide6.QtNetwork.QHostAddress.SpecialAddress, port: int, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, port: int, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def callback(self, /) -> str: ...
def callbackHost(self, /) -> str: ...
def callbackPath(self, /) -> str: ...
def callbackText(self, /) -> str: ...
def close(self, /) -> None: ...
def isListening(self, /) -> bool: ...
@typing.overload
def listen(self, configuration: PySide6.QtNetwork.QSslConfiguration, /, address: PySide6.QtNetwork.QHostAddress | PySide6.QtNetwork.QHostAddress.SpecialAddress = ..., port: int | None = ...) -> bool: ...
@typing.overload
def listen(self, /, address: PySide6.QtNetwork.QHostAddress | PySide6.QtNetwork.QHostAddress.SpecialAddress = ..., port: int | None = ...) -> bool: ...
def port(self, /) -> int: ...
def setCallbackHost(self, path: str, /) -> None: ...
def setCallbackPath(self, path: str, /) -> None: ...
def setCallbackText(self, text: str, /) -> None: ...
class QOAuthOobReplyHandler(PySide6.QtNetworkAuth.QAbstractOAuthReplyHandler):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def callback(self, /) -> str: ...
def networkReplyFinished(self, reply: PySide6.QtNetwork.QNetworkReply, /) -> None: ...
class QOAuthUriSchemeReplyHandler(PySide6.QtNetworkAuth.QOAuthOobReplyHandler):
redirectUrlChanged : typing.ClassVar[Signal] = ... # redirectUrlChanged()
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, redirectUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, redirectUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, redirectUrl: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def callback(self, /) -> str: ...
def close(self, /) -> None: ...
def handleAuthorizationRedirect(self, url: PySide6.QtCore.QUrl | str, /) -> bool: ...
def isListening(self, /) -> bool: ...
def listen(self, /) -> bool: ...
def redirectUrl(self, /) -> PySide6.QtCore.QUrl: ...
def setRedirectUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
# eof
-394
View File
@@ -1,394 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtNfc, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtNfc`
import PySide6.QtNfc
import PySide6.QtCore
import os
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QNdefFilter(Shiboken.Object):
class Record(Shiboken.Object):
maximum = ... # type: typing.Any
minimum = ... # type: typing.Any
type = ... # type: PySide6.QtCore.QByteArray
typeNameFormat = ... # type: PySide6.QtNfc.QNdefRecord.TypeNameFormat
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, Record: PySide6.QtNfc.QNdefFilter.Record, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefFilter, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@typing.overload
def appendRecord(self, record: PySide6.QtNfc.QNdefFilter.Record, /) -> bool: ...
@typing.overload
def appendRecord(self, typeNameFormat: PySide6.QtNfc.QNdefRecord.TypeNameFormat, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, min: int = ..., max: int = ...) -> bool: ...
def clear(self, /) -> None: ...
def match(self, message: PySide6.QtNfc.QNdefMessage | collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> bool: ...
def orderMatch(self, /) -> bool: ...
def recordAt(self, i: int, /) -> PySide6.QtNfc.QNdefFilter.Record: ...
def recordCount(self, /) -> int: ...
def setOrderMatch(self, on: bool, /) -> None: ...
class QNdefMessage(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, message: PySide6.QtNfc.QNdefMessage, /) -> None: ...
@typing.overload
def __init__(self, record: PySide6.QtNfc.QNdefRecord, /) -> None: ...
@typing.overload
def __init__(self, records: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> None: ...
def __add__(self, l: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtNfc.QNdefMessage | collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> bool: ...
def __iadd__(self, l: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def __lshift__(self, l: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
@typing.overload
def append(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
@typing.overload
def append(self, l: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> None: ...
def at(self, i: int, /) -> PySide6.QtNfc.QNdefRecord: ...
def back(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def capacity(self, /) -> int: ...
def clear(self, /) -> None: ...
def constData(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def constFirst(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def constLast(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def count(self, /) -> int: ...
def data(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def empty(self, /) -> bool: ...
@typing.overload
def first(self, /) -> PySide6.QtNfc.QNdefRecord: ...
@typing.overload
def first(self, n: int, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
@staticmethod
def fromByteArray(message: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtNfc.QNdefMessage: ...
@staticmethod
def fromList(list: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
@staticmethod
def fromVector(vector: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def front(self, /) -> PySide6.QtNfc.QNdefRecord: ...
def insert(self, arg__1: int, arg__2: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def isEmpty(self, /) -> bool: ...
def isSharedWith(self, other: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> bool: ...
@typing.overload
def last(self, /) -> PySide6.QtNfc.QNdefRecord: ...
@typing.overload
def last(self, n: int, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def length(self, /) -> int: ...
@staticmethod
def maxSize() -> int: ...
def max_size(self, /) -> int: ...
def mid(self, pos: int, /, len: int = ...) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def move(self, from_: int, to: int, /) -> None: ...
def pop_back(self, /) -> None: ...
def pop_front(self, /) -> None: ...
def prepend(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def push_back(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def push_front(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def remove(self, i: int, /, n: int = ...) -> None: ...
def removeAll(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def removeAt(self, i: int, /) -> None: ...
def removeFirst(self, /) -> None: ...
def removeLast(self, /) -> None: ...
def removeOne(self, arg__1: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def reserve(self, size: int, /) -> None: ...
def resize(self, size: int, /) -> None: ...
def resizeForOverwrite(self, size: int, /) -> None: ...
def shrink_to_fit(self, /) -> None: ...
def size(self, /) -> int: ...
@typing.overload
def sliced(self, pos: int, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
@typing.overload
def sliced(self, pos: int, n: int, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def squeeze(self, /) -> None: ...
def swap(self, other: collections.abc.Sequence[PySide6.QtNfc.QNdefRecord], /) -> None: ...
def swapItemsAt(self, i: int, j: int, /) -> None: ...
def takeAt(self, i: int, /) -> PySide6.QtNfc.QNdefRecord: ...
def toByteArray(self, /) -> PySide6.QtCore.QByteArray: ...
def toList(self, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def toVector(self, /) -> typing.List[PySide6.QtNfc.QNdefRecord]: ...
def value(self, i: int, /) -> PySide6.QtNfc.QNdefRecord: ...
class QNdefNfcIconRecord(PySide6.QtNfc.QNdefRecord):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QNdefNfcIconRecord: PySide6.QtNfc.QNdefNfcIconRecord, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def data(self, /) -> PySide6.QtCore.QByteArray: ...
def setData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
class QNdefNfcSmartPosterRecord(PySide6.QtNfc.QNdefRecord):
class Action(enum.Enum):
UnspecifiedAction = -1
DoAction = 0x0
SaveAction = 0x1
EditAction = 0x2
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefNfcSmartPosterRecord, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def action(self, /) -> PySide6.QtNfc.QNdefNfcSmartPosterRecord.Action: ...
@typing.overload
def addIcon(self, icon: PySide6.QtNfc.QNdefNfcIconRecord | PySide6.QtNfc.QNdefRecord, /) -> None: ...
@typing.overload
def addIcon(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def addTitle(self, text: str, locale: str, encoding: PySide6.QtNfc.QNdefNfcTextRecord.Encoding, /) -> bool: ...
@typing.overload
def addTitle(self, text: PySide6.QtNfc.QNdefNfcTextRecord | PySide6.QtNfc.QNdefRecord, /) -> bool: ...
def hasAction(self, /) -> bool: ...
def hasIcon(self, /, mimetype: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> bool: ...
def hasSize(self, /) -> bool: ...
def hasTitle(self, /, locale: str = ...) -> bool: ...
def hasTypeInfo(self, /) -> bool: ...
def icon(self, /, mimetype: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> PySide6.QtCore.QByteArray: ...
def iconCount(self, /) -> int: ...
def iconRecord(self, index: int, /) -> PySide6.QtNfc.QNdefNfcIconRecord: ...
def iconRecords(self, /) -> typing.List[PySide6.QtNfc.QNdefNfcIconRecord]: ...
@typing.overload
def removeIcon(self, icon: PySide6.QtNfc.QNdefNfcIconRecord | PySide6.QtNfc.QNdefRecord, /) -> bool: ...
@typing.overload
def removeIcon(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
@typing.overload
def removeTitle(self, locale: str, /) -> bool: ...
@typing.overload
def removeTitle(self, text: PySide6.QtNfc.QNdefNfcTextRecord | PySide6.QtNfc.QNdefRecord, /) -> bool: ...
def setAction(self, act: PySide6.QtNfc.QNdefNfcSmartPosterRecord.Action, /) -> None: ...
def setIcons(self, icons: collections.abc.Sequence[PySide6.QtNfc.QNdefNfcIconRecord], /) -> None: ...
def setPayload(self, payload: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setSize(self, size: int, /) -> None: ...
def setTitles(self, titles: collections.abc.Sequence[PySide6.QtNfc.QNdefNfcTextRecord], /) -> None: ...
def setTypeInfo(self, type: str, /) -> None: ...
@typing.overload
def setUri(self, url: PySide6.QtNfc.QNdefNfcUriRecord | PySide6.QtNfc.QNdefRecord, /) -> None: ...
@typing.overload
def setUri(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def size(self, /) -> int: ...
def title(self, /, locale: str = ...) -> str: ...
def titleCount(self, /) -> int: ...
def titleRecord(self, index: int, /) -> PySide6.QtNfc.QNdefNfcTextRecord: ...
def titleRecords(self, /) -> typing.List[PySide6.QtNfc.QNdefNfcTextRecord]: ...
def typeInfo(self, /) -> str: ...
def uri(self, /) -> PySide6.QtCore.QUrl: ...
def uriRecord(self, /) -> PySide6.QtNfc.QNdefNfcUriRecord: ...
class QNdefNfcTextRecord(PySide6.QtNfc.QNdefRecord):
class Encoding(enum.Enum):
Utf8 = 0x0
Utf16 = 0x1
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QNdefNfcTextRecord: PySide6.QtNfc.QNdefNfcTextRecord, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def encoding(self, /) -> PySide6.QtNfc.QNdefNfcTextRecord.Encoding: ...
def locale(self, /) -> str: ...
def setEncoding(self, encoding: PySide6.QtNfc.QNdefNfcTextRecord.Encoding, /) -> None: ...
def setLocale(self, locale: str, /) -> None: ...
def setText(self, text: str, /) -> None: ...
def text(self, /) -> str: ...
class QNdefNfcUriRecord(PySide6.QtNfc.QNdefRecord):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QNdefNfcUriRecord: PySide6.QtNfc.QNdefNfcUriRecord, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def setUri(self, uri: PySide6.QtCore.QUrl | str, /) -> None: ...
def uri(self, /) -> PySide6.QtCore.QUrl: ...
class QNdefRecord(Shiboken.Object):
class TypeNameFormat(enum.Enum):
Empty = 0x0
NfcRtd = 0x1
Mime = 0x2
Uri = 0x3
ExternalRtd = 0x4
Unknown = 0x5
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, typeNameFormat: PySide6.QtNfc.QNdefRecord.TypeNameFormat, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNdefRecord, typeNameFormat: PySide6.QtNfc.QNdefRecord.TypeNameFormat, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def __init__(self, typeNameFormat: PySide6.QtNfc.QNdefRecord.TypeNameFormat, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtNfc.QNdefRecord, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __ne__(self, other: PySide6.QtNfc.QNdefRecord, /) -> bool: ...
def clear(self, /) -> None: ...
def id(self, /) -> PySide6.QtCore.QByteArray: ...
def isEmpty(self, /) -> bool: ...
def payload(self, /) -> PySide6.QtCore.QByteArray: ...
def setId(self, id: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setPayload(self, payload: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setType(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setTypeNameFormat(self, typeNameFormat: PySide6.QtNfc.QNdefRecord.TypeNameFormat, /) -> None: ...
def type(self, /) -> PySide6.QtCore.QByteArray: ...
def typeNameFormat(self, /) -> PySide6.QtNfc.QNdefRecord.TypeNameFormat: ...
class QNearFieldManager(PySide6.QtCore.QObject):
adapterStateChanged : typing.ClassVar[Signal] = ... # adapterStateChanged(QNearFieldManager::AdapterState)
targetDetected : typing.ClassVar[Signal] = ... # targetDetected(QNearFieldTarget*)
targetDetectionStopped : typing.ClassVar[Signal] = ... # targetDetectionStopped()
targetLost : typing.ClassVar[Signal] = ... # targetLost(QNearFieldTarget*)
class AdapterState(enum.Enum):
Offline = 0x1
TurningOn = 0x2
Online = 0x3
TurningOff = 0x4
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def isEnabled(self, /) -> bool: ...
def isSupported(self, /, accessMethod: PySide6.QtNfc.QNearFieldTarget.AccessMethod = ...) -> bool: ...
def setUserInformation(self, message: str, /) -> None: ...
def startTargetDetection(self, accessMethod: PySide6.QtNfc.QNearFieldTarget.AccessMethod, /) -> bool: ...
def stopTargetDetection(self, /, errorMessage: str = ...) -> None: ...
class QNearFieldTarget(PySide6.QtCore.QObject):
disconnected : typing.ClassVar[Signal] = ... # disconnected()
error : typing.ClassVar[Signal] = ... # error(QNearFieldTarget::Error,QNearFieldTarget::RequestId)
ndefMessageRead : typing.ClassVar[Signal] = ... # ndefMessageRead(QNdefMessage)
requestCompleted : typing.ClassVar[Signal] = ... # requestCompleted(QNearFieldTarget::RequestId)
class AccessMethod(enum.Flag):
UnknownAccess = 0x0
NdefAccess = 0x1
TagTypeSpecificAccess = 0x2
AnyAccess = 0xff
class Error(enum.Enum):
NoError = 0x0
UnknownError = 0x1
UnsupportedError = 0x2
TargetOutOfRangeError = 0x3
NoResponseError = 0x4
ChecksumMismatchError = 0x5
InvalidParametersError = 0x6
ConnectionError = 0x7
NdefReadError = 0x8
NdefWriteError = 0x9
CommandError = 0xa
TimeoutError = 0xb
UnsupportedTargetError = 0xc
class RequestId(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtNfc.QNearFieldTarget.RequestId, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtNfc.QNearFieldTarget.RequestId, /) -> bool: ...
def __lt__(self, other: PySide6.QtNfc.QNearFieldTarget.RequestId, /) -> bool: ...
def __ne__(self, other: PySide6.QtNfc.QNearFieldTarget.RequestId, /) -> bool: ...
def isValid(self, /) -> bool: ...
def refCount(self, /) -> int: ...
class Type(enum.Enum):
ProprietaryTag = 0x0
NfcTagType1 = 0x1
NfcTagType2 = 0x2
NfcTagType3 = 0x3
NfcTagType4 = 0x4
NfcTagType4A = 0x5
NfcTagType4B = 0x6
MifareTag = 0x7
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def accessMethods(self, /) -> PySide6.QtNfc.QNearFieldTarget.AccessMethod: ...
def disconnect(self, /) -> bool: ...
def hasNdefMessage(self, /) -> bool: ...
def maxCommandLength(self, /) -> int: ...
def readNdefMessages(self, /) -> PySide6.QtNfc.QNearFieldTarget.RequestId: ...
def requestResponse(self, id: PySide6.QtNfc.QNearFieldTarget.RequestId, /) -> typing.Any: ...
def sendCommand(self, command: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtNfc.QNearFieldTarget.RequestId: ...
def type(self, /) -> PySide6.QtNfc.QNearFieldTarget.Type: ...
def uid(self, /) -> PySide6.QtCore.QByteArray: ...
def waitForRequestCompleted(self, id: PySide6.QtNfc.QNearFieldTarget.RequestId, /, msecs: int = ...) -> bool: ...
def writeNdefMessages(self, messages: collections.abc.Sequence[PySide6.QtNfc.QNdefMessage], /) -> PySide6.QtNfc.QNearFieldTarget.RequestId: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,77 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtOpenGLWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtOpenGLWidgets`
import PySide6.QtOpenGLWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
from PySide6.QtCore import Signal
class QIntList: ...
class QOpenGLWidget(PySide6.QtWidgets.QWidget):
aboutToCompose : typing.ClassVar[Signal] = ... # aboutToCompose()
aboutToResize : typing.ClassVar[Signal] = ... # aboutToResize()
frameSwapped : typing.ClassVar[Signal] = ... # frameSwapped()
resized : typing.ClassVar[Signal] = ... # resized()
class TargetBuffer(enum.Enum):
LeftBuffer = 0x0
RightBuffer = 0x1
class UpdateBehavior(enum.Enum):
NoPartialUpdate = 0x0
PartialUpdate = 0x1
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., f: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def context(self, /) -> PySide6.QtGui.QOpenGLContext: ...
def currentTargetBuffer(self, /) -> PySide6.QtOpenGLWidgets.QOpenGLWidget.TargetBuffer: ...
@typing.overload
def defaultFramebufferObject(self, /) -> int: ...
@typing.overload
def defaultFramebufferObject(self, targetBuffer: PySide6.QtOpenGLWidgets.QOpenGLWidget.TargetBuffer, /) -> int: ...
def doneCurrent(self, /) -> None: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
@typing.overload
def grabFramebuffer(self, /) -> PySide6.QtGui.QImage: ...
@typing.overload
def grabFramebuffer(self, targetBuffer: PySide6.QtOpenGLWidgets.QOpenGLWidget.TargetBuffer, /) -> PySide6.QtGui.QImage: ...
def initializeGL(self, /) -> None: ...
def isValid(self, /) -> bool: ...
@typing.overload
def makeCurrent(self, /) -> None: ...
@typing.overload
def makeCurrent(self, targetBuffer: PySide6.QtOpenGLWidgets.QOpenGLWidget.TargetBuffer, /) -> None: ...
def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
def paintEvent(self, e: PySide6.QtGui.QPaintEvent, /) -> None: ...
def paintGL(self, /) -> None: ...
def redirected(self, p: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QPaintDevice: ...
def resizeEvent(self, e: PySide6.QtGui.QResizeEvent, /) -> None: ...
def resizeGL(self, w: int, h: int, /) -> None: ...
def setFormat(self, format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
def setTextureFormat(self, texFormat: int, /) -> None: ...
def setUpdateBehavior(self, updateBehavior: PySide6.QtOpenGLWidgets.QOpenGLWidget.UpdateBehavior, /) -> None: ...
def textureFormat(self, /) -> int: ...
def updateBehavior(self, /) -> PySide6.QtOpenGLWidgets.QOpenGLWidget.UpdateBehavior: ...
# eof
-319
View File
@@ -1,319 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtPdf, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtPdf`
import PySide6.QtPdf
import PySide6.QtCore
import PySide6.QtGui
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QPdfBookmarkModel(PySide6.QtCore.QAbstractItemModel):
documentChanged : typing.ClassVar[Signal] = ... # documentChanged(QPdfDocument*)
class Role(enum.IntEnum):
Title = 0x100
Level = 0x101
Page = 0x102
Location = 0x103
Zoom = 0x104
NRoles = 0x105
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, document: PySide6.QtPdf.QPdfDocument | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, document: PySide6.QtPdf.QPdfDocument | None = ...) -> None: ...
def columnCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int, /) -> typing.Any: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def index(self, row: int, column: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> PySide6.QtCore.QModelIndex: ...
@typing.overload
def parent(self, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def parent(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
class QPdfDocument(PySide6.QtCore.QObject):
pageCountChanged : typing.ClassVar[Signal] = ... # pageCountChanged(int)
pageModelChanged : typing.ClassVar[Signal] = ... # pageModelChanged()
passwordChanged : typing.ClassVar[Signal] = ... # passwordChanged()
passwordRequired : typing.ClassVar[Signal] = ... # passwordRequired()
statusChanged : typing.ClassVar[Signal] = ... # statusChanged(QPdfDocument::Status)
class Error(enum.Enum):
None_ = 0x0
Unknown = 0x1
DataNotYetAvailable = 0x2
FileNotFound = 0x3
InvalidFileFormat = 0x4
IncorrectPassword = 0x5
UnsupportedSecurityScheme = 0x6
class MetaDataField(enum.Enum):
Title = 0x0
Subject = 0x1
Author = 0x2
Keywords = 0x3
Producer = 0x4
Creator = 0x5
CreationDate = 0x6
ModificationDate = 0x7
class PageModelRole(enum.Enum):
Label = 0x100
PointSize = 0x101
NRoles = 0x102
class Status(enum.Enum):
Null = 0x0
Loading = 0x1
Ready = 0x2
Unloading = 0x3
Error = 0x4
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, pageCount: int | None = ..., password: str | None = ..., status: PySide6.QtPdf.QPdfDocument.Status | None = ..., pageModel: PySide6.QtCore.QAbstractListModel | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, pageCount: int | None = ..., password: str | None = ..., status: PySide6.QtPdf.QPdfDocument.Status | None = ..., pageModel: PySide6.QtCore.QAbstractListModel | None = ...) -> None: ...
def close(self, /) -> None: ...
def error(self, /) -> PySide6.QtPdf.QPdfDocument.Error: ...
def getAllText(self, page: int, /) -> PySide6.QtPdf.QPdfSelection: ...
def getSelection(self, page: int, start: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, end: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtPdf.QPdfSelection: ...
def getSelectionAtIndex(self, page: int, startIndex: int, maxLength: int, /) -> PySide6.QtPdf.QPdfSelection: ...
@typing.overload
def load(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
@typing.overload
def load(self, fileName: str, /) -> PySide6.QtPdf.QPdfDocument.Error: ...
def metaData(self, field: PySide6.QtPdf.QPdfDocument.MetaDataField, /) -> typing.Any: ...
def pageCount(self, /) -> int: ...
def pageIndexForLabel(self, label: str, /) -> int: ...
def pageLabel(self, page: int, /) -> str: ...
def pageModel(self, /) -> PySide6.QtCore.QAbstractListModel: ...
def pagePointSize(self, page: int, /) -> PySide6.QtCore.QSizeF: ...
def password(self, /) -> str: ...
def render(self, page: int, imageSize: PySide6.QtCore.QSize, /, options: PySide6.QtPdf.QPdfDocumentRenderOptions = ...) -> PySide6.QtGui.QImage: ...
def setPassword(self, password: str, /) -> None: ...
def status(self, /) -> PySide6.QtPdf.QPdfDocument.Status: ...
class QPdfDocumentRenderOptions(Shiboken.Object):
class RenderFlag(enum.Flag):
None_ = 0x0
Annotations = 0x1
OptimizedForLcd = 0x2
Grayscale = 0x4
ForceHalftone = 0x8
TextAliased = 0x10
ImageAliased = 0x20
PathAliased = 0x40
class Rotation(enum.Enum):
None_ = 0x0
Clockwise90 = 0x1
Clockwise180 = 0x2
Clockwise270 = 0x3
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QPdfDocumentRenderOptions: PySide6.QtPdf.QPdfDocumentRenderOptions, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPdf.QPdfDocumentRenderOptions, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtPdf.QPdfDocumentRenderOptions, /) -> bool: ...
def renderFlags(self, /) -> PySide6.QtPdf.QPdfDocumentRenderOptions.RenderFlag: ...
def rotation(self, /) -> PySide6.QtPdf.QPdfDocumentRenderOptions.Rotation: ...
def scaledClipRect(self, /) -> PySide6.QtCore.QRect: ...
def scaledSize(self, /) -> PySide6.QtCore.QSize: ...
def setRenderFlags(self, r: PySide6.QtPdf.QPdfDocumentRenderOptions.RenderFlag, /) -> None: ...
def setRotation(self, r: PySide6.QtPdf.QPdfDocumentRenderOptions.Rotation, /) -> None: ...
def setScaledClipRect(self, r: PySide6.QtCore.QRect, /) -> None: ...
def setScaledSize(self, s: PySide6.QtCore.QSize, /) -> None: ...
class QPdfLink(Shiboken.Object):
@typing.overload
def __init__(self, other: PySide6.QtPdf.QPdfLink, /, *, valid: bool | None = ..., page: int | None = ..., location: PySide6.QtCore.QPointF | None = ..., zoom: float | None = ..., url: PySide6.QtCore.QUrl | None = ..., contextBefore: str | None = ..., contextAfter: str | None = ..., rectangles: collections.abc.Sequence[PySide6.QtCore.QRectF] | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, valid: bool | None = ..., page: int | None = ..., location: PySide6.QtCore.QPointF | None = ..., zoom: float | None = ..., url: PySide6.QtCore.QUrl | None = ..., contextBefore: str | None = ..., contextAfter: str | None = ..., rectangles: collections.abc.Sequence[PySide6.QtCore.QRectF] | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
def contextAfter(self, /) -> str: ...
def contextBefore(self, /) -> str: ...
def copyToClipboard(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
def isValid(self, /) -> bool: ...
def location(self, /) -> PySide6.QtCore.QPointF: ...
def page(self, /) -> int: ...
def rectangles(self, /) -> typing.List[PySide6.QtCore.QRectF]: ...
def swap(self, other: PySide6.QtPdf.QPdfLink, /) -> None: ...
def toString(self, /) -> str: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
def zoom(self, /) -> float: ...
class QPdfLinkModel(PySide6.QtCore.QAbstractListModel):
documentChanged : typing.ClassVar[Signal] = ... # documentChanged()
pageChanged : typing.ClassVar[Signal] = ... # pageChanged(int)
class Role(enum.Enum):
Link = 0x100
Rectangle = 0x101
Url = 0x102
Page = 0x103
Location = 0x104
Zoom = 0x105
NRoles = 0x106
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, document: PySide6.QtPdf.QPdfDocument | None = ..., page: int | None = ...) -> None: ...
def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int, /) -> typing.Any: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def linkAt(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtPdf.QPdfLink: ...
def page(self, /) -> int: ...
def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
def rowCount(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> int: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
def setPage(self, page: int, /) -> None: ...
class QPdfPageNavigator(PySide6.QtCore.QObject):
backAvailableChanged : typing.ClassVar[Signal] = ... # backAvailableChanged(bool)
currentLocationChanged : typing.ClassVar[Signal] = ... # currentLocationChanged(QPointF)
currentPageChanged : typing.ClassVar[Signal] = ... # currentPageChanged(int)
currentZoomChanged : typing.ClassVar[Signal] = ... # currentZoomChanged(double)
forwardAvailableChanged : typing.ClassVar[Signal] = ... # forwardAvailableChanged(bool)
jumped : typing.ClassVar[Signal] = ... # jumped(QPdfLink)
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, currentPage: int | None = ..., currentLocation: PySide6.QtCore.QPointF | None = ..., currentZoom: float | None = ..., backAvailable: bool | None = ..., forwardAvailable: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, currentPage: int | None = ..., currentLocation: PySide6.QtCore.QPointF | None = ..., currentZoom: float | None = ..., backAvailable: bool | None = ..., forwardAvailable: bool | None = ...) -> None: ...
def back(self, /) -> None: ...
def backAvailable(self, /) -> bool: ...
def clear(self, /) -> None: ...
def currentLink(self, /) -> PySide6.QtPdf.QPdfLink: ...
def currentLocation(self, /) -> PySide6.QtCore.QPointF: ...
def currentPage(self, /) -> int: ...
def currentZoom(self, /) -> float: ...
def forward(self, /) -> None: ...
def forwardAvailable(self, /) -> bool: ...
@typing.overload
def jump(self, destination: PySide6.QtPdf.QPdfLink, /) -> None: ...
@typing.overload
def jump(self, page: int, location: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, zoom: float | None = ...) -> None: ...
def update(self, page: int, location: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, zoom: float, /) -> None: ...
class QPdfPageRenderer(PySide6.QtCore.QObject):
documentChanged : typing.ClassVar[Signal] = ... # documentChanged(QPdfDocument*)
pageRendered : typing.ClassVar[Signal] = ... # pageRendered(int,QSize,QImage,QPdfDocumentRenderOptions,qulonglong)
renderModeChanged : typing.ClassVar[Signal] = ... # renderModeChanged(QPdfPageRenderer::RenderMode)
class RenderMode(enum.Enum):
MultiThreaded = 0x0
SingleThreaded = 0x1
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., renderMode: PySide6.QtPdf.QPdfPageRenderer.RenderMode | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., renderMode: PySide6.QtPdf.QPdfPageRenderer.RenderMode | None = ...) -> None: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def renderMode(self, /) -> PySide6.QtPdf.QPdfPageRenderer.RenderMode: ...
def requestPage(self, pageNumber: int, imageSize: PySide6.QtCore.QSize, /, options: PySide6.QtPdf.QPdfDocumentRenderOptions = ...) -> int: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
def setRenderMode(self, mode: PySide6.QtPdf.QPdfPageRenderer.RenderMode, /) -> None: ...
class QPdfSearchModel(PySide6.QtCore.QAbstractListModel):
countChanged : typing.ClassVar[Signal] = ... # countChanged()
documentChanged : typing.ClassVar[Signal] = ... # documentChanged()
searchStringChanged : typing.ClassVar[Signal] = ... # searchStringChanged()
class Role(enum.Enum):
Page = 0x100
IndexOnPage = 0x101
Location = 0x102
ContextBefore = 0x103
ContextAfter = 0x104
NRoles = 0x105
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., searchString: str | None = ..., count: int | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., searchString: str | None = ..., count: int | None = ...) -> None: ...
def count(self, /) -> int: ...
def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int, /) -> typing.Any: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def resultAtIndex(self, index: int, /) -> PySide6.QtPdf.QPdfLink: ...
def resultsOnPage(self, page: int, /) -> typing.List[PySide6.QtPdf.QPdfLink]: ...
def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
def rowCount(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> int: ...
def searchString(self, /) -> str: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
def setSearchString(self, searchString: str, /) -> None: ...
def timerEvent(self, event: PySide6.QtCore.QTimerEvent, /) -> None: ...
def updatePage(self, page: int, /) -> None: ...
class QPdfSelection(Shiboken.Object):
def __init__(self, other: PySide6.QtPdf.QPdfSelection, /, *, valid: bool | None = ..., bounds: collections.abc.Sequence[PySide6.QtGui.QPolygonF] | None = ..., boundingRectangle: PySide6.QtCore.QRectF | None = ..., text: str | None = ..., startIndex: int | None = ..., endIndex: int | None = ...) -> None: ...
def boundingRectangle(self, /) -> PySide6.QtCore.QRectF: ...
def bounds(self, /) -> typing.List[PySide6.QtGui.QPolygonF]: ...
def copyToClipboard(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
def endIndex(self, /) -> int: ...
def isValid(self, /) -> bool: ...
def startIndex(self, /) -> int: ...
def swap(self, other: PySide6.QtPdf.QPdfSelection, /) -> None: ...
def text(self, /) -> str: ...
# eof
@@ -1,96 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtPdfWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtPdfWidgets`
import PySide6.QtPdfWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtPdf
import enum
import typing
from PySide6.QtCore import Signal
class QIntList: ...
class QPdfPageSelector(PySide6.QtWidgets.QWidget):
currentPageChanged : typing.ClassVar[Signal] = ... # currentPageChanged(int)
currentPageLabelChanged : typing.ClassVar[Signal] = ... # currentPageLabelChanged(QString)
documentChanged : typing.ClassVar[Signal] = ... # documentChanged(QPdfDocument*)
@typing.overload
def __init__(self, parent: PySide6.QtWidgets.QWidget, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., currentPage: int | None = ..., currentPageLabel: str | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., currentPage: int | None = ..., currentPageLabel: str | None = ...) -> None: ...
def currentPage(self, /) -> int: ...
def currentPageLabel(self, /) -> str: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def setCurrentPage(self, index: int, /) -> None: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
class QPdfView(PySide6.QtWidgets.QAbstractScrollArea):
currentSearchResultIndexChanged: typing.ClassVar[Signal] = ... # currentSearchResultIndexChanged(int)
documentChanged : typing.ClassVar[Signal] = ... # documentChanged(QPdfDocument*)
documentMarginsChanged : typing.ClassVar[Signal] = ... # documentMarginsChanged(QMargins)
pageModeChanged : typing.ClassVar[Signal] = ... # pageModeChanged(QPdfView::PageMode)
pageSpacingChanged : typing.ClassVar[Signal] = ... # pageSpacingChanged(int)
searchModelChanged : typing.ClassVar[Signal] = ... # searchModelChanged(QPdfSearchModel*)
zoomFactorChanged : typing.ClassVar[Signal] = ... # zoomFactorChanged(double)
zoomModeChanged : typing.ClassVar[Signal] = ... # zoomModeChanged(QPdfView::ZoomMode)
class PageMode(enum.Enum):
SinglePage = 0x0
MultiPage = 0x1
class ZoomMode(enum.Enum):
Custom = 0x0
FitToWidth = 0x1
FitInView = 0x2
@typing.overload
def __init__(self, parent: PySide6.QtWidgets.QWidget, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., pageMode: PySide6.QtPdfWidgets.QPdfView.PageMode | None = ..., zoomMode: PySide6.QtPdfWidgets.QPdfView.ZoomMode | None = ..., zoomFactor: float | None = ..., pageSpacing: int | None = ..., documentMargins: PySide6.QtCore.QMargins | None = ..., searchModel: PySide6.QtPdf.QPdfSearchModel | None = ..., currentSearchResultIndex: int | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, document: PySide6.QtPdf.QPdfDocument | None = ..., pageMode: PySide6.QtPdfWidgets.QPdfView.PageMode | None = ..., zoomMode: PySide6.QtPdfWidgets.QPdfView.ZoomMode | None = ..., zoomFactor: float | None = ..., pageSpacing: int | None = ..., documentMargins: PySide6.QtCore.QMargins | None = ..., searchModel: PySide6.QtPdf.QPdfSearchModel | None = ..., currentSearchResultIndex: int | None = ...) -> None: ...
def currentSearchResultIndex(self, /) -> int: ...
def document(self, /) -> PySide6.QtPdf.QPdfDocument: ...
def documentMargins(self, /) -> PySide6.QtCore.QMargins: ...
def mouseMoveEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
def mousePressEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
def mouseReleaseEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
def pageMode(self, /) -> PySide6.QtPdfWidgets.QPdfView.PageMode: ...
def pageNavigator(self, /) -> PySide6.QtPdf.QPdfPageNavigator: ...
def pageSpacing(self, /) -> int: ...
def paintEvent(self, event: PySide6.QtGui.QPaintEvent, /) -> None: ...
def resizeEvent(self, event: PySide6.QtGui.QResizeEvent, /) -> None: ...
def scrollContentsBy(self, dx: int, dy: int, /) -> None: ...
def searchModel(self, /) -> PySide6.QtPdf.QPdfSearchModel: ...
def setCurrentSearchResultIndex(self, currentResult: int, /) -> None: ...
def setDocument(self, document: PySide6.QtPdf.QPdfDocument, /) -> None: ...
def setDocumentMargins(self, margins: PySide6.QtCore.QMargins, /) -> None: ...
def setPageMode(self, mode: PySide6.QtPdfWidgets.QPdfView.PageMode, /) -> None: ...
def setPageSpacing(self, spacing: int, /) -> None: ...
def setSearchModel(self, searchModel: PySide6.QtPdf.QPdfSearchModel, /) -> None: ...
def setZoomFactor(self, factor: float, /) -> None: ...
def setZoomMode(self, mode: PySide6.QtPdfWidgets.QPdfView.ZoomMode, /) -> None: ...
def zoomFactor(self, /) -> float: ...
def zoomMode(self, /) -> PySide6.QtPdfWidgets.QPdfView.ZoomMode: ...
# eof
@@ -1,643 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtPositioning, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtPositioning`
import PySide6.QtPositioning
import PySide6.QtCore
import os
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QGeoAddress(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoAddress, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoAddress, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoAddress, /) -> bool: ...
def city(self, /) -> str: ...
def clear(self, /) -> None: ...
def country(self, /) -> str: ...
def countryCode(self, /) -> str: ...
def county(self, /) -> str: ...
def district(self, /) -> str: ...
def isEmpty(self, /) -> bool: ...
def isTextGenerated(self, /) -> bool: ...
def postalCode(self, /) -> str: ...
def setCity(self, city: str, /) -> None: ...
def setCountry(self, country: str, /) -> None: ...
def setCountryCode(self, countryCode: str, /) -> None: ...
def setCounty(self, county: str, /) -> None: ...
def setDistrict(self, district: str, /) -> None: ...
def setPostalCode(self, postalCode: str, /) -> None: ...
def setState(self, state: str, /) -> None: ...
def setStreet(self, street: str, /) -> None: ...
def setStreetNumber(self, streetNumber: str, /) -> None: ...
def setText(self, text: str, /) -> None: ...
def state(self, /) -> str: ...
def street(self, /) -> str: ...
def streetNumber(self, /) -> str: ...
def swap(self, other: PySide6.QtPositioning.QGeoAddress, /) -> None: ...
def text(self, /) -> str: ...
class QGeoAreaMonitorInfo(Shiboken.Object):
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoAreaMonitorInfo, /) -> None: ...
@typing.overload
def __init__(self, /, name: str = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lshift__(self, ds: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, ds: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def area(self, /) -> PySide6.QtPositioning.QGeoShape: ...
def expiration(self, /) -> PySide6.QtCore.QDateTime: ...
def identifier(self, /) -> str: ...
def isPersistent(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def name(self, /) -> str: ...
def notificationParameters(self, /) -> typing.Dict[str, typing.Any]: ...
def setArea(self, newShape: PySide6.QtPositioning.QGeoShape, /) -> None: ...
def setExpiration(self, expiry: PySide6.QtCore.QDateTime, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setNotificationParameters(self, parameters: typing.Dict[str, typing.Any], /) -> None: ...
def setPersistent(self, isPersistent: bool, /) -> None: ...
def swap(self, other: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, /) -> None: ...
class QGeoAreaMonitorSource(PySide6.QtCore.QObject):
areaEntered : typing.ClassVar[Signal] = ... # areaEntered(QGeoAreaMonitorInfo,QGeoPositionInfo)
areaExited : typing.ClassVar[Signal] = ... # areaExited(QGeoAreaMonitorInfo,QGeoPositionInfo)
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoAreaMonitorSource::Error)
monitorExpired : typing.ClassVar[Signal] = ... # monitorExpired(QGeoAreaMonitorInfo)
class AreaMonitorFeature(enum.Flag):
AnyAreaMonitorFeature = -1
PersistentAreaMonitorFeature = 0x1
class Error(enum.Enum):
AccessError = 0x0
InsufficientPositionInfo = 0x1
UnknownSourceError = 0x2
NoError = 0x3
def __init__(self, parent: PySide6.QtCore.QObject, /) -> None: ...
@typing.overload
def activeMonitors(self, /) -> typing.List[PySide6.QtPositioning.QGeoAreaMonitorInfo]: ...
@typing.overload
def activeMonitors(self, lookupArea: PySide6.QtPositioning.QGeoShape, /) -> typing.List[PySide6.QtPositioning.QGeoAreaMonitorInfo]: ...
@staticmethod
def availableSources() -> typing.List[str]: ...
def backendProperty(self, name: str, /) -> typing.Any: ...
@staticmethod
def createDefaultSource(parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoAreaMonitorSource: ...
@staticmethod
def createSource(sourceName: str, parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoAreaMonitorSource: ...
def error(self, /) -> PySide6.QtPositioning.QGeoAreaMonitorSource.Error: ...
def positionInfoSource(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
def requestUpdate(self, monitor: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, signal: bytes | bytearray | memoryview, /) -> bool: ...
def setBackendProperty(self, name: str, value: typing.Any, /) -> bool: ...
def setPositionInfoSource(self, source: PySide6.QtPositioning.QGeoPositionInfoSource, /) -> None: ...
def sourceName(self, /) -> str: ...
def startMonitoring(self, monitor: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, /) -> bool: ...
def stopMonitoring(self, monitor: PySide6.QtPositioning.QGeoAreaMonitorInfo | str, /) -> bool: ...
def supportedAreaMonitorFeatures(self, /) -> PySide6.QtPositioning.QGeoAreaMonitorSource.AreaMonitorFeature: ...
class QGeoCircle(PySide6.QtPositioning.QGeoShape):
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoCircle, /, *, center: PySide6.QtPositioning.QGeoCoordinate | None = ..., radius: float | None = ...) -> None: ...
@typing.overload
def __init__(self, center: PySide6.QtPositioning.QGeoCoordinate, /, radius: float = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoShape, /, *, center: PySide6.QtPositioning.QGeoCoordinate | None = ..., radius: float | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, center: PySide6.QtPositioning.QGeoCoordinate | None = ..., radius: float | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def center(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def extendCircle(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def radius(self, /) -> float: ...
def setCenter(self, center: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setRadius(self, radius: float, /) -> None: ...
def toString(self, /) -> str: ...
def translate(self, degreesLatitude: float, degreesLongitude: float, /) -> None: ...
def translated(self, degreesLatitude: float, degreesLongitude: float, /) -> PySide6.QtPositioning.QGeoCircle: ...
class QGeoCoordinate(Shiboken.Object):
class CoordinateFormat(enum.Enum):
Degrees = 0x0
DegreesWithHemisphere = 0x1
DegreesMinutes = 0x2
DegreesMinutesWithHemisphere = 0x3
DegreesMinutesSeconds = 0x4
DegreesMinutesSecondsWithHemisphere = 0x5
class CoordinateType(enum.Enum):
InvalidCoordinate = 0x0
Coordinate2D = 0x1
Coordinate3D = 0x2
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoCoordinate, /, *, latitude: float | None = ..., longitude: float | None = ..., altitude: float | None = ..., isValid: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, latitude: float, longitude: float, altitude: float, /, *, isValid: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, latitude: float, longitude: float, /, *, altitude: float | None = ..., isValid: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, latitude: float | None = ..., longitude: float | None = ..., altitude: float | None = ..., isValid: bool | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def altitude(self, /) -> float: ...
def atDistanceAndAzimuth(self, distance: float, azimuth: float, /, distanceUp: float = ...) -> PySide6.QtPositioning.QGeoCoordinate: ...
def azimuthTo(self, other: PySide6.QtPositioning.QGeoCoordinate, /) -> float: ...
def distanceTo(self, other: PySide6.QtPositioning.QGeoCoordinate, /) -> float: ...
def isValid(self, /) -> bool: ...
def latitude(self, /) -> float: ...
def longitude(self, /) -> float: ...
def setAltitude(self, altitude: float, /) -> None: ...
def setLatitude(self, latitude: float, /) -> None: ...
def setLongitude(self, longitude: float, /) -> None: ...
def swap(self, other: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def toString(self, /, format: PySide6.QtPositioning.QGeoCoordinate.CoordinateFormat = ...) -> str: ...
def type(self, /) -> PySide6.QtPositioning.QGeoCoordinate.CoordinateType: ...
class QGeoLocation(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoLocation, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoLocation, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoLocation, /) -> bool: ...
def address(self, /) -> PySide6.QtPositioning.QGeoAddress: ...
def boundingShape(self, /) -> PySide6.QtPositioning.QGeoShape: ...
def coordinate(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def extendedAttributes(self, /) -> typing.Dict[str, typing.Any]: ...
def isEmpty(self, /) -> bool: ...
def setAddress(self, address: PySide6.QtPositioning.QGeoAddress, /) -> None: ...
def setBoundingShape(self, shape: PySide6.QtPositioning.QGeoShape, /) -> None: ...
def setCoordinate(self, position: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setExtendedAttributes(self, data: typing.Dict[str, typing.Any], /) -> None: ...
def swap(self, other: PySide6.QtPositioning.QGeoLocation, /) -> None: ...
class QGeoPath(PySide6.QtPositioning.QGeoShape):
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoPath, /, *, path: collections.abc.Sequence[typing.Any] | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoShape, /, *, path: collections.abc.Sequence[typing.Any] | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /, width: float = ...) -> None: ...
@typing.overload
def __init__(self, /, *, path: collections.abc.Sequence[typing.Any] | None = ..., width: float | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def addCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def clearPath(self, /) -> None: ...
def containsCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
def coordinateAt(self, index: int, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def insertCoordinate(self, index: int, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def length(self, /, indexFrom: int | None = ..., indexTo: int = ...) -> float: ...
def path(self, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
@typing.overload
def removeCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
@typing.overload
def removeCoordinate(self, index: int, /) -> None: ...
def replaceCoordinate(self, index: int, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setPath(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
def setVariantPath(self, path: collections.abc.Sequence[typing.Any], /) -> None: ...
def setWidth(self, width: float, /) -> None: ...
def size(self, /) -> int: ...
def toString(self, /) -> str: ...
def translate(self, degreesLatitude: float, degreesLongitude: float, /) -> None: ...
def translated(self, degreesLatitude: float, degreesLongitude: float, /) -> PySide6.QtPositioning.QGeoPath: ...
def variantPath(self, /) -> typing.List[typing.Any]: ...
def width(self, /) -> float: ...
class QGeoPolygon(PySide6.QtPositioning.QGeoShape):
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoPolygon, /, *, perimeter: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoShape, /, *, perimeter: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ...) -> None: ...
@typing.overload
def __init__(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /, *, perimeter: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, perimeter: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def addCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
@typing.overload
def addHole(self, holePath: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
@typing.overload
def addHole(self, holePath: typing.Any, /) -> None: ...
def containsCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
def coordinateAt(self, index: int, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def hole(self, index: int, /) -> typing.List[typing.Any]: ...
def holePath(self, index: int, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
def holesCount(self, /) -> int: ...
def insertCoordinate(self, index: int, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def length(self, /, indexFrom: int | None = ..., indexTo: int = ...) -> float: ...
def perimeter(self, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
@typing.overload
def removeCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
@typing.overload
def removeCoordinate(self, index: int, /) -> None: ...
def removeHole(self, index: int, /) -> None: ...
def replaceCoordinate(self, index: int, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setPerimeter(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
def size(self, /) -> int: ...
def toString(self, /) -> str: ...
def translate(self, degreesLatitude: float, degreesLongitude: float, /) -> None: ...
def translated(self, degreesLatitude: float, degreesLongitude: float, /) -> PySide6.QtPositioning.QGeoPolygon: ...
class QGeoPositionInfo(Shiboken.Object):
class Attribute(enum.Enum):
Direction = 0x0
GroundSpeed = 0x1
VerticalSpeed = 0x2
MagneticVariation = 0x3
HorizontalAccuracy = 0x4
VerticalAccuracy = 0x5
DirectionAccuracy = 0x6
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, updateTime: PySide6.QtCore.QDateTime, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoPositionInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoPositionInfo, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoPositionInfo, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def attribute(self, attribute: PySide6.QtPositioning.QGeoPositionInfo.Attribute, /) -> float: ...
def coordinate(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def hasAttribute(self, attribute: PySide6.QtPositioning.QGeoPositionInfo.Attribute, /) -> bool: ...
def isValid(self, /) -> bool: ...
def removeAttribute(self, attribute: PySide6.QtPositioning.QGeoPositionInfo.Attribute, /) -> None: ...
def setAttribute(self, attribute: PySide6.QtPositioning.QGeoPositionInfo.Attribute, value: float, /) -> None: ...
def setCoordinate(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setTimestamp(self, timestamp: PySide6.QtCore.QDateTime, /) -> None: ...
def swap(self, other: PySide6.QtPositioning.QGeoPositionInfo, /) -> None: ...
def timestamp(self, /) -> PySide6.QtCore.QDateTime: ...
class QGeoPositionInfoSource(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoPositionInfoSource::Error)
positionUpdated : typing.ClassVar[Signal] = ... # positionUpdated(QGeoPositionInfo)
supportedPositioningMethodsChanged: typing.ClassVar[Signal] = ... # supportedPositioningMethodsChanged()
class Error(enum.Enum):
AccessError = 0x0
ClosedError = 0x1
UnknownSourceError = 0x2
NoError = 0x3
UpdateTimeoutError = 0x4
class PositioningMethod(enum.Flag):
NonSatellitePositioningMethods = -256
AllPositioningMethods = -1
NoPositioningMethods = 0x0
SatellitePositioningMethods = 0xff
def __init__(self, parent: PySide6.QtCore.QObject, /, *, updateInterval: int | None = ..., minimumUpdateInterval: int | None = ..., sourceName: str | None = ..., preferredPositioningMethods: PySide6.QtPositioning.QGeoPositionInfoSource.PositioningMethod | None = ...) -> None: ...
@staticmethod
def availableSources() -> typing.List[str]: ...
def backendProperty(self, name: str, /) -> typing.Any: ...
@typing.overload
@staticmethod
def createDefaultSource(parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
@typing.overload
@staticmethod
def createDefaultSource(parameters: typing.Dict[str, typing.Any], parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
@typing.overload
@staticmethod
def createSource(sourceName: str, parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
@typing.overload
@staticmethod
def createSource(sourceName: str, parameters: typing.Dict[str, typing.Any], parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
def error(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource.Error: ...
def lastKnownPosition(self, /, fromSatellitePositioningMethodsOnly: bool = ...) -> PySide6.QtPositioning.QGeoPositionInfo: ...
def minimumUpdateInterval(self, /) -> int: ...
def preferredPositioningMethods(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource.PositioningMethod: ...
def requestUpdate(self, /, timeout: int | None = ...) -> None: ...
def setBackendProperty(self, name: str, value: typing.Any, /) -> bool: ...
def setPreferredPositioningMethods(self, methods: PySide6.QtPositioning.QGeoPositionInfoSource.PositioningMethod, /) -> None: ...
def setUpdateInterval(self, msec: int, /) -> None: ...
def sourceName(self, /) -> str: ...
def startUpdates(self, /) -> None: ...
def stopUpdates(self, /) -> None: ...
def supportedPositioningMethods(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource.PositioningMethod: ...
def updateInterval(self, /) -> int: ...
class QGeoPositionInfoSourceFactory(Shiboken.Object):
def __init__(self, /) -> None: ...
def areaMonitor(self, parent: PySide6.QtCore.QObject, parameters: typing.Dict[str, typing.Any], /) -> PySide6.QtPositioning.QGeoAreaMonitorSource: ...
def positionInfoSource(self, parent: PySide6.QtCore.QObject, parameters: typing.Dict[str, typing.Any], /) -> PySide6.QtPositioning.QGeoPositionInfoSource: ...
def satelliteInfoSource(self, parent: PySide6.QtCore.QObject, parameters: typing.Dict[str, typing.Any], /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource: ...
class QGeoRectangle(PySide6.QtPositioning.QGeoShape):
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoRectangle, /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., bottomRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., topLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, topLeft: PySide6.QtPositioning.QGeoCoordinate, bottomRight: PySide6.QtPositioning.QGeoCoordinate, /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, center: PySide6.QtPositioning.QGeoCoordinate, degreesWidth: float, degreesHeight: float, /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., bottomRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., topLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoShape, /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., bottomRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., topLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, coordinates: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., bottomRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., topLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, bottomLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., bottomRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., topLeft: PySide6.QtPositioning.QGeoCoordinate | None = ..., topRight: PySide6.QtPositioning.QGeoCoordinate | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ..., height: float | None = ..., width: float | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __ior__(self, rectangle: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> PySide6.QtPositioning.QGeoRectangle: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __or__(self, rectangle: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> PySide6.QtPositioning.QGeoRectangle: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def bottomLeft(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def bottomRight(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def center(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
@typing.overload
def contains(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
@typing.overload
def contains(self, rectangle: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> bool: ...
def extendRectangle(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def height(self, /) -> float: ...
def intersects(self, rectangle: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> bool: ...
def setBottomLeft(self, bottomLeft: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setBottomRight(self, bottomRight: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setCenter(self, center: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setHeight(self, degreesHeight: float, /) -> None: ...
def setTopLeft(self, topLeft: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setTopRight(self, topRight: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
def setWidth(self, degreesWidth: float, /) -> None: ...
def toString(self, /) -> str: ...
def topLeft(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def topRight(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def translate(self, degreesLatitude: float, degreesLongitude: float, /) -> None: ...
def translated(self, degreesLatitude: float, degreesLongitude: float, /) -> PySide6.QtPositioning.QGeoRectangle: ...
def united(self, rectangle: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> PySide6.QtPositioning.QGeoRectangle: ...
def width(self, /) -> float: ...
class QGeoSatelliteInfo(Shiboken.Object):
class Attribute(enum.Enum):
Elevation = 0x0
Azimuth = 0x1
class SatelliteSystem(enum.Enum):
Undefined = 0x0
GPS = 0x1
GLONASS = 0x2
GALILEO = 0x3
BEIDOU = 0x4
QZSS = 0x5
Multiple = 0xff
CustomType = 0x100
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoSatelliteInfo, /, *, satelliteSystem: PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem | None = ..., satelliteIdentifier: int | None = ..., signalStrength: float | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, satelliteSystem: PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem | None = ..., satelliteIdentifier: int | None = ..., signalStrength: float | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoSatelliteInfo, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoSatelliteInfo, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def attribute(self, attribute: PySide6.QtPositioning.QGeoSatelliteInfo.Attribute, /) -> float: ...
def hasAttribute(self, attribute: PySide6.QtPositioning.QGeoSatelliteInfo.Attribute, /) -> bool: ...
def removeAttribute(self, attribute: PySide6.QtPositioning.QGeoSatelliteInfo.Attribute, /) -> None: ...
def satelliteIdentifier(self, /) -> int: ...
def satelliteSystem(self, /) -> PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem: ...
def setAttribute(self, attribute: PySide6.QtPositioning.QGeoSatelliteInfo.Attribute, value: float, /) -> None: ...
def setSatelliteIdentifier(self, satId: int, /) -> None: ...
def setSatelliteSystem(self, system: PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem, /) -> None: ...
def setSignalStrength(self, signalStrength: int, /) -> None: ...
def signalStrength(self, /) -> int: ...
def swap(self, other: PySide6.QtPositioning.QGeoSatelliteInfo, /) -> None: ...
class QGeoSatelliteInfoSource(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoSatelliteInfoSource::Error)
satellitesInUseUpdated : typing.ClassVar[Signal] = ... # satellitesInUseUpdated(QList<QGeoSatelliteInfo>)
satellitesInViewUpdated : typing.ClassVar[Signal] = ... # satellitesInViewUpdated(QList<QGeoSatelliteInfo>)
class Error(enum.Enum):
UnknownSourceError = -1
AccessError = 0x0
ClosedError = 0x1
NoError = 0x2
UpdateTimeoutError = 0x3
def __init__(self, parent: PySide6.QtCore.QObject, /, *, updateInterval: int | None = ..., minimumUpdateInterval: int | None = ...) -> None: ...
@staticmethod
def availableSources() -> typing.List[str]: ...
def backendProperty(self, name: str, /) -> typing.Any: ...
@typing.overload
@staticmethod
def createDefaultSource(parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource: ...
@typing.overload
@staticmethod
def createDefaultSource(parameters: typing.Dict[str, typing.Any], parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource: ...
@typing.overload
@staticmethod
def createSource(sourceName: str, parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource: ...
@typing.overload
@staticmethod
def createSource(sourceName: str, parameters: typing.Dict[str, typing.Any], parent: PySide6.QtCore.QObject, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource: ...
def error(self, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource.Error: ...
def minimumUpdateInterval(self, /) -> int: ...
def requestUpdate(self, /, timeout: int | None = ...) -> None: ...
def setBackendProperty(self, name: str, value: typing.Any, /) -> bool: ...
def setUpdateInterval(self, msec: int, /) -> None: ...
def sourceName(self, /) -> str: ...
def startUpdates(self, /) -> None: ...
def stopUpdates(self, /) -> None: ...
def updateInterval(self, /) -> int: ...
class QGeoShape(Shiboken.Object):
class ShapeType(enum.Enum):
UnknownType = 0x0
RectangleType = 0x1
CircleType = 0x2
PathType = 0x3
PolygonType = 0x4
@typing.overload
def __init__(self, other: PySide6.QtPositioning.QGeoShape, /, *, type: PySide6.QtPositioning.QGeoShape.ShapeType | None = ..., isValid: bool | None = ..., isEmpty: bool | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, type: PySide6.QtPositioning.QGeoShape.ShapeType | None = ..., isValid: bool | None = ..., isEmpty: bool | None = ..., center: PySide6.QtPositioning.QGeoCoordinate | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtPositioning.QGeoShape, /) -> bool: ...
def __hash__(self, /) -> int: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtPositioning.QGeoShape, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def boundingGeoRectangle(self, /) -> PySide6.QtPositioning.QGeoRectangle: ...
def center(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
def contains(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> bool: ...
def isEmpty(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def toString(self, /) -> str: ...
def type(self, /) -> PySide6.QtPositioning.QGeoShape.ShapeType: ...
class QIntList: ...
class QNmeaPositionInfoSource(PySide6.QtPositioning.QGeoPositionInfoSource):
class UpdateMode(enum.Enum):
RealTimeMode = 0x1
SimulationMode = 0x2
def __init__(self, updateMode: PySide6.QtPositioning.QNmeaPositionInfoSource.UpdateMode, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def device(self, /) -> PySide6.QtCore.QIODevice: ...
def error(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource.Error: ...
def lastKnownPosition(self, /, fromSatellitePositioningMethodsOnly: bool = ...) -> PySide6.QtPositioning.QGeoPositionInfo: ...
def minimumUpdateInterval(self, /) -> int: ...
@typing.overload
def parsePosInfoFromNmeaData(self, data: bytes | bytearray | memoryview, size: int, posInfo: PySide6.QtPositioning.QGeoPositionInfo, /) -> typing.Tuple[bool, bool]: ...
@typing.overload
def parsePosInfoFromNmeaData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, posInfo: PySide6.QtPositioning.QGeoPositionInfo, /) -> typing.Tuple[bool, bool]: ...
def requestUpdate(self, /, timeout: int | None = ...) -> None: ...
def setDevice(self, source: PySide6.QtCore.QIODevice, /) -> None: ...
def setError(self, positionError: PySide6.QtPositioning.QGeoPositionInfoSource.Error, /) -> None: ...
def setUpdateInterval(self, msec: int, /) -> None: ...
def setUserEquivalentRangeError(self, uere: float, /) -> None: ...
def startUpdates(self, /) -> None: ...
def stopUpdates(self, /) -> None: ...
def supportedPositioningMethods(self, /) -> PySide6.QtPositioning.QGeoPositionInfoSource.PositioningMethod: ...
def updateMode(self, /) -> PySide6.QtPositioning.QNmeaPositionInfoSource.UpdateMode: ...
def userEquivalentRangeError(self, /) -> float: ...
class QNmeaSatelliteInfoSource(PySide6.QtPositioning.QGeoSatelliteInfoSource):
class SatelliteInfoParseStatus(enum.Enum):
NotParsed = 0x0
PartiallyParsed = 0x1
FullyParsed = 0x2
class UpdateMode(enum.Enum):
RealTimeMode = 0x1
SimulationMode = 0x2
def __init__(self, mode: PySide6.QtPositioning.QNmeaSatelliteInfoSource.UpdateMode, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def backendProperty(self, name: str, /) -> typing.Any: ...
def device(self, /) -> PySide6.QtCore.QIODevice: ...
def error(self, /) -> PySide6.QtPositioning.QGeoSatelliteInfoSource.Error: ...
def minimumUpdateInterval(self, /) -> int: ...
@typing.overload
def parseSatelliteInfoFromNmea(self, data: bytes | bytearray | memoryview, size: int, infos: collections.abc.Sequence[PySide6.QtPositioning.QGeoSatelliteInfo], system: PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem, /) -> PySide6.QtPositioning.QNmeaSatelliteInfoSource.SatelliteInfoParseStatus: ...
@typing.overload
def parseSatelliteInfoFromNmea(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, infos: collections.abc.Sequence[PySide6.QtPositioning.QGeoSatelliteInfo], system: PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem, /) -> PySide6.QtPositioning.QNmeaSatelliteInfoSource.SatelliteInfoParseStatus: ...
@typing.overload
def parseSatellitesInUseFromNmea(self, data: bytes | bytearray | memoryview, size: int, pnrsInUse: collections.abc.Sequence[int], /) -> PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem: ...
@typing.overload
def parseSatellitesInUseFromNmea(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, pnrsInUse: collections.abc.Sequence[int], /) -> PySide6.QtPositioning.QGeoSatelliteInfo.SatelliteSystem: ...
def requestUpdate(self, /, timeout: int | None = ...) -> None: ...
def setBackendProperty(self, name: str, value: typing.Any, /) -> bool: ...
def setDevice(self, source: PySide6.QtCore.QIODevice, /) -> None: ...
def setError(self, satelliteError: PySide6.QtPositioning.QGeoSatelliteInfoSource.Error, /) -> None: ...
def setUpdateInterval(self, msec: int, /) -> None: ...
def startUpdates(self, /) -> None: ...
def stopUpdates(self, /) -> None: ...
def updateMode(self, /) -> PySide6.QtPositioning.QNmeaSatelliteInfoSource.UpdateMode: ...
# eof
@@ -1,387 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtPrintSupport, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtPrintSupport`
import PySide6.QtPrintSupport
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAbstractPrintDialog(PySide6.QtWidgets.QDialog):
class PrintDialogOption(enum.Flag):
PrintToFile = 0x1
PrintSelection = 0x2
PrintPageRange = 0x4
PrintShowPageSize = 0x8
PrintCollateCopies = 0x10
PrintCurrentPage = 0x40
class PrintRange(enum.Enum):
AllPages = 0x0
Selection = 0x1
PageRange = 0x2
CurrentPage = 0x3
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def fromPage(self, /) -> int: ...
def maxPage(self, /) -> int: ...
def minPage(self, /) -> int: ...
def printRange(self, /) -> PySide6.QtPrintSupport.QAbstractPrintDialog.PrintRange: ...
def printer(self, /) -> PySide6.QtPrintSupport.QPrinter: ...
def setFromTo(self, fromPage: int, toPage: int, /) -> None: ...
def setMinMax(self, min: int, max: int, /) -> None: ...
def setOptionTabs(self, tabs: collections.abc.Sequence[PySide6.QtWidgets.QWidget], /) -> None: ...
def setPrintRange(self, range: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintRange, /) -> None: ...
def toPage(self, /) -> int: ...
class QIntList: ...
class QPageSetupDialog(PySide6.QtWidgets.QDialog):
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def done(self, result: int, /) -> None: ...
def exec(self, /) -> int: ...
def exec_(self, /) -> int: ...
@typing.overload
def open(self, /) -> None: ...
@typing.overload
def open(self, receiver: PySide6.QtCore.QObject, member: bytes | bytearray | memoryview, /) -> None: ...
def printer(self, /) -> PySide6.QtPrintSupport.QPrinter: ...
def setVisible(self, visible: bool, /) -> None: ...
class QPrintDialog(PySide6.QtPrintSupport.QAbstractPrintDialog):
accepted : typing.ClassVar[Signal] = ... # accepted(QPrinter*)
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, options: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, options: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption | None = ...) -> None: ...
def done(self, result: int, /) -> None: ...
def exec(self, /) -> int: ...
def exec_(self, /) -> int: ...
def open(self, receiver: PySide6.QtCore.QObject, member: bytes | bytearray | memoryview, /) -> None: ...
def options(self, /) -> PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption: ...
def setOption(self, option: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption, /, on: bool = ...) -> None: ...
def setOptions(self, options: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption, /) -> None: ...
def setVisible(self, visible: bool, /) -> None: ...
def testOption(self, option: PySide6.QtPrintSupport.QAbstractPrintDialog.PrintDialogOption, /) -> bool: ...
class QPrintEngine(Shiboken.Object):
class PrintEnginePropertyKey(enum.Enum):
PPK_CollateCopies = 0x0
PPK_ColorMode = 0x1
PPK_Creator = 0x2
PPK_DocumentName = 0x3
PPK_FullPage = 0x4
PPK_NumberOfCopies = 0x5
PPK_Orientation = 0x6
PPK_OutputFileName = 0x7
PPK_PageOrder = 0x8
PPK_PageRect = 0x9
PPK_PageSize = 0xa
PPK_PaperSize = 0xa
PPK_PaperRect = 0xb
PPK_PaperSource = 0xc
PPK_PrinterName = 0xd
PPK_PrinterProgram = 0xe
PPK_Resolution = 0xf
PPK_SelectionOption = 0x10
PPK_SupportedResolutions = 0x11
PPK_WindowsPageSize = 0x12
PPK_FontEmbedding = 0x13
PPK_Duplex = 0x14
PPK_PaperSources = 0x15
PPK_CustomPaperSize = 0x16
PPK_PageMargins = 0x17
PPK_CopyCount = 0x18
PPK_SupportsMultipleCopies = 0x19
PPK_PaperName = 0x1a
PPK_QPageSize = 0x1b
PPK_QPageMargins = 0x1c
PPK_QPageLayout = 0x1d
PPK_CustomBase = 0xff00
def __init__(self, /) -> None: ...
def abort(self, /) -> bool: ...
def metric(self, arg__1: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
def newPage(self, /) -> bool: ...
def printerState(self, /) -> PySide6.QtPrintSupport.QPrinter.PrinterState: ...
def property(self, key: PySide6.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey, /) -> typing.Any: ...
def setProperty(self, key: PySide6.QtPrintSupport.QPrintEngine.PrintEnginePropertyKey, value: typing.Any, /) -> None: ...
class QPrintPreviewDialog(PySide6.QtWidgets.QDialog):
paintRequested : typing.ClassVar[Signal] = ... # paintRequested(QPrinter*)
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def done(self, result: int, /) -> None: ...
@typing.overload
def open(self, /) -> None: ...
@typing.overload
def open(self, receiver: PySide6.QtCore.QObject, member: bytes | bytearray | memoryview, /) -> None: ...
def printer(self, /) -> PySide6.QtPrintSupport.QPrinter: ...
def setVisible(self, visible: bool, /) -> None: ...
class QPrintPreviewWidget(PySide6.QtWidgets.QWidget):
paintRequested : typing.ClassVar[Signal] = ... # paintRequested(QPrinter*)
previewChanged : typing.ClassVar[Signal] = ... # previewChanged()
class ViewMode(enum.Enum):
SinglePageView = 0x0
FacingPagesView = 0x1
AllPagesView = 0x2
class ZoomMode(enum.Enum):
CustomZoom = 0x0
FitToWidth = 0x1
FitInView = 0x2
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...
def currentPage(self, /) -> int: ...
def fitInView(self, /) -> None: ...
def fitToWidth(self, /) -> None: ...
def orientation(self, /) -> PySide6.QtGui.QPageLayout.Orientation: ...
def pageCount(self, /) -> int: ...
def print_(self, /) -> None: ...
def setAllPagesViewMode(self, /) -> None: ...
def setCurrentPage(self, pageNumber: int, /) -> None: ...
def setFacingPagesViewMode(self, /) -> None: ...
def setLandscapeOrientation(self, /) -> None: ...
def setOrientation(self, orientation: PySide6.QtGui.QPageLayout.Orientation, /) -> None: ...
def setPortraitOrientation(self, /) -> None: ...
def setSinglePageViewMode(self, /) -> None: ...
def setViewMode(self, viewMode: PySide6.QtPrintSupport.QPrintPreviewWidget.ViewMode, /) -> None: ...
def setVisible(self, visible: bool, /) -> None: ...
def setZoomFactor(self, zoomFactor: float, /) -> None: ...
def setZoomMode(self, zoomMode: PySide6.QtPrintSupport.QPrintPreviewWidget.ZoomMode, /) -> None: ...
def updatePreview(self, /) -> None: ...
def viewMode(self, /) -> PySide6.QtPrintSupport.QPrintPreviewWidget.ViewMode: ...
def zoomFactor(self, /) -> float: ...
def zoomIn(self, /, zoom: float = ...) -> None: ...
def zoomMode(self, /) -> PySide6.QtPrintSupport.QPrintPreviewWidget.ZoomMode: ...
def zoomOut(self, /, zoom: float = ...) -> None: ...
class QPrinter(PySide6.QtGui.QPagedPaintDevice):
class ColorMode(enum.Enum):
GrayScale = 0x0
Color = 0x1
class DuplexMode(enum.Enum):
DuplexNone = 0x0
DuplexAuto = 0x1
DuplexLongSide = 0x2
DuplexShortSide = 0x3
class OutputFormat(enum.Enum):
NativeFormat = 0x0
PdfFormat = 0x1
class PageOrder(enum.Enum):
FirstPageFirst = 0x0
LastPageFirst = 0x1
class PaperSource(enum.Enum):
OnlyOne = 0x0
Upper = 0x0
Lower = 0x1
Middle = 0x2
Manual = 0x3
Envelope = 0x4
EnvelopeManual = 0x5
Auto = 0x6
Tractor = 0x7
SmallFormat = 0x8
LargeFormat = 0x9
LargeCapacity = 0xa
Cassette = 0xb
FormSource = 0xc
MaxPageSource = 0xd
CustomSource = 0xe
LastPaperSource = 0xe
class PrintRange(enum.Enum):
AllPages = 0x0
Selection = 0x1
PageRange = 0x2
CurrentPage = 0x3
class PrinterMode(enum.Enum):
ScreenResolution = 0x0
PrinterResolution = 0x1
HighResolution = 0x2
class PrinterState(enum.Enum):
Idle = 0x0
Active = 0x1
Aborted = 0x2
Error = 0x3
class Unit(enum.Enum):
Millimeter = 0x0
Point = 0x1
Inch = 0x2
Pica = 0x3
Didot = 0x4
Cicero = 0x5
DevicePixel = 0x6
@typing.overload
def __init__(self, /, mode: PySide6.QtPrintSupport.QPrinter.PrinterMode = ...) -> None: ...
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinterInfo, /, mode: PySide6.QtPrintSupport.QPrinter.PrinterMode = ...) -> None: ...
def abort(self, /) -> bool: ...
def collateCopies(self, /) -> bool: ...
def colorMode(self, /) -> PySide6.QtPrintSupport.QPrinter.ColorMode: ...
def copyCount(self, /) -> int: ...
def creator(self, /) -> str: ...
def devType(self, /) -> int: ...
def docName(self, /) -> str: ...
def duplex(self, /) -> PySide6.QtPrintSupport.QPrinter.DuplexMode: ...
def fontEmbeddingEnabled(self, /) -> bool: ...
def fromPage(self, /) -> int: ...
def fullPage(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def metric(self, arg__1: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
def newPage(self, /) -> bool: ...
def outputFileName(self, /) -> str: ...
def outputFormat(self, /) -> PySide6.QtPrintSupport.QPrinter.OutputFormat: ...
def pageOrder(self, /) -> PySide6.QtPrintSupport.QPrinter.PageOrder: ...
def pageRect(self, arg__1: PySide6.QtPrintSupport.QPrinter.Unit, /) -> PySide6.QtCore.QRectF: ...
def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
def paperRect(self, arg__1: PySide6.QtPrintSupport.QPrinter.Unit, /) -> PySide6.QtCore.QRectF: ...
def paperSource(self, /) -> PySide6.QtPrintSupport.QPrinter.PaperSource: ...
def pdfVersion(self, /) -> PySide6.QtGui.QPagedPaintDevice.PdfVersion: ...
def printEngine(self, /) -> PySide6.QtPrintSupport.QPrintEngine: ...
def printProgram(self, /) -> str: ...
def printRange(self, /) -> PySide6.QtPrintSupport.QPrinter.PrintRange: ...
def printerName(self, /) -> str: ...
def printerSelectionOption(self, /) -> str: ...
def printerState(self, /) -> PySide6.QtPrintSupport.QPrinter.PrinterState: ...
def resolution(self, /) -> int: ...
def setCollateCopies(self, collate: bool, /) -> None: ...
def setColorMode(self, arg__1: PySide6.QtPrintSupport.QPrinter.ColorMode, /) -> None: ...
def setCopyCount(self, arg__1: int, /) -> None: ...
def setCreator(self, arg__1: str, /) -> None: ...
def setDocName(self, arg__1: str, /) -> None: ...
def setDuplex(self, duplex: PySide6.QtPrintSupport.QPrinter.DuplexMode, /) -> None: ...
def setEngines(self, printEngine: PySide6.QtPrintSupport.QPrintEngine, paintEngine: PySide6.QtGui.QPaintEngine, /) -> None: ...
def setFontEmbeddingEnabled(self, enable: bool, /) -> None: ...
def setFromTo(self, fromPage: int, toPage: int, /) -> None: ...
def setFullPage(self, arg__1: bool, /) -> None: ...
def setOutputFileName(self, arg__1: str, /) -> None: ...
def setOutputFormat(self, format: PySide6.QtPrintSupport.QPrinter.OutputFormat, /) -> None: ...
def setPageOrder(self, arg__1: PySide6.QtPrintSupport.QPrinter.PageOrder, /) -> None: ...
def setPageSize(self, size: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> bool: ...
def setPaperSource(self, arg__1: PySide6.QtPrintSupport.QPrinter.PaperSource, /) -> None: ...
def setPdfVersion(self, version: PySide6.QtGui.QPagedPaintDevice.PdfVersion, /) -> None: ...
def setPrintProgram(self, arg__1: str, /) -> None: ...
def setPrintRange(self, range: PySide6.QtPrintSupport.QPrinter.PrintRange, /) -> None: ...
def setPrinterName(self, arg__1: str, /) -> None: ...
def setPrinterSelectionOption(self, arg__1: str, /) -> None: ...
def setResolution(self, arg__1: int, /) -> None: ...
def supportedPaperSources(self, /) -> typing.List[PySide6.QtPrintSupport.QPrinter.PaperSource]: ...
def supportedResolutions(self, /) -> typing.List[int]: ...
def supportsMultipleCopies(self, /) -> bool: ...
def toPage(self, /) -> int: ...
class QPrinterInfo(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, printer: PySide6.QtPrintSupport.QPrinter, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtPrintSupport.QPrinterInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@staticmethod
def availablePrinterNames() -> typing.List[str]: ...
@staticmethod
def availablePrinters() -> typing.List[PySide6.QtPrintSupport.QPrinterInfo]: ...
def defaultColorMode(self, /) -> PySide6.QtPrintSupport.QPrinter.ColorMode: ...
def defaultDuplexMode(self, /) -> PySide6.QtPrintSupport.QPrinter.DuplexMode: ...
def defaultPageSize(self, /) -> PySide6.QtGui.QPageSize: ...
@staticmethod
def defaultPrinter() -> PySide6.QtPrintSupport.QPrinterInfo: ...
@staticmethod
def defaultPrinterName() -> str: ...
def description(self, /) -> str: ...
def isDefault(self, /) -> bool: ...
def isNull(self, /) -> bool: ...
def isRemote(self, /) -> bool: ...
def location(self, /) -> str: ...
def makeAndModel(self, /) -> str: ...
def maximumPhysicalPageSize(self, /) -> PySide6.QtGui.QPageSize: ...
def minimumPhysicalPageSize(self, /) -> PySide6.QtGui.QPageSize: ...
@staticmethod
def printerInfo(printerName: str, /) -> PySide6.QtPrintSupport.QPrinterInfo: ...
def printerName(self, /) -> str: ...
def state(self, /) -> PySide6.QtPrintSupport.QPrinter.PrinterState: ...
def supportedColorModes(self, /) -> typing.List[PySide6.QtPrintSupport.QPrinter.ColorMode]: ...
def supportedDuplexModes(self, /) -> typing.List[PySide6.QtPrintSupport.QPrinter.DuplexMode]: ...
def supportedPageSizes(self, /) -> typing.List[PySide6.QtGui.QPageSize]: ...
def supportedResolutions(self, /) -> typing.List[int]: ...
def supportsCustomPageSizes(self, /) -> bool: ...
# eof
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,304 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtQuick3D, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtQuick3D`
import PySide6.QtQuick3D
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtQml
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QQuick3D(Shiboken.Object):
def __init__(self, /) -> None: ...
@staticmethod
def idealSurfaceFormat(samples: int = ...) -> PySide6.QtGui.QSurfaceFormat: ...
class QQuick3DGeometry(PySide6.QtQuick3D.QQuick3DObject):
geometryChanged : typing.ClassVar[Signal] = ... # geometryChanged()
geometryNodeDirty : typing.ClassVar[Signal] = ... # geometryNodeDirty()
class Attribute(Shiboken.Object):
componentType = ... # type: int
offset = ... # type: int
semantic = ... # type: int
class ComponentType(enum.Enum):
U16Type = 0x0
U32Type = 0x1
I32Type = 0x2
F32Type = 0x3
class Semantic(enum.Enum):
IndexSemantic = 0x0
PositionSemantic = 0x1
NormalSemantic = 0x2
TexCoord0Semantic = 0x3
TexCoordSemantic = 0x3
TangentSemantic = 0x4
BinormalSemantic = 0x5
JointSemantic = 0x6
WeightSemantic = 0x7
ColorSemantic = 0x8
TargetPositionSemantic = 0x9
TargetNormalSemantic = 0xa
TargetTangentSemantic = 0xb
TargetBinormalSemantic = 0xc
TexCoord1Semantic = 0xd
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, Attribute: PySide6.QtQuick3D.QQuick3DGeometry.Attribute, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class PrimitiveType(enum.Enum):
Points = 0x0
LineStrip = 0x1
Lines = 0x2
TriangleStrip = 0x3
TriangleFan = 0x4
Triangles = 0x5
class TargetAttribute(Shiboken.Object):
attr = ... # type: PySide6.QtQuick3D.QQuick3DGeometry.Attribute
stride = ... # type: int
targetId = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, TargetAttribute: PySide6.QtQuick3D.QQuick3DGeometry.TargetAttribute, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __init__(self, /, parent: PySide6.QtQuick3D.QQuick3DObject | None = ...) -> None: ...
@typing.overload
def addAttribute(self, att: PySide6.QtQuick3D.QQuick3DGeometry.Attribute, /) -> None: ...
@typing.overload
def addAttribute(self, semantic: PySide6.QtQuick3D.QQuick3DGeometry.Attribute.Semantic, offset: int, componentType: PySide6.QtQuick3D.QQuick3DGeometry.Attribute.ComponentType, /) -> None: ...
def addSubset(self, offset: int, count: int, boundsMin: PySide6.QtGui.QVector3D, boundsMax: PySide6.QtGui.QVector3D, /, name: str = ...) -> None: ...
@typing.overload
def addTargetAttribute(self, att: PySide6.QtQuick3D.QQuick3DGeometry.TargetAttribute, /) -> None: ...
@typing.overload
def addTargetAttribute(self, targetId: int, semantic: PySide6.QtQuick3D.QQuick3DGeometry.Attribute.Semantic, offset: int, /, stride: int | None = ...) -> None: ...
def attribute(self, index: int, /) -> PySide6.QtQuick3D.QQuick3DGeometry.Attribute: ...
def attributeCount(self, /) -> int: ...
def boundsMax(self, /) -> PySide6.QtGui.QVector3D: ...
def boundsMin(self, /) -> PySide6.QtGui.QVector3D: ...
def clear(self, /) -> None: ...
def indexData(self, /) -> PySide6.QtCore.QByteArray: ...
def markAllDirty(self, /) -> None: ...
def primitiveType(self, /) -> PySide6.QtQuick3D.QQuick3DGeometry.PrimitiveType: ...
def setBounds(self, min: PySide6.QtGui.QVector3D, max: PySide6.QtGui.QVector3D, /) -> None: ...
@typing.overload
def setIndexData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def setIndexData(self, offset: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setPrimitiveType(self, type: PySide6.QtQuick3D.QQuick3DGeometry.PrimitiveType, /) -> None: ...
def setStride(self, stride: int, /) -> None: ...
@typing.overload
def setTargetData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def setTargetData(self, offset: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def setVertexData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def setVertexData(self, offset: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def stride(self, /) -> int: ...
def subsetBoundsMax(self, subset: int, /) -> PySide6.QtGui.QVector3D: ...
def subsetBoundsMin(self, subset: int, /) -> PySide6.QtGui.QVector3D: ...
@typing.overload
def subsetCount(self, /) -> int: ...
@typing.overload
def subsetCount(self, subset: int, /) -> int: ...
def subsetName(self, subset: int, /) -> str: ...
def subsetOffset(self, subset: int, /) -> int: ...
def targetAttribute(self, index: int, /) -> PySide6.QtQuick3D.QQuick3DGeometry.TargetAttribute: ...
def targetAttributeCount(self, /) -> int: ...
def targetData(self, /) -> PySide6.QtCore.QByteArray: ...
def vertexData(self, /) -> PySide6.QtCore.QByteArray: ...
class QQuick3DInstancing(PySide6.QtQuick3D.QQuick3DObject):
depthSortingEnabledChanged: typing.ClassVar[Signal] = ... # depthSortingEnabledChanged()
hasTransparencyChanged : typing.ClassVar[Signal] = ... # hasTransparencyChanged()
instanceCountOverrideChanged: typing.ClassVar[Signal] = ... # instanceCountOverrideChanged()
instanceNodeDirty : typing.ClassVar[Signal] = ... # instanceNodeDirty()
instanceTableChanged : typing.ClassVar[Signal] = ... # instanceTableChanged()
shadowBoundsMaximumChanged: typing.ClassVar[Signal] = ... # shadowBoundsMaximumChanged()
shadowBoundsMinimumChanged: typing.ClassVar[Signal] = ... # shadowBoundsMinimumChanged()
class InstanceTableEntry(Shiboken.Object):
color = ... # type: PySide6.QtGui.QVector4D
instanceData = ... # type: PySide6.QtGui.QVector4D
row0 = ... # type: PySide6.QtGui.QVector4D
row1 = ... # type: PySide6.QtGui.QVector4D
row2 = ... # type: PySide6.QtGui.QVector4D
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, InstanceTableEntry: PySide6.QtQuick3D.QQuick3DInstancing.InstanceTableEntry, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def getColor(self, /) -> PySide6.QtGui.QColor: ...
def getPosition(self, /) -> PySide6.QtGui.QVector3D: ...
def getRotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def getScale(self, /) -> PySide6.QtGui.QVector3D: ...
def __init__(self, /, parent: PySide6.QtQuick3D.QQuick3DObject | None = ..., *, instanceCountOverride: int | None = ..., hasTransparency: bool | None = ..., depthSortingEnabled: bool | None = ..., shadowBoundsMinimum: PySide6.QtGui.QVector3D | None = ..., shadowBoundsMaximum: PySide6.QtGui.QVector3D | None = ...) -> None: ...
@staticmethod
def calculateTableEntry(position: PySide6.QtGui.QVector3D, scale: PySide6.QtGui.QVector3D, eulerRotation: PySide6.QtGui.QVector3D, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /, customData: PySide6.QtGui.QVector4D = ...) -> PySide6.QtQuick3D.QQuick3DInstancing.InstanceTableEntry: ...
@staticmethod
def calculateTableEntryFromQuaternion(position: PySide6.QtGui.QVector3D, scale: PySide6.QtGui.QVector3D, rotation: PySide6.QtGui.QQuaternion, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /, customData: PySide6.QtGui.QVector4D = ...) -> PySide6.QtQuick3D.QQuick3DInstancing.InstanceTableEntry: ...
def depthSortingEnabled(self, /) -> bool: ...
def getInstanceBuffer(self, /) -> typing.Tuple[bool, str]: ...
def hasTransparency(self, /) -> bool: ...
def instanceBuffer(self, /) -> typing.Tuple[PySide6.QtCore.QByteArray, int]: ...
def instanceColor(self, index: int, /) -> PySide6.QtGui.QColor: ...
def instanceCountOverride(self, /) -> int: ...
def instanceCustomData(self, index: int, /) -> PySide6.QtGui.QVector4D: ...
def instancePosition(self, index: int, /) -> PySide6.QtGui.QVector3D: ...
def instanceRotation(self, index: int, /) -> PySide6.QtGui.QQuaternion: ...
def instanceScale(self, index: int, /) -> PySide6.QtGui.QVector3D: ...
def markDirty(self, /) -> None: ...
def setDepthSortingEnabled(self, enabled: bool, /) -> None: ...
def setHasTransparency(self, hasTransparency: bool, /) -> None: ...
def setInstanceCountOverride(self, instanceCountOverride: int, /) -> None: ...
def setShadowBoundsMaximum(self, newShadowBoundsMinimum: PySide6.QtGui.QVector3D, /) -> None: ...
def setShadowBoundsMinimum(self, newShadowBoundsMinimum: PySide6.QtGui.QVector3D, /) -> None: ...
def shadowBoundsMaximum(self, /) -> PySide6.QtGui.QVector3D: ...
def shadowBoundsMinimum(self, /) -> PySide6.QtGui.QVector3D: ...
class QQuick3DObject(PySide6.QtCore.QObject, PySide6.QtQml.QQmlParserStatus):
childrenChanged : typing.ClassVar[Signal] = ... # childrenChanged()
parentChanged : typing.ClassVar[Signal] = ... # parentChanged()
stateChanged : typing.ClassVar[Signal] = ... # stateChanged()
class ItemChange(enum.Enum):
ItemChildAddedChange = 0x0
ItemChildRemovedChange = 0x1
ItemSceneChange = 0x2
ItemVisibleHasChanged = 0x3
ItemParentHasChanged = 0x4
ItemOpacityHasChanged = 0x5
ItemActiveFocusHasChanged = 0x6
ItemRotationHasChanged = 0x7
ItemAntialiasingHasChanged = 0x8
ItemDevicePixelRatioHasChanged = 0x9
ItemEnabledHasChanged = 0xa
def childItems(self, /) -> typing.List[PySide6.QtQuick3D.QQuick3DObject]: ...
def classBegin(self, /) -> None: ...
def componentComplete(self, /) -> None: ...
def isComponentComplete(self, /) -> bool: ...
def markAllDirty(self, /) -> None: ...
def parentItem(self, /) -> PySide6.QtQuick3D.QQuick3DObject: ...
def preSync(self, /) -> None: ...
def setParentItem(self, parentItem: PySide6.QtQuick3D.QQuick3DObject, /) -> None: ...
def setState(self, state: str, /) -> None: ...
def state(self, /) -> str: ...
def update(self, /) -> None: ...
class QQuick3DRenderExtension(PySide6.QtQuick3D.QQuick3DObject):
def __init__(self, /, parent: PySide6.QtQuick3D.QQuick3DObject | None = ...) -> None: ...
class QQuick3DTextureData(PySide6.QtQuick3D.QQuick3DObject):
textureDataNodeDirty : typing.ClassVar[Signal] = ... # textureDataNodeDirty()
class Format(enum.Enum):
None_ = 0x0
RGBA8 = 0x1
RGBA16F = 0x2
RGBA32F = 0x3
RGBE8 = 0x4
R8 = 0x5
R16 = 0x6
R16F = 0x7
R32F = 0x8
BC1 = 0x9
BC2 = 0xa
BC3 = 0xb
BC4 = 0xc
BC5 = 0xd
BC6H = 0xe
BC7 = 0xf
DXT1_RGBA = 0x10
DXT1_RGB = 0x11
DXT3_RGBA = 0x12
DXT5_RGBA = 0x13
ETC2_RGB8 = 0x14
ETC2_RGB8A1 = 0x15
ETC2_RGBA8 = 0x16
ASTC_4x4 = 0x17
ASTC_5x4 = 0x18
ASTC_5x5 = 0x19
ASTC_6x5 = 0x1a
ASTC_6x6 = 0x1b
ASTC_8x5 = 0x1c
ASTC_8x6 = 0x1d
ASTC_8x8 = 0x1e
ASTC_10x5 = 0x1f
ASTC_10x6 = 0x20
ASTC_10x8 = 0x21
ASTC_10x10 = 0x22
ASTC_12x10 = 0x23
ASTC_12x12 = 0x24
def __init__(self, /, parent: PySide6.QtQuick3D.QQuick3DObject | None = ...) -> None: ...
def depth(self, /) -> int: ...
def format(self, /) -> PySide6.QtQuick3D.QQuick3DTextureData.Format: ...
def hasTransparency(self, /) -> bool: ...
def markAllDirty(self, /) -> None: ...
def setDepth(self, depth: int, /) -> None: ...
def setFormat(self, format: PySide6.QtQuick3D.QQuick3DTextureData.Format, /) -> None: ...
def setHasTransparency(self, hasTransparency: bool, /) -> None: ...
def setSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
def setTextureData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def size(self, /) -> PySide6.QtCore.QSize: ...
def textureData(self, /) -> PySide6.QtCore.QByteArray: ...
# eof
@@ -1,43 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtQuickControls2, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtQuickControls2`
import PySide6.QtQuickControls2
import PySide6.QtCore
import typing
from shiboken6 import Shiboken
class QIntList: ...
class QQuickAttachedPropertyPropagator(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def attachedChildren(self, /) -> typing.List[PySide6.QtQuickControls2.QQuickAttachedPropertyPropagator]: ...
def attachedParent(self, /) -> PySide6.QtQuickControls2.QQuickAttachedPropertyPropagator: ...
def attachedParentChange(self, newParent: PySide6.QtQuickControls2.QQuickAttachedPropertyPropagator, oldParent: PySide6.QtQuickControls2.QQuickAttachedPropertyPropagator, /) -> None: ...
def initialize(self, /) -> None: ...
class QQuickStyle(Shiboken.Object):
def __init__(self, /) -> None: ...
@staticmethod
def name() -> str: ...
@staticmethod
def setFallbackStyle(style: str, /) -> None: ...
@staticmethod
def setStyle(style: str, /) -> None: ...
# eof
@@ -1,23 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtQuickTest, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtQuickTest`
import PySide6.QtQuickTest
import collections.abc
class QIntList: ...
def QUICK_TEST_MAIN(name: str, /, argv: collections.abc.Sequence[str] = ..., dir: str = ...) -> int: ...
def QUICK_TEST_MAIN_WITH_SETUP(name: str, setup: type, /, argv: collections.abc.Sequence[str] = ..., dir: str = ...) -> int: ...
# eof
@@ -1,94 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtQuickWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtQuickWidgets`
import PySide6.QtQuickWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtQml
import PySide6.QtQuick
import enum
import typing
from PySide6.QtCore import Signal
class QIntList: ...
class QQuickWidget(PySide6.QtWidgets.QWidget):
sceneGraphError : typing.ClassVar[Signal] = ... # sceneGraphError(QQuickWindow::SceneGraphError,QString)
statusChanged : typing.ClassVar[Signal] = ... # statusChanged(QQuickWidget::Status)
class ResizeMode(enum.Enum):
SizeViewToRootObject = 0x0
SizeRootObjectToView = 0x1
class Status(enum.Enum):
Null = 0x0
Ready = 0x1
Loading = 0x2
Error = 0x3
@typing.overload
def __init__(self, engine: PySide6.QtQml.QQmlEngine, parent: PySide6.QtWidgets.QWidget, /, *, resizeMode: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode | None = ..., status: PySide6.QtQuickWidgets.QQuickWidget.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, uri: str, typeName: str, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, resizeMode: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode | None = ..., status: PySide6.QtQuickWidgets.QQuickWidget.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, resizeMode: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode | None = ..., status: PySide6.QtQuickWidgets.QQuickWidget.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, source: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, resizeMode: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode | None = ..., status: PySide6.QtQuickWidgets.QQuickWidget.Status | None = ...) -> None: ...
def dragEnterEvent(self, arg__1: PySide6.QtGui.QDragEnterEvent, /) -> None: ...
def dragLeaveEvent(self, arg__1: PySide6.QtGui.QDragLeaveEvent, /) -> None: ...
def dragMoveEvent(self, arg__1: PySide6.QtGui.QDragMoveEvent, /) -> None: ...
def dropEvent(self, arg__1: PySide6.QtGui.QDropEvent, /) -> None: ...
def engine(self, /) -> PySide6.QtQml.QQmlEngine: ...
def errors(self, /) -> typing.List[PySide6.QtQml.QQmlError]: ...
def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
def focusInEvent(self, event: PySide6.QtGui.QFocusEvent, /) -> None: ...
def focusNextPrevChild(self, next: bool, /) -> bool: ...
def focusOutEvent(self, event: PySide6.QtGui.QFocusEvent, /) -> None: ...
def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
def grabFramebuffer(self, /) -> PySide6.QtGui.QImage: ...
def hideEvent(self, arg__1: PySide6.QtGui.QHideEvent, /) -> None: ...
def initialSize(self, /) -> PySide6.QtCore.QSize: ...
def keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
def keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
def loadFromModule(self, uri: str, typeName: str, /) -> None: ...
def mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
def mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
def mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
def mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
def paintEvent(self, event: PySide6.QtGui.QPaintEvent, /) -> None: ...
def quickWindow(self, /) -> PySide6.QtQuick.QQuickWindow: ...
def resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
def resizeMode(self, /) -> PySide6.QtQuickWidgets.QQuickWidget.ResizeMode: ...
def rootContext(self, /) -> PySide6.QtQml.QQmlContext: ...
def rootObject(self, /) -> PySide6.QtQuick.QQuickItem: ...
def setClearColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
def setContent(self, url: PySide6.QtCore.QUrl | str, component: PySide6.QtQml.QQmlComponent, item: PySide6.QtCore.QObject, /) -> None: ...
def setFormat(self, format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any], /) -> None: ...
def setResizeMode(self, arg__1: PySide6.QtQuickWidgets.QQuickWidget.ResizeMode, /) -> None: ...
def setSource(self, arg__1: PySide6.QtCore.QUrl | str, /) -> None: ...
def showEvent(self, arg__1: PySide6.QtGui.QShowEvent, /) -> None: ...
def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
def source(self, /) -> PySide6.QtCore.QUrl: ...
def status(self, /) -> PySide6.QtQuickWidgets.QQuickWidget.Status: ...
def timerEvent(self, arg__1: PySide6.QtCore.QTimerEvent, /) -> None: ...
def wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent, /) -> None: ...
# eof
@@ -1,383 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtRemoteObjects, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtRemoteObjects`
import PySide6.QtRemoteObjects
import PySide6.QtCore
import PySide6.QtNetwork
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAbstractItemModelReplica(PySide6.QtCore.QAbstractItemModel):
initialized : typing.ClassVar[Signal] = ... # initialized()
def availableRoles(self, /) -> typing.List[int]: ...
def columnCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /, role: int = ...) -> typing.Any: ...
def flags(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.Qt.ItemFlag: ...
def hasChildren(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def hasData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int, /) -> bool: ...
def headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, role: int, /) -> typing.Any: ...
def index(self, row: int, column: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> PySide6.QtCore.QModelIndex: ...
def isInitialized(self, /) -> bool: ...
def multiData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, roleDataSpan: PySide6.QtCore.QModelRoleDataSpan | PySide6.QtCore.QModelRoleData, /) -> None: ...
@typing.overload
def parent(self, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def parent(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
def rootCacheSize(self, /) -> int: ...
def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def selectionModel(self, /) -> PySide6.QtCore.QItemSelectionModel: ...
def setData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, value: typing.Any, /, role: int = ...) -> bool: ...
def setRootCacheSize(self, rootCacheSize: int, /) -> None: ...
class QConnectionAbstractServer(PySide6.QtCore.QObject):
newConnection : typing.ClassVar[Signal] = ... # newConnection()
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def address(self, /) -> PySide6.QtCore.QUrl: ...
def close(self, /) -> None: ...
def configureNewConnection(self, /) -> PySide6.QtRemoteObjects.QtROServerIoDevice: ...
def hasPendingConnections(self, /) -> bool: ...
def listen(self, address: PySide6.QtCore.QUrl | str, /) -> bool: ...
def nextPendingConnection(self, /) -> PySide6.QtRemoteObjects.QtROServerIoDevice: ...
def serverError(self, /) -> PySide6.QtNetwork.QAbstractSocket.SocketError: ...
class QIntList: ...
class QRemoteObjectAbstractPersistedStore(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def restoreProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[typing.Any]: ...
def saveProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, values: collections.abc.Sequence[typing.Any], /) -> None: ...
class QRemoteObjectDynamicReplica(PySide6.QtRemoteObjects.QRemoteObjectReplica): ...
class QRemoteObjectHost(PySide6.QtRemoteObjects.QRemoteObjectHostBase):
hostUrlChanged : typing.ClassVar[Signal] = ... # hostUrlChanged()
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, hostUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, address: PySide6.QtCore.QUrl | str, parent: PySide6.QtCore.QObject, /, *, hostUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
@typing.overload
def __init__(self, address: PySide6.QtCore.QUrl | str, /, registryAddress: PySide6.QtCore.QUrl | str = ..., allowedSchemas: PySide6.QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas = ..., parent: PySide6.QtCore.QObject | None = ..., *, hostUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
def hostUrl(self, /) -> PySide6.QtCore.QUrl: ...
def setHostUrl(self, hostAddress: PySide6.QtCore.QUrl | str, /, allowedSchemas: PySide6.QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ...
@staticmethod
def setLocalServerOptions(options: PySide6.QtNetwork.QLocalServer.SocketOption, /) -> None: ...
class QRemoteObjectHostBase(PySide6.QtRemoteObjects.QRemoteObjectNode):
class AllowedSchemas(enum.Enum):
BuiltInSchemasOnly = 0x0
AllowExternalRegistration = 0x1
def addHostSideConnection(self, ioDevice: PySide6.QtCore.QIODevice, /) -> None: ...
def disableRemoting(self, remoteObject: PySide6.QtCore.QObject, /) -> bool: ...
@typing.overload
def enableRemoting(self, model: PySide6.QtCore.QAbstractItemModel, name: str, roles: collections.abc.Sequence[int], /, selectionModel: PySide6.QtCore.QItemSelectionModel | None = ...) -> bool: ...
@typing.overload
def enableRemoting(self, object: PySide6.QtCore.QObject, /, name: str = ...) -> bool: ...
def hostUrl(self, /) -> PySide6.QtCore.QUrl: ...
def proxy(self, registryUrl: PySide6.QtCore.QUrl | str, /, hostUrl: PySide6.QtCore.QUrl | str = ...) -> bool: ...
def reverseProxy(self, /) -> bool: ...
def setHostUrl(self, hostAddress: PySide6.QtCore.QUrl | str, /, allowedSchemas: PySide6.QtRemoteObjects.QRemoteObjectHostBase.AllowedSchemas = ...) -> bool: ...
def setName(self, name: str, /) -> None: ...
class QRemoteObjectNode(PySide6.QtCore.QObject):
error : typing.ClassVar[Signal] = ... # error(QRemoteObjectNode::ErrorCode)
heartbeatIntervalChanged : typing.ClassVar[Signal] = ... # heartbeatIntervalChanged(int)
remoteObjectAdded : typing.ClassVar[Signal] = ... # remoteObjectAdded(QRemoteObjectSourceLocation)
remoteObjectRemoved : typing.ClassVar[Signal] = ... # remoteObjectRemoved(QRemoteObjectSourceLocation)
class ErrorCode(enum.Enum):
NoError = 0x0
RegistryNotAcquired = 0x1
RegistryAlreadyHosted = 0x2
NodeIsNoServer = 0x3
ServerAlreadyCreated = 0x4
UnintendedRegistryHosting = 0x5
OperationNotValidOnClientNode = 0x6
SourceNotRegistered = 0x7
MissingObjectName = 0x8
HostUrlInvalid = 0x9
ProtocolMismatch = 0xa
ListenFailed = 0xb
SocketAccessError = 0xc
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, registryUrl: PySide6.QtCore.QUrl | None = ..., persistedStore: PySide6.QtRemoteObjects.QRemoteObjectAbstractPersistedStore | None = ..., heartbeatInterval: int | None = ...) -> None: ...
@typing.overload
def __init__(self, registryAddress: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtCore.QObject | None = ..., *, registryUrl: PySide6.QtCore.QUrl | None = ..., persistedStore: PySide6.QtRemoteObjects.QRemoteObjectAbstractPersistedStore | None = ..., heartbeatInterval: int | None = ...) -> None: ...
def acquire(self, arg__1: type, /, name: object | None = ...) -> type: ...
def acquireDynamic(self, name: str, /) -> PySide6.QtRemoteObjects.QRemoteObjectDynamicReplica: ...
def acquireModel(self, name: str, /, action: PySide6.QtRemoteObjects.QtRemoteObjects.InitialAction = ..., rolesHint: collections.abc.Sequence[int] = ...) -> PySide6.QtRemoteObjects.QAbstractItemModelReplica: ...
def addClientSideConnection(self, ioDevice: PySide6.QtCore.QIODevice, /) -> None: ...
def connectToNode(self, address: PySide6.QtCore.QUrl | str, /) -> bool: ...
def heartbeatInterval(self, /) -> int: ...
def instances(self, typeName: str, /) -> typing.List[str]: ...
def lastError(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectNode.ErrorCode: ...
def persistedStore(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectAbstractPersistedStore: ...
def registry(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectRegistry: ...
def registryUrl(self, /) -> PySide6.QtCore.QUrl: ...
def setHeartbeatInterval(self, interval: int, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setPersistedStore(self, persistedStore: PySide6.QtRemoteObjects.QRemoteObjectAbstractPersistedStore, /) -> None: ...
def setRegistryUrl(self, registryAddress: PySide6.QtCore.QUrl | str, /) -> bool: ...
def timerEvent(self, arg__1: PySide6.QtCore.QTimerEvent, /) -> None: ...
def waitForRegistry(self, /, timeout: int = ...) -> bool: ...
class QRemoteObjectPendingCall(Shiboken.Object):
class Error(enum.Enum):
NoError = 0x0
InvalidMessage = 0x1
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtRemoteObjects.QRemoteObjectPendingCall, /) -> None: ...
def error(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectPendingCall.Error: ...
@staticmethod
def fromCompletedCall(returnValue: typing.Any, /) -> PySide6.QtRemoteObjects.QRemoteObjectPendingCall: ...
def isFinished(self, /) -> bool: ...
def returnValue(self, /) -> typing.Any: ...
def waitForFinished(self, /, timeout: int = ...) -> bool: ...
class QRemoteObjectPendingCallWatcher(PySide6.QtCore.QObject, PySide6.QtRemoteObjects.QRemoteObjectPendingCall):
finished : typing.ClassVar[Signal] = ... # finished(QRemoteObjectPendingCallWatcher*)
def __init__(self, call: PySide6.QtRemoteObjects.QRemoteObjectPendingCall, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def isFinished(self, /) -> bool: ...
def waitForFinished(self, /) -> None: ...
class QRemoteObjectRegistry(PySide6.QtRemoteObjects.QRemoteObjectReplica):
remoteObjectAdded : typing.ClassVar[Signal] = ... # remoteObjectAdded(QRemoteObjectSourceLocation)
remoteObjectRemoved : typing.ClassVar[Signal] = ... # remoteObjectRemoved(QRemoteObjectSourceLocation)
def addSource(self, entry: typing.Tuple[str, PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo], /) -> None: ...
def initialize(self, /) -> None: ...
def pushToRegistryIfNeeded(self, /) -> None: ...
@staticmethod
def registerMetatypes() -> None: ...
def removeSource(self, entry: typing.Tuple[str, PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo], /) -> None: ...
def sourceLocations(self, /) -> typing.Dict[str, PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo]: ...
class QRemoteObjectRegistryHost(PySide6.QtRemoteObjects.QRemoteObjectHostBase):
def __init__(self, /, registryAddress: PySide6.QtCore.QUrl | str = ..., parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def setRegistryUrl(self, registryUrl: PySide6.QtCore.QUrl | str, /) -> bool: ...
class QRemoteObjectReplica(PySide6.QtCore.QObject):
initialized : typing.ClassVar[Signal] = ... # initialized()
notified : typing.ClassVar[Signal] = ... # notified()
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(State,State)
class ConstructorType(enum.IntEnum):
DefaultConstructor = 0x0
ConstructWithNode = 0x1
class State(enum.Enum):
Uninitialized = 0x0
Default = 0x1
Valid = 0x2
Suspect = 0x3
SignatureMismatch = 0x4
def __init__(self, /, t: PySide6.QtRemoteObjects.QRemoteObjectReplica.ConstructorType = ..., *, node: PySide6.QtRemoteObjects.QRemoteObjectNode | None = ..., state: PySide6.QtRemoteObjects.QRemoteObjectReplica.State | None = ...) -> None: ...
def initialize(self, /) -> None: ...
def initializeNode(self, node: PySide6.QtRemoteObjects.QRemoteObjectNode, /, name: str = ...) -> None: ...
def isInitialized(self, /) -> bool: ...
def isReplicaValid(self, /) -> bool: ...
def node(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectNode: ...
def persistProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, props: collections.abc.Sequence[typing.Any], /) -> None: ...
def propAsVariant(self, i: int, /) -> typing.Any: ...
def retrieveProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[typing.Any]: ...
def send(self, call: PySide6.QtCore.QMetaObject.Call, index: int, args: collections.abc.Sequence[typing.Any], /) -> None: ...
def sendWithReply(self, call: PySide6.QtCore.QMetaObject.Call, index: int, args: collections.abc.Sequence[typing.Any], /) -> PySide6.QtRemoteObjects.QRemoteObjectPendingCall: ...
def setChild(self, i: int, arg__2: typing.Any, /) -> None: ...
def setNode(self, node: PySide6.QtRemoteObjects.QRemoteObjectNode, /) -> None: ...
def state(self, /) -> PySide6.QtRemoteObjects.QRemoteObjectReplica.State: ...
def waitForSource(self, /, timeout: int = ...) -> bool: ...
class QRemoteObjectSettingsStore(PySide6.QtRemoteObjects.QRemoteObjectAbstractPersistedStore):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def restoreProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[typing.Any]: ...
def saveProperties(self, repName: str, repSig: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, values: collections.abc.Sequence[typing.Any], /) -> None: ...
class QRemoteObjectSourceLocationInfo(Shiboken.Object):
hostUrl = ... # type: PySide6.QtCore.QUrl
typeName = ... # type: str
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QRemoteObjectSourceLocationInfo: PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo, /) -> None: ...
@typing.overload
def __init__(self, typeName_: str, hostUrl_: PySide6.QtCore.QUrl | str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo, /) -> bool: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, other: PySide6.QtRemoteObjects.QRemoteObjectSourceLocationInfo, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
class QtROClientFactory(Shiboken.Object):
def create(self, url: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtCore.QObject | None = ...) -> PySide6.QtRemoteObjects.QtROClientIoDevice: ...
@staticmethod
def instance() -> PySide6.QtRemoteObjects.QtROClientFactory: ...
def isValid(self, url: PySide6.QtCore.QUrl | str, /) -> bool: ...
class QtROClientIoDevice(PySide6.QtRemoteObjects.QtROIoDeviceBase):
setError : typing.ClassVar[Signal] = ... # setError(QRemoteObjectNode::ErrorCode)
shouldReconnect : typing.ClassVar[Signal] = ... # shouldReconnect(QtROClientIoDevice*)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def connectToServer(self, /) -> None: ...
def deviceType(self, /) -> str: ...
def disconnectFromServer(self, /) -> None: ...
def doDisconnectFromServer(self, /) -> None: ...
def setUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
class QtROIoDeviceBase(PySide6.QtCore.QObject):
disconnected : typing.ClassVar[Signal] = ... # disconnected()
readyRead : typing.ClassVar[Signal] = ... # readyRead()
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addSource(self, arg__1: str, /) -> None: ...
def bytesAvailable(self, /) -> int: ...
def close(self, /) -> None: ...
def connection(self, /) -> PySide6.QtCore.QIODevice: ...
def deviceType(self, /) -> str: ...
def doClose(self, /) -> None: ...
def initializeDataStream(self, /) -> None: ...
def isClosing(self, /) -> bool: ...
def isOpen(self, /) -> bool: ...
def read(self, arg__1: PySide6.QtRemoteObjects.QtRemoteObjects.QRemoteObjectPacketTypeEnum, arg__2: str, /) -> bool: ...
def remoteObjects(self, /) -> typing.Set[str]: ...
def removeSource(self, arg__1: str, /) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def write(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, arg__2: int, /) -> None: ...
class QtROServerFactory(Shiboken.Object):
def create(self, url: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtCore.QObject | None = ...) -> PySide6.QtRemoteObjects.QConnectionAbstractServer: ...
@staticmethod
def instance() -> PySide6.QtRemoteObjects.QtROServerFactory: ...
def isValid(self, url: PySide6.QtCore.QUrl | str, /) -> bool: ...
class QtROServerIoDevice(PySide6.QtRemoteObjects.QtROIoDeviceBase):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def deviceType(self, /) -> str: ...
class QtRemoteObjects(Shiboken.Object):
class InitialAction(enum.Enum):
FetchRootSize = 0x0
PrefetchData = 0x1
class QRemoteObjectPacketTypeEnum(enum.Enum):
Invalid = 0x0
Handshake = 0x1
InitPacket = 0x2
InitDynamicPacket = 0x3
AddObject = 0x4
RemoveObject = 0x5
InvokePacket = 0x6
InvokeReplyPacket = 0x7
PropertyChangePacket = 0x8
ObjectList = 0x9
Ping = 0xa
Pong = 0xb
@typing.overload
@staticmethod
def copyStoredProperties(mo: PySide6.QtCore.QMetaObject, src: PySide6.QtCore.QDataStream, dst: int, /) -> None: ...
@typing.overload
@staticmethod
def copyStoredProperties(mo: PySide6.QtCore.QMetaObject, src: int, dst: PySide6.QtCore.QDataStream, /) -> None: ...
@typing.overload
@staticmethod
def copyStoredProperties(mo: PySide6.QtCore.QMetaObject, src: int, dst: int, /) -> None: ...
class RepFile:
pod = ... # type: typing.Any
replica = ... # type: typing.Any
source = ... # type: typing.Any
def __init__(self, content: str, /) -> None: ...
# eof
-343
View File
@@ -1,343 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtScxml, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtScxml`
import PySide6.QtScxml
import PySide6.QtCore
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QScxmlCompiler(Shiboken.Object):
class Loader(Shiboken.Object):
def __init__(self, /) -> None: ...
def load(self, name: str, baseDir: str, /) -> typing.Tuple[PySide6.QtCore.QByteArray, typing.List[str]]: ...
def __init__(self, xmlReader: PySide6.QtCore.QXmlStreamReader, /) -> None: ...
def compile(self, /) -> PySide6.QtScxml.QScxmlStateMachine: ...
def errors(self, /) -> typing.List[PySide6.QtScxml.QScxmlError]: ...
def fileName(self, /) -> str: ...
def loader(self, /) -> PySide6.QtScxml.QScxmlCompiler.Loader: ...
def setFileName(self, fileName: str, /) -> None: ...
def setLoader(self, newLoader: PySide6.QtScxml.QScxmlCompiler.Loader, /) -> None: ...
class QScxmlCppDataModel(PySide6.QtScxml.QScxmlDataModel):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def evaluateAssignment(self, id: int, /) -> bool: ...
def evaluateForeach(self, id: int, body: PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody, /) -> bool: ...
def evaluateInitialization(self, id: int, /) -> bool: ...
def hasScxmlProperty(self, name: str, /) -> bool: ...
def inState(self, stateName: str, /) -> bool: ...
def scxmlEvent(self, /) -> PySide6.QtScxml.QScxmlEvent: ...
def scxmlProperty(self, name: str, /) -> typing.Any: ...
def setScxmlEvent(self, scxmlEvent: PySide6.QtScxml.QScxmlEvent, /) -> None: ...
def setScxmlProperty(self, name: str, value: typing.Any, context: str, /) -> bool: ...
def setup(self, initialDataValues: typing.Dict[str, typing.Any], /) -> bool: ...
class QScxmlDataModel(PySide6.QtCore.QObject):
stateMachineChanged : typing.ClassVar[Signal] = ... # stateMachineChanged(QScxmlStateMachine*)
class ForeachLoopBody(Shiboken.Object):
def __init__(self, /) -> None: ...
def run(self, /) -> bool: ...
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, stateMachine: PySide6.QtScxml.QScxmlStateMachine | None = ...) -> None: ...
@staticmethod
def createScxmlDataModel(pluginKey: str, /) -> PySide6.QtScxml.QScxmlDataModel: ...
def evaluateAssignment(self, id: int, /) -> bool: ...
def evaluateForeach(self, id: int, body: PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody, /) -> bool: ...
def evaluateInitialization(self, id: int, /) -> bool: ...
def evaluateToBool(self, id: int, /) -> bool: ...
def evaluateToString(self, id: int, /) -> str: ...
def evaluateToVariant(self, id: int, /) -> typing.Any: ...
def evaluateToVoid(self, id: int, /) -> bool: ...
def hasScxmlProperty(self, name: str, /) -> bool: ...
def scxmlProperty(self, name: str, /) -> typing.Any: ...
def setScxmlEvent(self, event: PySide6.QtScxml.QScxmlEvent, /) -> None: ...
def setScxmlProperty(self, name: str, value: typing.Any, context: str, /) -> bool: ...
def setStateMachine(self, stateMachine: PySide6.QtScxml.QScxmlStateMachine, /) -> None: ...
def setup(self, initialDataValues: typing.Dict[str, typing.Any], /) -> bool: ...
def stateMachine(self, /) -> PySide6.QtScxml.QScxmlStateMachine: ...
class QScxmlDynamicScxmlServiceFactory(PySide6.QtScxml.QScxmlInvokableServiceFactory):
def __init__(self, invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo, names: collections.abc.Sequence[int], parameters: collections.abc.Sequence[PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def invoke(self, parentStateMachine: PySide6.QtScxml.QScxmlStateMachine, /) -> PySide6.QtScxml.QScxmlInvokableService: ...
class QScxmlError(Shiboken.Object):
@typing.overload
def __init__(self, arg__1: PySide6.QtScxml.QScxmlError, /, *, valid: bool | None = ..., fileName: str | None = ..., line: int | None = ..., column: int | None = ..., description: str | None = ...) -> None: ...
@typing.overload
def __init__(self, fileName: str, line: int, column: int, description: str, /, *, valid: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, valid: bool | None = ..., fileName: str | None = ..., line: int | None = ..., column: int | None = ..., description: str | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def column(self, /) -> int: ...
def description(self, /) -> str: ...
def fileName(self, /) -> str: ...
def isValid(self, /) -> bool: ...
def line(self, /) -> int: ...
def toString(self, /) -> str: ...
class QScxmlEvent(Shiboken.Object):
class EventType(enum.Enum):
PlatformEvent = 0x0
InternalEvent = 0x1
ExternalEvent = 0x2
@typing.overload
def __init__(self, other: PySide6.QtScxml.QScxmlEvent, /, *, name: str | None = ..., eventType: PySide6.QtScxml.QScxmlEvent.EventType | None = ..., scxmlType: str | None = ..., sendId: str | None = ..., origin: str | None = ..., originType: str | None = ..., invokeId: str | None = ..., delay: int | None = ..., data: typing.Optional[typing.Any] = ..., errorEvent: bool | None = ..., errorMessage: str | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, name: str | None = ..., eventType: PySide6.QtScxml.QScxmlEvent.EventType | None = ..., scxmlType: str | None = ..., sendId: str | None = ..., origin: str | None = ..., originType: str | None = ..., invokeId: str | None = ..., delay: int | None = ..., data: typing.Optional[typing.Any] = ..., errorEvent: bool | None = ..., errorMessage: str | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def clear(self, /) -> None: ...
def data(self, /) -> typing.Any: ...
def delay(self, /) -> int: ...
def errorMessage(self, /) -> str: ...
def eventType(self, /) -> PySide6.QtScxml.QScxmlEvent.EventType: ...
def invokeId(self, /) -> str: ...
def isErrorEvent(self, /) -> bool: ...
def name(self, /) -> str: ...
def origin(self, /) -> str: ...
def originType(self, /) -> str: ...
def scxmlType(self, /) -> str: ...
def sendId(self, /) -> str: ...
def setData(self, data: typing.Any, /) -> None: ...
def setDelay(self, delayInMiliSecs: int, /) -> None: ...
def setErrorMessage(self, message: str, /) -> None: ...
def setEventType(self, type: PySide6.QtScxml.QScxmlEvent.EventType, /) -> None: ...
def setInvokeId(self, invokeId: str, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setOrigin(self, origin: str, /) -> None: ...
def setOriginType(self, originType: str, /) -> None: ...
def setSendId(self, sendId: str, /) -> None: ...
class QScxmlExecutableContent(Shiboken.Object):
class AssignmentInfo(Shiboken.Object):
context = ... # type: int
dest = ... # type: int
expr = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, AssignmentInfo: PySide6.QtScxml.QScxmlExecutableContent.AssignmentInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class EvaluatorInfo(Shiboken.Object):
context = ... # type: int
expr = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, EvaluatorInfo: PySide6.QtScxml.QScxmlExecutableContent.EvaluatorInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class ForeachInfo(Shiboken.Object):
array = ... # type: int
context = ... # type: int
index = ... # type: int
item = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, ForeachInfo: PySide6.QtScxml.QScxmlExecutableContent.ForeachInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class InvokeInfo(Shiboken.Object):
autoforward = ... # type: bool
context = ... # type: int
expr = ... # type: int
finalize = ... # type: int
id = ... # type: int
location = ... # type: int
prefix = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, InvokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class ParameterInfo(Shiboken.Object):
expr = ... # type: int
location = ... # type: int
name = ... # type: int
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, ParameterInfo: PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
class QScxmlInvokableService(PySide6.QtCore.QObject):
def __init__(self, parentStateMachine: PySide6.QtScxml.QScxmlStateMachine, parent: PySide6.QtScxml.QScxmlInvokableServiceFactory, /, *, id: str | None = ..., name: str | None = ...) -> None: ...
def id(self, /) -> str: ...
def name(self, /) -> str: ...
def parentStateMachine(self, /) -> PySide6.QtScxml.QScxmlStateMachine: ...
def postEvent(self, event: PySide6.QtScxml.QScxmlEvent, /) -> None: ...
def start(self, /) -> bool: ...
class QScxmlInvokableServiceFactory(PySide6.QtCore.QObject):
def __init__(self, invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo, names: collections.abc.Sequence[int], parameters: collections.abc.Sequence[PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def invoke(self, parentStateMachine: PySide6.QtScxml.QScxmlStateMachine, /) -> PySide6.QtScxml.QScxmlInvokableService: ...
def invokeInfo(self, /) -> PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo: ...
def names(self, /) -> typing.List[int]: ...
def parameters(self, /) -> typing.List[PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo]: ...
class QScxmlNullDataModel(PySide6.QtScxml.QScxmlDataModel):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def evaluateAssignment(self, id: int, /) -> bool: ...
def evaluateForeach(self, id: int, body: PySide6.QtScxml.QScxmlDataModel.ForeachLoopBody, /) -> bool: ...
def evaluateInitialization(self, id: int, /) -> bool: ...
def evaluateToBool(self, id: int, /) -> bool: ...
def evaluateToString(self, id: int, /) -> str: ...
def evaluateToVariant(self, id: int, /) -> typing.Any: ...
def evaluateToVoid(self, id: int, /) -> bool: ...
def hasScxmlProperty(self, name: str, /) -> bool: ...
def scxmlProperty(self, name: str, /) -> typing.Any: ...
def setScxmlEvent(self, event: PySide6.QtScxml.QScxmlEvent, /) -> None: ...
def setScxmlProperty(self, name: str, value: typing.Any, context: str, /) -> bool: ...
def setup(self, initialDataValues: typing.Dict[str, typing.Any], /) -> bool: ...
class QScxmlStateMachine(PySide6.QtCore.QObject):
dataModelChanged : typing.ClassVar[Signal] = ... # dataModelChanged(QScxmlDataModel*)
finished : typing.ClassVar[Signal] = ... # finished()
initialValuesChanged : typing.ClassVar[Signal] = ... # initialValuesChanged(QVariantMap)
initializedChanged : typing.ClassVar[Signal] = ... # initializedChanged(bool)
invokedServicesChanged : typing.ClassVar[Signal] = ... # invokedServicesChanged(QList<QScxmlInvokableService*>)
loaderChanged : typing.ClassVar[Signal] = ... # loaderChanged(QScxmlCompiler::Loader*)
log : typing.ClassVar[Signal] = ... # log(QString,QString)
reachedStableState : typing.ClassVar[Signal] = ... # reachedStableState()
runningChanged : typing.ClassVar[Signal] = ... # runningChanged(bool)
tableDataChanged : typing.ClassVar[Signal] = ... # tableDataChanged(QScxmlTableData*)
def __init__(self, metaObject: PySide6.QtCore.QMetaObject, /, parent: PySide6.QtCore.QObject | None = ..., *, running: bool | None = ..., initialized: bool | None = ..., dataModel: PySide6.QtScxml.QScxmlDataModel | None = ..., initialValues: typing.Optional[typing.Dict[str, typing.Any]] = ..., invokedServices: collections.abc.Sequence[PySide6.QtScxml.QScxmlInvokableService] | None = ..., sessionId: str | None = ..., name: str | None = ..., invoked: bool | None = ..., parseErrors: collections.abc.Sequence[PySide6.QtScxml.QScxmlError] | None = ..., loader: PySide6.QtScxml.QScxmlCompiler.Loader | None = ..., tableData: PySide6.QtScxml.QScxmlTableData | None = ...) -> None: ...
def activeStateNames(self, /, compress: bool = ...) -> typing.List[str]: ...
def cancelDelayedEvent(self, sendId: str, /) -> None: ...
def connectToEvent(self, scxmlEventSpec: str, receiver: PySide6.QtCore.QObject, method: bytes | bytearray | memoryview, /, type: PySide6.QtCore.Qt.ConnectionType = ...) -> PySide6.QtCore.QMetaObject.Connection: ...
def connectToState(self, scxmlStateName: str, receiver: PySide6.QtCore.QObject, method: bytes | bytearray | memoryview, /, type: PySide6.QtCore.Qt.ConnectionType = ...) -> PySide6.QtCore.QMetaObject.Connection: ...
def dataModel(self, /) -> PySide6.QtScxml.QScxmlDataModel: ...
@staticmethod
def fromData(data: PySide6.QtCore.QIODevice, /, fileName: str = ...) -> PySide6.QtScxml.QScxmlStateMachine: ...
@staticmethod
def fromFile(fileName: str, /) -> PySide6.QtScxml.QScxmlStateMachine: ...
def init(self, /) -> bool: ...
def initialValues(self, /) -> typing.Dict[str, typing.Any]: ...
def invokedServices(self, /) -> typing.List[PySide6.QtScxml.QScxmlInvokableService]: ...
@typing.overload
def isActive(self, scxmlStateName: str, /) -> bool: ...
@typing.overload
def isActive(self, stateIndex: int, /) -> bool: ...
def isDispatchableTarget(self, target: str, /) -> bool: ...
def isInitialized(self, /) -> bool: ...
def isInvoked(self, /) -> bool: ...
def isRunning(self, /) -> bool: ...
def loader(self, /) -> PySide6.QtScxml.QScxmlCompiler.Loader: ...
def name(self, /) -> str: ...
def parseErrors(self, /) -> typing.List[PySide6.QtScxml.QScxmlError]: ...
def sessionId(self, /) -> str: ...
def setDataModel(self, model: PySide6.QtScxml.QScxmlDataModel, /) -> None: ...
def setInitialValues(self, initialValues: typing.Dict[str, typing.Any], /) -> None: ...
def setLoader(self, loader: PySide6.QtScxml.QScxmlCompiler.Loader, /) -> None: ...
def setRunning(self, running: bool, /) -> None: ...
def setTableData(self, tableData: PySide6.QtScxml.QScxmlTableData, /) -> None: ...
def start(self, /) -> None: ...
def stateNames(self, /, compress: bool = ...) -> typing.List[str]: ...
def stop(self, /) -> None: ...
@typing.overload
def submitEvent(self, event: PySide6.QtScxml.QScxmlEvent, /) -> None: ...
@typing.overload
def submitEvent(self, eventName: str, /) -> None: ...
@typing.overload
def submitEvent(self, eventName: str, data: typing.Any, /) -> None: ...
def tableData(self, /) -> PySide6.QtScxml.QScxmlTableData: ...
class QScxmlStaticScxmlServiceFactory(PySide6.QtScxml.QScxmlInvokableServiceFactory):
def __init__(self, metaObject: PySide6.QtCore.QMetaObject, invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo, nameList: collections.abc.Sequence[int], parameters: collections.abc.Sequence[PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def invoke(self, parentStateMachine: PySide6.QtScxml.QScxmlStateMachine, /) -> PySide6.QtScxml.QScxmlInvokableService: ...
class QScxmlTableData(Shiboken.Object):
def __init__(self, /) -> None: ...
def assignmentInfo(self, assignmentId: int, /) -> PySide6.QtScxml.QScxmlExecutableContent.AssignmentInfo: ...
def dataNames(self, /) -> typing.Tuple[typing.List[int], int]: ...
def evaluatorInfo(self, evaluatorId: int, /) -> PySide6.QtScxml.QScxmlExecutableContent.EvaluatorInfo: ...
def foreachInfo(self, foreachId: int, /) -> PySide6.QtScxml.QScxmlExecutableContent.ForeachInfo: ...
def initialSetup(self, /) -> int: ...
def instructions(self, /) -> typing.List[int]: ...
def name(self, /) -> str: ...
def serviceFactory(self, id: int, /) -> PySide6.QtScxml.QScxmlInvokableServiceFactory: ...
def stateMachineTable(self, /) -> typing.List[int]: ...
def string(self, id: int, /) -> str: ...
# eof
@@ -1,665 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSensors, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSensors`
import PySide6.QtSensors
import PySide6.QtCore
import os
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QAccelerometer(PySide6.QtSensors.QSensor):
accelerationModeChanged : typing.ClassVar[Signal] = ... # accelerationModeChanged(AccelerationMode)
class AccelerationMode(enum.Enum):
Combined = 0x0
Gravity = 0x1
User = 0x2
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, accelerationMode: PySide6.QtSensors.QAccelerometer.AccelerationMode | None = ...) -> None: ...
def accelerationMode(self, /) -> PySide6.QtSensors.QAccelerometer.AccelerationMode: ...
def reading(self, /) -> PySide6.QtSensors.QAccelerometerReading: ...
def setAccelerationMode(self, accelerationMode: PySide6.QtSensors.QAccelerometer.AccelerationMode, /) -> None: ...
class QAccelerometerFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QAccelerometerReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QAccelerometerReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setX(self, x: float, /) -> None: ...
def setY(self, y: float, /) -> None: ...
def setZ(self, z: float, /) -> None: ...
def x(self, /) -> float: ...
def y(self, /) -> float: ...
def z(self, /) -> float: ...
class QAmbientLightFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QAmbientLightReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QAmbientLightReading(PySide6.QtSensors.QSensorReading):
class LightLevel(enum.Enum):
Undefined = 0x0
Dark = 0x1
Twilight = 0x2
Light = 0x3
Bright = 0x4
Sunny = 0x5
def __init__(self, parent: PySide6.QtCore.QObject, /, *, lightLevel: PySide6.QtSensors.QAmbientLightReading.LightLevel | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def lightLevel(self, /) -> PySide6.QtSensors.QAmbientLightReading.LightLevel: ...
def setLightLevel(self, lightLevel: PySide6.QtSensors.QAmbientLightReading.LightLevel, /) -> None: ...
class QAmbientLightSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QAmbientLightReading: ...
class QAmbientTemperatureFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QAmbientTemperatureReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QAmbientTemperatureReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, temperature: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setTemperature(self, temperature: float, /) -> None: ...
def temperature(self, /) -> float: ...
class QAmbientTemperatureSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QAmbientTemperatureReading: ...
class QCompass(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QCompassReading: ...
class QCompassFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QCompassReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QCompassReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, azimuth: float | None = ..., calibrationLevel: float | None = ...) -> None: ...
def azimuth(self, /) -> float: ...
def calibrationLevel(self, /) -> float: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setAzimuth(self, azimuth: float, /) -> None: ...
def setCalibrationLevel(self, calibrationLevel: float, /) -> None: ...
class QGyroscope(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QGyroscopeReading: ...
class QGyroscopeFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QGyroscopeReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QGyroscopeReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setX(self, x: float, /) -> None: ...
def setY(self, y: float, /) -> None: ...
def setZ(self, z: float, /) -> None: ...
def x(self, /) -> float: ...
def y(self, /) -> float: ...
def z(self, /) -> float: ...
class QHumidityFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QHumidityReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QHumidityReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, relativeHumidity: float | None = ..., absoluteHumidity: float | None = ...) -> None: ...
def absoluteHumidity(self, /) -> float: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def relativeHumidity(self, /) -> float: ...
def setAbsoluteHumidity(self, value: float, /) -> None: ...
def setRelativeHumidity(self, percent: float, /) -> None: ...
class QHumiditySensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QHumidityReading: ...
class QIRProximityFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QIRProximityReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QIRProximityReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, reflectance: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def reflectance(self, /) -> float: ...
def setReflectance(self, reflectance: float, /) -> None: ...
class QIRProximitySensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QIRProximityReading: ...
class QIntList: ...
class QLidFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QLidReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QLidReading(PySide6.QtSensors.QSensorReading):
backLidChanged : typing.ClassVar[Signal] = ... # backLidChanged(bool)
frontLidChanged : typing.ClassVar[Signal] = ... # frontLidChanged(bool)
def __init__(self, parent: PySide6.QtCore.QObject, /, *, backLidClosed: bool | None = ..., frontLidClosed: bool | None = ...) -> None: ...
def backLidClosed(self, /) -> bool: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def frontLidClosed(self, /) -> bool: ...
def setBackLidClosed(self, closed: bool, /) -> None: ...
def setFrontLidClosed(self, closed: bool, /) -> None: ...
class QLidSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QLidReading: ...
class QLightFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QLightReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QLightReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, lux: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def lux(self, /) -> float: ...
def setLux(self, lux: float, /) -> None: ...
class QLightSensor(PySide6.QtSensors.QSensor):
fieldOfViewChanged : typing.ClassVar[Signal] = ... # fieldOfViewChanged(double)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, fieldOfView: float | None = ...) -> None: ...
def fieldOfView(self, /) -> float: ...
def reading(self, /) -> PySide6.QtSensors.QLightReading: ...
def setFieldOfView(self, fieldOfView: float, /) -> None: ...
class QMagnetometer(PySide6.QtSensors.QSensor):
returnGeoValuesChanged : typing.ClassVar[Signal] = ... # returnGeoValuesChanged(bool)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, returnGeoValues: bool | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QMagnetometerReading: ...
def returnGeoValues(self, /) -> bool: ...
def setReturnGeoValues(self, returnGeoValues: bool, /) -> None: ...
class QMagnetometerFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QMagnetometerReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QMagnetometerReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ..., calibrationLevel: float | None = ...) -> None: ...
def calibrationLevel(self, /) -> float: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setCalibrationLevel(self, calibrationLevel: float, /) -> None: ...
def setX(self, x: float, /) -> None: ...
def setY(self, y: float, /) -> None: ...
def setZ(self, z: float, /) -> None: ...
def x(self, /) -> float: ...
def y(self, /) -> float: ...
def z(self, /) -> float: ...
class QOrientationFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QOrientationReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QOrientationReading(PySide6.QtSensors.QSensorReading):
class Orientation(enum.Enum):
Undefined = 0x0
TopUp = 0x1
TopDown = 0x2
LeftUp = 0x3
RightUp = 0x4
FaceUp = 0x5
FaceDown = 0x6
def __init__(self, parent: PySide6.QtCore.QObject, /, *, orientation: PySide6.QtSensors.QOrientationReading.Orientation | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def orientation(self, /) -> PySide6.QtSensors.QOrientationReading.Orientation: ...
def setOrientation(self, orientation: PySide6.QtSensors.QOrientationReading.Orientation, /) -> None: ...
class QOrientationSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QOrientationReading: ...
class QPressureFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QPressureReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QPressureReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, pressure: float | None = ..., temperature: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def pressure(self, /) -> float: ...
def setPressure(self, pressure: float, /) -> None: ...
def setTemperature(self, temperature: float, /) -> None: ...
def temperature(self, /) -> float: ...
class QPressureSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QPressureReading: ...
class QProximityFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QProximityReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QProximityReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, close: bool | None = ...) -> None: ...
def close(self, /) -> bool: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setClose(self, close: bool, /) -> None: ...
class QProximitySensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QProximityReading: ...
class QRotationFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QRotationReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QRotationReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, x: float | None = ..., y: float | None = ..., z: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setFromEuler(self, x: float, y: float, z: float, /) -> None: ...
def x(self, /) -> float: ...
def y(self, /) -> float: ...
def z(self, /) -> float: ...
class QRotationSensor(PySide6.QtSensors.QSensor):
hasZChanged : typing.ClassVar[Signal] = ... # hasZChanged(bool)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, hasZ: bool | None = ...) -> None: ...
def hasZ(self, /) -> bool: ...
def reading(self, /) -> PySide6.QtSensors.QRotationReading: ...
def setHasZ(self, hasZ: bool, /) -> None: ...
class QSensor(PySide6.QtCore.QObject):
activeChanged : typing.ClassVar[Signal] = ... # activeChanged()
alwaysOnChanged : typing.ClassVar[Signal] = ... # alwaysOnChanged()
availableSensorsChanged : typing.ClassVar[Signal] = ... # availableSensorsChanged()
axesOrientationModeChanged: typing.ClassVar[Signal] = ... # axesOrientationModeChanged(AxesOrientationMode)
bufferSizeChanged : typing.ClassVar[Signal] = ... # bufferSizeChanged(int)
busyChanged : typing.ClassVar[Signal] = ... # busyChanged()
currentOrientationChanged: typing.ClassVar[Signal] = ... # currentOrientationChanged(int)
dataRateChanged : typing.ClassVar[Signal] = ... # dataRateChanged()
efficientBufferSizeChanged: typing.ClassVar[Signal] = ... # efficientBufferSizeChanged(int)
identifierChanged : typing.ClassVar[Signal] = ... # identifierChanged()
maxBufferSizeChanged : typing.ClassVar[Signal] = ... # maxBufferSizeChanged(int)
readingChanged : typing.ClassVar[Signal] = ... # readingChanged()
sensorError : typing.ClassVar[Signal] = ... # sensorError(int)
skipDuplicatesChanged : typing.ClassVar[Signal] = ... # skipDuplicatesChanged(bool)
userOrientationChanged : typing.ClassVar[Signal] = ... # userOrientationChanged(int)
class AxesOrientationMode(enum.Enum):
FixedOrientation = 0x0
AutomaticOrientation = 0x1
UserOrientation = 0x2
class Feature(enum.Enum):
Buffering = 0x0
AlwaysOn = 0x1
GeoValues = 0x2
FieldOfView = 0x3
AccelerationMode = 0x4
SkipDuplicates = 0x5
AxesOrientation = 0x6
PressureSensorTemperature = 0x7
Reserved = 0x101
def __init__(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, parent: PySide6.QtCore.QObject | None = ..., *, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview | None = ..., connectedToBackend: bool | None = ..., availableDataRates: collections.abc.Sequence[typing.Tuple[int, int]] | None = ..., dataRate: int | None = ..., reading: PySide6.QtSensors.QSensorReading | None = ..., busy: bool | None = ..., active: bool | None = ..., outputRanges: collections.abc.Sequence[PySide6.QtSensors.qoutputrange] | None = ..., outputRange: int | None = ..., description: str | None = ..., error: int | None = ..., alwaysOn: bool | None = ..., skipDuplicates: bool | None = ..., axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode | None = ..., currentOrientation: int | None = ..., userOrientation: int | None = ..., maxBufferSize: int | None = ..., efficientBufferSize: int | None = ..., bufferSize: int | None = ...) -> None: ...
def addFilter(self, filter: PySide6.QtSensors.QSensorFilter, /) -> None: ...
def availableDataRates(self, /) -> typing.List[typing.Tuple[int, int]]: ...
def axesOrientationMode(self, /) -> PySide6.QtSensors.QSensor.AxesOrientationMode: ...
def backend(self, /) -> PySide6.QtSensors.QSensorBackend: ...
def bufferSize(self, /) -> int: ...
def connectToBackend(self, /) -> bool: ...
def currentOrientation(self, /) -> int: ...
def dataRate(self, /) -> int: ...
@staticmethod
def defaultSensorForType(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtCore.QByteArray: ...
def description(self, /) -> str: ...
def efficientBufferSize(self, /) -> int: ...
def error(self, /) -> int: ...
def filters(self, /) -> typing.List[PySide6.QtSensors.QSensorFilter]: ...
def identifier(self, /) -> PySide6.QtCore.QByteArray: ...
def isActive(self, /) -> bool: ...
def isAlwaysOn(self, /) -> bool: ...
def isBusy(self, /) -> bool: ...
def isConnectedToBackend(self, /) -> bool: ...
def isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature, /) -> bool: ...
def maxBufferSize(self, /) -> int: ...
def outputRange(self, /) -> int: ...
def outputRanges(self, /) -> typing.List[PySide6.QtSensors.qoutputrange]: ...
def reading(self, /) -> PySide6.QtSensors.QSensorReading: ...
def removeFilter(self, filter: PySide6.QtSensors.QSensorFilter, /) -> None: ...
@staticmethod
def sensorTypes() -> typing.List[PySide6.QtCore.QByteArray]: ...
@staticmethod
def sensorsForType(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
def setActive(self, active: bool, /) -> None: ...
def setAlwaysOn(self, alwaysOn: bool, /) -> None: ...
def setAxesOrientationMode(self, axesOrientationMode: PySide6.QtSensors.QSensor.AxesOrientationMode, /) -> None: ...
def setBufferSize(self, bufferSize: int, /) -> None: ...
def setCurrentOrientation(self, currentOrientation: int, /) -> None: ...
def setDataRate(self, rate: int, /) -> None: ...
def setEfficientBufferSize(self, efficientBufferSize: int, /) -> None: ...
def setIdentifier(self, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setMaxBufferSize(self, maxBufferSize: int, /) -> None: ...
def setOutputRange(self, index: int, /) -> None: ...
def setSkipDuplicates(self, skipDuplicates: bool, /) -> None: ...
def setUserOrientation(self, userOrientation: int, /) -> None: ...
def skipDuplicates(self, /) -> bool: ...
def start(self, /) -> bool: ...
def stop(self, /) -> None: ...
def type(self, /) -> PySide6.QtCore.QByteArray: ...
def userOrientation(self, /) -> int: ...
class QSensorBackend(PySide6.QtCore.QObject):
def __init__(self, sensor: PySide6.QtSensors.QSensor, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addDataRate(self, min: float, max: float, /) -> None: ...
def addOutputRange(self, min: float, max: float, accuracy: float, /) -> None: ...
def isFeatureSupported(self, feature: PySide6.QtSensors.QSensor.Feature, /) -> bool: ...
def newReadingAvailable(self, /) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QSensorReading: ...
def sensor(self, /) -> PySide6.QtSensors.QSensor: ...
def sensorBusy(self, /, busy: bool = ...) -> None: ...
def sensorError(self, error: int, /) -> None: ...
def sensorStopped(self, /) -> None: ...
def setDataRates(self, otherSensor: PySide6.QtSensors.QSensor, /) -> None: ...
def setDescription(self, description: str, /) -> None: ...
def start(self, /) -> None: ...
def stop(self, /) -> None: ...
class QSensorBackendFactory(Shiboken.Object):
def __init__(self, /) -> None: ...
def createBackend(self, sensor: PySide6.QtSensors.QSensor, /) -> PySide6.QtSensors.QSensorBackend: ...
class QSensorChangesInterface(Shiboken.Object):
def __init__(self, /) -> None: ...
def sensorsChanged(self, /) -> None: ...
class QSensorFilter(Shiboken.Object):
m_sensor = ... # type: PySide6.QtSensors.QSensor
def __init__(self, /) -> None: ...
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
def setSensor(self, sensor: PySide6.QtSensors.QSensor, /) -> None: ...
class QSensorManager(Shiboken.Object):
def __init__(self, /) -> None: ...
@staticmethod
def createBackend(sensor: PySide6.QtSensors.QSensor, /) -> PySide6.QtSensors.QSensorBackend: ...
@staticmethod
def isBackendRegistered(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
@staticmethod
def registerBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, factory: PySide6.QtSensors.QSensorBackendFactory, /) -> None: ...
@staticmethod
def setDefaultBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@staticmethod
def unregisterBackend(type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, identifier: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
class QSensorPluginInterface(Shiboken.Object):
def __init__(self, /) -> None: ...
def registerSensors(self, /) -> None: ...
class QSensorReading(PySide6.QtCore.QObject):
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setTimestamp(self, timestamp: int, /) -> None: ...
def timestamp(self, /) -> int: ...
def value(self, index: int, /) -> typing.Any: ...
def valueCount(self, /) -> int: ...
class QTapFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QTapReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QTapReading(PySide6.QtSensors.QSensorReading):
class TapDirection(enum.Enum):
Undefined = 0x0
X = 0x1
Y = 0x2
Z = 0x4
X_Pos = 0x11
Y_Pos = 0x22
Z_Pos = 0x44
X_Neg = 0x101
X_Both = 0x111
Y_Neg = 0x202
Y_Both = 0x222
Z_Neg = 0x404
Z_Both = 0x444
def __init__(self, parent: PySide6.QtCore.QObject, /, *, tapDirection: PySide6.QtSensors.QTapReading.TapDirection | None = ..., doubleTap: bool | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def isDoubleTap(self, /) -> bool: ...
def setDoubleTap(self, doubleTap: bool, /) -> None: ...
def setTapDirection(self, tapDirection: PySide6.QtSensors.QTapReading.TapDirection, /) -> None: ...
def tapDirection(self, /) -> PySide6.QtSensors.QTapReading.TapDirection: ...
class QTapSensor(PySide6.QtSensors.QSensor):
returnDoubleTapEventsChanged: typing.ClassVar[Signal] = ... # returnDoubleTapEventsChanged(bool)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, returnDoubleTapEvents: bool | None = ...) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QTapReading: ...
def returnDoubleTapEvents(self, /) -> bool: ...
def setReturnDoubleTapEvents(self, returnDoubleTapEvents: bool, /) -> None: ...
class QTiltFilter(PySide6.QtSensors.QSensorFilter):
@typing.overload
def filter(self, reading: PySide6.QtSensors.QTiltReading, /) -> bool: ...
@typing.overload
def filter(self, reading: PySide6.QtSensors.QSensorReading, /) -> bool: ...
class QTiltReading(PySide6.QtSensors.QSensorReading):
def __init__(self, parent: PySide6.QtCore.QObject, /, *, yRotation: float | None = ..., xRotation: float | None = ...) -> None: ...
def copyValuesFrom(self, other: PySide6.QtSensors.QSensorReading, /) -> None: ...
def setXRotation(self, x: float, /) -> None: ...
def setYRotation(self, y: float, /) -> None: ...
def xRotation(self, /) -> float: ...
def yRotation(self, /) -> float: ...
class QTiltSensor(PySide6.QtSensors.QSensor):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def calibrate(self, /) -> None: ...
def reading(self, /) -> PySide6.QtSensors.QTiltReading: ...
class qoutputrange(Shiboken.Object):
accuracy = ... # type: float
maximum = ... # type: float
minimum = ... # type: float
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, qoutputrange: PySide6.QtSensors.qoutputrange, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
# eof
@@ -1,842 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSerialBus, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSerialBus`
import PySide6.QtSerialBus
import PySide6.QtCore
import PySide6.QtNetwork
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QCanBus(PySide6.QtCore.QObject):
@typing.overload
def availableDevices(self, /) -> tuple: ...
@typing.overload
def availableDevices(self, plugin: str, /) -> tuple: ...
def createDevice(self, plugin: str, interfaceName: str, /) -> tuple: ...
@staticmethod
def instance() -> PySide6.QtSerialBus.QCanBus: ...
def plugins(self, /) -> typing.List[str]: ...
class QCanBusDevice(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QCanBusDevice::CanBusError)
framesReceived : typing.ClassVar[Signal] = ... # framesReceived()
framesWritten : typing.ClassVar[Signal] = ... # framesWritten(qlonglong)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QCanBusDevice::CanBusDeviceState)
class CanBusDeviceState(enum.Enum):
UnconnectedState = 0x0
ConnectingState = 0x1
ConnectedState = 0x2
ClosingState = 0x3
class CanBusError(enum.Enum):
NoError = 0x0
ReadError = 0x1
WriteError = 0x2
ConnectionError = 0x3
ConfigurationError = 0x4
UnknownError = 0x5
OperationError = 0x6
TimeoutError = 0x7
class CanBusStatus(enum.Enum):
Unknown = 0x0
Good = 0x1
Warning = 0x2
Error = 0x3
BusOff = 0x4
class ConfigurationKey(enum.Enum):
RawFilterKey = 0x0
ErrorFilterKey = 0x1
LoopbackKey = 0x2
ReceiveOwnKey = 0x3
BitRateKey = 0x4
CanFdKey = 0x5
DataBitRateKey = 0x6
ProtocolKey = 0x7
UserKey = 0x1e
class Direction(enum.Flag):
Input = 0x1
Output = 0x2
AllDirections = 0x3
class Filter(Shiboken.Object):
format = ... # type: PySide6.QtSerialBus.QCanBusDevice.Filter.FormatFilter
frameId = ... # type: typing.Any
frameIdMask = ... # type: typing.Any
type = ... # type: PySide6.QtSerialBus.QCanBusFrame.FrameType
class FormatFilter(enum.Flag):
MatchBaseFormat = 0x1
MatchExtendedFormat = 0x2
MatchBaseAndExtendedFormat = 0x3
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, Filter: PySide6.QtSerialBus.QCanBusDevice.Filter, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, b: PySide6.QtSerialBus.QCanBusDevice.Filter, /) -> bool: ...
def __ne__(self, b: PySide6.QtSerialBus.QCanBusDevice.Filter, /) -> bool: ...
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def busStatus(self, /) -> PySide6.QtSerialBus.QCanBusDevice.CanBusStatus: ...
def clear(self, /, direction: PySide6.QtSerialBus.QCanBusDevice.Direction = ...) -> None: ...
def clearError(self, /) -> None: ...
def close(self, /) -> None: ...
def configurationKeys(self, /) -> typing.List[PySide6.QtSerialBus.QCanBusDevice.ConfigurationKey]: ...
def configurationParameter(self, key: PySide6.QtSerialBus.QCanBusDevice.ConfigurationKey, /) -> typing.Any: ...
def connectDevice(self, /) -> bool: ...
@typing.overload
@staticmethod
def createDeviceInfo(plugin: str, name: str, serialNumber: str, description: str, alias: str, channel: int, isVirtual: bool, isFlexibleDataRateCapable: bool, /) -> PySide6.QtSerialBus.QCanBusDeviceInfo: ...
@typing.overload
@staticmethod
def createDeviceInfo(plugin: str, name: str, isVirtual: bool, isFlexibleDataRateCapable: bool, /) -> PySide6.QtSerialBus.QCanBusDeviceInfo: ...
def dequeueOutgoingFrame(self, /) -> PySide6.QtSerialBus.QCanBusFrame: ...
def deviceInfo(self, /) -> PySide6.QtSerialBus.QCanBusDeviceInfo: ...
def disconnectDevice(self, /) -> None: ...
def enqueueOutgoingFrame(self, newFrame: PySide6.QtSerialBus.QCanBusFrame | PySide6.QtSerialBus.QCanBusFrame.FrameType, /) -> None: ...
def enqueueReceivedFrames(self, newFrames: collections.abc.Sequence[PySide6.QtSerialBus.QCanBusFrame], /) -> None: ...
def error(self, /) -> PySide6.QtSerialBus.QCanBusDevice.CanBusError: ...
def errorString(self, /) -> str: ...
def framesAvailable(self, /) -> int: ...
def framesToWrite(self, /) -> int: ...
def hasBusStatus(self, /) -> bool: ...
def hasOutgoingFrames(self, /) -> bool: ...
def interpretErrorFrame(self, errorFrame: PySide6.QtSerialBus.QCanBusFrame | PySide6.QtSerialBus.QCanBusFrame.FrameType, /) -> str: ...
def open(self, /) -> bool: ...
def readAllFrames(self, /) -> typing.List[PySide6.QtSerialBus.QCanBusFrame]: ...
def readFrame(self, /) -> PySide6.QtSerialBus.QCanBusFrame: ...
def resetController(self, /) -> None: ...
def setConfigurationParameter(self, key: PySide6.QtSerialBus.QCanBusDevice.ConfigurationKey, value: typing.Any, /) -> None: ...
def setError(self, errorText: str, arg__2: PySide6.QtSerialBus.QCanBusDevice.CanBusError, /) -> None: ...
def setState(self, newState: PySide6.QtSerialBus.QCanBusDevice.CanBusDeviceState, /) -> None: ...
def state(self, /) -> PySide6.QtSerialBus.QCanBusDevice.CanBusDeviceState: ...
def waitForFramesReceived(self, msecs: int, /) -> bool: ...
def waitForFramesWritten(self, msecs: int, /) -> bool: ...
def writeFrame(self, frame: PySide6.QtSerialBus.QCanBusFrame | PySide6.QtSerialBus.QCanBusFrame.FrameType, /) -> bool: ...
class QCanBusDeviceInfo(Shiboken.Object):
def __init__(self, other: PySide6.QtSerialBus.QCanBusDeviceInfo, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def alias(self, /) -> str: ...
def channel(self, /) -> int: ...
def description(self, /) -> str: ...
def hasFlexibleDataRate(self, /) -> bool: ...
def isVirtual(self, /) -> bool: ...
def name(self, /) -> str: ...
def plugin(self, /) -> str: ...
def serialNumber(self, /) -> str: ...
class QCanBusFactory(Shiboken.Object):
def __init__(self, /) -> None: ...
def availableDevices(self, /) -> typing.Tuple[typing.List[PySide6.QtSerialBus.QCanBusDeviceInfo], str]: ...
def createDevice(self, interfaceName: str, /) -> typing.Tuple[PySide6.QtSerialBus.QCanBusDevice, str]: ...
class QCanBusFrame(Shiboken.Object):
class FrameError(enum.Flag):
NoError = 0x0
TransmissionTimeoutError = 0x1
LostArbitrationError = 0x2
ControllerError = 0x4
ProtocolViolationError = 0x8
TransceiverError = 0x10
MissingAcknowledgmentError = 0x20
BusOffError = 0x40
BusError = 0x80
ControllerRestartError = 0x100
UnknownError = 0x200
AnyError = 0x1fffffff
class FrameType(enum.Enum):
UnknownFrame = 0x0
DataFrame = 0x1
ErrorFrame = 0x2
RemoteRequestFrame = 0x3
InvalidFrame = 0x4
class TimeStamp(Shiboken.Object):
@typing.overload
def __init__(self, TimeStamp: PySide6.QtSerialBus.QCanBusFrame.TimeStamp, /) -> None: ...
@typing.overload
def __init__(self, /, s: int | None = ..., usec: int | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@staticmethod
def fromMicroSeconds(usec: int, /) -> PySide6.QtSerialBus.QCanBusFrame.TimeStamp: ...
def microSeconds(self, /) -> int: ...
def seconds(self, /) -> int: ...
@typing.overload
def __init__(self, /, type: PySide6.QtSerialBus.QCanBusFrame.FrameType = ...) -> None: ...
@typing.overload
def __init__(self, QCanBusFrame: PySide6.QtSerialBus.QCanBusFrame, /) -> None: ...
@typing.overload
def __init__(self, identifier: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def error(self, /) -> PySide6.QtSerialBus.QCanBusFrame.FrameError: ...
def frameId(self, /) -> int: ...
def frameType(self, /) -> PySide6.QtSerialBus.QCanBusFrame.FrameType: ...
def hasBitrateSwitch(self, /) -> bool: ...
def hasErrorStateIndicator(self, /) -> bool: ...
def hasExtendedFrameFormat(self, /) -> bool: ...
def hasFlexibleDataRateFormat(self, /) -> bool: ...
def hasLocalEcho(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def payload(self, /) -> PySide6.QtCore.QByteArray: ...
def setBitrateSwitch(self, bitrateSwitch: bool, /) -> None: ...
def setError(self, e: PySide6.QtSerialBus.QCanBusFrame.FrameError, /) -> None: ...
def setErrorStateIndicator(self, errorStateIndicator: bool, /) -> None: ...
def setExtendedFrameFormat(self, isExtended: bool, /) -> None: ...
def setFlexibleDataRateFormat(self, isFlexibleData: bool, /) -> None: ...
def setFrameId(self, newFrameId: int, /) -> None: ...
def setFrameType(self, newFormat: PySide6.QtSerialBus.QCanBusFrame.FrameType, /) -> None: ...
def setLocalEcho(self, localEcho: bool, /) -> None: ...
def setPayload(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setTimeStamp(self, ts: PySide6.QtSerialBus.QCanBusFrame.TimeStamp, /) -> None: ...
def timeStamp(self, /) -> PySide6.QtSerialBus.QCanBusFrame.TimeStamp: ...
def toString(self, /) -> str: ...
class QCanDbcFileParser(Shiboken.Object):
class Error(enum.Enum):
None_ = 0x0
FileReading = 0x1
Parsing = 0x2
def __init__(self, /) -> None: ...
def error(self, /) -> PySide6.QtSerialBus.QCanDbcFileParser.Error: ...
def errorString(self, /) -> str: ...
def messageDescriptions(self, /) -> typing.List[PySide6.QtSerialBus.QCanMessageDescription]: ...
def messageValueDescriptions(self, /) -> typing.Dict[PySide6.QtSerialBus.QtCanBus.UniqueId, typing.Dict[str, typing.Dict[int, str]]]: ...
@typing.overload
def parse(self, fileName: str, /) -> bool: ...
@typing.overload
def parse(self, fileNames: collections.abc.Sequence[str], /) -> bool: ...
def parseData(self, data: str, /) -> bool: ...
@staticmethod
def uniqueIdDescription() -> PySide6.QtSerialBus.QCanUniqueIdDescription: ...
def warnings(self, /) -> typing.List[str]: ...
class QCanFrameProcessor(Shiboken.Object):
class Error(enum.Enum):
None_ = 0x0
InvalidFrame = 0x1
UnsupportedFrameFormat = 0x2
Decoding = 0x3
Encoding = 0x4
class ParseResult(Shiboken.Object):
signalValues = ... # type: typing.Dict[str, typing.Any]
uniqueId = ... # type: PySide6.QtSerialBus.QtCanBus.UniqueId
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, ParseResult: PySide6.QtSerialBus.QCanFrameProcessor.ParseResult, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __init__(self, /) -> None: ...
def addMessageDescriptions(self, descriptions: collections.abc.Sequence[PySide6.QtSerialBus.QCanMessageDescription], /) -> None: ...
def clearMessageDescriptions(self, /) -> None: ...
def error(self, /) -> PySide6.QtSerialBus.QCanFrameProcessor.Error: ...
def errorString(self, /) -> str: ...
def messageDescriptions(self, /) -> typing.List[PySide6.QtSerialBus.QCanMessageDescription]: ...
def parseFrame(self, frame: PySide6.QtSerialBus.QCanBusFrame | PySide6.QtSerialBus.QCanBusFrame.FrameType, /) -> PySide6.QtSerialBus.QCanFrameProcessor.ParseResult: ...
def prepareFrame(self, uniqueId: PySide6.QtSerialBus.QtCanBus.UniqueId, signalValues: typing.Dict[str, typing.Any], /) -> PySide6.QtSerialBus.QCanBusFrame: ...
def setMessageDescriptions(self, descriptions: collections.abc.Sequence[PySide6.QtSerialBus.QCanMessageDescription], /) -> None: ...
def setUniqueIdDescription(self, description: PySide6.QtSerialBus.QCanUniqueIdDescription, /) -> None: ...
def uniqueIdDescription(self, /) -> PySide6.QtSerialBus.QCanUniqueIdDescription: ...
def warnings(self, /) -> typing.List[str]: ...
class QCanMessageDescription(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSerialBus.QCanMessageDescription, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
def addSignalDescription(self, description: PySide6.QtSerialBus.QCanSignalDescription, /) -> None: ...
def clearSignalDescriptions(self, /) -> None: ...
def comment(self, /) -> str: ...
def isValid(self, /) -> bool: ...
def name(self, /) -> str: ...
def setComment(self, text: str, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setSignalDescriptions(self, descriptions: collections.abc.Sequence[PySide6.QtSerialBus.QCanSignalDescription], /) -> None: ...
def setSize(self, size: int, /) -> None: ...
def setTransmitter(self, transmitter: str, /) -> None: ...
def setUniqueId(self, id: PySide6.QtSerialBus.QtCanBus.UniqueId, /) -> None: ...
def signalDescriptionForName(self, name: str, /) -> PySide6.QtSerialBus.QCanSignalDescription: ...
def signalDescriptions(self, /) -> typing.List[PySide6.QtSerialBus.QCanSignalDescription]: ...
def size(self, /) -> int: ...
def swap(self, other: PySide6.QtSerialBus.QCanMessageDescription, /) -> None: ...
def transmitter(self, /) -> str: ...
def uniqueId(self, /) -> PySide6.QtSerialBus.QtCanBus.UniqueId: ...
class QCanSignalDescription(Shiboken.Object):
class MultiplexValueRange(Shiboken.Object):
maximum = ... # type: typing.Any
minimum = ... # type: typing.Any
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, MultiplexValueRange: PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange, /) -> bool: ...
def __repr__(self, /) -> str: ...
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSerialBus.QCanSignalDescription, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
@typing.overload
def addMultiplexSignal(self, name: str, ranges: collections.abc.Sequence[PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange], /) -> None: ...
@typing.overload
def addMultiplexSignal(self, name: str, value: typing.Any, /) -> None: ...
def bitLength(self, /) -> int: ...
def clearMultiplexSignals(self, /) -> None: ...
def comment(self, /) -> str: ...
def dataEndian(self, /) -> PySide6.QtCore.QSysInfo.Endian: ...
def dataFormat(self, /) -> PySide6.QtSerialBus.QtCanBus.DataFormat: ...
def dataSource(self, /) -> PySide6.QtSerialBus.QtCanBus.DataSource: ...
def factor(self, /) -> float: ...
def isValid(self, /) -> bool: ...
def maximum(self, /) -> float: ...
def minimum(self, /) -> float: ...
def multiplexSignals(self, /) -> typing.Dict[str, typing.List[PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange]]: ...
def multiplexState(self, /) -> PySide6.QtSerialBus.QtCanBus.MultiplexState: ...
def name(self, /) -> str: ...
def offset(self, /) -> float: ...
def physicalUnit(self, /) -> str: ...
def receiver(self, /) -> str: ...
def scaling(self, /) -> float: ...
def setBitLength(self, length: int, /) -> None: ...
def setComment(self, text: str, /) -> None: ...
def setDataEndian(self, endian: PySide6.QtCore.QSysInfo.Endian, /) -> None: ...
def setDataFormat(self, format: PySide6.QtSerialBus.QtCanBus.DataFormat, /) -> None: ...
def setDataSource(self, source: PySide6.QtSerialBus.QtCanBus.DataSource, /) -> None: ...
def setFactor(self, factor: float, /) -> None: ...
def setMultiplexSignals(self, multiplexorSignals: typing.Dict[str, collections.abc.Sequence[PySide6.QtSerialBus.QCanSignalDescription.MultiplexValueRange]], /) -> None: ...
def setMultiplexState(self, state: PySide6.QtSerialBus.QtCanBus.MultiplexState, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setOffset(self, offset: float, /) -> None: ...
def setPhysicalUnit(self, unit: str, /) -> None: ...
def setRange(self, minimum: float, maximum: float, /) -> None: ...
def setReceiver(self, receiver: str, /) -> None: ...
def setScaling(self, scaling: float, /) -> None: ...
def setStartBit(self, bit: int, /) -> None: ...
def startBit(self, /) -> int: ...
def swap(self, other: PySide6.QtSerialBus.QCanSignalDescription, /) -> None: ...
class QCanUniqueIdDescription(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSerialBus.QCanUniqueIdDescription, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def bitLength(self, /) -> int: ...
def endian(self, /) -> PySide6.QtCore.QSysInfo.Endian: ...
def isValid(self, /) -> bool: ...
def setBitLength(self, length: int, /) -> None: ...
def setEndian(self, endian: PySide6.QtCore.QSysInfo.Endian, /) -> None: ...
def setSource(self, source: PySide6.QtSerialBus.QtCanBus.DataSource, /) -> None: ...
def setStartBit(self, bit: int, /) -> None: ...
def source(self, /) -> PySide6.QtSerialBus.QtCanBus.DataSource: ...
def startBit(self, /) -> int: ...
def swap(self, other: PySide6.QtSerialBus.QCanUniqueIdDescription, /) -> None: ...
class QIntList: ...
class QModbusClient(PySide6.QtSerialBus.QModbusDevice):
timeoutChanged : typing.ClassVar[Signal] = ... # timeoutChanged(int)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def numberOfRetries(self, /) -> int: ...
def processPrivateResponse(self, response: PySide6.QtSerialBus.QModbusResponse, data: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
def processResponse(self, response: PySide6.QtSerialBus.QModbusResponse, data: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
def sendRawRequest(self, request: PySide6.QtSerialBus.QModbusRequest, serverAddress: int, /) -> PySide6.QtSerialBus.QModbusReply: ...
def sendReadRequest(self, read: PySide6.QtSerialBus.QModbusDataUnit, serverAddress: int, /) -> PySide6.QtSerialBus.QModbusReply: ...
def sendReadWriteRequest(self, read: PySide6.QtSerialBus.QModbusDataUnit, write: PySide6.QtSerialBus.QModbusDataUnit, serverAddress: int, /) -> PySide6.QtSerialBus.QModbusReply: ...
def sendWriteRequest(self, write: PySide6.QtSerialBus.QModbusDataUnit, serverAddress: int, /) -> PySide6.QtSerialBus.QModbusReply: ...
def setNumberOfRetries(self, number: int, /) -> None: ...
def setTimeout(self, newTimeout: int, /) -> None: ...
def timeout(self, /) -> int: ...
class QModbusDataUnit(Shiboken.Object):
class RegisterType(enum.Enum):
Invalid = 0x0
DiscreteInputs = 0x1
Coils = 0x2
InputRegisters = 0x3
HoldingRegisters = 0x4
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QModbusDataUnit: PySide6.QtSerialBus.QModbusDataUnit, /) -> None: ...
@typing.overload
def __init__(self, type: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, /) -> None: ...
@typing.overload
def __init__(self, type: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, newStartAddress: int, newValues: collections.abc.Sequence[int], /) -> None: ...
@typing.overload
def __init__(self, type: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, newStartAddress: int, newValueCount: int, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def isValid(self, /) -> bool: ...
def registerType(self, /) -> PySide6.QtSerialBus.QModbusDataUnit.RegisterType: ...
def setRegisterType(self, type: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, /) -> None: ...
def setStartAddress(self, newAddress: int, /) -> None: ...
def setValue(self, index: int, newValue: int, /) -> None: ...
def setValueCount(self, newCount: int, /) -> None: ...
def setValues(self, newValues: collections.abc.Sequence[int], /) -> None: ...
def startAddress(self, /) -> int: ...
def value(self, index: int, /) -> int: ...
def valueCount(self, /) -> int: ...
def values(self, /) -> typing.List[int]: ...
class QModbusDevice(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QModbusDevice::Error)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QModbusDevice::State)
class ConnectionParameter(enum.Enum):
SerialPortNameParameter = 0x0
SerialParityParameter = 0x1
SerialBaudRateParameter = 0x2
SerialDataBitsParameter = 0x3
SerialStopBitsParameter = 0x4
NetworkPortParameter = 0x5
NetworkAddressParameter = 0x6
class Error(enum.Enum):
NoError = 0x0
ReadError = 0x1
WriteError = 0x2
ConnectionError = 0x3
ConfigurationError = 0x4
TimeoutError = 0x5
ProtocolError = 0x6
ReplyAbortedError = 0x7
UnknownError = 0x8
InvalidResponseError = 0x9
class IntermediateError(enum.Enum):
ResponseCrcError = 0x0
ResponseRequestMismatch = 0x1
class State(enum.Enum):
UnconnectedState = 0x0
ConnectingState = 0x1
ConnectedState = 0x2
ClosingState = 0x3
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def connectDevice(self, /) -> bool: ...
def connectionParameter(self, parameter: PySide6.QtSerialBus.QModbusDevice.ConnectionParameter, /) -> typing.Any: ...
def device(self, /) -> PySide6.QtCore.QIODevice: ...
def disconnectDevice(self, /) -> None: ...
def error(self, /) -> PySide6.QtSerialBus.QModbusDevice.Error: ...
def errorString(self, /) -> str: ...
def open(self, /) -> bool: ...
def setConnectionParameter(self, parameter: PySide6.QtSerialBus.QModbusDevice.ConnectionParameter, value: typing.Any, /) -> None: ...
def setError(self, errorText: str, error: PySide6.QtSerialBus.QModbusDevice.Error, /) -> None: ...
def setState(self, newState: PySide6.QtSerialBus.QModbusDevice.State, /) -> None: ...
def state(self, /) -> PySide6.QtSerialBus.QModbusDevice.State: ...
class QModbusDeviceIdentification(Shiboken.Object):
class ConformityLevel(enum.Enum):
BasicConformityLevel = 0x1
RegularConformityLevel = 0x2
ExtendedConformityLevel = 0x3
BasicIndividualConformityLevel = 0x81
RegularIndividualConformityLevel = 0x82
ExtendedIndividualConformityLevel = 0x83
class ObjectId(enum.Enum):
VendorNameObjectId = 0x0
ProductCodeObjectId = 0x1
MajorMinorRevisionObjectId = 0x2
VendorUrlObjectId = 0x3
ProductNameObjectId = 0x4
ModelNameObjectId = 0x5
UserApplicationNameObjectId = 0x6
ReservedObjectId = 0x7
ProductDependentObjectId = 0x80
UndefinedObjectId = 0x100
class ReadDeviceIdCode(enum.Enum):
BasicReadDeviceIdCode = 0x1
RegularReadDeviceIdCode = 0x2
ExtendedReadDeviceIdCode = 0x3
IndividualReadDeviceIdCode = 0x4
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QModbusDeviceIdentification: PySide6.QtSerialBus.QModbusDeviceIdentification, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def conformityLevel(self, /) -> PySide6.QtSerialBus.QModbusDeviceIdentification.ConformityLevel: ...
def contains(self, objectId: int, /) -> bool: ...
@staticmethod
def fromByteArray(ba: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtSerialBus.QModbusDeviceIdentification: ...
def insert(self, objectId: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
def isValid(self, /) -> bool: ...
def objectIds(self, /) -> typing.List[int]: ...
def remove(self, objectId: int, /) -> None: ...
def setConformityLevel(self, level: PySide6.QtSerialBus.QModbusDeviceIdentification.ConformityLevel, /) -> None: ...
def value(self, objectId: int, /) -> PySide6.QtCore.QByteArray: ...
class QModbusExceptionResponse(PySide6.QtSerialBus.QModbusResponse):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, fc: PySide6.QtSerialBus.QModbusPdu.FunctionCode, ec: PySide6.QtSerialBus.QModbusPdu.ExceptionCode, /) -> None: ...
@typing.overload
def __init__(self, pdu: PySide6.QtSerialBus.QModbusPdu, /) -> None: ...
def setExceptionCode(self, ec: PySide6.QtSerialBus.QModbusPdu.ExceptionCode, /) -> None: ...
def setFunctionCode(self, c: PySide6.QtSerialBus.QModbusPdu.FunctionCode, /) -> None: ...
class QModbusPdu(Shiboken.Object):
class ExceptionCode(enum.Enum):
IllegalFunction = 0x1
IllegalDataAddress = 0x2
IllegalDataValue = 0x3
ServerDeviceFailure = 0x4
Acknowledge = 0x5
ServerDeviceBusy = 0x6
NegativeAcknowledge = 0x7
MemoryParityError = 0x8
GatewayPathUnavailable = 0xa
GatewayTargetDeviceFailedToRespond = 0xb
ExtendedException = 0xff
class FunctionCode(enum.Enum):
Invalid = 0x0
ReadCoils = 0x1
ReadDiscreteInputs = 0x2
ReadHoldingRegisters = 0x3
ReadInputRegisters = 0x4
WriteSingleCoil = 0x5
WriteSingleRegister = 0x6
ReadExceptionStatus = 0x7
Diagnostics = 0x8
GetCommEventCounter = 0xb
GetCommEventLog = 0xc
WriteMultipleCoils = 0xf
WriteMultipleRegisters = 0x10
ReportServerId = 0x11
ReadFileRecord = 0x14
WriteFileRecord = 0x15
MaskWriteRegister = 0x16
ReadWriteMultipleRegisters = 0x17
ReadFifoQueue = 0x18
EncapsulatedInterfaceTransport = 0x2b
UndefinedFunctionCode = 0x100
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, code: PySide6.QtSerialBus.QModbusPdu.FunctionCode, newData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def __init__(self, arg__1: PySide6.QtSerialBus.QModbusPdu, /) -> None: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __repr__(self, /) -> str: ...
def data(self, /) -> PySide6.QtCore.QByteArray: ...
def dataSize(self, /) -> int: ...
def exceptionCode(self, /) -> PySide6.QtSerialBus.QModbusPdu.ExceptionCode: ...
def functionCode(self, /) -> PySide6.QtSerialBus.QModbusPdu.FunctionCode: ...
def isException(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def setData(self, newData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def setFunctionCode(self, code: PySide6.QtSerialBus.QModbusPdu.FunctionCode, /) -> None: ...
def size(self, /) -> int: ...
class QModbusReply(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QModbusDevice::Error)
finished : typing.ClassVar[Signal] = ... # finished()
intermediateErrorOccurred: typing.ClassVar[Signal] = ... # intermediateErrorOccurred(QModbusDevice::IntermediateError)
class ReplyType(enum.Enum):
Raw = 0x0
Common = 0x1
Broadcast = 0x2
def __init__(self, type: PySide6.QtSerialBus.QModbusReply.ReplyType, serverAddress: int, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addIntermediateError(self, error: PySide6.QtSerialBus.QModbusDevice.IntermediateError, /) -> None: ...
def error(self, /) -> PySide6.QtSerialBus.QModbusDevice.Error: ...
def errorString(self, /) -> str: ...
def intermediateErrors(self, /) -> typing.List[PySide6.QtSerialBus.QModbusDevice.IntermediateError]: ...
def isFinished(self, /) -> bool: ...
def rawResult(self, /) -> PySide6.QtSerialBus.QModbusResponse: ...
def result(self, /) -> PySide6.QtSerialBus.QModbusDataUnit: ...
def serverAddress(self, /) -> int: ...
def setError(self, error: PySide6.QtSerialBus.QModbusDevice.Error, errorText: str, /) -> None: ...
def setFinished(self, isFinished: bool, /) -> None: ...
def setRawResult(self, unit: PySide6.QtSerialBus.QModbusResponse, /) -> None: ...
def setResult(self, unit: PySide6.QtSerialBus.QModbusDataUnit, /) -> None: ...
def type(self, /) -> PySide6.QtSerialBus.QModbusReply.ReplyType: ...
class QModbusRequest(PySide6.QtSerialBus.QModbusPdu):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, code: PySide6.QtSerialBus.QModbusPdu.FunctionCode, /, newData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
@typing.overload
def __init__(self, pdu: PySide6.QtSerialBus.QModbusPdu, /) -> None: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
@staticmethod
def calculateDataSize(pdu: PySide6.QtSerialBus.QModbusRequest, /) -> int: ...
@staticmethod
def minimumDataSize(pdu: PySide6.QtSerialBus.QModbusRequest, /) -> int: ...
class QModbusResponse(PySide6.QtSerialBus.QModbusPdu):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, code: PySide6.QtSerialBus.QModbusPdu.FunctionCode, /, newData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
@typing.overload
def __init__(self, pdu: PySide6.QtSerialBus.QModbusPdu, /) -> None: ...
def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
@staticmethod
def calculateDataSize(pdu: PySide6.QtSerialBus.QModbusResponse, /) -> int: ...
@staticmethod
def minimumDataSize(pdu: PySide6.QtSerialBus.QModbusResponse, /) -> int: ...
class QModbusRtuSerialClient(PySide6.QtSerialBus.QModbusClient):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def interFrameDelay(self, /) -> int: ...
def open(self, /) -> bool: ...
def setInterFrameDelay(self, microseconds: int, /) -> None: ...
def setTurnaroundDelay(self, turnaroundDelay: int, /) -> None: ...
def turnaroundDelay(self, /) -> int: ...
class QModbusRtuSerialServer(PySide6.QtSerialBus.QModbusServer):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def interFrameDelay(self, /) -> int: ...
def open(self, /) -> bool: ...
def processRequest(self, request: PySide6.QtSerialBus.QModbusPdu, /) -> PySide6.QtSerialBus.QModbusResponse: ...
def processesBroadcast(self, /) -> bool: ...
def setInterFrameDelay(self, microseconds: int, /) -> None: ...
class QModbusServer(PySide6.QtSerialBus.QModbusDevice):
dataWritten : typing.ClassVar[Signal] = ... # dataWritten(QModbusDataUnit::RegisterType,int,int)
class Option(enum.Enum):
DiagnosticRegister = 0x0
ExceptionStatusOffset = 0x1
DeviceBusy = 0x2
AsciiInputDelimiter = 0x3
ListenOnlyMode = 0x4
ServerIdentifier = 0x5
RunIndicatorStatus = 0x6
AdditionalData = 0x7
DeviceIdentification = 0x8
UserOption = 0x100
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def data(self, newData: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
@typing.overload
def data(self, table: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, address: int, /) -> typing.Tuple[bool, int]: ...
def processPrivateRequest(self, request: PySide6.QtSerialBus.QModbusPdu, /) -> PySide6.QtSerialBus.QModbusResponse: ...
def processRequest(self, request: PySide6.QtSerialBus.QModbusPdu, /) -> PySide6.QtSerialBus.QModbusResponse: ...
def processesBroadcast(self, /) -> bool: ...
def readData(self, newData: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
def serverAddress(self, /) -> int: ...
@typing.overload
def setData(self, unit: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
@typing.overload
def setData(self, table: PySide6.QtSerialBus.QModbusDataUnit.RegisterType, address: int, data: int, /) -> bool: ...
def setMap(self, map: typing.Dict[PySide6.QtSerialBus.QModbusDataUnit.RegisterType, PySide6.QtSerialBus.QModbusDataUnit], /) -> bool: ...
def setServerAddress(self, serverAddress: int, /) -> None: ...
def setValue(self, option: int, value: typing.Any, /) -> bool: ...
def value(self, option: int, /) -> typing.Any: ...
def writeData(self, unit: PySide6.QtSerialBus.QModbusDataUnit, /) -> bool: ...
class QModbusTcpClient(PySide6.QtSerialBus.QModbusClient):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def open(self, /) -> bool: ...
class QModbusTcpConnectionObserver(Shiboken.Object):
def __init__(self, /) -> None: ...
def acceptNewConnection(self, newClient: PySide6.QtNetwork.QTcpSocket, /) -> bool: ...
class QModbusTcpServer(PySide6.QtSerialBus.QModbusServer):
modbusClientDisconnected : typing.ClassVar[Signal] = ... # modbusClientDisconnected(QTcpSocket*)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def installConnectionObserver(self, observer: PySide6.QtSerialBus.QModbusTcpConnectionObserver, /) -> None: ...
def open(self, /) -> bool: ...
def processRequest(self, request: PySide6.QtSerialBus.QModbusPdu, /) -> PySide6.QtSerialBus.QModbusResponse: ...
class QtCanBus(Shiboken.Object):
class DataFormat(enum.Enum):
SignedInteger = 0x0
UnsignedInteger = 0x1
Float = 0x2
Double = 0x3
AsciiString = 0x4
class DataSource(enum.Enum):
Payload = 0x0
FrameId = 0x1
class MultiplexState(enum.Enum):
None_ = 0x0
MultiplexorSwitch = 0x1
MultiplexedSignal = 0x2
SwitchAndSignal = 0x3
class UniqueId(enum.Enum): ... # type: ignore[misc]
@staticmethod
def qbswap(src: PySide6.QtSerialBus.QtCanBus.UniqueId, /) -> PySide6.QtSerialBus.QtCanBus.UniqueId: ...
# eof
@@ -1,187 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSerialPort, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSerialPort`
import PySide6.QtSerialPort
import PySide6.QtCore
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QSerialPort(PySide6.QtCore.QIODevice):
baudRateChanged : typing.ClassVar[Signal] = ... # baudRateChanged(int,QSerialPort::Directions)
breakEnabledChanged : typing.ClassVar[Signal] = ... # breakEnabledChanged(bool)
dataBitsChanged : typing.ClassVar[Signal] = ... # dataBitsChanged(QSerialPort::DataBits)
dataTerminalReadyChanged : typing.ClassVar[Signal] = ... # dataTerminalReadyChanged(bool)
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QSerialPort::SerialPortError)
flowControlChanged : typing.ClassVar[Signal] = ... # flowControlChanged(QSerialPort::FlowControl)
parityChanged : typing.ClassVar[Signal] = ... # parityChanged(QSerialPort::Parity)
requestToSendChanged : typing.ClassVar[Signal] = ... # requestToSendChanged(bool)
settingsRestoredOnCloseChanged: typing.ClassVar[Signal] = ... # settingsRestoredOnCloseChanged(bool)
stopBitsChanged : typing.ClassVar[Signal] = ... # stopBitsChanged(QSerialPort::StopBits)
class BaudRate(enum.IntEnum):
Baud1200 = 0x4b0
Baud2400 = 0x960
Baud4800 = 0x12c0
Baud9600 = 0x2580
Baud19200 = 0x4b00
Baud38400 = 0x9600
Baud57600 = 0xe100
Baud115200 = 0x1c200
class DataBits(enum.Enum):
Data5 = 0x5
Data6 = 0x6
Data7 = 0x7
Data8 = 0x8
class Direction(enum.Flag):
Input = 0x1
Output = 0x2
AllDirections = 0x3
class FlowControl(enum.Enum):
NoFlowControl = 0x0
HardwareControl = 0x1
SoftwareControl = 0x2
class Parity(enum.Enum):
NoParity = 0x0
EvenParity = 0x2
OddParity = 0x3
SpaceParity = 0x4
MarkParity = 0x5
class PinoutSignal(enum.Flag):
NoSignal = 0x0
DataTerminalReadySignal = 0x4
DataCarrierDetectSignal = 0x8
DataSetReadySignal = 0x10
RingIndicatorSignal = 0x20
RequestToSendSignal = 0x40
ClearToSendSignal = 0x80
SecondaryTransmittedDataSignal = 0x100
SecondaryReceivedDataSignal = 0x200
class SerialPortError(enum.Enum):
NoError = 0x0
DeviceNotFoundError = 0x1
PermissionError = 0x2
OpenError = 0x3
WriteError = 0x4
ReadError = 0x5
ResourceError = 0x6
UnsupportedOperationError = 0x7
UnknownError = 0x8
TimeoutError = 0x9
NotOpenError = 0xa
class StopBits(enum.Enum):
OneStop = 0x1
TwoStop = 0x2
OneAndHalfStop = 0x3
@typing.overload
def __init__(self, info: PySide6.QtSerialPort.QSerialPortInfo, /, parent: PySide6.QtCore.QObject | None = ..., *, baudRate: int | None = ..., dataBits: PySide6.QtSerialPort.QSerialPort.DataBits | None = ..., parity: PySide6.QtSerialPort.QSerialPort.Parity | None = ..., stopBits: PySide6.QtSerialPort.QSerialPort.StopBits | None = ..., flowControl: PySide6.QtSerialPort.QSerialPort.FlowControl | None = ..., dataTerminalReady: bool | None = ..., requestToSend: bool | None = ..., error: PySide6.QtSerialPort.QSerialPort.SerialPortError | None = ..., breakEnabled: bool | None = ..., settingsRestoredOnClose: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, name: str, /, parent: PySide6.QtCore.QObject | None = ..., *, baudRate: int | None = ..., dataBits: PySide6.QtSerialPort.QSerialPort.DataBits | None = ..., parity: PySide6.QtSerialPort.QSerialPort.Parity | None = ..., stopBits: PySide6.QtSerialPort.QSerialPort.StopBits | None = ..., flowControl: PySide6.QtSerialPort.QSerialPort.FlowControl | None = ..., dataTerminalReady: bool | None = ..., requestToSend: bool | None = ..., error: PySide6.QtSerialPort.QSerialPort.SerialPortError | None = ..., breakEnabled: bool | None = ..., settingsRestoredOnClose: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, baudRate: int | None = ..., dataBits: PySide6.QtSerialPort.QSerialPort.DataBits | None = ..., parity: PySide6.QtSerialPort.QSerialPort.Parity | None = ..., stopBits: PySide6.QtSerialPort.QSerialPort.StopBits | None = ..., flowControl: PySide6.QtSerialPort.QSerialPort.FlowControl | None = ..., dataTerminalReady: bool | None = ..., requestToSend: bool | None = ..., error: PySide6.QtSerialPort.QSerialPort.SerialPortError | None = ..., breakEnabled: bool | None = ..., settingsRestoredOnClose: bool | None = ...) -> None: ...
def baudRate(self, /, directions: PySide6.QtSerialPort.QSerialPort.Direction = ...) -> int: ...
def bytesAvailable(self, /) -> int: ...
def bytesToWrite(self, /) -> int: ...
def canReadLine(self, /) -> bool: ...
def clear(self, /, directions: PySide6.QtSerialPort.QSerialPort.Direction = ...) -> bool: ...
def clearError(self, /) -> None: ...
def close(self, /) -> None: ...
def dataBits(self, /) -> PySide6.QtSerialPort.QSerialPort.DataBits: ...
def error(self, /) -> PySide6.QtSerialPort.QSerialPort.SerialPortError: ...
def flowControl(self, /) -> PySide6.QtSerialPort.QSerialPort.FlowControl: ...
def flush(self, /) -> bool: ...
def handle(self, /) -> int: ...
def isBreakEnabled(self, /) -> bool: ...
def isDataTerminalReady(self, /) -> bool: ...
def isRequestToSend(self, /) -> bool: ...
def isSequential(self, /) -> bool: ...
def open(self, mode: PySide6.QtCore.QIODeviceBase.OpenModeFlag, /) -> bool: ...
def parity(self, /) -> PySide6.QtSerialPort.QSerialPort.Parity: ...
def pinoutSignals(self, /) -> PySide6.QtSerialPort.QSerialPort.PinoutSignal: ...
def portName(self, /) -> str: ...
def readBufferSize(self, /) -> int: ...
def readData(self, maxSize: int, /) -> object: ...
def readLineData(self, maxSize: int, /) -> object: ...
def setBaudRate(self, baudRate: int, /, directions: PySide6.QtSerialPort.QSerialPort.Direction = ...) -> bool: ...
def setBreakEnabled(self, /, set: bool = ...) -> bool: ...
def setDataBits(self, dataBits: PySide6.QtSerialPort.QSerialPort.DataBits, /) -> bool: ...
def setDataTerminalReady(self, set: bool, /) -> bool: ...
def setFlowControl(self, flowControl: PySide6.QtSerialPort.QSerialPort.FlowControl, /) -> bool: ...
def setParity(self, parity: PySide6.QtSerialPort.QSerialPort.Parity, /) -> bool: ...
def setPort(self, info: PySide6.QtSerialPort.QSerialPortInfo, /) -> None: ...
def setPortName(self, name: str, /) -> None: ...
def setReadBufferSize(self, size: int, /) -> None: ...
def setRequestToSend(self, set: bool, /) -> bool: ...
def setSettingsRestoredOnClose(self, restore: bool, /) -> None: ...
def setStopBits(self, stopBits: PySide6.QtSerialPort.QSerialPort.StopBits, /) -> bool: ...
def setWriteBufferSize(self, size: int, /) -> None: ...
def settingsRestoredOnClose(self, /) -> bool: ...
def stopBits(self, /) -> PySide6.QtSerialPort.QSerialPort.StopBits: ...
def waitForBytesWritten(self, /, msecs: int = ...) -> bool: ...
def waitForReadyRead(self, /, msecs: int = ...) -> bool: ...
def writeBufferSize(self, /) -> int: ...
def writeData(self, data: bytes | bytearray | memoryview, maxSize: int, /) -> int: ...
class QSerialPortInfo(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, port: PySide6.QtSerialPort.QSerialPort, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSerialPort.QSerialPortInfo, /) -> None: ...
@typing.overload
def __init__(self, name: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@staticmethod
def availablePorts() -> typing.List[PySide6.QtSerialPort.QSerialPortInfo]: ...
def description(self, /) -> str: ...
def hasProductIdentifier(self, /) -> bool: ...
def hasVendorIdentifier(self, /) -> bool: ...
def isNull(self, /) -> bool: ...
def manufacturer(self, /) -> str: ...
def portName(self, /) -> str: ...
def productIdentifier(self, /) -> int: ...
def serialNumber(self, /) -> str: ...
@staticmethod
def standardBaudRates() -> typing.List[int]: ...
def swap(self, other: PySide6.QtSerialPort.QSerialPortInfo, /) -> None: ...
def systemLocation(self, /) -> str: ...
def vendorIdentifier(self, /) -> int: ...
# eof
@@ -1,238 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSpatialAudio, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSpatialAudio`
import PySide6.QtSpatialAudio
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtMultimedia
import enum
import typing
from PySide6.QtCore import Signal
class QAmbientSound(PySide6.QtCore.QObject):
autoPlayChanged : typing.ClassVar[Signal] = ... # autoPlayChanged()
loopsChanged : typing.ClassVar[Signal] = ... # loopsChanged()
sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged()
volumeChanged : typing.ClassVar[Signal] = ... # volumeChanged()
class Loops(enum.IntEnum):
Infinite = -1
Once = 0x1
def __init__(self, engine: PySide6.QtSpatialAudio.QAudioEngine, /, *, source: PySide6.QtCore.QUrl | None = ..., volume: float | None = ..., loops: int | None = ..., autoPlay: bool | None = ...) -> None: ...
def autoPlay(self, /) -> bool: ...
def engine(self, /) -> PySide6.QtSpatialAudio.QAudioEngine: ...
def loops(self, /) -> int: ...
def pause(self, /) -> None: ...
def play(self, /) -> None: ...
def setAutoPlay(self, autoPlay: bool, /) -> None: ...
def setLoops(self, loops: int, /) -> None: ...
def setSource(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def setVolume(self, volume: float, /) -> None: ...
def source(self, /) -> PySide6.QtCore.QUrl: ...
def stop(self, /) -> None: ...
def volume(self, /) -> float: ...
class QAudioEngine(PySide6.QtCore.QObject):
distanceScaleChanged : typing.ClassVar[Signal] = ... # distanceScaleChanged()
masterVolumeChanged : typing.ClassVar[Signal] = ... # masterVolumeChanged()
outputDeviceChanged : typing.ClassVar[Signal] = ... # outputDeviceChanged()
outputModeChanged : typing.ClassVar[Signal] = ... # outputModeChanged()
pausedChanged : typing.ClassVar[Signal] = ... # pausedChanged()
class OutputMode(enum.Enum):
Surround = 0x0
Stereo = 0x1
Headphone = 0x2
@typing.overload
def __init__(self, parent: PySide6.QtCore.QObject, /, *, outputMode: PySide6.QtSpatialAudio.QAudioEngine.OutputMode | None = ..., outputDevice: PySide6.QtMultimedia.QAudioDevice | None = ..., masterVolume: float | None = ..., paused: bool | None = ..., distanceScale: float | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, outputMode: PySide6.QtSpatialAudio.QAudioEngine.OutputMode | None = ..., outputDevice: PySide6.QtMultimedia.QAudioDevice | None = ..., masterVolume: float | None = ..., paused: bool | None = ..., distanceScale: float | None = ...) -> None: ...
@typing.overload
def __init__(self, sampleRate: int, /, parent: PySide6.QtCore.QObject | None = ..., *, outputMode: PySide6.QtSpatialAudio.QAudioEngine.OutputMode | None = ..., outputDevice: PySide6.QtMultimedia.QAudioDevice | None = ..., masterVolume: float | None = ..., paused: bool | None = ..., distanceScale: float | None = ...) -> None: ...
def distanceScale(self, /) -> float: ...
def masterVolume(self, /) -> float: ...
def outputDevice(self, /) -> PySide6.QtMultimedia.QAudioDevice: ...
def outputMode(self, /) -> PySide6.QtSpatialAudio.QAudioEngine.OutputMode: ...
def pause(self, /) -> None: ...
def paused(self, /) -> bool: ...
def resume(self, /) -> None: ...
def roomEffectsEnabled(self, /) -> bool: ...
def sampleRate(self, /) -> int: ...
def setDistanceScale(self, scale: float, /) -> None: ...
def setMasterVolume(self, volume: float, /) -> None: ...
def setOutputDevice(self, device: PySide6.QtMultimedia.QAudioDevice, /) -> None: ...
def setOutputMode(self, mode: PySide6.QtSpatialAudio.QAudioEngine.OutputMode, /) -> None: ...
def setPaused(self, paused: bool, /) -> None: ...
def setRoomEffectsEnabled(self, enabled: bool, /) -> None: ...
def start(self, /) -> None: ...
def stop(self, /) -> None: ...
class QAudioListener(PySide6.QtCore.QObject):
def __init__(self, engine: PySide6.QtSpatialAudio.QAudioEngine, /) -> None: ...
def engine(self, /) -> PySide6.QtSpatialAudio.QAudioEngine: ...
def position(self, /) -> PySide6.QtGui.QVector3D: ...
def rotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def setPosition(self, pos: PySide6.QtGui.QVector3D, /) -> None: ...
def setRotation(self, q: PySide6.QtGui.QQuaternion, /) -> None: ...
class QAudioRoom(PySide6.QtCore.QObject):
dimensionsChanged : typing.ClassVar[Signal] = ... # dimensionsChanged()
positionChanged : typing.ClassVar[Signal] = ... # positionChanged()
reflectionGainChanged : typing.ClassVar[Signal] = ... # reflectionGainChanged()
reverbBrightnessChanged : typing.ClassVar[Signal] = ... # reverbBrightnessChanged()
reverbGainChanged : typing.ClassVar[Signal] = ... # reverbGainChanged()
reverbTimeChanged : typing.ClassVar[Signal] = ... # reverbTimeChanged()
rotationChanged : typing.ClassVar[Signal] = ... # rotationChanged()
wallsChanged : typing.ClassVar[Signal] = ... # wallsChanged()
class Material(enum.Enum):
Transparent = 0x0
AcousticCeilingTiles = 0x1
BrickBare = 0x2
BrickPainted = 0x3
ConcreteBlockCoarse = 0x4
ConcreteBlockPainted = 0x5
CurtainHeavy = 0x6
FiberGlassInsulation = 0x7
GlassThin = 0x8
GlassThick = 0x9
Grass = 0xa
LinoleumOnConcrete = 0xb
Marble = 0xc
Metal = 0xd
ParquetOnConcrete = 0xe
PlasterRough = 0xf
PlasterSmooth = 0x10
PlywoodPanel = 0x11
PolishedConcreteOrTile = 0x12
Sheetrock = 0x13
WaterOrIceSurface = 0x14
WoodCeiling = 0x15
WoodPanel = 0x16
UniformMaterial = 0x17
class Wall(enum.Enum):
LeftWall = 0x0
RightWall = 0x1
Floor = 0x2
Ceiling = 0x3
FrontWall = 0x4
BackWall = 0x5
def __init__(self, engine: PySide6.QtSpatialAudio.QAudioEngine, /, *, position: PySide6.QtGui.QVector3D | None = ..., dimensions: PySide6.QtGui.QVector3D | None = ..., rotation: PySide6.QtGui.QQuaternion | None = ..., reflectionGain: float | None = ..., reverbGain: float | None = ..., reverbTime: float | None = ..., reverbBrightness: float | None = ...) -> None: ...
def dimensions(self, /) -> PySide6.QtGui.QVector3D: ...
def position(self, /) -> PySide6.QtGui.QVector3D: ...
def reflectionGain(self, /) -> float: ...
def reverbBrightness(self, /) -> float: ...
def reverbGain(self, /) -> float: ...
def reverbTime(self, /) -> float: ...
def rotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def setDimensions(self, dim: PySide6.QtGui.QVector3D, /) -> None: ...
def setPosition(self, pos: PySide6.QtGui.QVector3D, /) -> None: ...
def setReflectionGain(self, factor: float, /) -> None: ...
def setReverbBrightness(self, factor: float, /) -> None: ...
def setReverbGain(self, factor: float, /) -> None: ...
def setReverbTime(self, factor: float, /) -> None: ...
def setRotation(self, q: PySide6.QtGui.QQuaternion, /) -> None: ...
def setWallMaterial(self, wall: PySide6.QtSpatialAudio.QAudioRoom.Wall, material: PySide6.QtSpatialAudio.QAudioRoom.Material, /) -> None: ...
def wallMaterial(self, wall: PySide6.QtSpatialAudio.QAudioRoom.Wall, /) -> PySide6.QtSpatialAudio.QAudioRoom.Material: ...
class QIntList: ...
class QSpatialSound(PySide6.QtCore.QObject):
autoPlayChanged : typing.ClassVar[Signal] = ... # autoPlayChanged()
directivityChanged : typing.ClassVar[Signal] = ... # directivityChanged()
directivityOrderChanged : typing.ClassVar[Signal] = ... # directivityOrderChanged()
distanceCutoffChanged : typing.ClassVar[Signal] = ... # distanceCutoffChanged()
distanceModelChanged : typing.ClassVar[Signal] = ... # distanceModelChanged()
loopsChanged : typing.ClassVar[Signal] = ... # loopsChanged()
manualAttenuationChanged : typing.ClassVar[Signal] = ... # manualAttenuationChanged()
nearFieldGainChanged : typing.ClassVar[Signal] = ... # nearFieldGainChanged()
occlusionIntensityChanged: typing.ClassVar[Signal] = ... # occlusionIntensityChanged()
positionChanged : typing.ClassVar[Signal] = ... # positionChanged()
rotationChanged : typing.ClassVar[Signal] = ... # rotationChanged()
sizeChanged : typing.ClassVar[Signal] = ... # sizeChanged()
sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged()
volumeChanged : typing.ClassVar[Signal] = ... # volumeChanged()
class DistanceModel(enum.Enum):
Logarithmic = 0x0
Linear = 0x1
ManualAttenuation = 0x2
class Loops(enum.IntEnum):
Infinite = -1
Once = 0x1
def __init__(self, engine: PySide6.QtSpatialAudio.QAudioEngine, /, *, source: PySide6.QtCore.QUrl | None = ..., position: PySide6.QtGui.QVector3D | None = ..., rotation: PySide6.QtGui.QQuaternion | None = ..., volume: float | None = ..., distanceModel: PySide6.QtSpatialAudio.QSpatialSound.DistanceModel | None = ..., size: float | None = ..., distanceCutoff: float | None = ..., manualAttenuation: float | None = ..., occlusionIntensity: float | None = ..., directivity: float | None = ..., directivityOrder: float | None = ..., nearFieldGain: float | None = ..., loops: int | None = ..., autoPlay: bool | None = ...) -> None: ...
def autoPlay(self, /) -> bool: ...
def directivity(self, /) -> float: ...
def directivityOrder(self, /) -> float: ...
def distanceCutoff(self, /) -> float: ...
def distanceModel(self, /) -> PySide6.QtSpatialAudio.QSpatialSound.DistanceModel: ...
def engine(self, /) -> PySide6.QtSpatialAudio.QAudioEngine: ...
def loops(self, /) -> int: ...
def manualAttenuation(self, /) -> float: ...
def nearFieldGain(self, /) -> float: ...
def occlusionIntensity(self, /) -> float: ...
def pause(self, /) -> None: ...
def play(self, /) -> None: ...
def position(self, /) -> PySide6.QtGui.QVector3D: ...
def rotation(self, /) -> PySide6.QtGui.QQuaternion: ...
def setAutoPlay(self, autoPlay: bool, /) -> None: ...
def setDirectivity(self, alpha: float, /) -> None: ...
def setDirectivityOrder(self, alpha: float, /) -> None: ...
def setDistanceCutoff(self, cutoff: float, /) -> None: ...
def setDistanceModel(self, model: PySide6.QtSpatialAudio.QSpatialSound.DistanceModel, /) -> None: ...
def setLoops(self, loops: int, /) -> None: ...
def setManualAttenuation(self, attenuation: float, /) -> None: ...
def setNearFieldGain(self, gain: float, /) -> None: ...
def setOcclusionIntensity(self, occlusion: float, /) -> None: ...
def setPosition(self, pos: PySide6.QtGui.QVector3D, /) -> None: ...
def setRotation(self, q: PySide6.QtGui.QQuaternion, /) -> None: ...
def setSize(self, size: float, /) -> None: ...
def setSource(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def setVolume(self, volume: float, /) -> None: ...
def size(self, /) -> float: ...
def source(self, /) -> PySide6.QtCore.QUrl: ...
def stop(self, /) -> None: ...
def volume(self, /) -> float: ...
# eof
-689
View File
@@ -1,689 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSql, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSql`
import PySide6.QtSql
import PySide6.QtCore
import PySide6.QtWidgets
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QSql(Shiboken.Object):
class Location(enum.Enum):
AfterLastRow = -2
BeforeFirstRow = -1
class NumericalPrecisionPolicy(enum.Enum):
HighPrecision = 0x0
LowPrecisionInt32 = 0x1
LowPrecisionInt64 = 0x2
LowPrecisionDouble = 0x4
class ParamTypeFlag(enum.Flag):
In = 0x1
Out = 0x2
InOut = 0x3
Binary = 0x4
class TableType(enum.Enum):
Tables = 0x1
SystemTables = 0x2
Views = 0x4
AllTables = 0xff
class QSqlDatabase(Shiboken.Object):
@typing.overload
def __init__(self, driver: PySide6.QtSql.QSqlDriver, /, *, numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlDatabase, /, *, numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, type: str, /, *, numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __repr__(self, /) -> str: ...
@typing.overload
@staticmethod
def addDatabase(driver: PySide6.QtSql.QSqlDriver, /, connectionName: str = ...) -> PySide6.QtSql.QSqlDatabase: ...
@typing.overload
@staticmethod
def addDatabase(type: str, /, connectionName: str = ...) -> PySide6.QtSql.QSqlDatabase: ...
@typing.overload
@staticmethod
def cloneDatabase(other: PySide6.QtSql.QSqlDatabase, connectionName: str, /) -> PySide6.QtSql.QSqlDatabase: ...
@typing.overload
@staticmethod
def cloneDatabase(other: str, connectionName: str, /) -> PySide6.QtSql.QSqlDatabase: ...
def close(self, /) -> None: ...
def commit(self, /) -> bool: ...
def connectOptions(self, /) -> str: ...
def connectionName(self, /) -> str: ...
@staticmethod
def connectionNames() -> typing.List[str]: ...
@staticmethod
def contains(connectionName: str = ...) -> bool: ...
@staticmethod
def database(connectionName: str = ..., open: bool = ...) -> PySide6.QtSql.QSqlDatabase: ...
def databaseName(self, /) -> str: ...
def driver(self, /) -> PySide6.QtSql.QSqlDriver: ...
def driverName(self, /) -> str: ...
@staticmethod
def drivers() -> typing.List[str]: ...
def exec(self, /, query: str = ...) -> PySide6.QtSql.QSqlQuery: ...
def exec_(self, /, query: str = ...) -> PySide6.QtSql.QSqlQuery: ...
def hostName(self, /) -> str: ...
@staticmethod
def isDriverAvailable(name: str, /) -> bool: ...
def isOpen(self, /) -> bool: ...
def isOpenError(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtSql.QSqlError: ...
def moveToThread(self, targetThread: PySide6.QtCore.QThread, /) -> bool: ...
def numericalPrecisionPolicy(self, /) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy: ...
@typing.overload
def open(self, /) -> bool: ...
@typing.overload
def open(self, user: str, password: str, /) -> bool: ...
def password(self, /) -> str: ...
def port(self, /) -> int: ...
def primaryIndex(self, tablename: str, /) -> PySide6.QtSql.QSqlIndex: ...
def record(self, tablename: str, /) -> PySide6.QtSql.QSqlRecord: ...
@staticmethod
def registerSqlDriver(name: str, creator: PySide6.QtSql.QSqlDriverCreatorBase, /) -> None: ...
@staticmethod
def removeDatabase(connectionName: str, /) -> None: ...
def rollback(self, /) -> bool: ...
def setConnectOptions(self, /, options: str = ...) -> None: ...
def setDatabaseName(self, name: str, /) -> None: ...
def setHostName(self, host: str, /) -> None: ...
def setNumericalPrecisionPolicy(self, precisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy, /) -> None: ...
def setPassword(self, password: str, /) -> None: ...
def setPort(self, p: int, /) -> None: ...
def setUserName(self, name: str, /) -> None: ...
def tables(self, /, type: PySide6.QtSql.QSql.TableType = ...) -> typing.List[str]: ...
def thread(self, /) -> PySide6.QtCore.QThread: ...
def transaction(self, /) -> bool: ...
def userName(self, /) -> str: ...
class QSqlDriver(PySide6.QtCore.QObject):
notification : typing.ClassVar[Signal] = ... # notification(QString,QSqlDriver::NotificationSource,QVariant)
class DbmsType(enum.Enum):
UnknownDbms = 0x0
MSSqlServer = 0x1
MySqlServer = 0x2
PostgreSQL = 0x3
Oracle = 0x4
Sybase = 0x5
SQLite = 0x6
Interbase = 0x7
DB2 = 0x8
MimerSQL = 0x9
class DriverFeature(enum.Enum):
Transactions = 0x0
QuerySize = 0x1
BLOB = 0x2
Unicode = 0x3
PreparedQueries = 0x4
NamedPlaceholders = 0x5
PositionalPlaceholders = 0x6
LastInsertId = 0x7
BatchOperations = 0x8
SimpleLocking = 0x9
LowPrecisionNumbers = 0xa
EventNotifications = 0xb
FinishQuery = 0xc
MultipleResultSets = 0xd
CancelQuery = 0xe
class IdentifierType(enum.Enum):
FieldName = 0x0
TableName = 0x1
class NotificationSource(enum.Enum):
UnknownSource = 0x0
SelfSource = 0x1
OtherSource = 0x2
class StatementType(enum.Enum):
WhereStatement = 0x0
SelectStatement = 0x1
UpdateStatement = 0x2
InsertStatement = 0x3
DeleteStatement = 0x4
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
def beginTransaction(self, /) -> bool: ...
def cancelQuery(self, /) -> bool: ...
def close(self, /) -> None: ...
def commitTransaction(self, /) -> bool: ...
def connectionName(self, /) -> str: ...
def createResult(self, /) -> PySide6.QtSql.QSqlResult: ...
def dbmsType(self, /) -> PySide6.QtSql.QSqlDriver.DbmsType: ...
def escapeIdentifier(self, identifier: str, type: PySide6.QtSql.QSqlDriver.IdentifierType, /) -> str: ...
def formatValue(self, field: PySide6.QtSql.QSqlField, /, trimStrings: bool = ...) -> str: ...
def hasFeature(self, f: PySide6.QtSql.QSqlDriver.DriverFeature, /) -> bool: ...
def isIdentifierEscaped(self, identifier: str, type: PySide6.QtSql.QSqlDriver.IdentifierType, /) -> bool: ...
def isOpen(self, /) -> bool: ...
def isOpenError(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtSql.QSqlError: ...
def maximumIdentifierLength(self, type: PySide6.QtSql.QSqlDriver.IdentifierType, /) -> int: ...
def numericalPrecisionPolicy(self, /) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy: ...
def open(self, db: str, /, user: str = ..., password: str = ..., host: str = ..., port: int = ..., connOpts: str = ...) -> bool: ...
def primaryIndex(self, tableName: str, /) -> PySide6.QtSql.QSqlIndex: ...
def record(self, tableName: str, /) -> PySide6.QtSql.QSqlRecord: ...
def rollbackTransaction(self, /) -> bool: ...
def setLastError(self, e: PySide6.QtSql.QSqlError, /) -> None: ...
def setNumericalPrecisionPolicy(self, precisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy, /) -> None: ...
def setOpen(self, o: bool, /) -> None: ...
def setOpenError(self, e: bool, /) -> None: ...
def sqlStatement(self, type: PySide6.QtSql.QSqlDriver.StatementType, tableName: str, rec: PySide6.QtSql.QSqlRecord, preparedStatement: bool, /) -> str: ...
def stripDelimiters(self, identifier: str, type: PySide6.QtSql.QSqlDriver.IdentifierType, /) -> str: ...
def subscribeToNotification(self, name: str, /) -> bool: ...
def subscribedToNotifications(self, /) -> typing.List[str]: ...
def tables(self, tableType: PySide6.QtSql.QSql.TableType, /) -> typing.List[str]: ...
def unsubscribeFromNotification(self, name: str, /) -> bool: ...
class QSqlDriverCreatorBase(Shiboken.Object):
def __init__(self, /) -> None: ...
def createObject(self, /) -> PySide6.QtSql.QSqlDriver: ...
class QSqlError(Shiboken.Object):
class ErrorType(enum.Enum):
NoError = 0x0
ConnectionError = 0x1
StatementError = 0x2
TransactionError = 0x3
UnknownError = 0x4
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlError, /) -> None: ...
@typing.overload
def __init__(self, /, driverText: str = ..., databaseText: str = ..., type: PySide6.QtSql.QSqlError.ErrorType = ..., nativeErrorCode: str = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtSql.QSqlError, /) -> bool: ...
def __ne__(self, other: PySide6.QtSql.QSqlError, /) -> bool: ...
def __repr__(self, /) -> str: ...
def databaseText(self, /) -> str: ...
def driverText(self, /) -> str: ...
def isValid(self, /) -> bool: ...
def nativeErrorCode(self, /) -> str: ...
def swap(self, other: PySide6.QtSql.QSqlError, /) -> None: ...
def text(self, /) -> str: ...
def type(self, /) -> PySide6.QtSql.QSqlError.ErrorType: ...
class QSqlField(Shiboken.Object):
class RequiredStatus(enum.Enum):
Unknown = -1
Optional = 0x0
Required = 0x1
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlField, /, *, value: typing.Optional[typing.Any] = ..., defaultValue: typing.Optional[typing.Any] = ..., name: str | None = ..., tableName: str | None = ..., metaType: PySide6.QtCore.QMetaType | None = ..., requiredStatus: PySide6.QtSql.QSqlField.RequiredStatus | None = ..., readOnly: bool | None = ..., generated: bool | None = ..., autoValue: bool | None = ..., length: int | None = ..., precision: int | None = ...) -> None: ...
@typing.overload
def __init__(self, /, fieldName: str = ..., type: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type = ..., tableName: str = ..., *, value: typing.Optional[typing.Any] = ..., defaultValue: typing.Optional[typing.Any] = ..., name: str | None = ..., metaType: PySide6.QtCore.QMetaType | None = ..., requiredStatus: PySide6.QtSql.QSqlField.RequiredStatus | None = ..., readOnly: bool | None = ..., generated: bool | None = ..., autoValue: bool | None = ..., length: int | None = ..., precision: int | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtSql.QSqlField, /) -> bool: ...
def __ne__(self, other: PySide6.QtSql.QSqlField, /) -> bool: ...
def __repr__(self, /) -> str: ...
def clear(self, /) -> None: ...
def defaultValue(self, /) -> typing.Any: ...
def isAutoValue(self, /) -> bool: ...
def isGenerated(self, /) -> bool: ...
def isNull(self, /) -> bool: ...
def isReadOnly(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def length(self, /) -> int: ...
def metaType(self, /) -> PySide6.QtCore.QMetaType: ...
def name(self, /) -> str: ...
def precision(self, /) -> int: ...
def requiredStatus(self, /) -> PySide6.QtSql.QSqlField.RequiredStatus: ...
def setAutoValue(self, autoVal: bool, /) -> None: ...
def setDefaultValue(self, value: typing.Any, /) -> None: ...
def setGenerated(self, gen: bool, /) -> None: ...
def setLength(self, fieldLength: int, /) -> None: ...
def setMetaType(self, type: PySide6.QtCore.QMetaType | PySide6.QtCore.QMetaType.Type, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def setPrecision(self, precision: int, /) -> None: ...
def setReadOnly(self, readOnly: bool, /) -> None: ...
def setRequired(self, required: bool, /) -> None: ...
def setRequiredStatus(self, status: PySide6.QtSql.QSqlField.RequiredStatus, /) -> None: ...
def setSqlType(self, type: int, /) -> None: ...
def setTableName(self, tableName: str, /) -> None: ...
def setValue(self, value: typing.Any, /) -> None: ...
def swap(self, other: PySide6.QtSql.QSqlField, /) -> None: ...
def tableName(self, /) -> str: ...
def typeID(self, /) -> int: ...
def value(self, /) -> typing.Any: ...
class QSqlIndex(PySide6.QtSql.QSqlRecord):
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlIndex, /, *, name: str | None = ..., cursorName: str | None = ...) -> None: ...
@typing.overload
def __init__(self, /, cursorName: str = ..., name: str = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@typing.overload
def append(self, field: PySide6.QtSql.QSqlField, /) -> None: ...
@typing.overload
def append(self, field: PySide6.QtSql.QSqlField, desc: bool, /) -> None: ...
def cursorName(self, /) -> str: ...
def isDescending(self, i: int, /) -> bool: ...
def name(self, /) -> str: ...
def setCursorName(self, cursorName: str, /) -> None: ...
def setDescending(self, i: int, desc: bool, /) -> None: ...
def setName(self, name: str, /) -> None: ...
def swap(self, other: PySide6.QtSql.QSqlIndex, /) -> None: ...
class QSqlQuery(Shiboken.Object):
class BatchExecutionMode(enum.Enum):
ValuesAsRows = 0x0
ValuesAsColumns = 0x1
@typing.overload
def __init__(self, db: PySide6.QtSql.QSqlDatabase, /, *, forwardOnly: bool | None = ..., positionalBindingEnabled: bool | None = ..., numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlQuery, /, *, forwardOnly: bool | None = ..., positionalBindingEnabled: bool | None = ..., numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, r: PySide6.QtSql.QSqlResult, /, *, forwardOnly: bool | None = ..., positionalBindingEnabled: bool | None = ..., numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
@typing.overload
def __init__(self, /, query: str = ..., db: PySide6.QtSql.QSqlDatabase = ..., *, forwardOnly: bool | None = ..., positionalBindingEnabled: bool | None = ..., numericalPrecisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def addBindValue(self, val: typing.Any, /, type: PySide6.QtSql.QSql.ParamTypeFlag = ...) -> None: ...
def at(self, /) -> int: ...
@typing.overload
def bindValue(self, placeholder: str, val: typing.Any, /, type: PySide6.QtSql.QSql.ParamTypeFlag = ...) -> None: ...
@typing.overload
def bindValue(self, pos: int, val: typing.Any, /, type: PySide6.QtSql.QSql.ParamTypeFlag = ...) -> None: ...
@typing.overload
def boundValue(self, placeholder: str, /) -> typing.Any: ...
@typing.overload
def boundValue(self, pos: int, /) -> typing.Any: ...
def boundValueName(self, pos: int, /) -> str: ...
def boundValueNames(self, /) -> typing.List[str]: ...
def boundValues(self, /) -> typing.List[typing.Any]: ...
def clear(self, /) -> None: ...
def driver(self, /) -> PySide6.QtSql.QSqlDriver: ...
@typing.overload
def exec(self, /) -> bool: ...
@typing.overload
def exec(self, query: str, /) -> bool: ...
def execBatch(self, /, mode: PySide6.QtSql.QSqlQuery.BatchExecutionMode = ...) -> bool: ...
@typing.overload
def exec_(self, /) -> bool: ...
@typing.overload
def exec_(self, arg__1: str, /) -> bool: ...
def executedQuery(self, /) -> str: ...
def finish(self, /) -> None: ...
def first(self, /) -> bool: ...
def isActive(self, /) -> bool: ...
def isForwardOnly(self, /) -> bool: ...
@typing.overload
def isNull(self, name: str, /) -> bool: ...
@typing.overload
def isNull(self, field: int, /) -> bool: ...
def isPositionalBindingEnabled(self, /) -> bool: ...
def isSelect(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def last(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtSql.QSqlError: ...
def lastInsertId(self, /) -> typing.Any: ...
def lastQuery(self, /) -> str: ...
def next(self, /) -> bool: ...
def nextResult(self, /) -> bool: ...
def numRowsAffected(self, /) -> int: ...
def numericalPrecisionPolicy(self, /) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy: ...
def prepare(self, query: str, /) -> bool: ...
def previous(self, /) -> bool: ...
def record(self, /) -> PySide6.QtSql.QSqlRecord: ...
def result(self, /) -> PySide6.QtSql.QSqlResult: ...
def seek(self, i: int, /, relative: bool = ...) -> bool: ...
def setForwardOnly(self, forward: bool, /) -> None: ...
def setNumericalPrecisionPolicy(self, precisionPolicy: PySide6.QtSql.QSql.NumericalPrecisionPolicy, /) -> None: ...
def setPositionalBindingEnabled(self, enable: bool, /) -> None: ...
def size(self, /) -> int: ...
def swap(self, other: PySide6.QtSql.QSqlQuery, /) -> None: ...
@typing.overload
def value(self, name: str, /) -> typing.Any: ...
@typing.overload
def value(self, i: int, /) -> typing.Any: ...
class QSqlQueryModel(PySide6.QtCore.QAbstractTableModel):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def beginInsertColumns(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, first: int, last: int, /) -> None: ...
def beginInsertRows(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, first: int, last: int, /) -> None: ...
def beginRemoveColumns(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, first: int, last: int, /) -> None: ...
def beginRemoveRows(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, first: int, last: int, /) -> None: ...
def beginResetModel(self, /) -> None: ...
def canFetchMore(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def clear(self, /) -> None: ...
def columnCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def data(self, item: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /, role: int = ...) -> typing.Any: ...
def endInsertColumns(self, /) -> None: ...
def endInsertRows(self, /) -> None: ...
def endRemoveColumns(self, /) -> None: ...
def endRemoveRows(self, /) -> None: ...
def endResetModel(self, /) -> None: ...
def fetchMore(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> None: ...
def headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, /, role: int = ...) -> typing.Any: ...
def indexInQuery(self, item: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
def insertColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def lastError(self, /) -> PySide6.QtSql.QSqlError: ...
def query(self, /) -> PySide6.QtSql.QSqlQuery: ...
def queryChange(self, /) -> None: ...
@typing.overload
def record(self, /) -> PySide6.QtSql.QSqlRecord: ...
@typing.overload
def record(self, row: int, /) -> PySide6.QtSql.QSqlRecord: ...
def refresh(self, /) -> None: ...
def removeColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def setHeaderData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, value: typing.Any, /, role: int = ...) -> bool: ...
def setLastError(self, error: PySide6.QtSql.QSqlError, /) -> None: ...
@typing.overload
def setQuery(self, query: PySide6.QtSql.QSqlQuery, /) -> None: ...
@typing.overload
def setQuery(self, query: str, /, db: PySide6.QtSql.QSqlDatabase = ...) -> None: ...
class QSqlRecord(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtSql.QSqlRecord, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def __ne__(self, other: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def __repr__(self, /) -> str: ...
def append(self, field: PySide6.QtSql.QSqlField, /) -> None: ...
def clear(self, /) -> None: ...
def clearValues(self, /) -> None: ...
def contains(self, name: str, /) -> bool: ...
def count(self, /) -> int: ...
@typing.overload
def field(self, name: str, /) -> PySide6.QtSql.QSqlField: ...
@typing.overload
def field(self, i: int, /) -> PySide6.QtSql.QSqlField: ...
def fieldName(self, i: int, /) -> str: ...
def indexOf(self, name: str, /) -> int: ...
def insert(self, pos: int, field: PySide6.QtSql.QSqlField, /) -> None: ...
def isEmpty(self, /) -> bool: ...
@typing.overload
def isGenerated(self, name: str, /) -> bool: ...
@typing.overload
def isGenerated(self, i: int, /) -> bool: ...
@typing.overload
def isNull(self, name: str, /) -> bool: ...
@typing.overload
def isNull(self, i: int, /) -> bool: ...
def keyValues(self, keyFields: PySide6.QtSql.QSqlRecord, /) -> PySide6.QtSql.QSqlRecord: ...
def remove(self, pos: int, /) -> None: ...
def replace(self, pos: int, field: PySide6.QtSql.QSqlField, /) -> None: ...
@typing.overload
def setGenerated(self, name: str, generated: bool, /) -> None: ...
@typing.overload
def setGenerated(self, i: int, generated: bool, /) -> None: ...
@typing.overload
def setNull(self, name: str, /) -> None: ...
@typing.overload
def setNull(self, i: int, /) -> None: ...
@typing.overload
def setValue(self, name: str, val: typing.Any, /) -> None: ...
@typing.overload
def setValue(self, i: int, val: typing.Any, /) -> None: ...
def swap(self, other: PySide6.QtSql.QSqlRecord, /) -> None: ...
@typing.overload
def value(self, name: str, /) -> typing.Any: ...
@typing.overload
def value(self, i: int, /) -> typing.Any: ...
class QSqlRelation(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, QSqlRelation: PySide6.QtSql.QSqlRelation, /) -> None: ...
@typing.overload
def __init__(self, aTableName: str, indexCol: str, displayCol: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def displayColumn(self, /) -> str: ...
def indexColumn(self, /) -> str: ...
def isValid(self, /) -> bool: ...
def swap(self, other: PySide6.QtSql.QSqlRelation, /) -> None: ...
def tableName(self, /) -> str: ...
class QSqlRelationalDelegate(PySide6.QtWidgets.QStyledItemDelegate):
def __init__(self, /, aParent: PySide6.QtCore.QObject | None = ...) -> None: ...
def createEditor(self, aParent: PySide6.QtWidgets.QWidget, option: PySide6.QtWidgets.QStyleOptionViewItem, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtWidgets.QWidget: ...
def setEditorData(self, editor: PySide6.QtWidgets.QWidget, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> None: ...
def setModelData(self, editor: PySide6.QtWidgets.QWidget, model: PySide6.QtCore.QAbstractItemModel, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> None: ...
class QSqlRelationalTableModel(PySide6.QtSql.QSqlTableModel):
class JoinMode(enum.Enum):
InnerJoin = 0x0
LeftJoin = 0x1
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., db: PySide6.QtSql.QSqlDatabase = ...) -> None: ...
def clear(self, /) -> None: ...
def data(self, item: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /, role: int = ...) -> typing.Any: ...
def insertRowIntoTable(self, values: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def orderByClause(self, /) -> str: ...
def relation(self, column: int, /) -> PySide6.QtSql.QSqlRelation: ...
def relationModel(self, column: int, /) -> PySide6.QtSql.QSqlTableModel: ...
def removeColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def revertRow(self, row: int, /) -> None: ...
def select(self, /) -> bool: ...
def selectStatement(self, /) -> str: ...
def setData(self, item: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, value: typing.Any, /, role: int = ...) -> bool: ...
def setJoinMode(self, joinMode: PySide6.QtSql.QSqlRelationalTableModel.JoinMode, /) -> None: ...
def setRelation(self, column: int, relation: PySide6.QtSql.QSqlRelation, /) -> None: ...
def setTable(self, tableName: str, /) -> None: ...
def updateRowInTable(self, row: int, values: PySide6.QtSql.QSqlRecord, /) -> bool: ...
class QSqlResult(Shiboken.Object):
class BindingSyntax(enum.Enum):
PositionalBinding = 0x0
NamedBinding = 0x1
class VirtualHookOperation(enum.Enum): ... # type: ignore[misc]
def __init__(self, db: PySide6.QtSql.QSqlDriver, /) -> None: ...
def addBindValue(self, val: typing.Any, type: PySide6.QtSql.QSql.ParamTypeFlag, /) -> None: ...
def at(self, /) -> int: ...
@typing.overload
def bindValue(self, placeholder: str, val: typing.Any, type: PySide6.QtSql.QSql.ParamTypeFlag, /) -> None: ...
@typing.overload
def bindValue(self, pos: int, val: typing.Any, type: PySide6.QtSql.QSql.ParamTypeFlag, /) -> None: ...
@typing.overload
def bindValueType(self, placeholder: str, /) -> PySide6.QtSql.QSql.ParamTypeFlag: ...
@typing.overload
def bindValueType(self, pos: int, /) -> PySide6.QtSql.QSql.ParamTypeFlag: ...
def bindingSyntax(self, /) -> PySide6.QtSql.QSqlResult.BindingSyntax: ...
@typing.overload
def boundValue(self, placeholder: str, /) -> typing.Any: ...
@typing.overload
def boundValue(self, pos: int, /) -> typing.Any: ...
def boundValueCount(self, /) -> int: ...
def boundValueName(self, pos: int, /) -> str: ...
def boundValueNames(self, /) -> typing.List[str]: ...
def boundValues(self, /) -> typing.List[typing.Any]: ...
def clear(self, /) -> None: ...
def data(self, i: int, /) -> typing.Any: ...
def detachFromResultSet(self, /) -> None: ...
def driver(self, /) -> PySide6.QtSql.QSqlDriver: ...
def exec(self, /) -> bool: ...
def execBatch(self, /, arrayBind: bool = ...) -> bool: ...
def exec_(self, /) -> bool: ...
def executedQuery(self, /) -> str: ...
def fetch(self, i: int, /) -> bool: ...
def fetchFirst(self, /) -> bool: ...
def fetchLast(self, /) -> bool: ...
def fetchNext(self, /) -> bool: ...
def fetchPrevious(self, /) -> bool: ...
def handle(self, /) -> typing.Any: ...
def hasOutValues(self, /) -> bool: ...
def isActive(self, /) -> bool: ...
def isForwardOnly(self, /) -> bool: ...
def isNull(self, i: int, /) -> bool: ...
def isPositionalBindingEnabled(self, /) -> bool: ...
def isSelect(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
def lastError(self, /) -> PySide6.QtSql.QSqlError: ...
def lastInsertId(self, /) -> typing.Any: ...
def lastQuery(self, /) -> str: ...
def nextResult(self, /) -> bool: ...
def numRowsAffected(self, /) -> int: ...
def numericalPrecisionPolicy(self, /) -> PySide6.QtSql.QSql.NumericalPrecisionPolicy: ...
def prepare(self, query: str, /) -> bool: ...
def record(self, /) -> PySide6.QtSql.QSqlRecord: ...
def reset(self, sqlquery: str, /) -> bool: ...
def resetBindCount(self, /) -> None: ...
def savePrepare(self, sqlquery: str, /) -> bool: ...
def setActive(self, a: bool, /) -> None: ...
def setAt(self, at: int, /) -> None: ...
def setForwardOnly(self, forward: bool, /) -> None: ...
def setLastError(self, e: PySide6.QtSql.QSqlError, /) -> None: ...
def setNumericalPrecisionPolicy(self, policy: PySide6.QtSql.QSql.NumericalPrecisionPolicy, /) -> None: ...
def setPositionalBindingEnabled(self, enable: bool, /) -> None: ...
def setQuery(self, query: str, /) -> None: ...
def setSelect(self, s: bool, /) -> None: ...
def size(self, /) -> int: ...
class QSqlTableModel(PySide6.QtSql.QSqlQueryModel):
beforeDelete : typing.ClassVar[Signal] = ... # beforeDelete(int)
beforeInsert : typing.ClassVar[Signal] = ... # beforeInsert(QSqlRecord&)
beforeUpdate : typing.ClassVar[Signal] = ... # beforeUpdate(int,QSqlRecord&)
primeInsert : typing.ClassVar[Signal] = ... # primeInsert(int,QSqlRecord&)
class EditStrategy(enum.Enum):
OnFieldChange = 0x0
OnRowChange = 0x1
OnManualSubmit = 0x2
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., db: PySide6.QtSql.QSqlDatabase = ...) -> None: ...
def clear(self, /) -> None: ...
def clearItemData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> bool: ...
def data(self, idx: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /, role: int = ...) -> typing.Any: ...
def database(self, /) -> PySide6.QtSql.QSqlDatabase: ...
def deleteRowFromTable(self, row: int, /) -> bool: ...
def editStrategy(self, /) -> PySide6.QtSql.QSqlTableModel.EditStrategy: ...
def fieldIndex(self, fieldName: str, /) -> int: ...
def filter(self, /) -> str: ...
def flags(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.Qt.ItemFlag: ...
def headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, /, role: int = ...) -> typing.Any: ...
def indexInQuery(self, item: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
def insertRecord(self, row: int, record: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def insertRowIntoTable(self, values: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def insertRows(self, row: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
@typing.overload
def isDirty(self, /) -> bool: ...
@typing.overload
def isDirty(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> bool: ...
def orderByClause(self, /) -> str: ...
def primaryKey(self, /) -> PySide6.QtSql.QSqlIndex: ...
def primaryValues(self, row: int, /) -> PySide6.QtSql.QSqlRecord: ...
@typing.overload
def record(self, /) -> PySide6.QtSql.QSqlRecord: ...
@typing.overload
def record(self, row: int, /) -> PySide6.QtSql.QSqlRecord: ...
def removeColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def removeRows(self, row: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
def revert(self, /) -> None: ...
def revertAll(self, /) -> None: ...
def revertRow(self, row: int, /) -> None: ...
def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
def select(self, /) -> bool: ...
def selectRow(self, row: int, /) -> bool: ...
def selectStatement(self, /) -> str: ...
def setData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, value: typing.Any, /, role: int = ...) -> bool: ...
def setEditStrategy(self, strategy: PySide6.QtSql.QSqlTableModel.EditStrategy, /) -> None: ...
def setFilter(self, filter: str, /) -> None: ...
def setPrimaryKey(self, key: PySide6.QtSql.QSqlIndex, /) -> None: ...
def setRecord(self, row: int, record: PySide6.QtSql.QSqlRecord, /) -> bool: ...
def setSort(self, column: int, order: PySide6.QtCore.Qt.SortOrder, /) -> None: ...
def setTable(self, tableName: str, /) -> None: ...
def sort(self, column: int, order: PySide6.QtCore.Qt.SortOrder, /) -> None: ...
def submit(self, /) -> bool: ...
def submitAll(self, /) -> bool: ...
def tableName(self, /) -> str: ...
def updateRowInTable(self, row: int, values: PySide6.QtSql.QSqlRecord, /) -> bool: ...
# eof
@@ -1,292 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtStateMachine, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtStateMachine`
import PySide6.QtStateMachine
import PySide6.QtCore
import PySide6.QtGui
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
class QAbstractState(PySide6.QtCore.QObject):
activeChanged : typing.ClassVar[Signal] = ... # activeChanged(bool)
entered : typing.ClassVar[Signal] = ... # entered()
exited : typing.ClassVar[Signal] = ... # exited()
def __init__(self, /, parent: PySide6.QtStateMachine.QState | None = ..., *, active: bool | None = ...) -> None: ...
def active(self, /) -> bool: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def machine(self, /) -> PySide6.QtStateMachine.QStateMachine: ...
def onEntry(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def onExit(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def parentState(self, /) -> PySide6.QtStateMachine.QState: ...
class QAbstractTransition(PySide6.QtCore.QObject):
targetStateChanged : typing.ClassVar[Signal] = ... # targetStateChanged()
targetStatesChanged : typing.ClassVar[Signal] = ... # targetStatesChanged()
triggered : typing.ClassVar[Signal] = ... # triggered()
class TransitionType(enum.Enum):
ExternalTransition = 0x0
InternalTransition = 0x1
def __init__(self, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, targetState: PySide6.QtStateMachine.QAbstractState | None = ..., targetStates: collections.abc.Sequence[PySide6.QtStateMachine.QAbstractState] | None = ..., transitionType: PySide6.QtStateMachine.QAbstractTransition.TransitionType | None = ...) -> None: ...
def addAnimation(self, animation: PySide6.QtCore.QAbstractAnimation, /) -> None: ...
def animations(self, /) -> typing.List[PySide6.QtCore.QAbstractAnimation]: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def eventTest(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def machine(self, /) -> PySide6.QtStateMachine.QStateMachine: ...
def onTransition(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def removeAnimation(self, animation: PySide6.QtCore.QAbstractAnimation, /) -> None: ...
def setTargetState(self, target: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def setTargetStates(self, targets: collections.abc.Sequence[PySide6.QtStateMachine.QAbstractState], /) -> None: ...
def setTransitionType(self, type: PySide6.QtStateMachine.QAbstractTransition.TransitionType, /) -> None: ...
def sourceState(self, /) -> PySide6.QtStateMachine.QState: ...
def targetState(self, /) -> PySide6.QtStateMachine.QAbstractState: ...
def targetStates(self, /) -> typing.List[PySide6.QtStateMachine.QAbstractState]: ...
def transitionType(self, /) -> PySide6.QtStateMachine.QAbstractTransition.TransitionType: ...
class QEventTransition(PySide6.QtStateMachine.QAbstractTransition):
@typing.overload
def __init__(self, object: PySide6.QtCore.QObject, type: PySide6.QtCore.QEvent.Type, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, eventSource: PySide6.QtCore.QObject | None = ..., eventType: PySide6.QtCore.QEvent.Type | None = ...) -> None: ...
@typing.overload
def __init__(self, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, eventSource: PySide6.QtCore.QObject | None = ..., eventType: PySide6.QtCore.QEvent.Type | None = ...) -> None: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def eventSource(self, /) -> PySide6.QtCore.QObject: ...
def eventTest(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def eventType(self, /) -> PySide6.QtCore.QEvent.Type: ...
def onTransition(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def setEventSource(self, object: PySide6.QtCore.QObject, /) -> None: ...
def setEventType(self, type: PySide6.QtCore.QEvent.Type, /) -> None: ...
class QFinalState(PySide6.QtStateMachine.QAbstractState):
def __init__(self, /, parent: PySide6.QtStateMachine.QState | None = ...) -> None: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def onEntry(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def onExit(self, event: PySide6.QtCore.QEvent, /) -> None: ...
class QHistoryState(PySide6.QtStateMachine.QAbstractState):
defaultStateChanged : typing.ClassVar[Signal] = ... # defaultStateChanged()
defaultTransitionChanged : typing.ClassVar[Signal] = ... # defaultTransitionChanged()
historyTypeChanged : typing.ClassVar[Signal] = ... # historyTypeChanged()
class HistoryType(enum.Enum):
ShallowHistory = 0x0
DeepHistory = 0x1
@typing.overload
def __init__(self, type: PySide6.QtStateMachine.QHistoryState.HistoryType, /, parent: PySide6.QtStateMachine.QState | None = ..., *, defaultState: PySide6.QtStateMachine.QAbstractState | None = ..., defaultTransition: PySide6.QtStateMachine.QAbstractTransition | None = ..., historyType: PySide6.QtStateMachine.QHistoryState.HistoryType | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtStateMachine.QState | None = ..., *, defaultState: PySide6.QtStateMachine.QAbstractState | None = ..., defaultTransition: PySide6.QtStateMachine.QAbstractTransition | None = ..., historyType: PySide6.QtStateMachine.QHistoryState.HistoryType | None = ...) -> None: ...
def defaultState(self, /) -> PySide6.QtStateMachine.QAbstractState: ...
def defaultTransition(self, /) -> PySide6.QtStateMachine.QAbstractTransition: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def historyType(self, /) -> PySide6.QtStateMachine.QHistoryState.HistoryType: ...
def onEntry(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def onExit(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def setDefaultState(self, state: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def setDefaultTransition(self, transition: PySide6.QtStateMachine.QAbstractTransition, /) -> None: ...
def setHistoryType(self, type: PySide6.QtStateMachine.QHistoryState.HistoryType, /) -> None: ...
class QIntList: ...
class QKeyEventTransition(PySide6.QtStateMachine.QEventTransition):
@typing.overload
def __init__(self, object: PySide6.QtCore.QObject, type: PySide6.QtCore.QEvent.Type, key: int, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, modifierMask: PySide6.QtCore.Qt.KeyboardModifier | None = ...) -> None: ...
@typing.overload
def __init__(self, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, key: int | None = ..., modifierMask: PySide6.QtCore.Qt.KeyboardModifier | None = ...) -> None: ...
def eventTest(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def key(self, /) -> int: ...
def modifierMask(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
def onTransition(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def setKey(self, key: int, /) -> None: ...
def setModifierMask(self, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /) -> None: ...
class QMouseEventTransition(PySide6.QtStateMachine.QEventTransition):
@typing.overload
def __init__(self, object: PySide6.QtCore.QObject, type: PySide6.QtCore.QEvent.Type, button: PySide6.QtCore.Qt.MouseButton, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, modifierMask: PySide6.QtCore.Qt.KeyboardModifier | None = ...) -> None: ...
@typing.overload
def __init__(self, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, button: PySide6.QtCore.Qt.MouseButton | None = ..., modifierMask: PySide6.QtCore.Qt.KeyboardModifier | None = ...) -> None: ...
def button(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
def eventTest(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def hitTestPath(self, /) -> PySide6.QtGui.QPainterPath: ...
def modifierMask(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
def onTransition(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def setButton(self, button: PySide6.QtCore.Qt.MouseButton, /) -> None: ...
def setHitTestPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
def setModifierMask(self, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /) -> None: ...
class QSignalTransition(PySide6.QtStateMachine.QAbstractTransition):
senderObjectChanged : typing.ClassVar[Signal] = ... # senderObjectChanged()
signalChanged : typing.ClassVar[Signal] = ... # signalChanged()
@typing.overload
def __init__(self, sender: PySide6.QtCore.QObject, signal: bytes | bytearray | memoryview, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, senderObject: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, /, sourceState: PySide6.QtStateMachine.QState | None = ..., *, senderObject: PySide6.QtCore.QObject | None = ..., signal: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview | None = ...) -> None: ...
@typing.overload
def __init__(self, signal: object, /, state: PySide6.QtStateMachine.QState | None = ..., *, senderObject: PySide6.QtCore.QObject | None = ...) -> None: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def eventTest(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
def onTransition(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def senderObject(self, /) -> PySide6.QtCore.QObject: ...
def setSenderObject(self, sender: PySide6.QtCore.QObject, /) -> None: ...
def setSignal(self, signal: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def signal(self, /) -> PySide6.QtCore.QByteArray: ...
class QState(PySide6.QtStateMachine.QAbstractState):
childModeChanged : typing.ClassVar[Signal] = ... # childModeChanged()
errorStateChanged : typing.ClassVar[Signal] = ... # errorStateChanged()
finished : typing.ClassVar[Signal] = ... # finished()
initialStateChanged : typing.ClassVar[Signal] = ... # initialStateChanged()
propertiesAssigned : typing.ClassVar[Signal] = ... # propertiesAssigned()
class ChildMode(enum.Enum):
ExclusiveStates = 0x0
ParallelStates = 0x1
class RestorePolicy(enum.Enum):
DontRestoreProperties = 0x0
RestoreProperties = 0x1
@typing.overload
def __init__(self, childMode: PySide6.QtStateMachine.QState.ChildMode, /, parent: PySide6.QtStateMachine.QState | None = ..., *, initialState: PySide6.QtStateMachine.QAbstractState | None = ..., errorState: PySide6.QtStateMachine.QAbstractState | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtStateMachine.QState | None = ..., *, initialState: PySide6.QtStateMachine.QAbstractState | None = ..., errorState: PySide6.QtStateMachine.QAbstractState | None = ..., childMode: PySide6.QtStateMachine.QState.ChildMode | None = ...) -> None: ...
@typing.overload
def addTransition(self, target: PySide6.QtStateMachine.QAbstractState, /) -> PySide6.QtStateMachine.QAbstractTransition: ...
@typing.overload
def addTransition(self, transition: PySide6.QtStateMachine.QAbstractTransition, /) -> None: ...
@typing.overload
def addTransition(self, sender: PySide6.QtCore.QObject, signal: str, target: PySide6.QtStateMachine.QAbstractState, /) -> PySide6.QtStateMachine.QSignalTransition: ...
@typing.overload
def addTransition(self, signal: object, arg__2: PySide6.QtStateMachine.QAbstractState, /) -> PySide6.QtStateMachine.QSignalTransition: ...
def assignProperty(self, object: PySide6.QtCore.QObject, name: str, value: typing.Any, /) -> None: ...
def childMode(self, /) -> PySide6.QtStateMachine.QState.ChildMode: ...
def errorState(self, /) -> PySide6.QtStateMachine.QAbstractState: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def initialState(self, /) -> PySide6.QtStateMachine.QAbstractState: ...
def onEntry(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def onExit(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def removeTransition(self, transition: PySide6.QtStateMachine.QAbstractTransition, /) -> None: ...
def setChildMode(self, mode: PySide6.QtStateMachine.QState.ChildMode, /) -> None: ...
def setErrorState(self, state: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def setInitialState(self, state: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def transitions(self, /) -> typing.List[PySide6.QtStateMachine.QAbstractTransition]: ...
class QStateMachine(PySide6.QtStateMachine.QState):
runningChanged : typing.ClassVar[Signal] = ... # runningChanged(bool)
started : typing.ClassVar[Signal] = ... # started()
stopped : typing.ClassVar[Signal] = ... # stopped()
class Error(enum.Enum):
NoError = 0x0
NoInitialStateError = 0x1
NoDefaultStateInHistoryStateError = 0x2
NoCommonAncestorForTransitionError = 0x3
StateMachineChildModeSetToParallelError = 0x4
class EventPriority(enum.Enum):
NormalPriority = 0x0
HighPriority = 0x1
class SignalEvent(PySide6.QtCore.QEvent):
def __init__(self, sender: PySide6.QtCore.QObject, signalIndex: int, arguments: collections.abc.Sequence[typing.Any], /) -> None: ...
def arguments(self, /) -> typing.List[typing.Any]: ...
def sender(self, /) -> PySide6.QtCore.QObject: ...
def signalIndex(self, /) -> int: ...
class WrappedEvent(PySide6.QtCore.QEvent):
def __init__(self, object: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent, /) -> None: ...
def event(self, /) -> PySide6.QtCore.QEvent: ...
def object(self, /) -> PySide6.QtCore.QObject: ...
@typing.overload
def __init__(self, childMode: PySide6.QtStateMachine.QState.ChildMode, /, parent: PySide6.QtCore.QObject | None = ..., *, errorString: str | None = ..., globalRestorePolicy: PySide6.QtStateMachine.QState.RestorePolicy | None = ..., running: bool | None = ..., animated: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, errorString: str | None = ..., globalRestorePolicy: PySide6.QtStateMachine.QState.RestorePolicy | None = ..., running: bool | None = ..., animated: bool | None = ...) -> None: ...
def addDefaultAnimation(self, animation: PySide6.QtCore.QAbstractAnimation, /) -> None: ...
def addState(self, state: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def beginMicrostep(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def beginSelectTransitions(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def cancelDelayedEvent(self, id: int, /) -> bool: ...
def clearError(self, /) -> None: ...
def configuration(self, /) -> typing.Set[PySide6.QtStateMachine.QAbstractState]: ...
def defaultAnimations(self, /) -> typing.List[PySide6.QtCore.QAbstractAnimation]: ...
def endMicrostep(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def endSelectTransitions(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def error(self, /) -> PySide6.QtStateMachine.QStateMachine.Error: ...
def errorString(self, /) -> str: ...
def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
def eventFilter(self, watched: PySide6.QtCore.QObject, event: PySide6.QtCore.QEvent, /) -> bool: ...
def globalRestorePolicy(self, /) -> PySide6.QtStateMachine.QState.RestorePolicy: ...
def isAnimated(self, /) -> bool: ...
def isRunning(self, /) -> bool: ...
def onEntry(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def onExit(self, event: PySide6.QtCore.QEvent, /) -> None: ...
def postDelayedEvent(self, event: PySide6.QtCore.QEvent, delay: int, /) -> int: ...
def postEvent(self, event: PySide6.QtCore.QEvent, /, priority: PySide6.QtStateMachine.QStateMachine.EventPriority = ...) -> None: ...
def removeDefaultAnimation(self, animation: PySide6.QtCore.QAbstractAnimation, /) -> None: ...
def removeState(self, state: PySide6.QtStateMachine.QAbstractState, /) -> None: ...
def setAnimated(self, enabled: bool, /) -> None: ...
def setGlobalRestorePolicy(self, restorePolicy: PySide6.QtStateMachine.QState.RestorePolicy, /) -> None: ...
def setRunning(self, running: bool, /) -> None: ...
def start(self, /) -> None: ...
def stop(self, /) -> None: ...
# eof
-125
View File
@@ -1,125 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSvg, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSvg`
import PySide6.QtSvg
import PySide6.QtCore
import PySide6.QtGui
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QSvgGenerator(PySide6.QtGui.QPaintDevice):
class SvgVersion(enum.Enum):
SvgTiny12 = 0x0
Svg11 = 0x1
@typing.overload
def __init__(self, version: PySide6.QtSvg.QSvgGenerator.SvgVersion, /, *, size: PySide6.QtCore.QSize | None = ..., viewBox: PySide6.QtCore.QRectF | None = ..., title: str | None = ..., description: str | None = ..., fileName: str | None = ..., outputDevice: PySide6.QtCore.QIODevice | None = ..., resolution: int | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, size: PySide6.QtCore.QSize | None = ..., viewBox: PySide6.QtCore.QRectF | None = ..., title: str | None = ..., description: str | None = ..., fileName: str | None = ..., outputDevice: PySide6.QtCore.QIODevice | None = ..., resolution: int | None = ...) -> None: ...
def description(self, /) -> str: ...
def fileName(self, /) -> str: ...
def initPainter(self, arg__1: PySide6.QtGui.QPainter, /) -> None: ...
def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
def outputDevice(self, /) -> PySide6.QtCore.QIODevice: ...
def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
def resolution(self, /) -> int: ...
def setDescription(self, description: str, /) -> None: ...
def setFileName(self, fileName: str, /) -> None: ...
def setOutputDevice(self, outputDevice: PySide6.QtCore.QIODevice, /) -> None: ...
def setResolution(self, dpi: int, /) -> None: ...
def setSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
def setTitle(self, title: str, /) -> None: ...
@typing.overload
def setViewBox(self, viewBox: PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def setViewBox(self, viewBox: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
def size(self, /) -> PySide6.QtCore.QSize: ...
def svgVersion(self, /) -> PySide6.QtSvg.QSvgGenerator.SvgVersion: ...
def title(self, /) -> str: ...
def viewBox(self, /) -> PySide6.QtCore.QRect: ...
def viewBoxF(self, /) -> PySide6.QtCore.QRectF: ...
class QSvgRenderer(PySide6.QtCore.QObject):
repaintNeeded : typing.ClassVar[Signal] = ... # repaintNeeded()
@typing.overload
def __init__(self, contents: PySide6.QtCore.QXmlStreamReader, /, parent: PySide6.QtCore.QObject | None = ..., *, viewBox: PySide6.QtCore.QRectF | None = ..., framesPerSecond: int | None = ..., currentFrame: int | None = ..., aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ..., options: PySide6.QtSvg.QtSvg.Option | None = ..., animationEnabled: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, filename: str, /, parent: PySide6.QtCore.QObject | None = ..., *, viewBox: PySide6.QtCore.QRectF | None = ..., framesPerSecond: int | None = ..., currentFrame: int | None = ..., aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ..., options: PySide6.QtSvg.QtSvg.Option | None = ..., animationEnabled: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, viewBox: PySide6.QtCore.QRectF | None = ..., framesPerSecond: int | None = ..., currentFrame: int | None = ..., aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ..., options: PySide6.QtSvg.QtSvg.Option | None = ..., animationEnabled: bool | None = ...) -> None: ...
@typing.overload
def __init__(self, contents: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, parent: PySide6.QtCore.QObject | None = ..., *, viewBox: PySide6.QtCore.QRectF | None = ..., framesPerSecond: int | None = ..., currentFrame: int | None = ..., aspectRatioMode: PySide6.QtCore.Qt.AspectRatioMode | None = ..., options: PySide6.QtSvg.QtSvg.Option | None = ..., animationEnabled: bool | None = ...) -> None: ...
def animated(self, /) -> bool: ...
def animationDuration(self, /) -> int: ...
def aspectRatioMode(self, /) -> PySide6.QtCore.Qt.AspectRatioMode: ...
def boundsOnElement(self, id: str, /) -> PySide6.QtCore.QRectF: ...
def currentFrame(self, /) -> int: ...
def defaultSize(self, /) -> PySide6.QtCore.QSize: ...
def elementExists(self, id: str, /) -> bool: ...
def framesPerSecond(self, /) -> int: ...
def isAnimationEnabled(self, /) -> bool: ...
def isValid(self, /) -> bool: ...
@typing.overload
def load(self, contents: PySide6.QtCore.QXmlStreamReader, /) -> bool: ...
@typing.overload
def load(self, filename: str, /) -> bool: ...
@typing.overload
def load(self, contents: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
def options(self, /) -> PySide6.QtSvg.QtSvg.Option: ...
@typing.overload
def render(self, p: PySide6.QtGui.QPainter, /) -> None: ...
@typing.overload
def render(self, p: PySide6.QtGui.QPainter, elementId: str, /, bounds: PySide6.QtCore.QRectF | PySide6.QtCore.QRect = ...) -> None: ...
@typing.overload
def render(self, p: PySide6.QtGui.QPainter, bounds: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
def setAnimationEnabled(self, enable: bool, /) -> None: ...
def setAspectRatioMode(self, mode: PySide6.QtCore.Qt.AspectRatioMode, /) -> None: ...
def setCurrentFrame(self, arg__1: int, /) -> None: ...
@staticmethod
def setDefaultOptions(flags: PySide6.QtSvg.QtSvg.Option, /) -> None: ...
def setFramesPerSecond(self, num: int, /) -> None: ...
def setOptions(self, flags: PySide6.QtSvg.QtSvg.Option, /) -> None: ...
@typing.overload
def setViewBox(self, viewbox: PySide6.QtCore.QRect, /) -> None: ...
@typing.overload
def setViewBox(self, viewbox: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
def transformForElement(self, id: str, /) -> PySide6.QtGui.QTransform: ...
def viewBox(self, /) -> PySide6.QtCore.QRect: ...
def viewBoxF(self, /) -> PySide6.QtCore.QRectF: ...
class QtSvg(Shiboken.Object):
class Option(enum.Flag):
NoOption = 0x0
Tiny12FeaturesOnly = 0x1
AssumeTrustedSource = 0x2
DisableSMILAnimations = 0x10
DisableCSSAnimations = 0x20
DisableAnimations = 0xf0
# eof
@@ -1,61 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtSvgWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtSvgWidgets`
import PySide6.QtSvgWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtSvg
import typing
class QGraphicsSvgItem(PySide6.QtWidgets.QGraphicsObject):
@typing.overload
def __init__(self, fileName: str, /, parentItem: PySide6.QtWidgets.QGraphicsItem | None = ..., *, elementId: str | None = ..., maximumCacheSize: PySide6.QtCore.QSize | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parentItem: PySide6.QtWidgets.QGraphicsItem | None = ..., *, elementId: str | None = ..., maximumCacheSize: PySide6.QtCore.QSize | None = ...) -> None: ...
def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
def elementId(self, /) -> str: ...
def isCachingEnabled(self, /) -> bool: ...
def maximumCacheSize(self, /) -> PySide6.QtCore.QSize: ...
def paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, /, widget: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
def renderer(self, /) -> PySide6.QtSvg.QSvgRenderer: ...
def setCachingEnabled(self, arg__1: bool, /) -> None: ...
def setElementId(self, id: str, /) -> None: ...
def setMaximumCacheSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
def setSharedRenderer(self, renderer: PySide6.QtSvg.QSvgRenderer, /) -> None: ...
def type(self, /) -> int: ...
class QIntList: ...
class QSvgWidget(PySide6.QtWidgets.QWidget):
@typing.overload
def __init__(self, file: str, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ...) -> None: ...
@typing.overload
def load(self, file: str, /) -> None: ...
@typing.overload
def load(self, contents: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def options(self, /) -> PySide6.QtSvg.QtSvg.Option: ...
def paintEvent(self, event: PySide6.QtGui.QPaintEvent, /) -> None: ...
def renderer(self, /) -> PySide6.QtSvg.QSvgRenderer: ...
def setOptions(self, options: PySide6.QtSvg.QtSvg.Option, /) -> None: ...
def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
# eof
-400
View File
@@ -1,400 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtTest, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtTest`
import PySide6.QtTest
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import enum
import typing
from PySide6.QtCore import SignalInstance
from shiboken6 import Shiboken
class QAbstractItemModelTester(PySide6.QtCore.QObject):
class FailureReportingMode(enum.Enum):
QtTest = 0x0
Warning = 0x1
Fatal = 0x2
@typing.overload
def __init__(self, model: PySide6.QtCore.QAbstractItemModel, mode: PySide6.QtTest.QAbstractItemModelTester.FailureReportingMode, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
@typing.overload
def __init__(self, model: PySide6.QtCore.QAbstractItemModel, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def failureReportingMode(self, /) -> PySide6.QtTest.QAbstractItemModelTester.FailureReportingMode: ...
def model(self, /) -> PySide6.QtCore.QAbstractItemModel: ...
def setUseFetchMore(self, value: bool, /) -> None: ...
class QIntList: ...
class QSignalSpy(Shiboken.Object):
@typing.overload
def __init__(self, obj: PySide6.QtCore.QObject, signal: PySide6.QtCore.QMetaMethod, /) -> None: ...
@typing.overload
def __init__(self, obj: PySide6.QtCore.QObject, aSignal: bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
def __init__(self, signal: PySide6.QtCore.SignalInstance, /) -> None: ...
def at(self, arg__1: int, /) -> typing.List[typing.Any]: ...
def count(self, /) -> int: ...
def isValid(self, /) -> bool: ...
def signal(self, /) -> PySide6.QtCore.QByteArray: ...
def size(self, /) -> int: ...
def wait(self, timeout: int, /) -> bool: ...
class QTest(Shiboken.Object):
class ComparisonOperation(enum.Enum):
CustomCompare = 0x0
Equal = 0x1
NotEqual = 0x2
LessThan = 0x3
LessThanOrEqual = 0x4
GreaterThan = 0x5
GreaterThanOrEqual = 0x6
ThreeWayCompare = 0x7
class KeyAction(enum.Enum):
Press = 0x0
Release = 0x1
Click = 0x2
Shortcut = 0x3
class MouseAction(enum.Enum):
MousePress = 0x0
MouseRelease = 0x1
MouseClick = 0x2
MouseDClick = 0x3
MouseMove = 0x4
class QBenchmarkMetric(enum.Enum):
FramesPerSecond = 0x0
BitsPerSecond = 0x1
BytesPerSecond = 0x2
WalltimeMilliseconds = 0x3
CPUTicks = 0x4
InstructionReads = 0x5
Events = 0x6
WalltimeNanoseconds = 0x7
BytesAllocated = 0x8
CPUMigrations = 0x9
CPUCycles = 0xa
BusCycles = 0xb
StalledCycles = 0xc
Instructions = 0xd
BranchInstructions = 0xe
BranchMisses = 0xf
CacheReferences = 0x10
CacheReads = 0x11
CacheWrites = 0x12
CachePrefetches = 0x13
CacheMisses = 0x14
CacheReadMisses = 0x15
CacheWriteMisses = 0x16
CachePrefetchMisses = 0x17
ContextSwitches = 0x18
PageFaults = 0x19
MinorPageFaults = 0x1a
MajorPageFaults = 0x1b
AlignmentFaults = 0x1c
EmulationFaults = 0x1d
RefCPUCycles = 0x1e
class QTouchEventSequence(Shiboken.Object):
def commit(self, /, processEvents: bool = ...) -> None: ...
@typing.overload
def move(self, touchId: int, pt: PySide6.QtCore.QPoint, /, widget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
def move(self, touchId: int, pt: PySide6.QtCore.QPoint, /, window: PySide6.QtGui.QWindow | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
def press(self, touchId: int, pt: PySide6.QtCore.QPoint, /, widget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
def press(self, touchId: int, pt: PySide6.QtCore.QPoint, /, window: PySide6.QtGui.QWindow | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
def release(self, touchId: int, pt: PySide6.QtCore.QPoint, /, widget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
def release(self, touchId: int, pt: PySide6.QtCore.QPoint, /, window: PySide6.QtGui.QWindow | None = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
def stationary(self, touchId: int, /) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
class TestFailMode(enum.Enum):
Abort = 0x1
Continue = 0x2
@staticmethod
def addColumnInternal(id: int, name: bytes | bytearray | memoryview, /) -> None: ...
@staticmethod
def asciiToKey(ascii: int, /) -> PySide6.QtCore.Qt.Key: ...
@typing.overload
@staticmethod
def compare_ptr_helper(t1: PySide6.QtCore.QObject, t2: PySide6.QtCore.QObject, actual: bytes | bytearray | memoryview, expected: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> bool: ...
@typing.overload
@staticmethod
def compare_ptr_helper(t1: int, t2: int, actual: bytes | bytearray | memoryview, expected: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> bool: ...
@staticmethod
def compare_string_helper(t1: bytes | bytearray | memoryview, t2: bytes | bytearray | memoryview, actual: bytes | bytearray | memoryview, expected: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> bool: ...
@staticmethod
def createTouchDevice(devType: PySide6.QtGui.QInputDevice.DeviceType = ..., caps: PySide6.QtGui.QInputDevice.Capability = ...) -> PySide6.QtGui.QPointingDevice: ...
@staticmethod
def currentAppName() -> bytes | bytearray | memoryview: ...
@staticmethod
def currentDataTag() -> bytes | bytearray | memoryview: ...
@staticmethod
def currentGlobalDataTag() -> bytes | bytearray | memoryview: ...
@staticmethod
def currentTestFailed() -> bool: ...
@staticmethod
def currentTestFunction() -> bytes | bytearray | memoryview: ...
@staticmethod
def currentTestResolved() -> bool: ...
@typing.overload
@staticmethod
def failOnWarning() -> None: ...
@typing.overload
@staticmethod
def failOnWarning(messagePattern: PySide6.QtCore.QRegularExpression | str, /) -> None: ...
@typing.overload
@staticmethod
def failOnWarning(message: bytes | bytearray | memoryview, /) -> None: ...
@staticmethod
def formatString(prefix: bytes | bytearray | memoryview, suffix: bytes | bytearray | memoryview, numArguments: int, /) -> bytes | bytearray | memoryview: ...
@typing.overload
@staticmethod
def ignoreMessage(type: PySide6.QtCore.QtMsgType, messagePattern: PySide6.QtCore.QRegularExpression | str, /) -> None: ...
@typing.overload
@staticmethod
def ignoreMessage(type: PySide6.QtCore.QtMsgType, message: bytes | bytearray | memoryview, /) -> None: ...
@typing.overload
@staticmethod
def keyClick(widget: PySide6.QtWidgets.QWidget, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyClick(widget: PySide6.QtWidgets.QWidget, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyClick(window: PySide6.QtGui.QWindow, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyClick(window: PySide6.QtGui.QWindow, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@staticmethod
def keyClicks(widget: PySide6.QtWidgets.QWidget, sequence: str, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyEvent(action: PySide6.QtTest.QTest.KeyAction, widget: PySide6.QtWidgets.QWidget, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyEvent(action: PySide6.QtTest.QTest.KeyAction, widget: PySide6.QtWidgets.QWidget, ascii: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyEvent(action: PySide6.QtTest.QTest.KeyAction, window: PySide6.QtGui.QWindow, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyEvent(action: PySide6.QtTest.QTest.KeyAction, window: PySide6.QtGui.QWindow, ascii: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyPress(widget: PySide6.QtWidgets.QWidget, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyPress(widget: PySide6.QtWidgets.QWidget, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyPress(window: PySide6.QtGui.QWindow, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyPress(window: PySide6.QtGui.QWindow, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyRelease(widget: PySide6.QtWidgets.QWidget, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyRelease(widget: PySide6.QtWidgets.QWidget, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyRelease(window: PySide6.QtGui.QWindow, key: PySide6.QtCore.Qt.Key, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keyRelease(window: PySide6.QtGui.QWindow, key: int, /, modifier: PySide6.QtCore.Qt.KeyboardModifier = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def keySequence(widget: PySide6.QtWidgets.QWidget, keySequence: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> None: ...
@typing.overload
@staticmethod
def keySequence(window: PySide6.QtGui.QWindow, keySequence: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> None: ...
@staticmethod
def keyToAscii(key: PySide6.QtCore.Qt.Key, /) -> int: ...
@typing.overload
@staticmethod
def mouseClick(widget: PySide6.QtWidgets.QWidget, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseClick(window: PySide6.QtGui.QWindow, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseDClick(widget: PySide6.QtWidgets.QWidget, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseDClick(window: PySide6.QtGui.QWindow, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseEvent(action: PySide6.QtTest.QTest.MouseAction, widget: PySide6.QtWidgets.QWidget, button: PySide6.QtCore.Qt.MouseButton, stateKey: PySide6.QtCore.Qt.KeyboardModifier, pos: PySide6.QtCore.QPoint, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseEvent(action: PySide6.QtTest.QTest.MouseAction, window: PySide6.QtGui.QWindow, button: PySide6.QtCore.Qt.MouseButton, stateKey: PySide6.QtCore.Qt.KeyboardModifier, pos: PySide6.QtCore.QPoint, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseMove(widget: PySide6.QtWidgets.QWidget, /, pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseMove(window: PySide6.QtGui.QWindow, /, pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mousePress(widget: PySide6.QtWidgets.QWidget, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mousePress(window: PySide6.QtGui.QWindow, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseRelease(widget: PySide6.QtWidgets.QWidget, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def mouseRelease(window: PySide6.QtGui.QWindow, button: PySide6.QtCore.Qt.MouseButton, /, stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., pos: PySide6.QtCore.QPoint = ..., delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def qCaught(expected: bytes | bytearray | memoryview, what: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> None: ...
@typing.overload
@staticmethod
def qCaught(expected: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> None: ...
@staticmethod
def qCleanup() -> None: ...
@staticmethod
def qElementData(elementName: bytes | bytearray | memoryview, metaTypeId: int, /) -> int: ...
@staticmethod
def qExpectFail(dataIndex: bytes | bytearray | memoryview, comment: bytes | bytearray | memoryview, mode: PySide6.QtTest.QTest.TestFailMode, file: bytes | bytearray | memoryview, line: int, /) -> bool: ...
@typing.overload
@staticmethod
def qFindTestData(basepath: str, /, file: bytes | bytearray | memoryview | None = ..., line: int | None = ..., builddir: bytes | bytearray | memoryview | None = ..., sourcedir: bytes | bytearray | memoryview | None = ...) -> str: ...
@typing.overload
@staticmethod
def qFindTestData(basepath: bytes | bytearray | memoryview, /, file: bytes | bytearray | memoryview | None = ..., line: int | None = ..., builddir: bytes | bytearray | memoryview | None = ..., sourcedir: bytes | bytearray | memoryview | None = ...) -> str: ...
@staticmethod
def qGlobalData(tagName: bytes | bytearray | memoryview, typeId: int, /) -> int: ...
@staticmethod
def qRun() -> int: ...
@staticmethod
def qSkip(message: bytes | bytearray | memoryview, file: bytes | bytearray | memoryview, line: int, /) -> None: ...
@staticmethod
def qSleep(ms: int, /) -> None: ...
@staticmethod
def qWait(ms: int, /) -> None: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(widget: PySide6.QtWidgets.QWidget, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(widget: PySide6.QtWidgets.QWidget, timeout: int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(widget: PySide6.QtWidgets.QWidget, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(window: PySide6.QtGui.QWindow, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(window: PySide6.QtGui.QWindow, timeout: int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowActive(window: PySide6.QtGui.QWindow, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(widget: PySide6.QtWidgets.QWidget, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(widget: PySide6.QtWidgets.QWidget, timeout: int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(widget: PySide6.QtWidgets.QWidget, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(window: PySide6.QtGui.QWindow, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(window: PySide6.QtGui.QWindow, timeout: int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowExposed(window: PySide6.QtGui.QWindow, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowFocused(widget: PySide6.QtWidgets.QWidget, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowFocused(widget: PySide6.QtWidgets.QWidget, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowFocused(window: PySide6.QtGui.QWindow, /) -> bool: ...
@typing.overload
@staticmethod
def qWaitForWindowFocused(window: PySide6.QtGui.QWindow, timeout: PySide6.QtCore.QDeadlineTimer | PySide6.QtCore.QDeadlineTimer.ForeverConstant | int, /) -> bool: ...
@staticmethod
def runningTest() -> bool: ...
@typing.overload
@staticmethod
def sendKeyEvent(action: PySide6.QtTest.QTest.KeyAction, widget: PySide6.QtWidgets.QWidget, code: PySide6.QtCore.Qt.Key, text: str, modifier: PySide6.QtCore.Qt.KeyboardModifier, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def sendKeyEvent(action: PySide6.QtTest.QTest.KeyAction, widget: PySide6.QtWidgets.QWidget, code: PySide6.QtCore.Qt.Key, ascii: int, modifier: PySide6.QtCore.Qt.KeyboardModifier, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def sendKeyEvent(action: PySide6.QtTest.QTest.KeyAction, window: PySide6.QtGui.QWindow, code: PySide6.QtCore.Qt.Key, text: str, modifier: PySide6.QtCore.Qt.KeyboardModifier, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def sendKeyEvent(action: PySide6.QtTest.QTest.KeyAction, window: PySide6.QtGui.QWindow, code: PySide6.QtCore.Qt.Key, ascii: int, modifier: PySide6.QtCore.Qt.KeyboardModifier, /, delay: int = ...) -> None: ...
@staticmethod
def setBenchmarkResult(result: float, metric: PySide6.QtTest.QTest.QBenchmarkMetric, /) -> None: ...
@staticmethod
def setMainSourcePath(file: bytes | bytearray | memoryview, /, builddir: bytes | bytearray | memoryview | None = ...) -> None: ...
@staticmethod
def setThrowOnFail(enable: bool, /) -> None: ...
@staticmethod
def setThrowOnSkip(enable: bool, /) -> None: ...
@typing.overload
@staticmethod
def simulateEvent(widget: PySide6.QtWidgets.QWidget, press: bool, code: int, modifier: PySide6.QtCore.Qt.KeyboardModifier, text: str, repeat: bool, /, delay: int = ...) -> None: ...
@typing.overload
@staticmethod
def simulateEvent(window: PySide6.QtGui.QWindow, press: bool, code: int, modifier: PySide6.QtCore.Qt.KeyboardModifier, text: str, repeat: bool, /, delay: int = ...) -> None: ...
@staticmethod
def testObject() -> PySide6.QtCore.QObject: ...
@staticmethod
def toPrettyCString(unicode: bytes | bytearray | memoryview, length: int, /) -> bytes | bytearray | memoryview: ...
@typing.overload
@staticmethod
def touchEvent(widget: PySide6.QtWidgets.QWidget, device: PySide6.QtGui.QPointingDevice, /, autoCommit: bool = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@typing.overload
@staticmethod
def touchEvent(window: PySide6.QtGui.QWindow, device: PySide6.QtGui.QPointingDevice, /, autoCommit: bool = ...) -> PySide6.QtTest.QTest.QTouchEventSequence: ...
@staticmethod
def wheelEvent(window: PySide6.QtGui.QWindow, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint, angleDelta: PySide6.QtCore.QPoint, /, pixelDelta: PySide6.QtCore.QPoint = ..., stateKey: PySide6.QtCore.Qt.KeyboardModifier = ..., phase: PySide6.QtCore.Qt.ScrollPhase = ...) -> None: ...
# eof
@@ -1,180 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtTextToSpeech, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtTextToSpeech`
import PySide6.QtTextToSpeech
import PySide6.QtCore
import enum
import typing
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QTextToSpeech(PySide6.QtCore.QObject):
aboutToSynthesize : typing.ClassVar[Signal] = ... # aboutToSynthesize(qsizetype)
engineChanged : typing.ClassVar[Signal] = ... # engineChanged(QString)
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QTextToSpeech::ErrorReason,QString)
localeChanged : typing.ClassVar[Signal] = ... # localeChanged(QLocale)
pitchChanged : typing.ClassVar[Signal] = ... # pitchChanged(double)
rateChanged : typing.ClassVar[Signal] = ... # rateChanged(double)
sayingWord : typing.ClassVar[Signal] = ... # sayingWord(QString,qsizetype,qsizetype,qsizetype)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QTextToSpeech::State)
voiceChanged : typing.ClassVar[Signal] = ... # voiceChanged(QVoice)
volumeChanged : typing.ClassVar[Signal] = ... # volumeChanged(double)
class BoundaryHint(enum.Enum):
Default = 0x0
Immediate = 0x1
Word = 0x2
Sentence = 0x3
Utterance = 0x4
class Capability(enum.Flag):
None_ = 0x0
Speak = 0x1
PauseResume = 0x2
WordByWordProgress = 0x4
Synthesize = 0x8
class ErrorReason(enum.Enum):
NoError = 0x0
Initialization = 0x1
Configuration = 0x2
Input = 0x3
Playback = 0x4
class State(enum.Enum):
Ready = 0x0
Speaking = 0x1
Paused = 0x2
Error = 0x3
Synthesizing = 0x4
@typing.overload
def __init__(self, engine: str, params: typing.Dict[str, typing.Any], /, parent: PySide6.QtCore.QObject | None = ..., *, state: PySide6.QtTextToSpeech.QTextToSpeech.State | None = ..., volume: float | None = ..., rate: float | None = ..., pitch: float | None = ..., locale: PySide6.QtCore.QLocale | None = ..., voice: PySide6.QtTextToSpeech.QVoice | None = ..., engineCapabilities: PySide6.QtTextToSpeech.QTextToSpeech.Capability | None = ...) -> None: ...
@typing.overload
def __init__(self, engine: str, /, parent: PySide6.QtCore.QObject | None = ..., *, state: PySide6.QtTextToSpeech.QTextToSpeech.State | None = ..., volume: float | None = ..., rate: float | None = ..., pitch: float | None = ..., locale: PySide6.QtCore.QLocale | None = ..., voice: PySide6.QtTextToSpeech.QVoice | None = ..., engineCapabilities: PySide6.QtTextToSpeech.QTextToSpeech.Capability | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, engine: str | None = ..., state: PySide6.QtTextToSpeech.QTextToSpeech.State | None = ..., volume: float | None = ..., rate: float | None = ..., pitch: float | None = ..., locale: PySide6.QtCore.QLocale | None = ..., voice: PySide6.QtTextToSpeech.QVoice | None = ..., engineCapabilities: PySide6.QtTextToSpeech.QTextToSpeech.Capability | None = ...) -> None: ...
def allVoices(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> typing.List[PySide6.QtTextToSpeech.QVoice]: ...
@staticmethod
def availableEngines() -> typing.List[str]: ...
def availableLocales(self, /) -> typing.List[PySide6.QtCore.QLocale]: ...
def availableVoices(self, /) -> typing.List[PySide6.QtTextToSpeech.QVoice]: ...
def engine(self, /) -> str: ...
def engineCapabilities(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.Capability: ...
def enqueue(self, text: str, /) -> int: ...
def errorReason(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.ErrorReason: ...
def errorString(self, /) -> str: ...
def locale(self, /) -> PySide6.QtCore.QLocale: ...
def pause(self, /, boundaryHint: PySide6.QtTextToSpeech.QTextToSpeech.BoundaryHint = ...) -> None: ...
def pitch(self, /) -> float: ...
def rate(self, /) -> float: ...
def resume(self, /) -> None: ...
def say(self, text: str, /) -> None: ...
def setEngine(self, engine: str, /, params: typing.Dict[str, typing.Any] = ...) -> bool: ...
def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
def setPitch(self, pitch: float, /) -> None: ...
def setRate(self, rate: float, /) -> None: ...
def setVoice(self, voice: PySide6.QtTextToSpeech.QVoice, /) -> None: ...
def setVolume(self, volume: float, /) -> None: ...
def state(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.State: ...
def stop(self, /, boundaryHint: PySide6.QtTextToSpeech.QTextToSpeech.BoundaryHint = ...) -> None: ...
def voice(self, /) -> PySide6.QtTextToSpeech.QVoice: ...
def volume(self, /) -> float: ...
class QTextToSpeechEngine(PySide6.QtCore.QObject):
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QTextToSpeech::ErrorReason,QString)
sayingWord : typing.ClassVar[Signal] = ... # sayingWord(QString,qsizetype,qsizetype)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QTextToSpeech::State)
synthesized : typing.ClassVar[Signal] = ... # synthesized(QAudioFormat,QByteArray)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def availableLocales(self, /) -> typing.List[PySide6.QtCore.QLocale]: ...
def availableVoices(self, /) -> typing.List[PySide6.QtTextToSpeech.QVoice]: ...
def capabilities(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.Capability: ...
@staticmethod
def createVoice(name: str, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, gender: PySide6.QtTextToSpeech.QVoice.Gender, age: PySide6.QtTextToSpeech.QVoice.Age, data: typing.Any, /) -> PySide6.QtTextToSpeech.QVoice: ...
def errorReason(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.ErrorReason: ...
def errorString(self, /) -> str: ...
def locale(self, /) -> PySide6.QtCore.QLocale: ...
def pause(self, boundaryHint: PySide6.QtTextToSpeech.QTextToSpeech.BoundaryHint, /) -> None: ...
def pitch(self, /) -> float: ...
def rate(self, /) -> float: ...
def resume(self, /) -> None: ...
def say(self, text: str, /) -> None: ...
def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> bool: ...
def setPitch(self, pitch: float, /) -> bool: ...
def setRate(self, rate: float, /) -> bool: ...
def setVoice(self, voice: PySide6.QtTextToSpeech.QVoice, /) -> bool: ...
def setVolume(self, volume: float, /) -> bool: ...
def state(self, /) -> PySide6.QtTextToSpeech.QTextToSpeech.State: ...
def stop(self, boundaryHint: PySide6.QtTextToSpeech.QTextToSpeech.BoundaryHint, /) -> None: ...
def synthesize(self, text: str, /) -> None: ...
def voice(self, /) -> PySide6.QtTextToSpeech.QVoice: ...
@staticmethod
def voiceData(voice: PySide6.QtTextToSpeech.QVoice, /) -> typing.Any: ...
def volume(self, /) -> float: ...
class QVoice(Shiboken.Object):
class Age(enum.Enum):
Child = 0x0
Teenager = 0x1
Adult = 0x2
Senior = 0x3
Other = 0x4
class Gender(enum.Enum):
Male = 0x0
Female = 0x1
Unknown = 0x2
@typing.overload
def __init__(self, other: PySide6.QtTextToSpeech.QVoice, /, *, name: str | None = ..., gender: PySide6.QtTextToSpeech.QVoice.Gender | None = ..., age: PySide6.QtTextToSpeech.QVoice.Age | None = ..., locale: PySide6.QtCore.QLocale | None = ..., language: PySide6.QtCore.QLocale.Language | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, name: str | None = ..., gender: PySide6.QtTextToSpeech.QVoice.Gender | None = ..., age: PySide6.QtTextToSpeech.QVoice.Age | None = ..., locale: PySide6.QtCore.QLocale | None = ..., language: PySide6.QtCore.QLocale.Language | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtTextToSpeech.QVoice, /) -> bool: ...
def __lshift__(self, str: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def __ne__(self, rhs: PySide6.QtTextToSpeech.QVoice, /) -> bool: ...
def __repr__(self, /) -> str: ...
def __rshift__(self, str: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
def age(self, /) -> PySide6.QtTextToSpeech.QVoice.Age: ...
@staticmethod
def ageName(age: PySide6.QtTextToSpeech.QVoice.Age, /) -> str: ...
def gender(self, /) -> PySide6.QtTextToSpeech.QVoice.Gender: ...
@staticmethod
def genderName(gender: PySide6.QtTextToSpeech.QVoice.Gender, /) -> str: ...
def language(self, /) -> PySide6.QtCore.QLocale.Language: ...
def locale(self, /) -> PySide6.QtCore.QLocale: ...
def name(self, /) -> str: ...
def swap(self, other: PySide6.QtTextToSpeech.QVoice, /) -> None: ...
# eof
@@ -1,53 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtUiTools, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtUiTools`
import PySide6.QtUiTools
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import os
import typing
class QIntList: ...
class QUiLoader(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def addPluginPath(self, path: str, /) -> None: ...
def availableLayouts(self, /) -> typing.List[str]: ...
def availableWidgets(self, /) -> typing.List[str]: ...
def clearPluginPaths(self, /) -> None: ...
def createAction(self, /, parent: PySide6.QtCore.QObject | None = ..., name: str = ...) -> PySide6.QtGui.QAction: ...
def createActionGroup(self, /, parent: PySide6.QtCore.QObject | None = ..., name: str = ...) -> PySide6.QtGui.QActionGroup: ...
def createLayout(self, className: str, /, parent: PySide6.QtCore.QObject | None = ..., name: str = ...) -> PySide6.QtWidgets.QLayout: ...
def createWidget(self, className: str, /, parent: PySide6.QtWidgets.QWidget | None = ..., name: str = ...) -> PySide6.QtWidgets.QWidget: ...
def errorString(self, /) -> str: ...
def isLanguageChangeEnabled(self, /) -> bool: ...
def isTranslationEnabled(self, /) -> bool: ...
@typing.overload
def load(self, device: PySide6.QtCore.QIODevice, /, parentWidget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtWidgets.QWidget: ...
@typing.overload
def load(self, arg__1: str | bytes | os.PathLike[str], /, parentWidget: PySide6.QtWidgets.QWidget | None = ...) -> PySide6.QtWidgets.QWidget: ...
def pluginPaths(self, /) -> typing.List[str]: ...
def registerCustomWidget(self, customWidgetType: object, /) -> None: ...
def setLanguageChangeEnabled(self, enabled: bool, /) -> None: ...
def setTranslationEnabled(self, enabled: bool, /) -> None: ...
def setWorkingDirectory(self, dir: PySide6.QtCore.QDir, /) -> None: ...
def workingDirectory(self, /) -> PySide6.QtCore.QDir: ...
def loadUiType(uifile: str, /) -> object: ...
# eof
@@ -1,48 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtWebChannel, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtWebChannel`
import PySide6.QtWebChannel
import PySide6.QtCore
import typing
from PySide6.QtCore import Signal
class QIntList: ...
class QWebChannel(PySide6.QtCore.QObject):
blockUpdatesChanged : typing.ClassVar[Signal] = ... # blockUpdatesChanged(bool)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, blockUpdates: bool | None = ..., propertyUpdateInterval: int | None = ...) -> None: ...
def blockUpdates(self, /) -> bool: ...
def connectTo(self, transport: PySide6.QtWebChannel.QWebChannelAbstractTransport, /) -> None: ...
def deregisterObject(self, object: PySide6.QtCore.QObject, /) -> None: ...
def disconnectFrom(self, transport: PySide6.QtWebChannel.QWebChannelAbstractTransport, /) -> None: ...
def propertyUpdateInterval(self, /) -> int: ...
def registerObject(self, id: str, object: PySide6.QtCore.QObject, /) -> None: ...
def registerObjects(self, objects: typing.Dict[str, PySide6.QtCore.QObject], /) -> None: ...
def registeredObjects(self, /) -> typing.Dict[str, PySide6.QtCore.QObject]: ...
def setBlockUpdates(self, block: bool, /) -> None: ...
def setPropertyUpdateInterval(self, ms: int, /) -> None: ...
class QWebChannelAbstractTransport(PySide6.QtCore.QObject):
messageReceived : typing.ClassVar[Signal] = ... # messageReceived(QJsonObject,QWebChannelAbstractTransport*)
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def sendMessage(self, message: typing.Dict[str, PySide6.QtCore.QJsonValue], /) -> None: ...
# eof
File diff suppressed because it is too large Load Diff
@@ -1,127 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtWebEngineQuick, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtWebEngineQuick`
import PySide6.QtWebEngineQuick
import PySide6.QtCore
import PySide6.QtWebEngineCore
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QQuickWebEngineDownloadRequest(PySide6.QtWebEngineCore.QWebEngineDownloadRequest):
def qt_qmlMarker_uncreatable(self, /) -> None: ...
class QQuickWebEngineProfile(PySide6.QtCore.QObject):
cachePathChanged : typing.ClassVar[Signal] = ... # cachePathChanged()
clearHttpCacheCompleted : typing.ClassVar[Signal] = ... # clearHttpCacheCompleted()
downloadFinished : typing.ClassVar[Signal] = ... # downloadFinished(QQuickWebEngineDownloadRequest*)
downloadPathChanged : typing.ClassVar[Signal] = ... # downloadPathChanged()
downloadRequested : typing.ClassVar[Signal] = ... # downloadRequested(QQuickWebEngineDownloadRequest*)
httpAcceptLanguageChanged: typing.ClassVar[Signal] = ... # httpAcceptLanguageChanged()
httpCacheMaximumSizeChanged: typing.ClassVar[Signal] = ... # httpCacheMaximumSizeChanged()
httpCacheTypeChanged : typing.ClassVar[Signal] = ... # httpCacheTypeChanged()
httpUserAgentChanged : typing.ClassVar[Signal] = ... # httpUserAgentChanged()
offTheRecordChanged : typing.ClassVar[Signal] = ... # offTheRecordChanged()
persistentCookiesPolicyChanged: typing.ClassVar[Signal] = ... # persistentCookiesPolicyChanged()
persistentPermissionsPolicyChanged: typing.ClassVar[Signal] = ... # persistentPermissionsPolicyChanged()
persistentStoragePathChanged: typing.ClassVar[Signal] = ... # persistentStoragePathChanged()
presentNotification : typing.ClassVar[Signal] = ... # presentNotification(QWebEngineNotification*)
pushServiceEnabledChanged: typing.ClassVar[Signal] = ... # pushServiceEnabledChanged()
spellCheckEnabledChanged : typing.ClassVar[Signal] = ... # spellCheckEnabledChanged()
spellCheckLanguagesChanged: typing.ClassVar[Signal] = ... # spellCheckLanguagesChanged()
storageNameChanged : typing.ClassVar[Signal] = ... # storageNameChanged()
class HttpCacheType(enum.Enum):
MemoryHttpCache = 0x0
DiskHttpCache = 0x1
NoCache = 0x2
class PersistentCookiesPolicy(enum.Enum):
NoPersistentCookies = 0x0
AllowPersistentCookies = 0x1
ForcePersistentCookies = 0x2
OnlyPersistentCookies = 0x3
class PersistentPermissionsPolicy(enum.Enum):
AskEveryTime = 0x0
StoreInMemory = 0x1
StoreOnDisk = 0x2
@typing.overload
def __init__(self, storageName: str, /, parent: PySide6.QtCore.QObject | None = ..., *, offTheRecord: bool | None = ..., persistentStoragePath: str | None = ..., cachePath: str | None = ..., httpUserAgent: str | None = ..., httpCacheType: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.HttpCacheType | None = ..., httpAcceptLanguage: str | None = ..., persistentCookiesPolicy: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentCookiesPolicy | None = ..., persistentPermissionsPolicy: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentPermissionsPolicy | None = ..., httpCacheMaximumSize: int | None = ..., spellCheckLanguages: collections.abc.Sequence[str] | None = ..., spellCheckEnabled: bool | None = ..., downloadPath: str | None = ..., isPushServiceEnabled: bool | None = ..., clientHints: PySide6.QtWebEngineCore.QWebEngineClientHints | None = ..., extensionManager: PySide6.QtWebEngineCore.QWebEngineExtensionManager | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, storageName: str | None = ..., offTheRecord: bool | None = ..., persistentStoragePath: str | None = ..., cachePath: str | None = ..., httpUserAgent: str | None = ..., httpCacheType: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.HttpCacheType | None = ..., httpAcceptLanguage: str | None = ..., persistentCookiesPolicy: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentCookiesPolicy | None = ..., persistentPermissionsPolicy: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentPermissionsPolicy | None = ..., httpCacheMaximumSize: int | None = ..., spellCheckLanguages: collections.abc.Sequence[str] | None = ..., spellCheckEnabled: bool | None = ..., downloadPath: str | None = ..., isPushServiceEnabled: bool | None = ..., clientHints: PySide6.QtWebEngineCore.QWebEngineClientHints | None = ..., extensionManager: PySide6.QtWebEngineCore.QWebEngineExtensionManager | None = ...) -> None: ...
def cachePath(self, /) -> str: ...
def clearHttpCache(self, /) -> None: ...
def clientCertificateStore(self, /) -> PySide6.QtWebEngineCore.QWebEngineClientCertificateStore: ...
def clientHints(self, /) -> PySide6.QtWebEngineCore.QWebEngineClientHints: ...
def cookieStore(self, /) -> PySide6.QtWebEngineCore.QWebEngineCookieStore: ...
@staticmethod
def defaultProfile() -> PySide6.QtWebEngineQuick.QQuickWebEngineProfile: ...
def downloadPath(self, /) -> str: ...
def extensionManager(self, /) -> PySide6.QtWebEngineCore.QWebEngineExtensionManager: ...
def httpAcceptLanguage(self, /) -> str: ...
def httpCacheMaximumSize(self, /) -> int: ...
def httpCacheType(self, /) -> PySide6.QtWebEngineQuick.QQuickWebEngineProfile.HttpCacheType: ...
def httpUserAgent(self, /) -> str: ...
def installUrlSchemeHandler(self, scheme: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, arg__2: PySide6.QtWebEngineCore.QWebEngineUrlSchemeHandler, /) -> None: ...
def isOffTheRecord(self, /) -> bool: ...
def isPushServiceEnabled(self, /) -> bool: ...
def isSpellCheckEnabled(self, /) -> bool: ...
def listAllPermissions(self, /) -> typing.List[PySide6.QtWebEngineCore.QWebEnginePermission]: ...
def listPermissionsForOrigin(self, securityOrigin: PySide6.QtCore.QUrl | str, /) -> typing.List[PySide6.QtWebEngineCore.QWebEnginePermission]: ...
def listPermissionsForPermissionType(self, permissionType: PySide6.QtWebEngineCore.QWebEnginePermission.PermissionType, /) -> typing.List[PySide6.QtWebEngineCore.QWebEnginePermission]: ...
def persistentCookiesPolicy(self, /) -> PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentCookiesPolicy: ...
def persistentPermissionsPolicy(self, /) -> PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentPermissionsPolicy: ...
def persistentStoragePath(self, /) -> str: ...
def queryPermission(self, securityOrigin: PySide6.QtCore.QUrl | str, permissionType: PySide6.QtWebEngineCore.QWebEnginePermission.PermissionType, /) -> PySide6.QtWebEngineCore.QWebEnginePermission: ...
def removeAllUrlSchemeHandlers(self, /) -> None: ...
def removeUrlScheme(self, scheme: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
def removeUrlSchemeHandler(self, arg__1: PySide6.QtWebEngineCore.QWebEngineUrlSchemeHandler, /) -> None: ...
def setCachePath(self, path: str, /) -> None: ...
def setDownloadPath(self, path: str, /) -> None: ...
def setHttpAcceptLanguage(self, httpAcceptLanguage: str, /) -> None: ...
def setHttpCacheMaximumSize(self, maxSize: int, /) -> None: ...
def setHttpCacheType(self, arg__1: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.HttpCacheType, /) -> None: ...
def setHttpUserAgent(self, userAgent: str, /) -> None: ...
def setOffTheRecord(self, offTheRecord: bool, /) -> None: ...
def setPersistentCookiesPolicy(self, arg__1: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentCookiesPolicy, /) -> None: ...
def setPersistentPermissionsPolicy(self, arg__1: PySide6.QtWebEngineQuick.QQuickWebEngineProfile.PersistentPermissionsPolicy, /) -> None: ...
def setPersistentStoragePath(self, path: str, /) -> None: ...
def setPushServiceEnabled(self, enable: bool, /) -> None: ...
def setSpellCheckEnabled(self, enabled: bool, /) -> None: ...
def setSpellCheckLanguages(self, languages: collections.abc.Sequence[str], /) -> None: ...
def setStorageName(self, name: str, /) -> None: ...
def setUrlRequestInterceptor(self, interceptor: PySide6.QtWebEngineCore.QWebEngineUrlRequestInterceptor, /) -> None: ...
def spellCheckLanguages(self, /) -> typing.List[str]: ...
def storageName(self, /) -> str: ...
def urlSchemeHandler(self, arg__1: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtWebEngineCore.QWebEngineUrlSchemeHandler: ...
class QtWebEngineQuick(Shiboken.Object):
@staticmethod
def initialize() -> None: ...
# eof
@@ -1,97 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtWebEngineWidgets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtWebEngineWidgets`
import PySide6.QtWebEngineWidgets
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets
import PySide6.QtPrintSupport
import PySide6.QtWebEngineCore
import typing
import collections.abc
from PySide6.QtCore import Signal
class QIntList: ...
class QWebEngineView(PySide6.QtWidgets.QWidget):
iconChanged : typing.ClassVar[Signal] = ... # iconChanged(QIcon)
iconUrlChanged : typing.ClassVar[Signal] = ... # iconUrlChanged(QUrl)
loadFinished : typing.ClassVar[Signal] = ... # loadFinished(bool)
loadProgress : typing.ClassVar[Signal] = ... # loadProgress(int)
loadStarted : typing.ClassVar[Signal] = ... # loadStarted()
pdfPrintingFinished : typing.ClassVar[Signal] = ... # pdfPrintingFinished(QString,bool)
printFinished : typing.ClassVar[Signal] = ... # printFinished(bool)
printRequested : typing.ClassVar[Signal] = ... # printRequested()
printRequestedByFrame : typing.ClassVar[Signal] = ... # printRequestedByFrame(QWebEngineFrame)
renderProcessTerminated : typing.ClassVar[Signal] = ... # renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus,int)
selectionChanged : typing.ClassVar[Signal] = ... # selectionChanged()
titleChanged : typing.ClassVar[Signal] = ... # titleChanged(QString)
urlChanged : typing.ClassVar[Signal] = ... # urlChanged(QUrl)
@typing.overload
def __init__(self, page: PySide6.QtWebEngineCore.QWebEnginePage, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, title: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., iconUrl: PySide6.QtCore.QUrl | None = ..., icon: PySide6.QtGui.QIcon | None = ..., selectedText: str | None = ..., hasSelection: bool | None = ..., zoomFactor: float | None = ...) -> None: ...
@typing.overload
def __init__(self, profile: PySide6.QtWebEngineCore.QWebEngineProfile, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, title: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., iconUrl: PySide6.QtCore.QUrl | None = ..., icon: PySide6.QtGui.QIcon | None = ..., selectedText: str | None = ..., hasSelection: bool | None = ..., zoomFactor: float | None = ...) -> None: ...
@typing.overload
def __init__(self, /, parent: PySide6.QtWidgets.QWidget | None = ..., *, title: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., iconUrl: PySide6.QtCore.QUrl | None = ..., icon: PySide6.QtGui.QIcon | None = ..., selectedText: str | None = ..., hasSelection: bool | None = ..., zoomFactor: float | None = ...) -> None: ...
def back(self, /) -> None: ...
def closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent, /) -> None: ...
def contextMenuEvent(self, arg__1: PySide6.QtGui.QContextMenuEvent, /) -> None: ...
def createStandardContextMenu(self, /) -> PySide6.QtWidgets.QMenu: ...
def createWindow(self, type: PySide6.QtWebEngineCore.QWebEnginePage.WebWindowType, /) -> PySide6.QtWebEngineWidgets.QWebEngineView: ...
def dragEnterEvent(self, e: PySide6.QtGui.QDragEnterEvent, /) -> None: ...
def dragLeaveEvent(self, e: PySide6.QtGui.QDragLeaveEvent, /) -> None: ...
def dragMoveEvent(self, e: PySide6.QtGui.QDragMoveEvent, /) -> None: ...
def dropEvent(self, e: PySide6.QtGui.QDropEvent, /) -> None: ...
def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
@typing.overload
def findText(self, subString: str, /, options: PySide6.QtWebEngineCore.QWebEnginePage.FindFlag = ...) -> None: ...
@typing.overload
def findText(self, subString: str, options: PySide6.QtWebEngineCore.QWebEnginePage.FindFlag, resultCallback: collections.abc.Callable[..., typing.Any], /) -> None: ...
@staticmethod
def forPage(page: PySide6.QtWebEngineCore.QWebEnginePage, /) -> PySide6.QtWebEngineWidgets.QWebEngineView: ...
def forward(self, /) -> None: ...
def hasSelection(self, /) -> bool: ...
def hideEvent(self, arg__1: PySide6.QtGui.QHideEvent, /) -> None: ...
def history(self, /) -> PySide6.QtWebEngineCore.QWebEngineHistory: ...
def icon(self, /) -> PySide6.QtGui.QIcon: ...
def iconUrl(self, /) -> PySide6.QtCore.QUrl: ...
def lastContextMenuRequest(self, /) -> PySide6.QtWebEngineCore.QWebEngineContextMenuRequest: ...
@typing.overload
def load(self, request: PySide6.QtWebEngineCore.QWebEngineHttpRequest, /) -> None: ...
@typing.overload
def load(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def page(self, /) -> PySide6.QtWebEngineCore.QWebEnginePage: ...
def pageAction(self, action: PySide6.QtWebEngineCore.QWebEnginePage.WebAction, /) -> PySide6.QtGui.QAction: ...
def print(self, printer: PySide6.QtPrintSupport.QPrinter, /) -> None: ...
def printToPdf(self, filePath: str, /, layout: PySide6.QtGui.QPageLayout = ..., ranges: PySide6.QtGui.QPageRanges = ...) -> None: ...
def reload(self, /) -> None: ...
def selectedText(self, /) -> str: ...
def setContent(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, mimeType: str = ..., baseUrl: PySide6.QtCore.QUrl | str = ...) -> None: ...
def setHtml(self, html: str, /, baseUrl: PySide6.QtCore.QUrl | str = ...) -> None: ...
def setPage(self, page: PySide6.QtWebEngineCore.QWebEnginePage, /) -> None: ...
def setUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def setZoomFactor(self, factor: float, /) -> None: ...
def settings(self, /) -> PySide6.QtWebEngineCore.QWebEngineSettings: ...
def showEvent(self, arg__1: PySide6.QtGui.QShowEvent, /) -> None: ...
def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
def stop(self, /) -> None: ...
def title(self, /) -> str: ...
def triggerPageAction(self, action: PySide6.QtWebEngineCore.QWebEnginePage.WebAction, /, checked: bool = ...) -> None: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
def zoomFactor(self, /) -> float: ...
# eof
@@ -1,238 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtWebSockets, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtWebSockets`
import PySide6.QtWebSockets
import PySide6.QtCore
import PySide6.QtNetwork
import os
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QMaskGenerator(PySide6.QtCore.QObject):
def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def nextMask(self, /) -> int: ...
def seed(self, /) -> bool: ...
class QWebSocket(PySide6.QtCore.QObject):
aboutToClose : typing.ClassVar[Signal] = ... # aboutToClose()
alertReceived : typing.ClassVar[Signal] = ... # alertReceived(QSsl::AlertLevel,QSsl::AlertType,QString)
alertSent : typing.ClassVar[Signal] = ... # alertSent(QSsl::AlertLevel,QSsl::AlertType,QString)
authenticationRequired : typing.ClassVar[Signal] = ... # authenticationRequired(QAuthenticator*)
binaryFrameReceived : typing.ClassVar[Signal] = ... # binaryFrameReceived(QByteArray,bool)
binaryMessageReceived : typing.ClassVar[Signal] = ... # binaryMessageReceived(QByteArray)
bytesWritten : typing.ClassVar[Signal] = ... # bytesWritten(qlonglong)
connected : typing.ClassVar[Signal] = ... # connected()
disconnected : typing.ClassVar[Signal] = ... # disconnected()
error : typing.ClassVar[Signal] = ... # error(QAbstractSocket::SocketError)
errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QAbstractSocket::SocketError)
handshakeInterruptedOnError: typing.ClassVar[Signal] = ... # handshakeInterruptedOnError(QSslError)
peerVerifyError : typing.ClassVar[Signal] = ... # peerVerifyError(QSslError)
pong : typing.ClassVar[Signal] = ... # pong(qulonglong,QByteArray)
preSharedKeyAuthenticationRequired: typing.ClassVar[Signal] = ... # preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator*)
proxyAuthenticationRequired: typing.ClassVar[Signal] = ... # proxyAuthenticationRequired(QNetworkProxy,QAuthenticator*)
readChannelFinished : typing.ClassVar[Signal] = ... # readChannelFinished()
sslErrors : typing.ClassVar[Signal] = ... # sslErrors(QList<QSslError>)
stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QAbstractSocket::SocketState)
textFrameReceived : typing.ClassVar[Signal] = ... # textFrameReceived(QString,bool)
textMessageReceived : typing.ClassVar[Signal] = ... # textMessageReceived(QString)
def __init__(self, /, origin: str = ..., version: PySide6.QtWebSockets.QWebSocketProtocol.Version = ..., parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def abort(self, /) -> None: ...
def bytesToWrite(self, /) -> int: ...
def close(self, /, closeCode: PySide6.QtWebSockets.QWebSocketProtocol.CloseCode = ..., reason: str = ...) -> None: ...
def closeCode(self, /) -> PySide6.QtWebSockets.QWebSocketProtocol.CloseCode: ...
def closeReason(self, /) -> str: ...
def continueInterruptedHandshake(self, /) -> None: ...
def errorString(self, /) -> str: ...
def flush(self, /) -> bool: ...
def handshakeOptions(self, /) -> PySide6.QtWebSockets.QWebSocketHandshakeOptions: ...
@typing.overload
def ignoreSslErrors(self, /) -> None: ...
@typing.overload
def ignoreSslErrors(self, errors: collections.abc.Sequence[PySide6.QtNetwork.QSslError], /) -> None: ...
def isValid(self, /) -> bool: ...
def localAddress(self, /) -> PySide6.QtNetwork.QHostAddress: ...
def localPort(self, /) -> int: ...
def maskGenerator(self, /) -> PySide6.QtWebSockets.QMaskGenerator: ...
def maxAllowedIncomingFrameSize(self, /) -> int: ...
def maxAllowedIncomingMessageSize(self, /) -> int: ...
@staticmethod
def maxIncomingFrameSize() -> int: ...
@staticmethod
def maxIncomingMessageSize() -> int: ...
@staticmethod
def maxOutgoingFrameSize() -> int: ...
@typing.overload
def open(self, request: PySide6.QtNetwork.QNetworkRequest, /) -> None: ...
@typing.overload
def open(self, request: PySide6.QtNetwork.QNetworkRequest, options: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> None: ...
@typing.overload
def open(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
@typing.overload
def open(self, url: PySide6.QtCore.QUrl | str, options: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> None: ...
def origin(self, /) -> str: ...
def outgoingFrameSize(self, /) -> int: ...
def pauseMode(self, /) -> PySide6.QtNetwork.QAbstractSocket.PauseMode: ...
def peerAddress(self, /) -> PySide6.QtNetwork.QHostAddress: ...
def peerName(self, /) -> str: ...
def peerPort(self, /) -> int: ...
def ping(self, /, payload: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
def proxy(self, /) -> PySide6.QtNetwork.QNetworkProxy: ...
def readBufferSize(self, /) -> int: ...
def request(self, /) -> PySide6.QtNetwork.QNetworkRequest: ...
def requestUrl(self, /) -> PySide6.QtCore.QUrl: ...
def resourceName(self, /) -> str: ...
def resume(self, /) -> None: ...
def sendBinaryMessage(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> int: ...
def sendTextMessage(self, message: str, /) -> int: ...
def setMaskGenerator(self, maskGenerator: PySide6.QtWebSockets.QMaskGenerator, /) -> None: ...
def setMaxAllowedIncomingFrameSize(self, maxAllowedIncomingFrameSize: int, /) -> None: ...
def setMaxAllowedIncomingMessageSize(self, maxAllowedIncomingMessageSize: int, /) -> None: ...
def setOutgoingFrameSize(self, outgoingFrameSize: int, /) -> None: ...
def setPauseMode(self, pauseMode: PySide6.QtNetwork.QAbstractSocket.PauseMode, /) -> None: ...
def setProxy(self, networkProxy: PySide6.QtNetwork.QNetworkProxy | PySide6.QtNetwork.QNetworkProxy.ProxyType, /) -> None: ...
def setReadBufferSize(self, size: int, /) -> None: ...
def setSslConfiguration(self, sslConfiguration: PySide6.QtNetwork.QSslConfiguration, /) -> None: ...
def sslConfiguration(self, /) -> PySide6.QtNetwork.QSslConfiguration: ...
def state(self, /) -> PySide6.QtNetwork.QAbstractSocket.SocketState: ...
def subprotocol(self, /) -> str: ...
def version(self, /) -> PySide6.QtWebSockets.QWebSocketProtocol.Version: ...
class QWebSocketCorsAuthenticator(Shiboken.Object):
@typing.overload
def __init__(self, other: PySide6.QtWebSockets.QWebSocketCorsAuthenticator, /) -> None: ...
@typing.overload
def __init__(self, origin: str, /) -> None: ...
def allowed(self, /) -> bool: ...
def origin(self, /) -> str: ...
def setAllowed(self, allowed: bool, /) -> None: ...
def swap(self, other: PySide6.QtWebSockets.QWebSocketCorsAuthenticator, /) -> None: ...
class QWebSocketHandshakeOptions(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, other: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> bool: ...
def setSubprotocols(self, protocols: collections.abc.Sequence[str], /) -> None: ...
def subprotocols(self, /) -> typing.List[str]: ...
def swap(self, other: PySide6.QtWebSockets.QWebSocketHandshakeOptions, /) -> None: ...
class QWebSocketProtocol(Shiboken.Object):
class CloseCode(enum.Enum):
CloseCodeNormal = 0x3e8
CloseCodeGoingAway = 0x3e9
CloseCodeProtocolError = 0x3ea
CloseCodeDatatypeNotSupported = 0x3eb
CloseCodeReserved1004 = 0x3ec
CloseCodeMissingStatusCode = 0x3ed
CloseCodeAbnormalDisconnection = 0x3ee
CloseCodeWrongDatatype = 0x3ef
CloseCodePolicyViolated = 0x3f0
CloseCodeTooMuchData = 0x3f1
CloseCodeMissingExtension = 0x3f2
CloseCodeBadOperation = 0x3f3
CloseCodeTlsHandshakeFailed = 0x3f7
class Version(enum.Enum):
VersionUnknown = -1
Version0 = 0x0
Version4 = 0x4
Version5 = 0x5
Version6 = 0x6
Version7 = 0x7
Version8 = 0x8
Version13 = 0xd
VersionLatest = 0xd
class QWebSocketServer(PySide6.QtCore.QObject):
acceptError : typing.ClassVar[Signal] = ... # acceptError(QAbstractSocket::SocketError)
alertReceived : typing.ClassVar[Signal] = ... # alertReceived(QSsl::AlertLevel,QSsl::AlertType,QString)
alertSent : typing.ClassVar[Signal] = ... # alertSent(QSsl::AlertLevel,QSsl::AlertType,QString)
closed : typing.ClassVar[Signal] = ... # closed()
handshakeInterruptedOnError: typing.ClassVar[Signal] = ... # handshakeInterruptedOnError(QSslError)
newConnection : typing.ClassVar[Signal] = ... # newConnection()
originAuthenticationRequired: typing.ClassVar[Signal] = ... # originAuthenticationRequired(QWebSocketCorsAuthenticator*)
peerVerifyError : typing.ClassVar[Signal] = ... # peerVerifyError(QSslError)
preSharedKeyAuthenticationRequired: typing.ClassVar[Signal] = ... # preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator*)
serverError : typing.ClassVar[Signal] = ... # serverError(QWebSocketProtocol::CloseCode)
sslErrors : typing.ClassVar[Signal] = ... # sslErrors(QList<QSslError>)
sslErrorsOccurred : typing.ClassVar[Signal] = ... # sslErrorsOccurred(QSslSocket*,QList<QSslError>)
class SslMode(enum.Enum):
SecureMode = 0x0
NonSecureMode = 0x1
def __init__(self, serverName: str, secureMode: PySide6.QtWebSockets.QWebSocketServer.SslMode, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
def close(self, /) -> None: ...
def error(self, /) -> PySide6.QtWebSockets.QWebSocketProtocol.CloseCode: ...
def errorString(self, /) -> str: ...
def handleConnection(self, socket: PySide6.QtNetwork.QTcpSocket, /) -> None: ...
def handshakeTimeout(self, /) -> int: ...
def handshakeTimeoutMS(self, /) -> int: ...
def hasPendingConnections(self, /) -> bool: ...
def isListening(self, /) -> bool: ...
def listen(self, /, address: PySide6.QtNetwork.QHostAddress | PySide6.QtNetwork.QHostAddress.SpecialAddress = ..., port: int | None = ...) -> bool: ...
def maxPendingConnections(self, /) -> int: ...
def nativeDescriptor(self, /) -> int: ...
def nextPendingConnection(self, /) -> PySide6.QtWebSockets.QWebSocket: ...
def pauseAccepting(self, /) -> None: ...
def proxy(self, /) -> PySide6.QtNetwork.QNetworkProxy: ...
def resumeAccepting(self, /) -> None: ...
def secureMode(self, /) -> PySide6.QtWebSockets.QWebSocketServer.SslMode: ...
def serverAddress(self, /) -> PySide6.QtNetwork.QHostAddress: ...
def serverName(self, /) -> str: ...
def serverPort(self, /) -> int: ...
def serverUrl(self, /) -> PySide6.QtCore.QUrl: ...
def setHandshakeTimeout(self, msec: int, /) -> None: ...
def setMaxPendingConnections(self, numConnections: int, /) -> None: ...
def setNativeDescriptor(self, descriptor: int, /) -> bool: ...
def setProxy(self, networkProxy: PySide6.QtNetwork.QNetworkProxy | PySide6.QtNetwork.QNetworkProxy.ProxyType, /) -> None: ...
def setServerName(self, serverName: str, /) -> None: ...
def setSocketDescriptor(self, socketDescriptor: int, /) -> bool: ...
def setSslConfiguration(self, sslConfiguration: PySide6.QtNetwork.QSslConfiguration, /) -> None: ...
def setSupportedSubprotocols(self, protocols: collections.abc.Sequence[str], /) -> None: ...
def socketDescriptor(self, /) -> int: ...
def sslConfiguration(self, /) -> PySide6.QtNetwork.QSslConfiguration: ...
def supportedSubprotocols(self, /) -> typing.List[str]: ...
def supportedVersions(self, /) -> typing.List[PySide6.QtWebSockets.QWebSocketProtocol.Version]: ...
# eof
@@ -1,103 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtWebView, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtWebView`
import PySide6.QtWebView
import PySide6.QtCore
import PySide6.QtGui
import enum
import typing
import collections.abc
from PySide6.QtCore import Signal
from shiboken6 import Shiboken
class QIntList: ...
class QWebView(PySide6.QtGui.QWindow):
cookieAdded : typing.ClassVar[Signal] = ... # cookieAdded(QString,QString)
cookieRemoved : typing.ClassVar[Signal] = ... # cookieRemoved(QString,QString)
httpUserAgentStringChanged: typing.ClassVar[Signal] = ... # httpUserAgentStringChanged(QString)
loadProgressChanged : typing.ClassVar[Signal] = ... # loadProgressChanged(int)
loadingChanged : typing.ClassVar[Signal] = ... # loadingChanged(QWebViewLoadingInfo)
titleChanged : typing.ClassVar[Signal] = ... # titleChanged(QString)
urlChanged : typing.ClassVar[Signal] = ... # urlChanged(QUrl)
@typing.overload
def __init__(self, parent: PySide6.QtGui.QWindow, /, *, httpUserAgentString: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., loading: bool | None = ..., loadProgress: int | None = ..., title: str | None = ..., settings: PySide6.QtWebView.QWebViewSettings | None = ...) -> None: ...
@typing.overload
def __init__(self, /, screen: PySide6.QtGui.QScreen | None = ..., *, httpUserAgentString: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., loading: bool | None = ..., loadProgress: int | None = ..., title: str | None = ..., settings: PySide6.QtWebView.QWebViewSettings | None = ...) -> None: ...
def canGoBack(self, /) -> bool: ...
def canGoForward(self, /) -> bool: ...
def deleteAllCookies(self, /) -> None: ...
def deleteCookie(self, domain: str, name: str, /) -> None: ...
def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
def goBack(self, /) -> None: ...
def goForward(self, /) -> None: ...
def httpUserAgentString(self, /) -> str: ...
def isLoading(self, /) -> bool: ...
def loadHtml(self, html: str, /, baseUrl: PySide6.QtCore.QUrl | str = ...) -> None: ...
def loadProgress(self, /) -> int: ...
def reload(self, /) -> None: ...
def runJavaScript(self, scriptSource: str, resultCallback: collections.abc.Callable[..., typing.Any], /) -> None: ...
def setCookie(self, domain: str, name: str, value: str, /) -> None: ...
def setHttpUserAgentString(self, httpUserAgent: str, /) -> None: ...
def setUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
def settings(self, /) -> PySide6.QtWebView.QWebViewSettings: ...
def stop(self, /) -> None: ...
def title(self, /) -> str: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
class QWebViewLoadingInfo(Shiboken.Object):
class LoadStatus(enum.Enum):
Started = 0x0
Stopped = 0x1
Succeeded = 0x2
Failed = 0x3
@typing.overload
def __init__(self, other: PySide6.QtWebView.QWebViewLoadingInfo, /, *, url: PySide6.QtCore.QUrl | None = ..., status: PySide6.QtWebView.QWebViewLoadingInfo.LoadStatus | None = ..., errorString: str | None = ...) -> None: ...
@typing.overload
def __init__(self, /, *, url: PySide6.QtCore.QUrl | None = ..., status: PySide6.QtWebView.QWebViewLoadingInfo.LoadStatus | None = ..., errorString: str | None = ...) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def errorString(self, /) -> str: ...
def status(self, /) -> PySide6.QtWebView.QWebViewLoadingInfo.LoadStatus: ...
def swap(self, other: PySide6.QtWebView.QWebViewLoadingInfo, /) -> None: ...
def url(self, /) -> PySide6.QtCore.QUrl: ...
class QWebViewSettings(Shiboken.Object):
class WebAttribute(enum.Enum):
LocalStorageEnabled = 0x0
JavaScriptEnabled = 0x1
AllowFileAccess = 0x2
LocalContentCanAccessFileUrls = 0x3
def setAttribute(self, attribute: PySide6.QtWebView.QWebViewSettings.WebAttribute, value: bool, /) -> None: ...
def testAttribute(self, attribute: PySide6.QtWebView.QWebViewSettings.WebAttribute, /) -> bool: ...
class QtWebView(Shiboken.Object):
@staticmethod
def initialize() -> None: ...
# eof
File diff suppressed because it is too large Load Diff
-454
View File
@@ -1,454 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
"""
This file contains the exact signatures for all functions in module
PySide6.QtXml, except for defaults which are replaced by "...".
"""
# mypy: disable-error-code="override, overload-overlap"
# Module `PySide6.QtXml`
import PySide6.QtXml
import PySide6.QtCore
import enum
import typing
from shiboken6 import Shiboken
class QDomAttr(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, attr: PySide6.QtXml.QDomAttr, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def name(self, /) -> str: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def ownerElement(self, /) -> PySide6.QtXml.QDomElement: ...
def setValue(self, value: str, /) -> None: ...
def specified(self, /) -> bool: ...
def value(self, /) -> str: ...
class QDomCDATASection(PySide6.QtXml.QDomText):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, cdataSection: PySide6.QtXml.QDomCDATASection, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
class QDomCharacterData(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, characterData: PySide6.QtXml.QDomCharacterData, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def appendData(self, arg: str, /) -> None: ...
def data(self, /) -> str: ...
def deleteData(self, offset: int, count: int, /) -> None: ...
def insertData(self, offset: int, arg: str, /) -> None: ...
def length(self, /) -> int: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def replaceData(self, offset: int, count: int, arg: str, /) -> None: ...
def setData(self, data: str, /) -> None: ...
def substringData(self, offset: int, count: int, /) -> str: ...
class QDomComment(PySide6.QtXml.QDomCharacterData):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, comment: PySide6.QtXml.QDomComment, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
class QDomDocument(PySide6.QtXml.QDomNode):
class ParseOption(enum.Flag):
Default = 0x0
UseNamespaceProcessing = 0x1
PreserveSpacingOnlyNodes = 0x2
class ParseResult(Shiboken.Object):
errorColumn = ... # type: int
errorLine = ... # type: int
errorMessage = ... # type: str
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, ParseResult: PySide6.QtXml.QDomDocument.ParseResult, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, document: PySide6.QtXml.QDomDocument, /) -> None: ...
@typing.overload
def __init__(self, doctype: PySide6.QtXml.QDomDocumentType, /) -> None: ...
@typing.overload
def __init__(self, name: str, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def createAttribute(self, name: str, /) -> PySide6.QtXml.QDomAttr: ...
def createAttributeNS(self, nsURI: str, qName: str, /) -> PySide6.QtXml.QDomAttr: ...
def createCDATASection(self, data: str, /) -> PySide6.QtXml.QDomCDATASection: ...
def createComment(self, data: str, /) -> PySide6.QtXml.QDomComment: ...
def createDocumentFragment(self, /) -> PySide6.QtXml.QDomDocumentFragment: ...
def createElement(self, tagName: str, /) -> PySide6.QtXml.QDomElement: ...
def createElementNS(self, nsURI: str, qName: str, /) -> PySide6.QtXml.QDomElement: ...
def createEntityReference(self, name: str, /) -> PySide6.QtXml.QDomEntityReference: ...
def createProcessingInstruction(self, target: str, data: str, /) -> PySide6.QtXml.QDomProcessingInstruction: ...
def createTextNode(self, data: str, /) -> PySide6.QtXml.QDomText: ...
def doctype(self, /) -> PySide6.QtXml.QDomDocumentType: ...
def documentElement(self, /) -> PySide6.QtXml.QDomElement: ...
def elementById(self, elementId: str, /) -> PySide6.QtXml.QDomElement: ...
def elementsByTagName(self, tagname: str, /) -> PySide6.QtXml.QDomNodeList: ...
def elementsByTagNameNS(self, nsURI: str, localName: str, /) -> PySide6.QtXml.QDomNodeList: ...
def implementation(self, /) -> PySide6.QtXml.QDomImplementation: ...
def importNode(self, importedNode: PySide6.QtXml.QDomNode, deep: bool, /) -> PySide6.QtXml.QDomNode: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
@typing.overload
def setContent(self, dev: PySide6.QtCore.QIODevice, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, device: PySide6.QtCore.QIODevice, /, options: PySide6.QtXml.QDomDocument.ParseOption = ...) -> PySide6.QtXml.QDomDocument.ParseResult: ...
@typing.overload
def setContent(self, dev: PySide6.QtCore.QIODevice, namespaceProcessing: bool, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, reader: PySide6.QtCore.QXmlStreamReader, /, options: PySide6.QtXml.QDomDocument.ParseOption = ...) -> PySide6.QtXml.QDomDocument.ParseResult: ...
@typing.overload
def setContent(self, reader: PySide6.QtCore.QXmlStreamReader, namespaceProcessing: bool, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, text: str, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, data: str, /, options: PySide6.QtXml.QDomDocument.ParseOption = ...) -> PySide6.QtXml.QDomDocument.ParseResult: ...
@typing.overload
def setContent(self, text: str, namespaceProcessing: bool, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, text: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.Tuple[bool, str, int, int]: ...
@typing.overload
def setContent(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, options: PySide6.QtXml.QDomDocument.ParseOption = ...) -> PySide6.QtXml.QDomDocument.ParseResult: ...
@typing.overload
def setContent(self, text: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, namespaceProcessing: bool, /) -> typing.Tuple[bool, str, int, int]: ...
def toByteArray(self, /, indent: int = ...) -> PySide6.QtCore.QByteArray: ...
def toString(self, /, indent: int = ...) -> str: ...
class QDomDocumentFragment(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, documentFragment: PySide6.QtXml.QDomDocumentFragment, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
class QDomDocumentType(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, documentType: PySide6.QtXml.QDomDocumentType, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def entities(self, /) -> PySide6.QtXml.QDomNamedNodeMap: ...
def internalSubset(self, /) -> str: ...
def name(self, /) -> str: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def notations(self, /) -> PySide6.QtXml.QDomNamedNodeMap: ...
def publicId(self, /) -> str: ...
def systemId(self, /) -> str: ...
class QDomElement(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, element: PySide6.QtXml.QDomElement, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def attribute(self, name: str, /, defValue: str = ...) -> str: ...
def attributeNS(self, nsURI: str, localName: str, /, defValue: str = ...) -> str: ...
def attributeNode(self, name: str, /) -> PySide6.QtXml.QDomAttr: ...
def attributeNodeNS(self, nsURI: str, localName: str, /) -> PySide6.QtXml.QDomAttr: ...
def attributes(self, /) -> PySide6.QtXml.QDomNamedNodeMap: ...
def elementsByTagName(self, tagname: str, /) -> PySide6.QtXml.QDomNodeList: ...
def elementsByTagNameNS(self, nsURI: str, localName: str, /) -> PySide6.QtXml.QDomNodeList: ...
def hasAttribute(self, name: str, /) -> bool: ...
def hasAttributeNS(self, nsURI: str, localName: str, /) -> bool: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def removeAttribute(self, name: str, /) -> None: ...
def removeAttributeNS(self, nsURI: str, localName: str, /) -> None: ...
def removeAttributeNode(self, oldAttr: PySide6.QtXml.QDomAttr, /) -> PySide6.QtXml.QDomAttr: ...
@typing.overload
def setAttribute(self, name: str, value: str, /) -> None: ...
@typing.overload
def setAttribute(self, name: str, value: int, /) -> None: ...
@typing.overload
def setAttribute(self, name: str, value: float, /) -> None: ...
@typing.overload
def setAttributeNS(self, nsURI: str, qName: str, value: str, /) -> None: ...
@typing.overload
def setAttributeNS(self, nsURI: str, qName: str, value: int, /) -> None: ...
@typing.overload
def setAttributeNS(self, nsURI: str, qName: str, value: float, /) -> None: ...
def setAttributeNode(self, newAttr: PySide6.QtXml.QDomAttr, /) -> PySide6.QtXml.QDomAttr: ...
def setAttributeNodeNS(self, newAttr: PySide6.QtXml.QDomAttr, /) -> PySide6.QtXml.QDomAttr: ...
def setTagName(self, name: str, /) -> None: ...
def tagName(self, /) -> str: ...
def text(self, /) -> str: ...
class QDomEntity(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, entity: PySide6.QtXml.QDomEntity, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def notationName(self, /) -> str: ...
def publicId(self, /) -> str: ...
def systemId(self, /) -> str: ...
class QDomEntityReference(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, entityReference: PySide6.QtXml.QDomEntityReference, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
class QDomImplementation(Shiboken.Object):
class InvalidDataPolicy(enum.Enum):
AcceptInvalidChars = 0x0
DropInvalidChars = 0x1
ReturnNullNode = 0x2
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, implementation: PySide6.QtXml.QDomImplementation, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtXml.QDomImplementation, /) -> bool: ...
def __ne__(self, other: PySide6.QtXml.QDomImplementation, /) -> bool: ...
def createDocument(self, nsURI: str, qName: str, doctype: PySide6.QtXml.QDomDocumentType, /) -> PySide6.QtXml.QDomDocument: ...
def createDocumentType(self, qName: str, publicId: str, systemId: str, /) -> PySide6.QtXml.QDomDocumentType: ...
def hasFeature(self, feature: str, version: str, /) -> bool: ...
@staticmethod
def invalidDataPolicy() -> PySide6.QtXml.QDomImplementation.InvalidDataPolicy: ...
def isNull(self, /) -> bool: ...
@staticmethod
def setInvalidDataPolicy(policy: PySide6.QtXml.QDomImplementation.InvalidDataPolicy, /) -> None: ...
class QDomNamedNodeMap(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, namedNodeMap: PySide6.QtXml.QDomNamedNodeMap, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtXml.QDomNamedNodeMap, /) -> bool: ...
def __ne__(self, other: PySide6.QtXml.QDomNamedNodeMap, /) -> bool: ...
def contains(self, name: str, /) -> bool: ...
def count(self, /) -> int: ...
def isEmpty(self, /) -> bool: ...
def item(self, index: int, /) -> PySide6.QtXml.QDomNode: ...
def length(self, /) -> int: ...
def namedItem(self, name: str, /) -> PySide6.QtXml.QDomNode: ...
def namedItemNS(self, nsURI: str, localName: str, /) -> PySide6.QtXml.QDomNode: ...
def removeNamedItem(self, name: str, /) -> PySide6.QtXml.QDomNode: ...
def removeNamedItemNS(self, nsURI: str, localName: str, /) -> PySide6.QtXml.QDomNode: ...
def setNamedItem(self, newNode: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def setNamedItemNS(self, newNode: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def size(self, /) -> int: ...
class QDomNode(Shiboken.Object):
class EncodingPolicy(enum.Enum):
EncodingFromDocument = 0x1
EncodingFromTextStream = 0x2
class NodeType(enum.Enum):
ElementNode = 0x1
AttributeNode = 0x2
TextNode = 0x3
CDATASectionNode = 0x4
EntityReferenceNode = 0x5
EntityNode = 0x6
ProcessingInstructionNode = 0x7
CommentNode = 0x8
DocumentNode = 0x9
DocumentTypeNode = 0xa
DocumentFragmentNode = 0xb
NotationNode = 0xc
BaseNode = 0x15
CharacterDataNode = 0x16
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, node: PySide6.QtXml.QDomNode, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, other: PySide6.QtXml.QDomNode, /) -> bool: ...
def __lshift__(self, stream: PySide6.QtCore.QTextStream, /) -> PySide6.QtCore.QTextStream: ...
def __ne__(self, other: PySide6.QtXml.QDomNode, /) -> bool: ...
def appendChild(self, newChild: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def attributes(self, /) -> PySide6.QtXml.QDomNamedNodeMap: ...
def childNodes(self, /) -> PySide6.QtXml.QDomNodeList: ...
def clear(self, /) -> None: ...
def cloneNode(self, /, deep: bool = ...) -> PySide6.QtXml.QDomNode: ...
def columnNumber(self, /) -> int: ...
def firstChild(self, /) -> PySide6.QtXml.QDomNode: ...
def firstChildElement(self, /, tagName: str = ..., namespaceURI: str = ...) -> PySide6.QtXml.QDomElement: ...
def hasAttributes(self, /) -> bool: ...
def hasChildNodes(self, /) -> bool: ...
def insertAfter(self, newChild: PySide6.QtXml.QDomNode, refChild: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def insertBefore(self, newChild: PySide6.QtXml.QDomNode, refChild: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def isAttr(self, /) -> bool: ...
def isCDATASection(self, /) -> bool: ...
def isCharacterData(self, /) -> bool: ...
def isComment(self, /) -> bool: ...
def isDocument(self, /) -> bool: ...
def isDocumentFragment(self, /) -> bool: ...
def isDocumentType(self, /) -> bool: ...
def isElement(self, /) -> bool: ...
def isEntity(self, /) -> bool: ...
def isEntityReference(self, /) -> bool: ...
def isNotation(self, /) -> bool: ...
def isNull(self, /) -> bool: ...
def isProcessingInstruction(self, /) -> bool: ...
def isSupported(self, feature: str, version: str, /) -> bool: ...
def isText(self, /) -> bool: ...
def lastChild(self, /) -> PySide6.QtXml.QDomNode: ...
def lastChildElement(self, /, tagName: str = ..., namespaceURI: str = ...) -> PySide6.QtXml.QDomElement: ...
def lineNumber(self, /) -> int: ...
def localName(self, /) -> str: ...
def namedItem(self, name: str, /) -> PySide6.QtXml.QDomNode: ...
def namespaceURI(self, /) -> str: ...
def nextSibling(self, /) -> PySide6.QtXml.QDomNode: ...
def nextSiblingElement(self, /, taName: str = ..., namespaceURI: str = ...) -> PySide6.QtXml.QDomElement: ...
def nodeName(self, /) -> str: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def nodeValue(self, /) -> str: ...
def normalize(self, /) -> None: ...
def ownerDocument(self, /) -> PySide6.QtXml.QDomDocument: ...
def parentNode(self, /) -> PySide6.QtXml.QDomNode: ...
def prefix(self, /) -> str: ...
def previousSibling(self, /) -> PySide6.QtXml.QDomNode: ...
def previousSiblingElement(self, /, tagName: str = ..., namespaceURI: str = ...) -> PySide6.QtXml.QDomElement: ...
def removeChild(self, oldChild: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def replaceChild(self, newChild: PySide6.QtXml.QDomNode, oldChild: PySide6.QtXml.QDomNode, /) -> PySide6.QtXml.QDomNode: ...
def save(self, arg__1: PySide6.QtCore.QTextStream, arg__2: int, /, arg__3: PySide6.QtXml.QDomNode.EncodingPolicy = ...) -> None: ...
def setNodeValue(self, value: str, /) -> None: ...
def setPrefix(self, pre: str, /) -> None: ...
def toAttr(self, /) -> PySide6.QtXml.QDomAttr: ...
def toCDATASection(self, /) -> PySide6.QtXml.QDomCDATASection: ...
def toCharacterData(self, /) -> PySide6.QtXml.QDomCharacterData: ...
def toComment(self, /) -> PySide6.QtXml.QDomComment: ...
def toDocument(self, /) -> PySide6.QtXml.QDomDocument: ...
def toDocumentFragment(self, /) -> PySide6.QtXml.QDomDocumentFragment: ...
def toDocumentType(self, /) -> PySide6.QtXml.QDomDocumentType: ...
def toElement(self, /) -> PySide6.QtXml.QDomElement: ...
def toEntity(self, /) -> PySide6.QtXml.QDomEntity: ...
def toEntityReference(self, /) -> PySide6.QtXml.QDomEntityReference: ...
def toNotation(self, /) -> PySide6.QtXml.QDomNotation: ...
def toProcessingInstruction(self, /) -> PySide6.QtXml.QDomProcessingInstruction: ...
def toText(self, /) -> PySide6.QtXml.QDomText: ...
class QDomNodeList(Shiboken.Object):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, nodeList: PySide6.QtXml.QDomNodeList, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def __eq__(self, rhs: PySide6.QtXml.QDomNodeList, /) -> bool: ...
def __ne__(self, rhs: PySide6.QtXml.QDomNodeList, /) -> bool: ...
def at(self, index: int, /) -> PySide6.QtXml.QDomNode: ...
def count(self, /) -> int: ...
def isEmpty(self, /) -> bool: ...
def item(self, index: int, /) -> PySide6.QtXml.QDomNode: ...
def length(self, /) -> int: ...
def size(self, /) -> int: ...
class QDomNotation(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, notation: PySide6.QtXml.QDomNotation, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def publicId(self, /) -> str: ...
def systemId(self, /) -> str: ...
class QDomProcessingInstruction(PySide6.QtXml.QDomNode):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, processingInstruction: PySide6.QtXml.QDomProcessingInstruction, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def data(self, /) -> str: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def setData(self, data: str, /) -> None: ...
def target(self, /) -> str: ...
class QDomText(PySide6.QtXml.QDomCharacterData):
@typing.overload
def __init__(self, /) -> None: ...
@typing.overload
def __init__(self, text: PySide6.QtXml.QDomText, /) -> None: ...
def __copy__(self, /) -> typing.Self: ...
def nodeType(self, /) -> PySide6.QtXml.QDomNode.NodeType: ...
def splitText(self, offset: int, /) -> PySide6.QtXml.QDomText: ...
class QIntList: ...
# eof
@@ -1,10 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
snake_case = 0x01
true_property = 0x02
all_feature_names = [
"snake_case",
"true_property",
]
-144
View File
@@ -1,144 +0,0 @@
import os
import sys
from pathlib import Path
from types import ModuleType
# mypy: disable-error-code="name-defined"
# __all__ is computed below.
__pre_all__ = ["QtCore", "QtGui", "QtWidgets", "QtPrintSupport", "QtSql", "QtNetwork", "QtTest", "QtConcurrent", "QtDBus", "QtDesigner", "QtXml", "QtHelp", "QtMultimedia", "QtMultimediaWidgets", "QtOpenGL", "QtOpenGLWidgets", "QtPdf", "QtPdfWidgets", "QtPositioning", "QtLocation", "QtNetworkAuth", "QtNfc", "QtQml", "QtQuick", "QtQuick3D", "QtQuickControls2", "QtCanvasPainter", "QtQuickTest", "QtQuickWidgets", "QtRemoteObjects", "QtScxml", "QtSensors", "QtSerialPort", "QtSerialBus", "QtStateMachine", "QtTextToSpeech", "QtCharts", "QtSpatialAudio", "QtSvg", "QtSvgWidgets", "QtDataVisualization", "QtGraphs", "QtGraphsWidgets", "QtBluetooth", "QtUiTools", "QtAxContainer", "QtWebChannel", "QtWebEngineCore", "QtWebEngineWidgets", "QtWebEngineQuick", "QtWebSockets", "QtHttpServer", "QtWebView", "Qt3DCore", "Qt3DRender", "Qt3DInput", "Qt3DLogic", "Qt3DAnimation", "Qt3DExtras"]
__version__ = "6.11.0"
__version_info__ = (6, 11, 0, "", "")
SKIP_MYPY_TEST = bool("")
def _additional_dll_directories(package_dir):
# Find shiboken6 relative to the package directory.
root = Path(package_dir).parent
# Check for a flat .zip as deployed by cx_free(PYSIDE-1257)
if root.suffix == '.zip':
return []
shiboken6 = root / 'shiboken6'
if shiboken6.is_dir(): # Standard case, only shiboken6 is needed
return [shiboken6]
# The below code is for the build process when generate_pyi.py
# is executed in the build directory. We need libpyside and Qt in addition.
shiboken6 = Path(root).parent / 'shiboken6' / 'libshiboken'
if not shiboken6.is_dir():
raise ImportError(str(shiboken6) + ' does not exist')
result = [shiboken6, root / 'libpyside']
libpysideqml = root / 'libpysideqml'
if libpysideqml.is_dir():
result.append(libpysideqml)
for path in os.environ.get('PATH').split(';'):
if path:
if (Path(path) / 'qmake.exe').exists():
result.append(path)
break
return result
def _setupQtDirectories():
# On Windows we need to explicitly import the shiboken6 module so
# that the libshiboken.dll dependency is loaded by the time a
# Qt module is imported. Otherwise due to PATH not containing
# the shiboken6 module path, the Qt module import would fail
# due to the missing libshiboken dll.
# In addition, as of Python 3.8, the shiboken package directory
# must be added to the DLL search paths so that shiboken6.dll
# is found.
# We need to do the same on Linux and macOS, because we do not
# embed rpaths into the PySide6 libraries that would point to
# the libshiboken library location. Importing the module
# loads the libraries into the process memory beforehand, and
# thus takes care of it for us.
pyside_package_dir = Path(__file__).parent.resolve()
if sys.platform == 'win32':
for dir in _additional_dll_directories(pyside_package_dir):
os.add_dll_directory(os.fspath(dir))
try:
# PYSIDE-1497: we use the build dir or install dir or site-packages, whatever the path
# setting dictates. There is no longer a difference in path structure.
global Shiboken
from shiboken6 import Shiboken
except Exception as e:
paths = ', '.join(sys.path)
print(f"PySide6/__init__.py: Unable to import Shiboken from {paths}: {e}",
file=sys.stderr)
raise
if sys.platform == 'win32':
# PATH has to contain the package directory, otherwise plugins
# won't be able to find their required Qt libraries (e.g. the
# svg image plugin won't find Qt5Svg.dll).
os.environ['PATH'] = os.fspath(pyside_package_dir) + os.pathsep + os.environ['PATH']
# On Windows, add the PySide6\openssl folder (created by setup.py's
# --openssl option) to the PATH so that the SSL DLLs can be found
# when Qt tries to dynamically load them. Tell Qt to load them and
# then reset the PATH.
openssl_dir = pyside_package_dir / 'openssl'
if openssl_dir.exists():
path = os.environ['PATH']
try:
os.environ['PATH'] = os.fspath(openssl_dir) + os.pathsep + path
try:
from . import QtNetwork
except ImportError:
pass
else:
QtNetwork.QSslSocket.supportsSsl()
finally:
os.environ['PATH'] = path
def _find_all_qt_modules():
# Since the wheel split, the __all__ variable cannot be computed statically,
# because we don't know all modules in advance.
# Instead, we use __getattr__ which is supported since Python 3.7
# and create the __all__ list on demand when needed.
unordered = set()
pattern = "Qt*.pyd" if sys.platform == "win32" else "Qt*.so"
for module in Path(__file__).resolve().parent.glob(pattern):
name = module.name[:module.name.find(".")]
if name.endswith("_d"): # Windows debug suffix?
name = name[:-2]
unordered.add(name)
ordered_part = __pre_all__
result = []
for name in ordered_part:
if name in unordered:
result.append(name)
unordered.remove(name)
result.extend(unordered)
return result
# Provide the __all__ variable only on access.
def __getattr__(name: str) -> list[str]:
if name == "__all__":
global __all__
__all__ = _find_all_qt_modules()
return __all__
raise AttributeError(f"module '{__name__}' has no attribute '{name}' :)")
# Be prepared that people can access the module dict instead.
class ModuleDict(dict):
def __missing__(self, key):
if key == "__all__":
self[key] = __all__ if "__all__" in globals() else __getattr__("__all__")
return __all__
raise KeyError(f"dict of module '{__name__}' has no key '{key}' :)")
class SubModule(ModuleType):
pass
_setupQtDirectories()
Shiboken.replaceModuleDict(sys.modules["PySide6"], SubModule, ModuleDict(globals()))
-17
View File
@@ -1,17 +0,0 @@
built_modules = list(name for name in
"Core;Gui;Widgets;PrintSupport;Sql;Network;Test;Concurrent;DBus;Designer;Xml;Help;Multimedia;MultimediaWidgets;OpenGL;OpenGLWidgets;Pdf;PdfWidgets;Positioning;Location;NetworkAuth;Nfc;Qml;Quick;Quick3D;QuickControls2;CanvasPainter;QuickTest;QuickWidgets;RemoteObjects;Scxml;Sensors;SerialPort;SerialBus;StateMachine;TextToSpeech;Charts;SpatialAudio;Svg;SvgWidgets;DataVisualization;Graphs;GraphsWidgets;Bluetooth;UiTools;AxContainer;WebChannel;WebEngineCore;WebEngineWidgets;WebEngineQuick;WebSockets;HttpServer;WebView;3DCore;3DRender;3DInput;3DLogic;3DAnimation;3DExtras"
.split(";"))
shiboken_library_soversion = "6.11"
pyside_library_soversion = "6.11"
version = "6.11.0"
version_info = (6, 11, 0, "", "")
__build_date__ = '2026-03-18T08:44:54+00:00'
__setup_py_package_version__ = '6.11.0'
@@ -1,20 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
from __future__ import annotations
major_version = "6"
minor_version = "11"
patch_version = "0"
# For example: "a", "b", "rc"
# (which means "alpha", "beta", "release candidate").
# An empty string means the generated package will be an official release.
release_version_type = ""
# For example: "1", "2" (which means "beta1", "beta2", if type is "b").
pre_release_version = ""
if __name__ == '__main__':
# Used by CMake.
print(f'{major_version};{minor_version};{patch_version};'
f'{release_version_type};{pre_release_version}')
-1
View File
@@ -1 +0,0 @@
# this is a marker file for mypy