Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
74be2ec
Rename
bluebird75 Nov 15, 2021
b45b3c6
Add all grep results
bluebird75 Nov 17, 2021
5fc7ec6
More module groups
bluebird75 Nov 17, 2021
b22b4a8
Group modules into where to look for qflags implementation
bluebird75 Nov 17, 2021
ed7bf08
QFlag operations for QMemoryBarrier.Operations, QMemoryBarrier.Operat…
bluebird75 Nov 17, 2021
161f328
Cache CST parsed modules
bluebird75 Nov 17, 2021
177d1d8
Add more module support
bluebird75 Nov 17, 2021
3834615
QFlag operations for QClearBuffers.BufferTypeFlags, QBuffer.BufferTyp…
bluebird75 Nov 19, 2021
ad91fc9
One additional behavior for enum/qflqgs
bluebird75 Nov 19, 2021
1797a97
More qflags supported
bluebird75 Nov 19, 2021
36688bf
Catch correct exception when evaluating behavior
bluebird75 Nov 19, 2021
ac39cfd
Remove obsolete files
bluebird75 Nov 19, 2021
0eae751
All qflag processing results
bluebird75 Nov 19, 2021
67c27b1
Make sure we have our name defined before evaluating it
bluebird75 Nov 19, 2021
0720aa5
QFlag operations for QChart.AnimationOptions, QChart.AnimationOption …
bluebird75 Nov 19, 2021
a4af725
QFlag operations for QChartView.RubberBands, QChartView.RubberBand in…
bluebird75 Nov 19, 2021
8792571
QFlag operations for QPolarChart.PolarOrientations, QPolarChart.Polar…
bluebird75 Nov 19, 2021
8359b9b
QFlag operations for QAbstractAxis.AxisTypes, QAbstractAxis.AxisType …
bluebird75 Nov 19, 2021
5eedc5d
Processing QtChart result
bluebird75 Nov 19, 2021
0060e4d
Full processing results
bluebird75 Nov 19, 2021
b02a6ba
Add qtchart and qtconnectivity group
bluebird75 Nov 19, 2021
1acfefc
QtChart processing results
bluebird75 Nov 19, 2021
78850bc
QFlag operations for QNearFieldManager.TargetAccessModes, QNearFieldM…
bluebird75 Nov 19, 2021
cf37617
QFlag operations for QNearFieldShareManager.ShareModes, QNearFieldSha…
bluebird75 Nov 19, 2021
c6ccd34
QFlag operations for QNearFieldTarget.AccessMethods, QNearFieldTarget…
bluebird75 Nov 19, 2021
cfa470b
Addtional way of declaring a QFlag class
bluebird75 Nov 19, 2021
ac13739
Remove redundant entries
bluebird75 Nov 19, 2021
015a253
Bluetooth flags to qdd
bluebird75 Nov 19, 2021
c16506c
QFlag operations for QBluetooth.SecurityFlags, QBluetooth.Security in…
bluebird75 Nov 19, 2021
dc01864
QFlag operations for QBluetooth.AttAccessConstraints, QBluetooth.AttA…
bluebird75 Nov 19, 2021
54bb96f
QFlag operations for QBluetoothDeviceInfo.ServiceClasses, QBluetoothD…
bluebird75 Nov 19, 2021
6458991
QFlag operations for QBluetoothDeviceInfo.Fields, QBluetoothDeviceInf…
bluebird75 Nov 19, 2021
fa2e3b6
QFlag operations for QBluetoothDeviceInfo.CoreConfigurations, QBlueto…
bluebird75 Nov 19, 2021
daa8c4d
QFlag operations for QLowEnergyCharacteristic.PropertyTypes, QLowEner…
bluebird75 Nov 19, 2021
46aa02f
QFlag operations for QLowEnergyService.ServiceTypes, QLowEnergyServic…
bluebird75 Nov 19, 2021
583d877
QFlag may inherit from sip.wrapper as well
bluebird75 Nov 19, 2021
7764ec5
Processing results
bluebird75 Nov 19, 2021
a291ef8
Add visualization module
bluebird75 Nov 19, 2021
bd64a60
QFlag operations for QAbstract3DGraph.SelectionFlags, QAbstract3DGrap…
bluebird75 Nov 19, 2021
a920426
QFlag operations for QAbstract3DGraph.OptimizationHints, QAbstract3DG…
bluebird75 Nov 19, 2021
ec31cda
QFlag operations for QSurface3DSeries.DrawFlags, QSurface3DSeries.Dra…
bluebird75 Nov 19, 2021
c0406fa
Add visualization module results
bluebird75 Nov 19, 2021
e39a2b5
Add qtquick group
bluebird75 Nov 19, 2021
d683f43
QFlag operations for QQuickItem.Flags, QQuickItem.Flag in module QtQuick
bluebird75 Nov 19, 2021
94d829d
QFlag operations for QSGMaterial.Flags, QSGMaterial.Flag in module Qt…
bluebird75 Nov 19, 2021
fb3321b
QFlag operations for QSGNode.Flags, QSGNode.Flag in module QtQuick
bluebird75 Nov 19, 2021
feeaba9
QFlag operations for QSGMaterialRhiShader.Flags, QSGMaterialRhiShader…
bluebird75 Nov 19, 2021
8170b18
QFlag operations for QQmlImageProviderBase.Flags, QQmlImageProviderBa…
bluebird75 Nov 19, 2021
e2d751a
QFlag operations for QJSEngine.Extensions, QJSEngine.Extension in mod…
bluebird75 Nov 19, 2021
8ff4ab0
QFlag operations for QQuickPaintedItem.PerformanceHints, QQuickPainte…
bluebird75 Nov 19, 2021
df1a6b8
QFlag operations for QQuickWindow.CreateTextureOptions, QQuickWindow.…
bluebird75 Nov 19, 2021
69d9276
QFlag operations for QSGEngine.CreateTextureOptions, QSGEngine.Create…
bluebird75 Nov 19, 2021
be70a6b
QFlag operations for QSGAbstractRenderer.ClearMode, QSGAbstractRender…
bluebird75 Nov 19, 2021
1fe95e9
QFlag operations for QSGAbstractRenderer.MatrixTransformFlags, QSGAbs…
bluebird75 Nov 19, 2021
741e487
QFlag operations for QSGMaterialRhiShader.GraphicsPipelineState.Color…
bluebird75 Nov 19, 2021
3512e9b
QFlag operations for QSGNode.DirtyState, QSGNode.DirtyStateBit in mod…
bluebird75 Nov 19, 2021
384dcdf
QFlag operations for QSGRendererInterface.ShaderCompilationTypes, QSG…
bluebird75 Nov 19, 2021
abb8481
QFlag operations for QSGRendererInterface.ShaderSourceTypes, QSGRende…
bluebird75 Nov 19, 2021
32d9a60
QFlag operations for QSGRenderNode.StateFlags, QSGRenderNode.StateFla…
bluebird75 Nov 19, 2021
c3ecf72
QFlag operations for QSGRenderNode.RenderingFlags, QSGRenderNode.Rend…
bluebird75 Nov 19, 2021
ec338d2
QFlag operations for QSGImageNode.TextureCoordinatesTransformMode, QS…
bluebird75 Nov 19, 2021
7698df3
QFlag operations for QSGSimpleTextureNode.TextureCoordinatesTransform…
bluebird75 Nov 19, 2021
4d3d85f
Add QML processing results
bluebird75 Nov 19, 2021
d1bf116
Remove non relevant grep results
bluebird75 Nov 19, 2021
516cd87
Add QtLocation qflags to process
bluebird75 Nov 19, 2021
d64c69e
QFlag operations for QLocation.VisibilityScope, QLocation.Visibility …
bluebird75 Nov 19, 2021
d6a8db2
QFlag operations for QGeoPositionInfoSource.PositioningMethods, QGeoP…
bluebird75 Nov 19, 2021
436cb1f
QFlag operations for QGeoAreaMonitorSource.AreaMonitorFeatures, QGeoA…
bluebird75 Nov 19, 2021
29ab157
QFlag operations for QGeoRouteRequest.TravelModes, QGeoRouteRequest.T…
bluebird75 Nov 19, 2021
250ad55
QFlag operations for QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.…
bluebird75 Nov 19, 2021
81ac940
QFlag operations for QGeoRouteRequest.FeatureWeights, QGeoRouteReques…
bluebird75 Nov 19, 2021
bb4b78b
QFlag operations for QGeoRouteRequest.RouteOptimizations, QGeoRouteRe…
bluebird75 Nov 19, 2021
50d1f97
QFlag operations for QGeoRouteRequest.SegmentDetails, QGeoRouteReques…
bluebird75 Nov 19, 2021
141b206
QFlag operations for QGeoRouteRequest.ManeuverDetails, QGeoRouteReque…
bluebird75 Nov 19, 2021
c9d370e
QFlag operations for QGeoServiceProvider.RoutingFeatures, QGeoService…
bluebird75 Nov 19, 2021
17de6e8
QFlag operations for QGeoServiceProvider.GeocodingFeatures, QGeoServi…
bluebird75 Nov 19, 2021
06cdbee
QFlag operations for QGeoServiceProvider.MappingFeatures, QGeoService…
bluebird75 Nov 19, 2021
523aff7
QFlag operations for QGeoServiceProvider.PlacesFeatures, QGeoServiceP…
bluebird75 Nov 19, 2021
d8655eb
QFlag operations for QGeoServiceProvider.NavigationFeatures, QGeoServ…
bluebird75 Nov 19, 2021
84b66c6
Remove non relevant grep results
bluebird75 Nov 19, 2021
bf355ec
Qt location processing results
bluebird75 Nov 19, 2021
e3e5a3e
Add QtMultimedia to process
bluebird75 Nov 19, 2021
269571a
QFlag operations for QCamera.CaptureModes, QCamera.CaptureMode in mod…
bluebird75 Nov 19, 2021
d1903f5
QFlag operations for QCamera.LockTypes, QCamera.LockType in module Qt…
bluebird75 Nov 19, 2021
40cee3e
QFlag operations for QCameraExposure.FlashModes, QCameraExposure.Flas…
bluebird75 Nov 19, 2021
93e34b5
QFlag operations for QCameraFocus.FocusModes, QCameraFocus.FocusMode …
bluebird75 Nov 19, 2021
55338b2
QFlag operations for QCameraImageCapture.CaptureDestinations, QCamera…
bluebird75 Nov 19, 2021
220f019
QFlag operations for QMediaPlayer.Flags, QMediaPlayer.Flag in module …
bluebird75 Nov 19, 2021
52a219b
QFlag operations for QVideoFilterRunnable.RunFlags, QVideoFilterRunna…
bluebird75 Nov 19, 2021
2369981
Results of processing QtMultimedia
bluebird75 Nov 19, 2021
ccb1b6b
Remove non relevant grep results
bluebird75 Nov 19, 2021
e91966a
Prepare for QFlags of QtSerialPort
bluebird75 Nov 19, 2021
c7cdff1
QFlag operations for QSerialPort.Directions, QSerialPort.Direction in…
bluebird75 Nov 19, 2021
860361b
QFlag operations for QSerialPort.PinoutSignals, QSerialPort.PinoutSig…
bluebird75 Nov 19, 2021
45b4e85
Results of processing QtSerialPort
bluebird75 Nov 19, 2021
a3d328a
Remove duplicated methods
bluebird75 Nov 19, 2021
da37a60
More flags, manually extracted from .pyi
bluebird75 Nov 19, 2021
a42c1d9
QFlag operations for QWebEngineUrlScheme.Flags, QWebEngineUrlScheme.F…
bluebird75 Nov 19, 2021
c26af8a
QFlag operations for QWebEngineContextMenuData.MediaFlags, QWebEngine…
bluebird75 Nov 19, 2021
b2adbd2
QFlag operations for QWebEngineContextMenuData.EditFlags, QWebEngineC…
bluebird75 Nov 19, 2021
76f2ea1
QFlag operations for QWebEnginePage.FindFlags, QWebEnginePage.FindFla…
bluebird75 Nov 19, 2021
b1e7f2d
QFlag operations for QDesignerFormWindowInterface.Feature, QDesignerF…
bluebird75 Nov 19, 2021
6722fda
Result of latest QFlags added
bluebird75 Nov 19, 2021
c867406
Enable CI on this branch
bluebird75 Nov 19, 2021
c338898
CI fix
bluebird75 Nov 19, 2021
2aa1e41
Do not run this CI on Windows
bluebird75 Nov 19, 2021
0e6b780
Make mypy happy
bluebird75 Nov 19, 2021
4a369ef
type: ignore comments are needed here
bluebird75 Nov 19, 2021
fae93c8
Merge branch 'all-qflags' into more-qflags
bluebird75 Dec 15, 2021
4b10835
CI should be exactly like on pyqt5-stubs
bluebird75 Dec 15, 2021
808fb6d
Merge branch 'master' into more-qflags
bluebird75 Dec 27, 2021
b9765d9
Merge branch 'master' into more-qflags
bluebird75 Dec 27, 2021
5a34f17
Code beautifying
bluebird75 Dec 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions PyQt5-stubs/Qt3DCore.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int],


