1404 self.itemData[0] = "{0}({1})".format( |
1404 self.itemData[0] = "{0}({1})".format( |
1405 name, ", ".join(self._classObject.parameters)) |
1405 name, ", ".join(self._classObject.parameters)) |
1406 if self._classObject.annotation: |
1406 if self._classObject.annotation: |
1407 self.itemData[0] = "{0} {1}".format( |
1407 self.itemData[0] = "{0} {1}".format( |
1408 self.itemData[0], self._classObject.annotation) |
1408 self.itemData[0], self._classObject.annotation) |
1409 # if no defaults are wanted |
1409 ## if no defaults are wanted |
1410 # ....format(name, |
1410 ## ....format(name, |
1411 # ", ".join([e.split('=')[0].strip() \ |
1411 ## ", ".join([e.split('=')[0].strip() \ |
1412 # for e in self._classObject.parameters])) |
1412 ## for e in self._classObject.parameters])) |
1413 elif self.ismodule: |
1413 elif self.ismodule: |
1414 self.icon = UI.PixmapCache.getIcon("module.png") |
1414 self.icon = UI.PixmapCache.getIcon("module.png") |
1415 elif self.isenum: |
1415 elif self.isenum: |
1416 self.icon = UI.PixmapCache.getIcon("attribute.png") |
1416 self.icon = UI.PixmapCache.getIcon("attribute.png") |
1417 else: |
1417 else: |