#NEWLINE# def _update_label_matches( self ) : #NEWLINE# #INDENT# self . labelMatches . setText ( _ ( '{0} matches' ) . format ( self . cpt_occurences ) ) #NEWLINE# color = '#DD0000' #NEWLINE# if self . cpt_occurences : #NEWLINE# #INDENT# color = '#00DD00' #NEWLINE# #UNINDENT# self . labelMatches . setStyleSheet ( ( 'color: %s' % self ) ) #NEWLINE# if ( self . lineEditSearch . text ( ) == '' ) : #NEWLINE# #INDENT# self . labelMatches . clear ( )