eric6/DebugClients/Python/DebugConfig.py

Sun, 21 Apr 2019 21:20:24 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 21 Apr 2019 21:20:24 +0200
branch
Variables Viewer
changeset 6969
fd7af2312383
parent 6942
2602857055c5
child 6971
77cf9a30562d
permissions
-rw-r--r--

Reimplemented Variables Viewer using QTreeView.

# -*- coding: utf-8 -*-

# Copyright (c) 2005 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module defining type strings for the different Python types.
"""

#
# Keep this list in sync with Debugger.Config.ConfigVarTypeFilters
#
ConfigVarTypeStrings = [
    '__', 'NoneType', 'type',
    'bool', 'int', 'long', 'float', 'complex',
    'str', 'unicode', 'tuple', 'list',
    'dict', 'dict-proxy', 'set', 'file', 'xrange',
    'slice', 'buffer', 'class', 'instance',
    'method', 'property', 'generator',
    'function', 'builtin_function_or_method', 'code', 'module',
    'ellipsis', 'traceback', 'frame', 'other', 'frozenset',
    # Special case for Python 2: don't add 'instancemethod' to
    # ConfigVarTypeFilters and leave it always at last position
    'instancemethod'
]

BatchSize = 200
ConfigQtNames = ('PyQt5.', 'PyQt4.', 'PySide2.', 'PySide.', 'Shiboken.')
ConfigKnownQtTypes = ('.QChar', '.QByteArray', '.QString', '.QStringList',
    '.QPoint', '.QPointF', '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor',
    '.QDate', '.QTime', '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl',
    '.QModelIndex', '.QRegExp', '.QAction', '.QKeySequence', '.QDomAttr',
    '.QDomCharacterData', '.QDomComment', '.QDomDocument', '.QDomElement',
    '.QDomText', '.QHostAddress', '.EnumType'
    )

#
# eflag: noqa = M702

eric ide

mercurial