Skip to content

Commit c17297d

Browse files
authored
Merge pull request #34 from BryceBeagle/master
Update to PyQt 5.14.2
2 parents 0edeb06 + ccd2224 commit c17297d

File tree

13 files changed

+133
-13
lines changed

13 files changed

+133
-13
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 <[email protected]>
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

@@ -2141,6 +2163,7 @@ class QIODevice(QObject):
21412163
def __hash__(self) -> int: ...
21422164
def __bool__(self) -> int: ...
21432165
def __invert__(self) -> 'QIODevice.OpenMode': ...
2166+
def __index__(self) -> int: ...
21442167
def __int__(self) -> int: ...
21452168

21462169
@typing.overload
@@ -2246,6 +2269,7 @@ class QByteArray(sip.simplewrapper):
22462269
def __hash__(self) -> int: ...
22472270
def __bool__(self) -> int: ...
22482271
def __invert__(self) -> 'QByteArray.Base64Options': ...
2272+
def __index__(self) -> int: ...
22492273
def __int__(self) -> int: ...
22502274

22512275
@typing.overload
@@ -2433,6 +2457,7 @@ class QCommandLineOption(sip.simplewrapper):
24332457
def __hash__(self) -> int: ...
24342458
def __bool__(self) -> int: ...
24352459
def __invert__(self) -> 'QCommandLineOption.Flags': ...
2460+
def __index__(self) -> int: ...
24362461
def __int__(self) -> int: ...
24372462

24382463
@typing.overload
@@ -3249,6 +3274,7 @@ class QDir(sip.simplewrapper):
32493274
def __hash__(self) -> int: ...
32503275
def __bool__(self) -> int: ...
32513276
def __invert__(self) -> 'QDir.Filters': ...
3277+
def __index__(self) -> int: ...
32523278
def __int__(self) -> int: ...
32533279

32543280
class SortFlags(sip.simplewrapper):
@@ -3263,6 +3289,7 @@ class QDir(sip.simplewrapper):
32633289
def __hash__(self) -> int: ...
32643290
def __bool__(self) -> int: ...
32653291
def __invert__(self) -> 'QDir.SortFlags': ...
3292+
def __index__(self) -> int: ...
32663293
def __int__(self) -> int: ...
32673294

32683295
@typing.overload
@@ -3391,6 +3418,7 @@ class QDirIterator(sip.simplewrapper):
33913418
def __hash__(self) -> int: ...
33923419
def __bool__(self) -> int: ...
33933420
def __invert__(self) -> 'QDirIterator.IteratorFlags': ...
3421+
def __index__(self) -> int: ...
33943422
def __int__(self) -> int: ...
33953423

33963424
@typing.overload
@@ -3535,6 +3563,7 @@ class QEventLoop(QObject):
35353563
def __hash__(self) -> int: ...
35363564
def __bool__(self) -> int: ...
35373565
def __invert__(self) -> 'QEventLoop.ProcessEventsFlags': ...
3566+
def __index__(self) -> int: ...
35383567
def __int__(self) -> int: ...
35393568

35403569
def __init__(self, parent: typing.Optional[QObject] = ...) -> None: ...
@@ -3631,6 +3660,7 @@ class QFileDevice(QIODevice):
36313660
def __hash__(self) -> int: ...
36323661
def __bool__(self) -> int: ...
36333662
def __invert__(self) -> 'QFileDevice.Permissions': ...
3663+
def __index__(self) -> int: ...
36343664
def __int__(self) -> int: ...
36353665

36363666
class FileHandleFlags(sip.simplewrapper):
@@ -3645,6 +3675,7 @@ class QFileDevice(QIODevice):
36453675
def __hash__(self) -> int: ...
36463676
def __bool__(self) -> int: ...
36473677
def __invert__(self) -> 'QFileDevice.FileHandleFlags': ...
3678+
def __index__(self) -> int: ...
36483679
def __int__(self) -> int: ...
36493680

36503681
def readLineData(self, maxlen: int) -> bytes: ...
@@ -3958,6 +3989,7 @@ class QItemSelectionModel(QObject):
39583989
def __hash__(self) -> int: ...
39593990
def __bool__(self) -> int: ...
39603991
def __invert__(self) -> 'QItemSelectionModel.SelectionFlags': ...
3992+
def __index__(self) -> int: ...
39613993
def __int__(self) -> int: ...
39623994

39633995
@typing.overload
@@ -4186,6 +4218,7 @@ class QLibrary(QObject):
41864218
def __hash__(self) -> int: ...
41874219
def __bool__(self) -> int: ...
41884220
def __invert__(self) -> 'QLibrary.LoadHints': ...
4221+
def __index__(self) -> int: ...
41894222
def __int__(self) -> int: ...
41904223

