Skip to content

Commit d1c471d

Browse files
committed
Update to PyQt 5.14.2
1 parent fce8532 commit d1c471d

File tree

10 files changed

+130
-10
lines changed

10 files changed

+130
-10
lines changed

PyQt5-stubs/QtCore.pyi

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The PEP 484 type hints stub file for the QtCore module.
22
#
3-
# Generated by SIP 5.1.1
3+
# Generated by SIP 5.1.2
44
#
55
# Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com>
66
#
@@ -1347,6 +1347,7 @@ class Qt(sip.simplewrapper):
13471347
def __hash__(self) -> int: ...
13481348
def __bool__(self) -> int: ...
13491349
def __invert__(self) -> 'Qt.KeyboardModifiers': ...
1350+
def __index__(self) -> int: ...
13501351
def __int__(self) -> int: ...
13511352

13521353
class MouseButtons(sip.simplewrapper):
@@ -1361,6 +1362,7 @@ class Qt(sip.simplewrapper):
13611362
def __hash__(self) -> int: ...
13621363
def __bool__(self) -> int: ...
13631364
def __invert__(self) -> 'Qt.MouseButtons': ...
1365+
def __index__(self) -> int: ...
13641366
def __int__(self) -> int: ...
13651367

13661368
class Orientations(sip.simplewrapper):
@@ -1375,6 +1377,7 @@ class Qt(sip.simplewrapper):
13751377
def __hash__(self) -> int: ...
13761378
def __bool__(self) -> int: ...
13771379
def __invert__(self) -> 'Qt.Orientations': ...
1380+
def __index__(self) -> int: ...
13781381
def __int__(self) -> int: ...
13791382

13801383
class Alignment(sip.simplewrapper):
@@ -1389,6 +1392,7 @@ class Qt(sip.simplewrapper):
13891392
def __hash__(self) -> int: ...
13901393
def __bool__(self) -> int: ...
13911394
def __invert__(self) -> 'Qt.Alignment': ...
1395+
def __index__(self) -> int: ...
13921396
def __int__(self) -> int: ...
13931397

13941398
class WindowFlags(sip.simplewrapper):
@@ -1403,6 +1407,7 @@ class Qt(sip.simplewrapper):
14031407
def __hash__(self) -> int: ...
14041408
def __bool__(self) -> int: ...
14051409
def __invert__(self) -> 'Qt.WindowFlags': ...
1410+
def __index__(self) -> int: ...
14061411
def __int__(self) -> int: ...
14071412

14081413
class WindowStates(sip.simplewrapper):
@@ -1417,6 +1422,7 @@ class Qt(sip.simplewrapper):
14171422
def __hash__(self) -> int: ...
14181423
def __bool__(self) -> int: ...
14191424
def __invert__(self) -> 'Qt.WindowStates': ...
1425+
def __index__(self) -> int: ...
14201426
def __int__(self) -> int: ...
14211427

14221428
class ImageConversionFlags(sip.simplewrapper):
@@ -1431,6 +1437,7 @@ class Qt(sip.simplewrapper):
14311437
def __hash__(self) -> int: ...
14321438
def __bool__(self) -> int: ...
14331439
def __invert__(self) -> 'Qt.ImageConversionFlags': ...
1440+
def __index__(self) -> int: ...
14341441
def __int__(self) -> int: ...
14351442

14361443
class DockWidgetAreas(sip.simplewrapper):
@@ -1445,6 +1452,7 @@ class Qt(sip.simplewrapper):
14451452
def __hash__(self) -> int: ...
14461453
def __bool__(self) -> int: ...
14471454
def __invert__(self) -> 'Qt.DockWidgetAreas': ...
1455+
def __index__(self) -> int: ...
14481456
def __int__(self) -> int: ...
14491457

14501458
class ToolBarAreas(sip.simplewrapper):
@@ -1459,6 +1467,7 @@ class Qt(sip.simplewrapper):
14591467
def __hash__(self) -> int: ...
14601468
def __bool__(self) -> int: ...
14611469
def __invert__(self) -> 'Qt.ToolBarAreas': ...
1470+
def __index__(self) -> int: ...
14621471
def __int__(self) -> int: ...
14631472

