src/eric7/DebugClients/Python/DebugConfig.py

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8881
54e42bc2437a
child 9221
bf71ee032bb4
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2005 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module defining type strings for the different Python types.
8 """
9
10
11 SpecialAttributes = (
12 "__bases__", "__class__", "__dict__", "__doc__", "__mro__", "__name__",
13 "__qualname__",
14 )
15
16 BatchSize = 200
17 ConfigQtNames = (
18 'PyQt5.', 'PyQt6.', 'PySide2.', 'PySide6.', 'Shiboken.EnumType'
19 )
20
21 ConfigKnownQtTypes = (
22 '.QByteArray', '.QPoint', '.QPointF', '.QLabel', '.QPushButton',
23 '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime',
24 '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex',
25 '.QRegExp', '.QRegularExpression', '.QAction', '.QKeySequence',
26 '.QDomAttr', '.QDomCharacterData', '.QDomComment', '.QDomDocument',
27 '.QDomElement', '.QDomText', '.QHostAddress', '.EnumType',
28 )
29
30 NonExpandableTypes = (
31 'int', 'float', 'bool', 'NoneType', 'bytes', 'function', 'object',
32 'builtin_function_or_method', 'classmethod_descriptor', 'weakref',
33 'wrapper_descriptor', 'method_descriptor', 'property', 'method',
34 'getset_descriptor', 'member_descriptor',
35 )

eric ide

mercurial