IceSpringPySideStubs
IceSpringPySideStubs copied to clipboard
PySide stubs with Qt signals and Qt documentations and more.
#### Problem `QtCore.Qt.WindowType` is typed as a python `enum.Enum`, however `enum.Enum`s do not support bitwise operations. Piping several options together gives the `mypy` error: ```powershell Operator "|" not supported for...
In nearly all stub files in this package, `bytes` has been overwritten by `str` as follows: ```python bytes = str ``` This incorrectly allows `mypy` to pass statements such as...
`NoneType` was [removed](https://bugs.python.org/issue19438) from [types](https://docs.python.org/3.9/library/types.html) in python versions 3.0 to 3.9, but [placed back](https://docs.python.org/3.10/whatsnew/3.10.html) in version 3.10 for type checking. In versions < 3.10, using `NoneType` implicitly in the `IceSpring`...
Hello! Thanks for creating this stubs package, it is really helpful! I tried using it, but got weird behavior on many docs. Example: `window.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))`      Python...