571 except AttributeError: |
571 except AttributeError: |
572 pass |
572 pass |
573 if "@@Coding@@" in keys: |
573 if "@@Coding@@" in keys: |
574 node = BrowserCodingItem( |
574 node = BrowserCodingItem( |
575 parentItem, |
575 parentItem, |
576 QApplication.translate("BrowserModel", "Coding: {0}")\ |
576 QApplication.translate("BrowserModel", "Coding: {0}") |
577 .format(dict["@@Coding@@"].coding)) |
577 .format(dict["@@Coding@@"].coding)) |
578 self._addItem(node, parentItem) |
578 self._addItem(node, parentItem) |
579 if "@@Globals@@" in keys: |
579 if "@@Globals@@" in keys: |
580 node = BrowserClassAttributesItem( |
580 node = BrowserClassAttributesItem( |
581 parentItem, |
581 parentItem, |
1294 elif cl.isProtected(): |
1294 elif cl.isProtected(): |
1295 self.icon = UI.PixmapCache.getIcon("class_protected.png") |
1295 self.icon = UI.PixmapCache.getIcon("class_protected.png") |
1296 else: |
1296 else: |
1297 self.icon = UI.PixmapCache.getIcon("class.png") |
1297 self.icon = UI.PixmapCache.getIcon("class.png") |
1298 if self._classObject and \ |
1298 if self._classObject and \ |
1299 (self._classObject.methods or \ |
1299 (self._classObject.methods or |
1300 self._classObject.classes or \ |
1300 self._classObject.classes or |
1301 self._classObject.attributes): |
1301 self._classObject.attributes): |
1302 self._populated = False |
1302 self._populated = False |
1303 self._lazyPopulation = True |
1303 self._lazyPopulation = True |
1304 |
1304 |
1305 def fileName(self): |
1305 def fileName(self): |