14641473
class InputMethodQueries(sip.simplewrapper):
@@ -1473,6 +1482,7 @@ class Qt(sip.simplewrapper):
14731482
def __hash__(self) -> int: ...
14741483
def __bool__(self) -> int: ...
14751484
def __invert__(self) -> 'Qt.InputMethodQueries': ...
1485+
def __index__(self) -> int: ...
14761486
def __int__(self) -> int: ...
14771487

14781488
class DropActions(sip.simplewrapper):
@@ -1487,6 +1497,7 @@ class Qt(sip.simplewrapper):
14871497
def __hash__(self) -> int: ...
14881498
def __bool__(self) -> int: ...
14891499
def __invert__(self) -> 'Qt.DropActions': ...
1500+
def __index__(self) -> int: ...
14901501
def __int__(self) -> int: ...
14911502

14921503
class ItemFlags(sip.simplewrapper):
@@ -1501,6 +1512,7 @@ class Qt(sip.simplewrapper):
15011512
def __hash__(self) -> int: ...
15021513
def __bool__(self) -> int: ...
15031514
def __invert__(self) -> 'Qt.ItemFlags': ...
1515+
def __index__(self) -> int: ...
15041516
def __int__(self) -> int: ...
15051517

15061518
class MatchFlags(sip.simplewrapper):
@@ -1515,6 +1527,7 @@ class Qt(sip.simplewrapper):
15151527
def __hash__(self) -> int: ...
15161528
def __bool__(self) -> int: ...
15171529
def __invert__(self) -> 'Qt.MatchFlags': ...
1530+
def __index__(self) -> int: ...
15181531
def __int__(self) -> int: ...
15191532

15201533
class TextInteractionFlags(sip.simplewrapper):
@@ -1529,6 +1542,7 @@ class Qt(sip.simplewrapper):
15291542
def __hash__(self) -> int: ...
15301543
def __bool__(self) -> int: ...
15311544
def __invert__(self) -> 'Qt.TextInteractionFlags': ...
1545+
def __index__(self) -> int: ...
15321546
def __int__(self) -> int: ...
15331547

15341548
class InputMethodHints(sip.simplewrapper):
@@ -1543,6 +1557,7 @@ class Qt(sip.simplewrapper):
15431557
def __hash__(self) -> int: ...
15441558
def __bool__(self) -> int: ...
15451559
def __invert__(self) -> 'Qt.InputMethodHints': ...
1560+
def __index__(self) -> int: ...
15461561
def __int__(self) -> int: ...
15471562

15481563
class TouchPointStates(sip.simplewrapper):
@@ -1557,6 +1572,7 @@ class Qt(sip.simplewrapper):
15571572
def __hash__(self) -> int: ...
15581573
def __bool__(self) -> int: ...
15591574
def __invert__(self) -> 'Qt.TouchPointStates': ...
1575+
def __index__(self) -> int: ...
15601576
def __int__(self) -> int: ...
15611577

15621578
class GestureFlags(sip.simplewrapper):
@@ -1571,6 +1587,7 @@ class Qt(sip.simplewrapper):
15711587
def __hash__(self) -> int: ...
15721588
def __bool__(self) -> int: ...
15731589
def __invert__(self) -> 'Qt.GestureFlags': ...
1590+
def __index__(self) -> int: ...
15741591
def __int__(self) -> int: ...
15751592

15761593
class ScreenOrientations(sip.simplewrapper):
@@ -1585,6 +1602,7 @@ class Qt(sip.simplewrapper):
15851602
def __hash__(self) -> int: ...
15861603
def __bool__(self) -> int: ...
15871604
def __invert__(self) -> 'Qt.ScreenOrientations': ...
1605+
def __index__(self) -> int: ...
15881606
def __int__(self) -> int: ...
15891607

