#NEWLINE# def set_attribute_combo( self , data ) : #NEWLINE# #INDENT# ' Update attribute combo box to reflect components in data' #NEWLINE# labeldata = ( ( f . label , f ) for f in data . visible_components ) #NEWLINE# update_combobox ( self . ui . attributeComboBox , data )