#NEWLINE# def closeEvent( self , event ) : #NEWLINE# #INDENT# super ( ImageWidgetBase , self ) . closeEvent ( self ) #NEWLINE# if event . isAccepted ( ) : #NEWLINE# #INDENT# for t in self . _tools : #NEWLINE# #INDENT# t . close ( )