5 |
5 |
6 """ |
6 """ |
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 # |
|
11 # Keep this list in sync with Debugger.Config.ConfigVarTypeFilters |
|
12 # |
|
13 ConfigVarTypeStrings = [ |
|
14 '__', 'NoneType', 'type', |
|
15 'bool', 'int', 'long', 'float', 'complex', |
|
16 'str', 'unicode', 'tuple', 'list', |
|
17 'dict', 'dict-proxy', 'set', 'file', 'xrange', |
|
18 'slice', 'buffer', 'class', 'instance', |
|
19 'method', 'property', 'generator', |
|
20 'function', 'builtin_function_or_method', 'code', 'module', |
|
21 'ellipsis', 'traceback', 'frame', 'other', 'frozenset', 'bytes', |
|
22 ] |
|
23 |
10 |
|
11 SpecialAttributes = ( |
|
12 "__bases__", "__class__", "__dict__", "__doc__", "__mro__", "__name__", |
|
13 "__qualname__", |
|
14 ) |
24 BatchSize = 200 |
15 BatchSize = 200 |
25 ConfigQtNames = ( |
16 ConfigQtNames = ( |
26 'PyQt5.', 'PySide2.', 'Shiboken.EnumType' |
17 'PyQt5.', 'PyQt6.', 'PySide2.', 'PySide6.', 'Shiboken.EnumType' |
27 ) |
18 ) |
28 ConfigKnownQtTypes = ( |
19 ConfigKnownQtTypes = ( |
29 '.QChar', '.QByteArray', '.QString', '.QStringList', '.QPoint', '.QPointF', |
20 '.QChar', '.QByteArray', '.QString', '.QStringList', '.QPoint', '.QPointF', |
30 '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime', |
21 '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime', |
31 '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex', |
22 '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex', |