15901608
class FindChildOptions(sip.simplewrapper):
@@ -1599,6 +1617,7 @@ class Qt(sip.simplewrapper):
15991617
def __hash__(self) -> int: ...
16001618
def __bool__(self) -> int: ...
16011619
def __invert__(self) -> 'Qt.FindChildOptions': ...
1620+
def __index__(self) -> int: ...
16021621
def __int__(self) -> int: ...
16031622

16041623
class ApplicationStates(sip.simplewrapper):
@@ -1613,6 +1632,7 @@ class Qt(sip.simplewrapper):
16131632
def __hash__(self) -> int: ...
16141633
def __bool__(self) -> int: ...
16151634
def __invert__(self) -> 'Qt.ApplicationStates': ...
1635+
def __index__(self) -> int: ...
16161636
def __int__(self) -> int: ...
16171637

16181638
class Edges(sip.simplewrapper):
@@ -1627,6 +1647,7 @@ class Qt(sip.simplewrapper):
16271647
def __hash__(self) -> int: ...
16281648
def __bool__(self) -> int: ...
16291649
def __invert__(self) -> 'Qt.Edges': ...
1650+
def __index__(self) -> int: ...
16301651
def __int__(self) -> int: ...
16311652

16321653
class MouseEventFlags(sip.simplewrapper):
@@ -1641,6 +1662,7 @@ class Qt(sip.simplewrapper):
16411662
def __hash__(self) -> int: ...
16421663
def __bool__(self) -> int: ...
16431664
def __invert__(self) -> 'Qt.MouseEventFlags': ...
1665+
def __index__(self) -> int: ...
16441666
def __int__(self) -> int: ...
16451667

16461668

@@ -2139,6 +2161,7 @@ class QIODevice(QObject):
21392161
def __hash__(self) -> int: ...
21402162
def __bool__(self) -> int: ...
21412163
def __invert__(self) -> 'QIODevice.OpenMode': ...
2164+
def __index__(self) -> int: ...
21422165
def __int__(self) -> int: ...
21432166

21442167
@typing.overload
@@ -2244,6 +2267,7 @@ class QByteArray(sip.simplewrapper):
22442267
def __hash__(self) -> int: ...
22452268
def __bool__(self) -> int: ...
22462269
def __invert__(self) -> 'QByteArray.Base64Options': ...
2270+
def __index__(self) -> int: ...
22472271
def __int__(self) -> int: ...
22482272

22492273
@typing.overload
@@ -2431,6 +2455,7 @@ class QCommandLineOption(sip.simplewrapper):
24312455
def __hash__(self) -> int: ...
24322456
def __bool__(self) -> int: ...
24332457
def __invert__(self) -> 'QCommandLineOption.Flags': ...
2458+
def __index__(self) -> int: ...
24342459
def __int__(self) -> int: ...
24352460

24362461
@typing.overload
@@ -3247,6 +3272,7 @@ class QDir(sip.simplewrapper):
32473272
def __hash__(self) -> int: ...
32483273
def __bool__(self) -> int: ...
32493274
def __invert__(self) -> 'QDir.Filters': ...
3275+
def __index__(self) -> int: ...
32503276
def __int__(self) -> int: ...
32513277

32523278
class SortFlags(sip.simplewrapper):
@@ -3261,6 +3287,7 @@ class QDir(sip.simplewrapper):
32613287
def __hash__(self) -> int: ...
32623288
def __bool__(self) -> int: ...
32633289
def __invert__(self) -> 'QDir.SortFlags': ...
3290+
def __index__(self) -> int: ...
32643291
def __int__(self) -> int: ...
32653292

32663293
@typing.overload
@@ -3389,6 +3416,7 @@ class QDirIterator(sip.simplewrapper):
33893416
def __hash__(self) -> int: ...
33903417
def __bool__(self) -> int: ...
33913418
def __invert__(self) -> 'QDirIterator.IteratorFlags': ...
3419+
def __index__(self) -> int: ...
33923420
def __int__(self) -> int: ...
33933421

33943422
@typing.overload
@@ -3533,6 +3561,7 @@ class QEventLoop(QObject):
35333561
def __hash__(self) -> int: ...
35343562
def __bool__(self) -> int: ...
35353563
def __invert__(self) -> 'QEventLoop.ProcessEventsFlags': ...
3564+
def __index__(self) -> int: ...
35363565
def __int__(self) -> int: ...
35373566

