|
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 |
39 | 3 | from __future__ import annotations |
40 | 4 |
|
41 | 5 | """ |
@@ -84,10 +48,7 @@ class Qt3DCore(Shiboken.Object): |
84 | 48 |
|
85 | 49 | class QAspectEngine(PySide6.QtCore.QObject): |
86 | 50 |
|
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): |
91 | 52 |
|
92 | 53 | Manual : Qt3DCore.QAspectEngine.RunMode = ... # 0x0 |
93 | 54 | Automatic : Qt3DCore.QAspectEngine.RunMode = ... # 0x1 |
@@ -122,26 +83,14 @@ class Qt3DCore(Shiboken.Object): |
122 | 83 |
|
123 | 84 | class QAttribute(PySide6.Qt3DCore.Qt3DCore.QNode): |
124 | 85 |
|
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): |
139 | 87 |
|
140 | 88 | VertexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x0 |
141 | 89 | IndexAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x1 |
142 | 90 | DrawIndirectAttribute : Qt3DCore.QAttribute.AttributeType = ... # 0x2 |
143 | 91 |
|
144 | | - class VertexBaseType(Shiboken.Enum): |
| 92 | + |
| 93 | + class VertexBaseType(shibokensupport.enum_310.Enum): |
145 | 94 |
|
146 | 95 | Byte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x0 |
147 | 96 | UnsignedByte : Qt3DCore.QAttribute.VertexBaseType = ... # 0x1 |
@@ -200,10 +149,7 @@ class Qt3DCore(Shiboken.Object): |
200 | 149 |
|
201 | 150 | class QBackendNode(Shiboken.Object): |
202 | 151 |
|
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): |
207 | 153 |
|
208 | 154 | ReadOnly : Qt3DCore.QBackendNode.Mode = ... # 0x0 |
209 | 155 | ReadWrite : Qt3DCore.QBackendNode.Mode = ... # 0x1 |
@@ -242,26 +188,14 @@ class Qt3DCore(Shiboken.Object): |
242 | 188 |
|
243 | 189 | class QBuffer(PySide6.Qt3DCore.Qt3DCore.QNode): |
244 | 190 |
|
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): |
259 | 192 |
|
260 | 193 | Write : Qt3DCore.QBuffer.AccessType = ... # 0x1 |
261 | 194 | Read : Qt3DCore.QBuffer.AccessType = ... # 0x2 |
262 | 195 | ReadWrite : Qt3DCore.QBuffer.AccessType = ... # 0x3 |
263 | 196 |
|
264 | | - class UsageType(Shiboken.Enum): |
| 197 | + |
| 198 | + class UsageType(shibokensupport.enum_310.Enum): |
265 | 199 |
|
266 | 200 | StreamDraw : Qt3DCore.QBuffer.UsageType = ... # 0x88e0 |
267 | 201 | StreamRead : Qt3DCore.QBuffer.UsageType = ... # 0x88e1 |
@@ -322,20 +256,7 @@ class Qt3DCore(Shiboken.Object): |
322 | 256 |
|
323 | 257 | class QGeometryView(PySide6.Qt3DCore.Qt3DCore.QNode): |
324 | 258 |
|
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): |
339 | 260 |
|
340 | 261 | Points : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x0 |
341 | 262 | Lines : Qt3DCore.QGeometryView.PrimitiveType = ... # 0x1 |
@@ -449,11 +370,7 @@ class Qt3DCore(Shiboken.Object): |
449 | 370 |
|
450 | 371 | class QSkeletonLoader(PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton): |
451 | 372 |
|
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): |
457 | 374 |
|
458 | 375 | NotReady : Qt3DCore.QSkeletonLoader.Status = ... # 0x0 |
459 | 376 | Ready : Qt3DCore.QSkeletonLoader.Status = ... # 0x1 |
|
0 commit comments