41914224
@typing.overload
@@ -5192,6 +5225,7 @@ class QLocale(sip.simplewrapper):
51925225
def __hash__(self) -> int: ...
51935226
def __bool__(self) -> int: ...
51945227
def __invert__(self) -> 'QLocale.NumberOptions': ...
5228+
def __index__(self) -> int: ...
51955229
def __int__(self) -> int: ...
51965230

51975231
@typing.overload
@@ -5638,6 +5672,7 @@ class QMetaType(sip.simplewrapper):
56385672
def __hash__(self) -> int: ...
56395673
def __bool__(self) -> int: ...
56405674
def __invert__(self) -> 'QMetaType.TypeFlags': ...
5675+
def __index__(self) -> int: ...
56415676
def __int__(self) -> int: ...
56425677

56435678
def __init__(self, type: int) -> None: ...
@@ -6503,6 +6538,7 @@ class QRegularExpression(sip.simplewrapper):
65036538
def __hash__(self) -> int: ...
65046539
def __bool__(self) -> int: ...
65056540
def __invert__(self) -> 'QRegularExpression.PatternOptions': ...
6541+
def __index__(self) -> int: ...
65066542
def __int__(self) -> int: ...
65076543

65086544
class MatchOptions(sip.simplewrapper):
@@ -6517,6 +6553,7 @@ class QRegularExpression(sip.simplewrapper):
65176553
def __hash__(self) -> int: ...
65186554
def __bool__(self) -> int: ...
65196555
def __invert__(self) -> 'QRegularExpression.MatchOptions': ...
6556+
def __index__(self) -> int: ...
65206557
def __int__(self) -> int: ...
65216558

65226559
@typing.overload
@@ -7035,6 +7072,7 @@ class QStandardPaths(sip.simplewrapper):
70357072
def __hash__(self) -> int: ...
70367073
def __bool__(self) -> int: ...
70377074
def __invert__(self) -> 'QStandardPaths.LocateOptions': ...
7075+
def __index__(self) -> int: ...
70387076
def __int__(self) -> int: ...
70397077

70407078
def __init__(self, a0: 'QStandardPaths') -> None: ...
@@ -7305,6 +7343,7 @@ class QTextBoundaryFinder(sip.simplewrapper):
73057343
def __hash__(self) -> int: ...
73067344
def __bool__(self) -> int: ...
73077345
def __invert__(self) -> 'QTextBoundaryFinder.BoundaryReasons': ...
7346+
def __index__(self) -> int: ...
73087347
def __int__(self) -> int: ...
73097348

73107349
@typing.overload
@@ -7346,6 +7385,7 @@ class QTextCodec(sip.wrapper):
73467385
def __hash__(self) -> int: ...
73477386
def __bool__(self) -> int: ...
73487387
def __invert__(self) -> 'QTextCodec.ConversionFlags': ...
7388+
def __index__(self) -> int: ...
73497389
def __int__(self) -> int: ...
73507390

73517391
class ConverterState(sip.simplewrapper):
@@ -7354,6 +7394,7 @@ class QTextCodec(sip.wrapper):
73547394

73557395
def __init__(self) -> None: ...
73567396

7397+
def convertFromUnicode(self, in_: str, state: 'QTextCodec.ConverterState') -> QByteArray: ...
73577398
def convertToUnicode(self, in_: bytes, state: 'QTextCodec.ConverterState') -> str: ...
73587399
def mibEnum(self) -> int: ...
73597400
def aliases(self) -> typing.List[QByteArray]: ...
@@ -7459,6 +7500,7 @@ class QTextStream(sip.simplewrapper):
74597500
def __hash__(self) -> int: ...
74607501
def __bool__(self) -> int: ...
74617502
def __invert__(self) -> 'QTextStream.NumberFlags': ...
7503+
def __index__(self) -> int: ...
74627504
def __int__(self) -> int: ...
74637505

74647506
@typing.overload
@@ -7830,6 +7872,7 @@ class QUrl(sip.simplewrapper):
78307872
def __hash__(self) -> int: ...
78317873
def __bool__(self) -> int: ...
78327874
def __invert__(self) -> 'QUrl.ComponentFormattingOptions': ...
7875+
def __index__(self) -> int: ...
78337876
def __int__(self) -> int: ...
78347877

78357878
class UserInputResolutionOptions(sip.simplewrapper):
@@ -7844,6 +7887,7 @@ class QUrl(sip.simplewrapper):
78447887
def __hash__(self) -> int: ...
78457888
def __bool__(self) -> int: ...
78467889
def __invert__(self) -> 'QUrl.UserInputResolutionOptions': ...
7890+
def __index__(self) -> int: ...
78477891
def __int__(self) -> int: ...
78487892

78497893
@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 <[email protected]>
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)