#NEWLINE# def createAliasItem( self , alias ) : #NEWLINE# #INDENT# ' createAliasRow( alias: core.mashup.Alias) -> AliasItem\n            Creates a row in the list\n            \n        ' #NEWLINE# alias . pos = self . topLevelItemCount ( ) #NEWLINE# labels = [ str ( alias . component . pos ) , str ( alias . name ) , str ( alias . component . type ) ] #NEWLINE# item = QAliasListItem ( self , alias , labels ) #NEWLINE# item . setFlags ( ( QtCore . Qt . ItemIsEnabled | QtCore . Qt . ItemIsSelectable ) ) #NEWLINE# return alias