#NEWLINE# def paint( self , painter , option , index ) : #NEWLINE# #INDENT# if ( self . parent ( ) . cwdidx == index ) : #NEWLINE# #INDENT# option . font . setWeight ( QtGui . QFont . Bold ) #NEWLINE# #UNINDENT# super ( BoldDelegate , self ) . paint ( painter , painter , index )