Skip to content

Commit 974ab43

Browse files
committed
Upgrading upstream to version 6.4.0.0
1 parent 30b78fa commit 974ab43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3135
-13206
lines changed

PySide6-stubs/Qt3DAnimation.pyi

Lines changed: 9 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,5 @@
1-
#############################################################################
2-
##
3-
## Copyright (C) 2021 The Qt Company Ltd.
4-
## Contact: https://www.qt.io/licensing/
5-
##
6-
## This file is part of Qt for Python.
7-
##
8-
## $QT_BEGIN_LICENSE:LGPL$
9-
## Commercial License Usage
10-
## Licensees holding valid commercial Qt licenses may use this file in
11-
## accordance with the commercial license agreement provided with the
12-
## Software or, alternatively, in accordance with the terms contained in
13-
## a written agreement between you and The Qt Company. For licensing terms
14-
## and conditions see https://www.qt.io/terms-conditions. For further
15-
## information use the contact form at https://www.qt.io/contact-us.
16-
##
17-
## GNU Lesser General Public License Usage
18-
## Alternatively, this file may be used under the terms of the GNU Lesser
19-
## General Public License version 3 as published by the Free Software
20-
## Foundation and appearing in the file LICENSE.LGPL3 included in the
21-
## packaging of this file. Please review the following information to
22-
## ensure the GNU Lesser General Public License version 3 requirements
23-
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24-
##
25-
## GNU General Public License Usage
26-
## Alternatively, this file may be used under the terms of the GNU
27-
## General Public License version 2.0 or (at your option) the GNU General
28-
## Public license version 3 or any later version approved by the KDE Free
29-
## Qt Foundation. The licenses are as published by the Free Software
30-
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31-
## included in the packaging of this file. Please review the following
32-
## information to ensure the GNU General Public License requirements will
33-
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
34-
## https://www.gnu.org/licenses/gpl-3.0.html.
35-
##
36-
## $QT_END_LICENSE$
37-
##
38-
#############################################################################
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
393
from __future__ import annotations
404

