diff --git a/PyQt5-stubs/QtCore.pyi b/PyQt5-stubs/QtCore.pyi index bfd9cdf9..84f6f8f0 100644 --- a/PyQt5-stubs/QtCore.pyi +++ b/PyQt5-stubs/QtCore.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtCore module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -1347,6 +1347,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.KeyboardModifiers': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class MouseButtons(sip.simplewrapper): @@ -1361,6 +1362,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.MouseButtons': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Orientations(sip.simplewrapper): @@ -1375,6 +1377,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.Orientations': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Alignment(sip.simplewrapper): @@ -1389,6 +1392,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.Alignment': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class WindowFlags(sip.simplewrapper): @@ -1403,6 +1407,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.WindowFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class WindowStates(sip.simplewrapper): @@ -1417,6 +1422,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.WindowStates': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ImageConversionFlags(sip.simplewrapper): @@ -1431,6 +1437,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.ImageConversionFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class DockWidgetAreas(sip.simplewrapper): @@ -1445,6 +1452,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.DockWidgetAreas': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ToolBarAreas(sip.simplewrapper): @@ -1459,6 +1467,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.ToolBarAreas': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class InputMethodQueries(sip.simplewrapper): @@ -1473,6 +1482,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.InputMethodQueries': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class DropActions(sip.simplewrapper): @@ -1487,6 +1497,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.DropActions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ItemFlags(sip.simplewrapper): @@ -1501,6 +1512,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.ItemFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class MatchFlags(sip.simplewrapper): @@ -1515,6 +1527,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.MatchFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class TextInteractionFlags(sip.simplewrapper): @@ -1529,6 +1542,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.TextInteractionFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class InputMethodHints(sip.simplewrapper): @@ -1543,6 +1557,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.InputMethodHints': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class TouchPointStates(sip.simplewrapper): @@ -1557,6 +1572,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.TouchPointStates': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class GestureFlags(sip.simplewrapper): @@ -1571,6 +1587,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.GestureFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ScreenOrientations(sip.simplewrapper): @@ -1585,6 +1602,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.ScreenOrientations': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class FindChildOptions(sip.simplewrapper): @@ -1599,6 +1617,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.FindChildOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ApplicationStates(sip.simplewrapper): @@ -1613,6 +1632,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.ApplicationStates': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Edges(sip.simplewrapper): @@ -1627,6 +1647,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.Edges': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class MouseEventFlags(sip.simplewrapper): @@ -1641,6 +1662,7 @@ class Qt(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'Qt.MouseEventFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @@ -2141,6 +2163,7 @@ class QIODevice(QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QIODevice.OpenMode': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2246,6 +2269,7 @@ class QByteArray(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QByteArray.Base64Options': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2433,6 +2457,7 @@ class QCommandLineOption(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QCommandLineOption.Flags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3249,6 +3274,7 @@ class QDir(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDir.Filters': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class SortFlags(sip.simplewrapper): @@ -3263,6 +3289,7 @@ class QDir(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDir.SortFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3391,6 +3418,7 @@ class QDirIterator(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDirIterator.IteratorFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3535,6 +3563,7 @@ class QEventLoop(QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QEventLoop.ProcessEventsFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ... @@ -3631,6 +3660,7 @@ class QFileDevice(QIODevice): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFileDevice.Permissions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class FileHandleFlags(sip.simplewrapper): @@ -3645,6 +3675,7 @@ class QFileDevice(QIODevice): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFileDevice.FileHandleFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def readLineData(self, maxlen: int) -> bytes: ... @@ -3958,6 +3989,7 @@ class QItemSelectionModel(QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QItemSelectionModel.SelectionFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -4186,6 +4218,7 @@ class QLibrary(QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QLibrary.LoadHints': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5192,6 +5225,7 @@ class QLocale(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QLocale.NumberOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5638,6 +5672,7 @@ class QMetaType(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QMetaType.TypeFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, type: int) -> None: ... @@ -6503,6 +6538,7 @@ class QRegularExpression(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QRegularExpression.PatternOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class MatchOptions(sip.simplewrapper): @@ -6517,6 +6553,7 @@ class QRegularExpression(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QRegularExpression.MatchOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7035,6 +7072,7 @@ class QStandardPaths(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStandardPaths.LocateOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, a0: 'QStandardPaths') -> None: ... @@ -7305,6 +7343,7 @@ class QTextBoundaryFinder(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextBoundaryFinder.BoundaryReasons': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7346,6 +7385,7 @@ class QTextCodec(sip.wrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextCodec.ConversionFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ConverterState(sip.simplewrapper): @@ -7354,6 +7394,7 @@ class QTextCodec(sip.wrapper): def __init__(self) -> None: ... + def convertFromUnicode(self, in_: str, state: 'QTextCodec.ConverterState') -> QByteArray: ... def convertToUnicode(self, in_: bytes, state: 'QTextCodec.ConverterState') -> str: ... def mibEnum(self) -> int: ... def aliases(self) -> typing.List[QByteArray]: ... @@ -7459,6 +7500,7 @@ class QTextStream(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextStream.NumberFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7830,6 +7872,7 @@ class QUrl(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QUrl.ComponentFormattingOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class UserInputResolutionOptions(sip.simplewrapper): @@ -7844,6 +7887,7 @@ class QUrl(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QUrl.UserInputResolutionOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload diff --git a/PyQt5-stubs/QtDBus.pyi b/PyQt5-stubs/QtDBus.pyi index e85c05df..61fbe989 100644 --- a/PyQt5-stubs/QtDBus.pyi +++ b/PyQt5-stubs/QtDBus.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtDBus module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -144,6 +144,7 @@ class QDBusConnection(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDBusConnection.RegisterOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class ConnectionCapabilities(sip.simplewrapper): @@ -158,6 +159,7 @@ class QDBusConnection(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDBusConnection.ConnectionCapabilities': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -438,6 +440,7 @@ class QDBusServiceWatcher(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDBusServiceWatcher.WatchMode': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload diff --git a/PyQt5-stubs/QtGui.pyi b/PyQt5-stubs/QtGui.pyi index 853d3b1b..892cd799 100644 --- a/PyQt5-stubs/QtGui.pyi +++ b/PyQt5-stubs/QtGui.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtGui module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -1119,6 +1119,7 @@ class QTouchEvent(QInputEvent): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTouchEvent.TouchPoint.InfoFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def ellipseDiameters(self) -> QtCore.QSizeF: ... @@ -1813,6 +1814,7 @@ class QGlyphRun(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGlyphRun.GlyphRunFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2299,6 +2301,7 @@ class QImageIOHandler(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QImageIOHandler.Transformations': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self) -> None: ... @@ -2826,6 +2829,7 @@ class QOpenGLBuffer(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLBuffer.RangeAccessFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2975,6 +2979,7 @@ class QOpenGLDebugMessage(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLDebugMessage.Sources': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Types(sip.simplewrapper): @@ -2989,6 +2994,7 @@ class QOpenGLDebugMessage(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLDebugMessage.Types': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Severities(sip.simplewrapper): @@ -3003,6 +3009,7 @@ class QOpenGLDebugMessage(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLDebugMessage.Severities': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3215,6 +3222,7 @@ class QOpenGLShader(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLShader.ShaderType': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, type: typing.Union['QOpenGLShader.ShaderType', 'QOpenGLShader.ShaderTypeBit'], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -3727,6 +3735,7 @@ class QOpenGLTexture(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QOpenGLTexture.Features': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -4654,6 +4663,7 @@ class QPainter(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QPainter.RenderHints': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class PixmapFragment(sip.simplewrapper): @@ -4689,6 +4699,7 @@ class QPainter(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QPainter.PixmapFragmentHints': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5036,6 +5047,7 @@ class QTextItem(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextItem.RenderFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5131,6 +5143,7 @@ class QPaintEngine(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QPaintEngine.PaintEngineFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class DirtyFlags(sip.simplewrapper): @@ -5145,6 +5158,7 @@ class QPaintEngine(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QPaintEngine.DirtyFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, features: typing.Union['QPaintEngine.PaintEngineFeatures', 'QPaintEngine.PaintEngineFeature'] = ...) -> None: ... @@ -5999,6 +6013,7 @@ class QRawFont(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QRawFont.LayoutFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -6511,6 +6526,7 @@ class QSurfaceFormat(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QSurfaceFormat.FormatOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -6768,6 +6784,7 @@ class QTextDocument(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextDocument.FindFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7067,6 +7084,7 @@ class QTextFormat(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextFormat.PageBreakFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7722,6 +7740,7 @@ class QTextOption(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextOption.Flags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class Tab(sip.simplewrapper): @@ -7838,6 +7857,7 @@ class QTouchDevice(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTouchDevice.Capabilities': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload diff --git a/PyQt5-stubs/QtNetwork.pyi b/PyQt5-stubs/QtNetwork.pyi index 79a7a7f9..002dde98 100644 --- a/PyQt5-stubs/QtNetwork.pyi +++ b/PyQt5-stubs/QtNetwork.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtNetwork module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -150,6 +150,7 @@ class QAbstractSocket(QtCore.QIODevice): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QAbstractSocket.BindMode': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class PauseModes(sip.simplewrapper): @@ -164,6 +165,7 @@ class QAbstractSocket(QtCore.QIODevice): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QAbstractSocket.PauseModes': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, socketType: 'QAbstractSocket.SocketType', parent: QtCore.QObject) -> None: ... @@ -401,6 +403,7 @@ class QHostAddress(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QHostAddress.ConversionMode': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -496,6 +499,7 @@ class QHstsPolicy(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QHstsPolicy.PolicyFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -568,6 +572,7 @@ class QLocalServer(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QLocalServer.SocketOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -751,6 +756,7 @@ class QNetworkConfigurationManager(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QNetworkConfigurationManager.Capabilities': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -815,6 +821,7 @@ class QNetworkConfiguration(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QNetworkConfiguration.StateFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -974,6 +981,7 @@ class QNetworkInterface(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QNetworkInterface.InterfaceFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -1034,6 +1042,7 @@ class QNetworkProxy(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QNetworkProxy.Capabilities': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -1345,6 +1354,7 @@ class QNetworkSession(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QNetworkSession.UsagePolicies': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, connConfig: QNetworkConfiguration, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -1438,6 +1448,7 @@ class QSsl(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QSsl.SslOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... diff --git a/PyQt5-stubs/QtOpenGL.pyi b/PyQt5-stubs/QtOpenGL.pyi index e8383f54..3a7712d3 100644 --- a/PyQt5-stubs/QtOpenGL.pyi +++ b/PyQt5-stubs/QtOpenGL.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtOpenGL module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -79,6 +79,7 @@ class QGL(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGL.FormatOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @@ -124,6 +125,7 @@ class QGLFormat(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGLFormat.OpenGLVersionFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -218,6 +220,7 @@ class QGLContext(sip.wrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGLContext.BindOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, format: QGLFormat) -> None: ... diff --git a/PyQt5-stubs/QtPrintSupport.pyi b/PyQt5-stubs/QtPrintSupport.pyi index eec8ff2f..e83a9db0 100644 --- a/PyQt5-stubs/QtPrintSupport.pyi +++ b/PyQt5-stubs/QtPrintSupport.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtPrintSupport module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -70,6 +70,7 @@ class QAbstractPrintDialog(QtWidgets.QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QAbstractPrintDialog.PrintDialogOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, printer: 'QPrinter', parent: typing.Optional[QtWidgets.QWidget] = ...) -> None: ... diff --git a/PyQt5-stubs/QtSql.pyi b/PyQt5-stubs/QtSql.pyi index dbafd4ea..36fa69ba 100644 --- a/PyQt5-stubs/QtSql.pyi +++ b/PyQt5-stubs/QtSql.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtSql module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -654,4 +654,5 @@ class QSql(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QSql.ParamType': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... diff --git a/PyQt5-stubs/QtTest.pyi b/PyQt5-stubs/QtTest.pyi index 626baf4f..8e6b8582 100644 --- a/PyQt5-stubs/QtTest.pyi +++ b/PyQt5-stubs/QtTest.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtTest module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # diff --git a/PyQt5-stubs/QtWidgets.pyi b/PyQt5-stubs/QtWidgets.pyi index c0e55c63..c0dea280 100644 --- a/PyQt5-stubs/QtWidgets.pyi +++ b/PyQt5-stubs/QtWidgets.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtWidgets module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # @@ -59,6 +59,7 @@ class QWidget(QtCore.QObject, QtGui.QPaintDevice): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QWidget.RenderFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... @@ -657,6 +658,7 @@ class QAbstractItemView(QAbstractScrollArea): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QAbstractItemView.EditTriggers': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @@ -892,6 +894,7 @@ class QAbstractSpinBox(QWidget): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QAbstractSpinBox.StepEnabled': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @@ -1569,6 +1572,7 @@ class QColorDialog(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QColorDialog.ColorDialogOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2408,6 +2412,7 @@ class QStyle(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyle.State': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class SubControls(sip.simplewrapper): @@ -2422,6 +2427,7 @@ class QStyle(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyle.SubControls': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self) -> None: ... @@ -2634,6 +2640,7 @@ class QDateTimeEdit(QAbstractSpinBox): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDateTimeEdit.Sections': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -2837,6 +2844,7 @@ class QDialogButtonBox(QWidget): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDialogButtonBox.StandardButtons': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... rejected: QtCore.pyqtSignal # fix issue #5 @@ -2958,6 +2966,7 @@ class QDockWidget(QWidget): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QDockWidget.DockWidgetFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3055,6 +3064,7 @@ class QFileDialog(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFileDialog.Options': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3183,6 +3193,7 @@ class QFileIconProvider(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFileIconProvider.Options': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self) -> None: ... @@ -3298,6 +3309,7 @@ class QFontComboBox(QComboBox): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFontComboBox.FontFilters': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @@ -3337,6 +3349,7 @@ class QFontDialog(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QFontDialog.FontDialogOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3528,6 +3541,7 @@ class QPinchGesture(QGesture): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QPinchGesture.ChangeFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -3654,6 +3668,7 @@ class QGestureRecognizer(sip.wrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGestureRecognizer.Result': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -3795,6 +3810,7 @@ class QGraphicsEffect(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsEffect.ChangeFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -3851,6 +3867,7 @@ class QGraphicsBlurEffect(QGraphicsEffect): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsBlurEffect.BlurHints': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... @@ -4048,6 +4065,7 @@ class QGraphicsItem(sip.wrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsItem.GraphicsItemFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... Type = ... # type: int @@ -4784,6 +4802,7 @@ class QGraphicsScene(QtCore.QObject): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsScene.SceneLayers': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5117,6 +5136,7 @@ class QGraphicsView(QAbstractScrollArea): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsView.CacheMode': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class OptimizationFlags(sip.simplewrapper): @@ -5131,6 +5151,7 @@ class QGraphicsView(QAbstractScrollArea): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QGraphicsView.OptimizationFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -5535,6 +5556,7 @@ class QInputDialog(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QInputDialog.InputDialogOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... @@ -6218,6 +6240,7 @@ class QMainWindow(QWidget): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QMainWindow.DockOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... @@ -6316,6 +6339,7 @@ class QMdiArea(QAbstractScrollArea): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QMdiArea.AreaOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... @@ -6385,6 +6409,7 @@ class QMdiSubWindow(QWidget): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QMdiSubWindow.SubWindowOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... @@ -6653,6 +6678,7 @@ class QMessageBox(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QMessageBox.StandardButtons': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7353,6 +7379,7 @@ class QSizePolicy(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QSizePolicy.ControlTypes': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -7782,6 +7809,7 @@ class QStyleOptionFrame(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionFrame.FrameFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... features = ... # type: typing.Union['QStyleOptionFrame.FrameFeatures', 'QStyleOptionFrame.FrameFeature'] @@ -7906,6 +7934,7 @@ class QStyleOptionButton(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionButton.ButtonFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... features = ... # type: typing.Union['QStyleOptionButton.ButtonFeatures', 'QStyleOptionButton.ButtonFeature'] @@ -7959,6 +7988,7 @@ class QStyleOptionTab(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionTab.CornerWidgets': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... class TabFeatures(sip.simplewrapper): @@ -7973,6 +8003,7 @@ class QStyleOptionTab(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionTab.TabFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... cornerWidgets = ... # type: typing.Union['QStyleOptionTab.CornerWidgets', 'QStyleOptionTab.CornerWidget'] @@ -8119,6 +8150,7 @@ class QStyleOptionViewItem(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionViewItem.ViewItemFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... backgroundBrush = ... # type: typing.Union[QtGui.QBrush, QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] @@ -8281,6 +8313,7 @@ class QStyleOptionToolButton(QStyleOptionComplex): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionToolButton.ToolButtonFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... arrowType = ... # type: QtCore.Qt.ArrowType @@ -8406,6 +8439,7 @@ class QStyleOptionToolBar(QStyleOption): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QStyleOptionToolBar.ToolBarFeatures': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... features = ... # type: typing.Union['QStyleOptionToolBar.ToolBarFeatures', 'QStyleOptionToolBar.ToolBarFeature'] @@ -9057,6 +9091,7 @@ class QTextEdit(QAbstractScrollArea): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTextEdit.AutoFormatting': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -9743,6 +9778,7 @@ class QTreeWidgetItemIterator(sip.simplewrapper): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QTreeWidgetItemIterator.IteratorFlags': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... @typing.overload @@ -9964,6 +10000,7 @@ class QWizard(QDialog): def __hash__(self) -> int: ... def __bool__(self) -> int: ... def __invert__(self) -> 'QWizard.WizardOptions': ... + def __index__(self) -> int: ... def __int__(self) -> int: ... def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... diff --git a/PyQt5-stubs/QtXml.pyi b/PyQt5-stubs/QtXml.pyi index 7eb8e708..e8a41d04 100644 --- a/PyQt5-stubs/QtXml.pyi +++ b/PyQt5-stubs/QtXml.pyi @@ -1,6 +1,6 @@ # The PEP 484 type hints stub file for the QtXml module. # -# Generated by SIP 5.1.1 +# Generated by SIP 5.1.2 # # Copyright (c) 2020 Riverbank Computing Limited # diff --git a/PyQt5-stubs/__init__.pyi b/PyQt5-stubs/__init__.pyi index 8bad256d..3d582a0d 100644 --- a/PyQt5-stubs/__init__.pyi +++ b/PyQt5-stubs/__init__.pyi @@ -1 +1 @@ -__version__ = "5.14.1.1" +__version__ = "5.14.2.0" diff --git a/requirements/develop.txt b/requirements/develop.txt index 1febed0e..6790448f 100644 --- a/requirements/develop.txt +++ b/requirements/develop.txt @@ -12,7 +12,7 @@ mypy==0.641 # via -r develop.in pluggy==0.8.0 # via pytest py==1.7.0 # via pytest pyqt5-sip==12.7.0 # via -r production.txt, pyqt5 -pyqt5==5.14.1 # via -r production.txt +pyqt5==5.14.2 # via -r production.txt pytest==4.0.1 # via -r develop.in six==1.11.0 # via more-itertools, pytest typed-ast==1.1.0 # via mypy diff --git a/requirements/production.txt b/requirements/production.txt index fbdbdf15..4d7f38af 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -5,4 +5,4 @@ # pip-compile --output-file=production.txt production.in # pyqt5-sip==12.7.0 # via pyqt5 -pyqt5==5.14.1 # via -r production.in +pyqt5==5.14.2 # via -r production.in