class ChangeFlag(int):
def __or__ (self, other: 'ChangeFlag') -> 'ChangeFlags': ... # type: ignore[override]
def __ror__ (self, other: int) -> 'ChangeFlags': ... # type: ignore[override, misc]

NodeCreated = ... # type: ChangeFlag
NodeDeleted = ... # type: ChangeFlag
PropertyUpdated = ... # type: ChangeFlag
Expand Down Expand Up @@ -195,6 +198,9 @@ class QBackendNode(sip.simplewrapper):
class QSceneChange(sip.simplewrapper):

class DeliveryFlag(int):
def __or__ (self, other: 'QSceneChange.DeliveryFlag') -> 'QSceneChange.DeliveryFlags': ... # type: ignore[override]
def __ror__ (self, other: int) -> 'QSceneChange.DeliveryFlags': ... # type: ignore[override, misc]

BackendNodes = ... # type: QSceneChange.DeliveryFlag
Nodes = ... # type: QSceneChange.DeliveryFlag
DeliverToAll = ... # type: QSceneChange.DeliveryFlag
Expand All @@ -211,12 +217,20 @@ class QSceneChange(sip.simplewrapper):
def __init__(self, f: typing.Union['QSceneChange.DeliveryFlags', 'QSceneChange.DeliveryFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'QSceneChange.DeliveryFlags') -> None: ...
@typing.overload
def __init__(self, f: int) -> None: ...

def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QSceneChange.DeliveryFlags': ...
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __or__ (self, other: typing.Union['QSceneChange.DeliveryFlags', 'QSceneChange.DeliveryFlag', int]) -> 'QSceneChange.DeliveryFlags': ...
def __and__(self, other: typing.Union['QSceneChange.DeliveryFlags', 'QSceneChange.DeliveryFlag', int]) -> 'QSceneChange.DeliveryFlags': ...
def __xor__(self, other: typing.Union['QSceneChange.DeliveryFlags', 'QSceneChange.DeliveryFlag', int]) -> 'QSceneChange.DeliveryFlags': ...
def __ror__ (self, other: 'QSceneChange.DeliveryFlag') -> 'QSceneChange.DeliveryFlags': ...
def __rand__(self, other: 'QSceneChange.DeliveryFlag') -> 'QSceneChange.DeliveryFlags': ...
def __rxor__(self, other: 'QSceneChange.DeliveryFlag') -> 'QSceneChange.DeliveryFlags': ...

def __init__(self, type: 'ChangeFlag', subjectId: 'QNodeId') -> None: ...

Expand Down Expand Up @@ -426,12 +440,20 @@ class ChangeFlags(sip.simplewrapper):
def __init__(self, f: typing.Union['ChangeFlags', 'ChangeFlag']) -> None: ...
@typing.overload
def __init__(self, a0: 'ChangeFlags') -> None: ...
@typing.overload
def __init__(self, f: int) -> None: ...

def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'ChangeFlags': ...
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __or__ (self, other: typing.Union['ChangeFlags', 'ChangeFlag', int]) -> 'ChangeFlags': ...
def __and__(self, other: typing.Union['ChangeFlags', 'ChangeFlag', int]) -> 'ChangeFlags': ...
def __xor__(self, other: typing.Union['ChangeFlags', 'ChangeFlag', int]) -> 'ChangeFlags': ...
def __ror__ (self, other: 'ChangeFlag') -> 'ChangeFlags': ...
def __rand__(self, other: 'ChangeFlag') -> 'ChangeFlags': ...
def __rxor__(self, other: 'ChangeFlag') -> 'ChangeFlags': ...

class QSkeleton('QAbstractSkeleton'):

Expand Down
16 changes: 16 additions & 0 deletions PyQt5-stubs/Qt3DRender.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -987,12 +987,20 @@ class QClearBuffers('QFrameGraphNode'):
def __init__(self, f: typing.Union['QClearBuffers.BufferTypeFlags', 'QClearBuffers.BufferType']) -> None: ...
@typing.overload
def __init__(self, a0: 'QClearBuffers.BufferTypeFlags') -> None: ...
@typing.overload
def __init__(self, f: int) -> None: ...

def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QClearBuffers.BufferTypeFlags': ...
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __or__ (self, other: typing.Union['QClearBuffers.BufferTypeFlags', 'QClearBuffers.BufferType', int]) -> 'QClearBuffers.BufferTypeFlags': ...
def __and__(self, other: typing.Union['QClearBuffers.BufferTypeFlags', 'QClearBuffers.BufferType', int]) -> 'QClearBuffers.BufferTypeFlags': ...
def __xor__(self, other: typing.Union['QClearBuffers.BufferTypeFlags', 'QClearBuffers.BufferType', int]) -> 'QClearBuffers.BufferTypeFlags': ...
def __ror__ (self, other: 'QClearBuffers.BufferType') -> 'QClearBuffers.BufferTypeFlags': ...
def __rand__(self, other: 'QClearBuffers.BufferType') -> 'QClearBuffers.BufferTypeFlags': ...
def __rxor__(self, other: 'QClearBuffers.BufferType') -> 'QClearBuffers.BufferTypeFlags': ...

def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ...

Expand Down Expand Up @@ -1483,12 +1491,20 @@ class QMemoryBarrier('QFrameGraphNode'):
def __init__(self, f: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation']) -> None: ...
@typing.overload
def __init__(self, a0: 'QMemoryBarrier.Operations') -> None: ...
@typing.overload
def __init__(self, f: int) -> None: ...

def __hash__(self) -> int: ...
def __bool__(self) -> int: ...
def __invert__(self) -> 'QMemoryBarrier.Operations': ...
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __or__ (self, other: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation', int]) -> 'QMemoryBarrier.Operations': ...
def __and__(self, other: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation', int]) -> 'QMemoryBarrier.Operations': ...
def __xor__(self, other: typing.Union['QMemoryBarrier.Operations', 'QMemoryBarrier.Operation', int]) -> 'QMemoryBarrier.Operations': ...
def __ror__ (self, other: 'QMemoryBarrier.Operation') -> 'QMemoryBarrier.Operations': ...
def __rand__(self, other: 'QMemoryBarrier.Operation') -> 'QMemoryBarrier.Operations': ...
def __rxor__(self, other: 'QMemoryBarrier.Operation') -> 'QMemoryBarrier.Operations': ...

def __init__(self, parent: typing.Optional[Qt3DCore.QNode] = ...) -> None: ...

Expand Down
Loading