eric6/Debugger/VariablesViewer.py

changeset 8228
772103b14c18
parent 8222
5994b80b8760
child 8230
8b5c6896655b
equal deleted inserted replaced
8227:349308e84eeb 8228:772103b14c18
143 """ 143 """
144 # Python class? 144 # Python class?
145 if dtype.startswith('class '): 145 if dtype.startswith('class '):
146 dtype = dtype[7:-1] 146 dtype = dtype[7:-1]
147 # Qt related stuff? 147 # Qt related stuff?
148 elif (dtype.startswith(ConfigQtNames) and 148 elif (
149 dtype.endswith(ConfigKnownQtTypes)): 149 (dtype.startswith(ConfigQtNames) and
150 self.hasChildren = True 150 dtype.endswith(ConfigKnownQtTypes)) or
151 151 dtype in ('instance', 'class')
152 elif dtype in ('instance', 'class'): 152 ):
153 self.hasChildren = True 153 self.hasChildren = True
154 154
155 # Special Qt types should not be expanded infinite 155 # Special Qt types should not be expanded infinite
156 elif ".{0}".format(dtype) in ConfigKnownQtTypes: 156 elif ".{0}".format(dtype) in ConfigKnownQtTypes:
157 self.type = dtype # It's a Qt type, so skipping translation is ok 157 self.type = dtype # It's a Qt type, so skipping translation is ok

eric ide

mercurial