35383567
def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ...
@@ -3629,6 +3658,7 @@ class QFileDevice(QIODevice):
36293658
def __hash__(self) -> int: ...
36303659
def __bool__(self) -> int: ...
36313660
def __invert__(self) -> 'QFileDevice.Permissions': ...
3661+
def __index__(self) -> int: ...
36323662
def __int__(self) -> int: ...
36333663

36343664
class FileHandleFlags(sip.simplewrapper):
@@ -3643,6 +3673,7 @@ class QFileDevice(QIODevice):
36433673
def __hash__(self) -> int: ...
36443674
def __bool__(self) -> int: ...
36453675
def __invert__(self) -> 'QFileDevice.FileHandleFlags': ...
3676+
def __index__(self) -> int: ...
36463677
def __int__(self) -> int: ...
36473678

36483679
def readLineData(self, maxlen: int) -> bytes: ...
@@ -3956,6 +3987,7 @@ class QItemSelectionModel(QObject):
39563987
def __hash__(self) -> int: ...
39573988
def __bool__(self) -> int: ...
39583989
def __invert__(self) -> 'QItemSelectionModel.SelectionFlags': ...
3990+
def __index__(self) -> int: ...
39593991
def __int__(self) -> int: ...
39603992

39613993
@typing.overload
@@ -4184,6 +4216,7 @@ class QLibrary(QObject):
41844216
def __hash__(self) -> int: ...
41854217
def __bool__(self) -> int: ...
41864218
def __invert__(self) -> 'QLibrary.LoadHints': ...
4219+
def __index__(self) -> int: ...
41874220
def __int__(self) -> int: ...
41884221

41894222
@typing.overload
@@ -5190,6 +5223,7 @@ class QLocale(sip.simplewrapper):
51905223
def __hash__(self) -> int: ...
51915224
def __bool__(self) -> int: ...
51925225
def __invert__(self) -> 'QLocale.NumberOptions': ...
5226+
def __index__(self) -> int: ...
51935227
def __int__(self) -> int: ...
51945228

51955229
@typing.overload
@@ -5636,6 +5670,7 @@ class QMetaType(sip.simplewrapper):
56365670
def __hash__(self) -> int: ...
56375671
def __bool__(self) -> int: ...
56385672
def __invert__(self) -> 'QMetaType.TypeFlags': ...
5673+
def __index__(self) -> int: ...
56395674
def __int__(self) -> int: ...
56405675

56415676
def __init__(self, type: int) -> None: ...
@@ -6493,6 +6528,7 @@ class QRegularExpression(sip.simplewrapper):
64936528
def __hash__(self) -> int: ...
64946529
def __bool__(self) -> int: ...
64956530
def __invert__(self) -> 'QRegularExpression.PatternOptions': ...
6531+
def __index__(self) -> int: ...
64966532
def __int__(self) -> int: ...
64976533

64986534
class MatchOptions(sip.simplewrapper):
@@ -6507,6 +6543,7 @@ class QRegularExpression(sip.simplewrapper):
65076543
def __hash__(self) -> int: ...
65086544
def __bool__(self) -> int: ...
65096545
def __invert__(self) -> 'QRegularExpression.MatchOptions': ...
6546+
def __index__(self) -> int: ...
65106547
def __int__(self) -> int: ...
65116548

65126549
@typing.overload
@@ -7025,6 +7062,7 @@ class QStandardPaths(sip.simplewrapper):
70257062
def __hash__(self) -> int: ...
70267063
def __bool__(self) -> int: ...
70277064
def __invert__(self) -> 'QStandardPaths.LocateOptions': ...
7065+
def __index__(self) -> int: ...
70287066
def __int__(self) -> int: ...
70297067