415
"""
@@ -62,11 +26,7 @@ class Qt3DAnimation(Shiboken.Object):
6226

6327
class QAbstractAnimation(PySide6.QtCore.QObject):
6428

65-
KeyframeAnimation : Qt3DAnimation.QAbstractAnimation.AnimationType = ... # 0x1
66-
MorphingAnimation : Qt3DAnimation.QAbstractAnimation.AnimationType = ... # 0x2
67-
VertexBlendAnimation : Qt3DAnimation.QAbstractAnimation.AnimationType = ... # 0x3
68-
69-
class AnimationType(Shiboken.Enum):
29+
class AnimationType(shibokensupport.enum_310.Enum):
7030

7131
KeyframeAnimation : Qt3DAnimation.QAbstractAnimation.AnimationType = ... # 0x1
7232
MorphingAnimation : Qt3DAnimation.QAbstractAnimation.AnimationType = ... # 0x2
@@ -88,9 +48,7 @@ class Qt3DAnimation(Shiboken.Object):
8848

8949
class QAbstractClipAnimator(PySide6.Qt3DCore.Qt3DCore.QComponent):
9050

91-
Infinite : Qt3DAnimation.QAbstractClipAnimator.Loops = ... # -0x1
92-
93-
class Loops(Shiboken.Enum):
51+
class Loops(shibokensupport.enum_310.Enum):
9452

9553
Infinite : Qt3DAnimation.QAbstractClipAnimator.Loops = ... # -0x1
9654

@@ -133,10 +91,7 @@ class Qt3DAnimation(Shiboken.Object):
13391

13492
class QAnimationCallback(Shiboken.Object):
13593

136-
OnOwningThread : Qt3DAnimation.QAnimationCallback.Flag = ... # 0x0
137-
OnThreadPool : Qt3DAnimation.QAnimationCallback.Flag = ... # 0x1
138-
139-
class Flag(Shiboken.Enum):
94+
class Flag(shibokensupport.enum_310.Enum):
14095

14196
OnOwningThread : Qt3DAnimation.QAnimationCallback.Flag = ... # 0x0
14297
OnThreadPool : Qt3DAnimation.QAnimationCallback.Flag = ... # 0x1
@@ -177,11 +132,7 @@ class Qt3DAnimation(Shiboken.Object):
177132

178133
class QAnimationClipLoader(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip):
179134

180-
NotReady : Qt3DAnimation.QAnimationClipLoader.Status = ... # 0x0
181-
Ready : Qt3DAnimation.QAnimationClipLoader.Status = ... # 0x1
182-
Error : Qt3DAnimation.QAnimationClipLoader.Status = ... # 0x2
183-
184-
class Status(Shiboken.Enum):
135+
class Status(shibokensupport.enum_310.Enum):
185136

186137
NotReady : Qt3DAnimation.QAnimationClipLoader.Status = ... # 0x0
187138
Ready : Qt3DAnimation.QAnimationClipLoader.Status = ... # 0x1
@@ -334,11 +285,7 @@ class Qt3DAnimation(Shiboken.Object):
334285

335286
class QKeyFrame(Shiboken.Object):
336287

337-
ConstantInterpolation : Qt3DAnimation.QKeyFrame.InterpolationType = ... # 0x0
338-
LinearInterpolation : Qt3DAnimation.QKeyFrame.InterpolationType = ... # 0x1
339-
BezierInterpolation : Qt3DAnimation.QKeyFrame.InterpolationType = ... # 0x2
340-
341-
class InterpolationType(Shiboken.Enum):
288+
class InterpolationType(shibokensupport.enum_310.Enum):
342289

343290
ConstantInterpolation : Qt3DAnimation.QKeyFrame.InterpolationType = ... # 0x0
344291
LinearInterpolation : Qt3DAnimation.QKeyFrame.InterpolationType = ... # 0x1
@@ -363,11 +310,7 @@ class Qt3DAnimation(Shiboken.Object):
363310

364311
class QKeyframeAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
365312

366-
None_ : Qt3DAnimation.QKeyframeAnimation.RepeatMode = ... # 0x0
367-
Constant : Qt3DAnimation.QKeyframeAnimation.RepeatMode = ... # 0x1
368-
Repeat : Qt3DAnimation.QKeyframeAnimation.RepeatMode = ... # 0x2
369-
370-
class RepeatMode(Shiboken.Enum):
313+
class RepeatMode(shibokensupport.enum_310.Enum):
371314

372315
None_ : Qt3DAnimation.QKeyframeAnimation.RepeatMode = ... # 0x0
373316
Constant : Qt3DAnimation.QKeyframeAnimation.RepeatMode = ... # 0x1
@@ -418,10 +361,7 @@ class Qt3DAnimation(Shiboken.Object):
418361

419362
class QMorphingAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
420363

421-
Normalized : Qt3DAnimation.QMorphingAnimation.Method = ... # 0x0
422-
Relative : Qt3DAnimation.QMorphingAnimation.Method = ... # 0x1
423-
424-
class Method(Shiboken.Enum):
364+
class Method(shibokensupport.enum_310.Enum):
425365

426366
Normalized : Qt3DAnimation.QMorphingAnimation.Method = ... # 0x0
427367
Relative : Qt3DAnimation.QMorphingAnimation.Method = ... # 0x1

PySide6-stubs/Qt3DCore.pyi

Lines changed: 12 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,5 @@
1-
#############################################################################
2-
##
3-
## Copyright (C) 2021 The Qt Company Ltd.
4-
## Contact: https://www.qt.io/licensing/
5-
##
6-
## This file is part of Qt for Python.
7-
##
8-
## $QT_BEGIN_LICENSE:LGPL$
9-
## Commercial License Usage
10-
## Licensees holding valid commercial Qt licenses may use this file in
11-
## accordance with the commercial license agreement provided with the
12-
## Software or, alternatively, in accordance with the terms contained in
13-
## a written agreement between you and The Qt Company. For licensing terms
14-
## and conditions see https://www.qt.io/terms-conditions. For further
15-
## information use the contact form at https://www.qt.io/contact-us.
16-
##
17-
## GNU Lesser General Public License Usage
18-
## Alternatively, this file may be used under the terms of the GNU Lesser
19-
## General Public License version 3 as published by the Free Software
20-
## Foundation and appearing in the file LICENSE.LGPL3 included in the
21-
## packaging of this file. Please review the following information to
22-
## ensure the GNU Lesser General Public License version 3 requirements
23-
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24-
##
25-
## GNU General Public License Usage
26-
## Alternatively, this file may be used under the terms of the GNU
27-
## General Public License version 2.0 or (at your option) the GNU General
28-
## Public license version 3 or any later version approved by the KDE Free
29-
## Qt Foundation. The licenses are as published by the Free Software
30-
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31-
## included in the packaging of this file. Please review the following
32-
## information to ensure the GNU General Public License requirements will
33-
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
34-
## https://www.gnu.org/licenses/gpl-3.0.html.
35-
##
36-
## $QT_END_LICENSE$
37-
##
38-
#############################################################################
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
393
from __future__ import annotations
404

415
"""
@@ -84,10 +48,7 @@ class Qt3DCore(Shiboken.Object):
8448

