#NEWLINE# def create_icon( self , size = None ) : #NEWLINE# #INDENT# ref = self . _get_ref ( image ) #NEWLINE# if ( ref is not None ) : #NEWLINE# #INDENT# image = ref . load ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# image = self . _get_image_not_found_image ( ) #NEWLINE# #UNINDENT# return QtGui . QIcon ( image )