7 Module defining type strings for the different Python types. |
7 Module defining type strings for the different Python types. |
8 """ |
8 """ |
9 |
9 |
10 |
10 |
11 SpecialAttributes = ( |
11 SpecialAttributes = ( |
12 "__bases__", "__class__", "__dict__", "__doc__", "__mro__", "__name__", |
12 "__bases__", |
|
13 "__class__", |
|
14 "__dict__", |
|
15 "__doc__", |
|
16 "__mro__", |
|
17 "__name__", |
13 "__qualname__", |
18 "__qualname__", |
14 ) |
19 ) |
15 |
20 |
16 BatchSize = 200 |
21 BatchSize = 200 |
17 ConfigQtNames = ( |
22 ConfigQtNames = ("PyQt5.", "PyQt6.", "PySide2.", "PySide6.", "Shiboken.EnumType") |
18 'PyQt5.', 'PyQt6.', 'PySide2.', 'PySide6.', 'Shiboken.EnumType' |
|
19 ) |
|
20 |
23 |
21 ConfigKnownQtTypes = ( |
24 ConfigKnownQtTypes = ( |
22 '.QByteArray', '.QPoint', '.QPointF', '.QLabel', '.QPushButton', |
25 ".QByteArray", |
23 '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime', |
26 ".QPoint", |
24 '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex', |
27 ".QPointF", |
25 '.QRegExp', '.QRegularExpression', '.QAction', '.QKeySequence', |
28 ".QLabel", |
26 '.QDomAttr', '.QDomCharacterData', '.QDomComment', '.QDomDocument', |
29 ".QPushButton", |
27 '.QDomElement', '.QDomText', '.QHostAddress', '.EnumType', |
30 ".QRect", |
|
31 ".QRectF", |
|
32 ".QSize", |
|
33 ".QSizeF", |
|
34 ".QColor", |
|
35 ".QDate", |
|
36 ".QTime", |
|
37 ".QDateTime", |
|
38 ".QDir", |
|
39 ".QFile", |
|
40 ".QFont", |
|
41 ".QUrl", |
|
42 ".QModelIndex", |
|
43 ".QRegExp", |
|
44 ".QRegularExpression", |
|
45 ".QAction", |
|
46 ".QKeySequence", |
|
47 ".QDomAttr", |
|
48 ".QDomCharacterData", |
|
49 ".QDomComment", |
|
50 ".QDomDocument", |
|
51 ".QDomElement", |
|
52 ".QDomText", |
|
53 ".QHostAddress", |
|
54 ".EnumType", |
28 ) |
55 ) |
29 |
56 |
30 NonExpandableTypes = ( |
57 NonExpandableTypes = ( |
31 'int', 'float', 'bool', 'NoneType', 'bytes', 'function', 'object', |
58 "int", |
32 'builtin_function_or_method', 'classmethod_descriptor', 'weakref', |
59 "float", |
33 'wrapper_descriptor', 'method_descriptor', 'property', 'method', |
60 "bool", |
34 'getset_descriptor', 'member_descriptor', |
61 "NoneType", |
|
62 "bytes", |
|
63 "function", |
|
64 "object", |
|
65 "builtin_function_or_method", |
|
66 "classmethod_descriptor", |
|
67 "weakref", |
|
68 "wrapper_descriptor", |
|
69 "method_descriptor", |
|
70 "property", |
|
71 "method", |
|
72 "getset_descriptor", |
|
73 "member_descriptor", |
35 ) |
74 ) |