8549
class QAspectEngine(PySide6.QtCore.QObject):
8650

87-
Manual : Qt3DCore.QAspectEngine.RunMode = ... # 0x0
88-
Automatic : Qt3DCore.QAspectEngine.RunMode = ... # 0x1
89-
90-
class RunMode(Shiboken.Enum):
51+
class RunMode(shibokensupport.enum_310.Enum):
9152

9253
Manual : Qt3DCore.QAspectEngine.RunMode = ... # 0x0
9354
Automatic : Qt3DCore.QAspectEngine.RunMode = ... # 0x1
@@ -122,26 +83,14 @@ class Qt3DCore(Shiboken.Object):
12283

12384
class QAttribute(PySide6.Qt3DCore.Qt3DCore.QNode):
12485

125-
VertexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x0
126-
IndexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x1
127-
DrawIndirectAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x2
128-
Byte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x0
129-
UnsignedByte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x1
130-
Short : Qt3DCore.QAttribute.VertexBaseType = ... # 0x2
131-
UnsignedShort : Qt3DCore.QAttribute.VertexBaseType = ... # 0x3
132-
Int : Qt3DCore.QAttribute.VertexBaseType = ... # 0x4
133-
UnsignedInt : Qt3DCore.QAttribute.VertexBaseType = ... # 0x5
134-
HalfFloat : Qt3DCore.QAttribute.VertexBaseType = ... # 0x6
135-
Float : Qt3DCore.QAttribute.VertexBaseType = ... # 0x7
136-
Double : Qt3DCore.QAttribute.VertexBaseType = ... # 0x8
137-
138-
class AttributeType(Shiboken.Enum):
86+
class AttributeType(shibokensupport.enum_310.Enum):
13987

14088
VertexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x0
14189
IndexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x1
14290
DrawIndirectAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x2
14391

144-
class VertexBaseType(Shiboken.Enum):
92+
93+
class VertexBaseType(shibokensupport.enum_310.Enum):
14594

14695
Byte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x0
14796
UnsignedByte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x1
@@ -200,10 +149,7 @@ class Qt3DCore(Shiboken.Object):
200149

201150
class QBackendNode(Shiboken.Object):
202151

203-
ReadOnly : Qt3DCore.QBackendNode.Mode = ... # 0x0
204-
ReadWrite : Qt3DCore.QBackendNode.Mode = ... # 0x1
205-
206-
class Mode(Shiboken.Enum):
152+
class Mode(shibokensupport.enum_310.Enum):
207153

208154
ReadOnly : Qt3DCore.QBackendNode.Mode = ... # 0x0
209155
ReadWrite : Qt3DCore.QBackendNode.Mode = ... # 0x1
@@ -242,26 +188,14 @@ class Qt3DCore(Shiboken.Object):
242188

243189
class QBuffer(PySide6.Qt3DCore.Qt3DCore.QNode):
244190

245-
Write : Qt3DCore.QBuffer.AccessType = ... # 0x1
246-
Read : Qt3DCore.QBuffer.AccessType = ... # 0x2
247-
ReadWrite : Qt3DCore.QBuffer.AccessType = ... # 0x3
248-
StreamDraw : Qt3DCore.QBuffer.UsageType = ... # 0x88e0
249-
StreamRead : Qt3DCore.QBuffer.UsageType = ... # 0x88e1
250-
StreamCopy : Qt3DCore.QBuffer.UsageType = ... # 0x88e2
251-
StaticDraw : Qt3DCore.QBuffer.UsageType = ... # 0x88e4
252-
StaticRead : Qt3DCore.QBuffer.UsageType = ... # 0x88e5
253-
StaticCopy : Qt3DCore.QBuffer.UsageType = ... # 0x88e6
254-
DynamicDraw : Qt3DCore.QBuffer.UsageType = ... # 0x88e8
255-
DynamicRead : Qt3DCore.QBuffer.UsageType = ... # 0x88e9
256-
DynamicCopy : Qt3DCore.QBuffer.UsageType = ... # 0x88ea
257-
258-
class AccessType(Shiboken.Enum):
191+
class AccessType(shibokensupport.enum_310.Enum):
259192

