1578 self.icon = UI.PixmapCache.getIcon("attributes_class.png") |
1578 self.icon = UI.PixmapCache.getIcon("attributes_class.png") |
1579 else: |
1579 else: |
1580 self.icon = UI.PixmapCache.getIcon("attributes.png") |
1580 self.icon = UI.PixmapCache.getIcon("attributes.png") |
1581 self.__isClass = isClass |
1581 self.__isClass = isClass |
1582 |
1582 |
|
1583 def name(self): |
|
1584 """ |
|
1585 Public method to return the name of the item. |
|
1586 |
|
1587 @return name of the item (string) |
|
1588 """ |
|
1589 return '{0}@@{1}'.format(self.parentItem.name(), self.data(0)) |
|
1590 |
1583 def attributes(self): |
1591 def attributes(self): |
1584 """ |
1592 """ |
1585 Public method returning the attribute list. |
1593 Public method returning the attribute list. |
1586 |
1594 |
1587 @return reference to the list of attributes |
1595 @return reference to the list of attributes |