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 |