260193
Write : Qt3DCore.QBuffer.AccessType = ... # 0x1
261194
Read : Qt3DCore.QBuffer.AccessType = ... # 0x2
262195
ReadWrite : Qt3DCore.QBuffer.AccessType = ... # 0x3
263196

264-
class UsageType(Shiboken.Enum):
197+
198+
class UsageType(shibokensupport.enum_310.Enum):
265199

266200
StreamDraw : Qt3DCore.QBuffer.UsageType = ... # 0x88e0
267201
StreamRead : Qt3DCore.QBuffer.UsageType = ... # 0x88e1
@@ -322,20 +256,7 @@ class Qt3DCore(Shiboken.Object):
322256

323257
class QGeometryView(PySide6.Qt3DCore.Qt3DCore.QNode):
324258

325-
Points : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x0
326-
Lines : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x1
327-
LineLoop : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x2
328-
LineStrip : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x3
329-
Triangles : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x4
330-
TriangleStrip : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x5
331-
TriangleFan : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x6
332-
LinesAdjacency : Qt3DCore.QGeometryView.PrimitiveType = ... # 0xa
333-
LineStripAdjacency : Qt3DCore.QGeometryView.PrimitiveType = ... # 0xb
334-
TrianglesAdjacency : Qt3DCore.QGeometryView.PrimitiveType = ... # 0xc
335-
TriangleStripAdjacency : Qt3DCore.QGeometryView.PrimitiveType = ... # 0xd
336-
Patches : Qt3DCore.QGeometryView.PrimitiveType = ... # 0xe
337-
338-
class PrimitiveType(Shiboken.Enum):
259+
class PrimitiveType(shibokensupport.enum_310.Enum):
339260

340261
Points : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x0
341262
Lines : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x1
@@ -449,11 +370,7 @@ class Qt3DCore(Shiboken.Object):
449370

450371
class QSkeletonLoader(PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton):
451372

452-
NotReady : Qt3DCore.QSkeletonLoader.Status = ... # 0x0
453-
Ready : Qt3DCore.QSkeletonLoader.Status = ... # 0x1
454-
Error : Qt3DCore.QSkeletonLoader.Status = ... # 0x2
455-
456-
class Status(Shiboken.Enum):
373+
class Status(shibokensupport.enum_310.Enum):
457374

458375
NotReady : Qt3DCore.QSkeletonLoader.Status = ... # 0x0
459376
Ready : Qt3DCore.QSkeletonLoader.Status = ... # 0x1

PySide6-stubs/Qt3DExtras.pyi

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,5 @@
1-
#############################################################################
2-
##
3-
## Copyright (C) 2021 The Qt Company Ltd.
4-
## Contact: https://www.qt.io/licensing/
5-
##
6-
## This file is part of Qt for Python.
7-
##
8-
## $QT_BEGIN_LICENSE:LGPL$
9-
## Commercial License Usage
10-
## Licensees holding valid commercial Qt licenses may use this file in
11-
## accordance with the commercial license agreement provided with the
12-
## Software or, alternatively, in accordance with the terms contained in
13-
## a written agreement between you and The Qt Company. For licensing terms
14-
## and conditions see https://www.qt.io/terms-conditions. For further
15-
## information use the contact form at https://www.qt.io/contact-us.
16-
##
17-
## GNU Lesser General Public License Usage
18-
## Alternatively, this file may be used under the terms of the GNU Lesser
19-
## General Public License version 3 as published by the Free Software
20-
## Foundation and appearing in the file LICENSE.LGPL3 included in the
21-
## packaging of this file. Please review the following information to
22-
## ensure the GNU Lesser General Public License version 3 requirements
23-
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24-
##
25-
## GNU General Public License Usage
26-
## Alternatively, this file may be used under the terms of the GNU
27-
## General Public License version 2.0 or (at your option) the GNU General
28-
## Public license version 3 or any later version approved by the KDE Free
29-
## Qt Foundation. The licenses are as published by the Free Software
30-
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31-
## included in the packaging of this file. Please review the following
32-
## information to ensure the GNU General Public License requirements will
33-
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
34-
## https://www.gnu.org/licenses/gpl-3.0.html.
35-
##
36-
## $QT_END_LICENSE$
37-
##
38-
#############################################################################
1+
# Copyright (C) 2022 The Qt Company Ltd.
2+
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
393
from __future__ import annotations
404

415
"""

0 commit comments

Comments
 (0)