eric6/Debugger/VariablesViewer.py

branch
Variables Viewer
changeset 7019
a1b25790bc5c
parent 7016
47f6b0c3a293
child 7030
73779c4c135a
equal deleted inserted replaced
7018:6512c2183bf7 7019:a1b25790bc5c
148 dtype.endswith(ConfigKnownQtTypes)): 148 dtype.endswith(ConfigKnownQtTypes)):
149 self.hasChildren = True 149 self.hasChildren = True
150 150
151 elif dtype in ('instance', 'class'): 151 elif dtype in ('instance', 'class'):
152 self.hasChildren = True 152 self.hasChildren = True
153
154 # Special Qt types should not be expanded infinite
155 elif ".{0}".format(dtype) in ConfigKnownQtTypes:
156 self.type = dtype # It's a Qt type, so skipping translation is ok
157 return
153 158
154 vtype = ConfigVarTypeDispStrings.get(dtype, dtype) 159 vtype = ConfigVarTypeDispStrings.get(dtype, dtype)
155 # Unkown types should be expandable by default 160 # Unkown types should be expandable by default
156 if vtype is dtype and dtype not in self.nonExpandableTypes: 161 if vtype is dtype and dtype not in self.nonExpandableTypes:
157 self.hasChildren = True 162 self.hasChildren = True

eric ide

mercurial