Debugger/Config.py

Mon, 26 Dec 2011 19:31:22 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Dec 2011 19:31:22 +0100
changeset 1509
c0b5e693b0eb
parent 945
8cd4d08fa9f6
child 2302
f29e9405c851
permissions
-rw-r--r--

Updated copyright for 2012.

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

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

"""
Module defining the different Python types and their display strings.
"""

try:
    from PyQt4.QtCore import QT_TRANSLATE_NOOP
    
    # Variables type definition
    ConfigVarTypeDispStrings = [
            QT_TRANSLATE_NOOP('Variable Types', 'Hidden Attributes'),
            QT_TRANSLATE_NOOP('Variable Types', 'None'),
            QT_TRANSLATE_NOOP('Variable Types', 'Type'),
            QT_TRANSLATE_NOOP('Variable Types', 'Boolean'),
            QT_TRANSLATE_NOOP('Variable Types', 'Integer'),
            QT_TRANSLATE_NOOP('Variable Types', 'Long Integer'),
            QT_TRANSLATE_NOOP('Variable Types', 'Float'),
            QT_TRANSLATE_NOOP('Variable Types', 'Complex'),
            QT_TRANSLATE_NOOP('Variable Types', 'String'),
            QT_TRANSLATE_NOOP('Variable Types', 'Unicode String'),
            QT_TRANSLATE_NOOP('Variable Types', 'Tuple'),
            QT_TRANSLATE_NOOP('Variable Types', 'List/Array'),
            QT_TRANSLATE_NOOP('Variable Types', 'Dictionary/Hash/Map'),
            QT_TRANSLATE_NOOP('Variable Types', 'Dictionary Proxy'),
            QT_TRANSLATE_NOOP('Variable Types', 'Set'),
            QT_TRANSLATE_NOOP('Variable Types', 'File'),
            QT_TRANSLATE_NOOP('Variable Types', 'X Range'),
            QT_TRANSLATE_NOOP('Variable Types', 'Slice'),
            QT_TRANSLATE_NOOP('Variable Types', 'Buffer'),
            QT_TRANSLATE_NOOP('Variable Types', 'Class'),
            QT_TRANSLATE_NOOP('Variable Types', 'Class Instance'),
            QT_TRANSLATE_NOOP('Variable Types', 'Class Method'),
            QT_TRANSLATE_NOOP('Variable Types', 'Class Property'),
            QT_TRANSLATE_NOOP('Variable Types', 'Generator'),
            QT_TRANSLATE_NOOP('Variable Types', 'Function'),
            QT_TRANSLATE_NOOP('Variable Types', 'Builtin Function'),
            QT_TRANSLATE_NOOP('Variable Types', 'Code'),
            QT_TRANSLATE_NOOP('Variable Types', 'Module'),
            QT_TRANSLATE_NOOP('Variable Types', 'Ellipsis'),
            QT_TRANSLATE_NOOP('Variable Types', 'Traceback'),
            QT_TRANSLATE_NOOP('Variable Types', 'Frame'),
            QT_TRANSLATE_NOOP('Variable Types', 'Other')
    ]
except ImportError:
    # Variables type definition (for non-Qt only)
    ConfigVarTypeDispStrings = [
            'Hidden Attributes', 'None', 'Type', 'Boolean', 'Integer',
            'Long Integer', 'Float', 'Complex', 'String', 'Unicode String',
            'Tuple', 'List/Array', 'Dictionary/Hash/Map', 'Dictionary Proxy',
            'Set', 'File', 'X Range', 'Slice', 'Buffer', 'Class', 'Class Instance',
            'Class Method', 'Class Property', 'Generator', 'Function',
            'Builtin Function', 'Code', 'Module', 'Ellipsis',
            'Traceback', 'Frame', 'Other']

eric ide

mercurial