70307068
def __init__(self, a0: 'QStandardPaths') -> None: ...
@@ -7295,6 +7333,7 @@ class QTextBoundaryFinder(sip.simplewrapper):
72957333
def __hash__(self) -> int: ...
72967334
def __bool__(self) -> int: ...
72977335
def __invert__(self) -> 'QTextBoundaryFinder.BoundaryReasons': ...
7336+
def __index__(self) -> int: ...
72987337
def __int__(self) -> int: ...
72997338

73007339
@typing.overload
@@ -7336,6 +7375,7 @@ class QTextCodec(sip.wrapper):
73367375
def __hash__(self) -> int: ...
73377376
def __bool__(self) -> int: ...
73387377
def __invert__(self) -> 'QTextCodec.ConversionFlags': ...
7378+
def __index__(self) -> int: ...
73397379
def __int__(self) -> int: ...
73407380

73417381
class ConverterState(sip.simplewrapper):
@@ -7344,6 +7384,7 @@ class QTextCodec(sip.wrapper):
73447384

73457385
def __init__(self) -> None: ...
73467386

7387+
def convertFromUnicode(self, in_: str, state: 'QTextCodec.ConverterState') -> QByteArray: ...
73477388
def convertToUnicode(self, in_: bytes, state: 'QTextCodec.ConverterState') -> str: ...
73487389
def mibEnum(self) -> int: ...
73497390
def aliases(self) -> typing.List[QByteArray]: ...
@@ -7449,6 +7490,7 @@ class QTextStream(sip.simplewrapper):
74497490
def __hash__(self) -> int: ...
74507491
def __bool__(self) -> int: ...
74517492
def __invert__(self) -> 'QTextStream.NumberFlags': ...
7493+
def __index__(self) -> int: ...
74527494
def __int__(self) -> int: ...
74537495

74547496
@typing.overload
@@ -7820,6 +7862,7 @@ class QUrl(sip.simplewrapper):
78207862
def __hash__(self) -> int: ...
78217863
def __bool__(self) -> int: ...
78227864
def __invert__(self) -> 'QUrl.ComponentFormattingOptions': ...
7865+
def __index__(self) -> int: ...
78237866
def __int__(self) -> int: ...
78247867

78257868
class UserInputResolutionOptions(sip.simplewrapper):
@@ -7834,6 +7877,7 @@ class QUrl(sip.simplewrapper):
78347877
def __hash__(self) -> int: ...
78357878
def __bool__(self) -> int: ...
78367879
def __invert__(self) -> 'QUrl.UserInputResolutionOptions': ...
7880+
def __index__(self) -> int: ...
78377881
def __int__(self) -> int: ...
78387882

78397883
@typing.overload

PyQt5-stubs/QtDBus.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The PEP 484 type hints stub file for the QtDBus module.
22
#
3-
# Generated by SIP 5.1.1
3+
# Generated by SIP 5.1.2
44
#
55
# Copyright (c) 2020 Riverbank Computing Limited <info@riverbankcomputing.com>
66
#
@@ -144,6 +144,7 @@ class QDBusConnection(sip.simplewrapper):
144144
def __hash__(self) -> int: ...
145145
def __bool__(self) -> int: ...
146146
def __invert__(self) -> 'QDBusConnection.RegisterOptions': ...
147+
def __index__(self) -> int: ...
147148
def __int__(self) -> int: ...
148149

149150
class ConnectionCapabilities(sip.simplewrapper):
@@ -158,6 +159,7 @@ class QDBusConnection(sip.simplewrapper):
158159
def __hash__(self) -> int: ...
159160
def __bool__(self) -> int: ...
160161
def __invert__(self) -> 'QDBusConnection.ConnectionCapabilities': ...
162+
def __index__(self) -> int: ...
161163
def __int__(self) -> int: ...
162164

163165
@typing.overload
@@ -438,6 +440,7 @@ class QDBusServiceWatcher(QtCore.QObject):
438440
def __hash__(self) -> int: ...
439441
def __bool__(self) -> int: ...
440442
def __invert__(self) -> 'QDBusServiceWatcher.WatchMode': ...
443+
def __index__(self) -> int: ...
441444
def __int__(self) -> int: ...
442445

443446
@typing.overload

0 commit comments

Comments
 (0)