#NEWLINE# def clearGrid( self ) : #NEWLINE# #INDENT# for row in range ( 1 , self . getRowCount ( ) ) : #NEWLINE# #INDENT# for col in range ( 1 , self . getColumnCount ( ) ) : #NEWLINE# #INDENT# self . clearCell ( row , self ) #NEWLINE# #UNINDENT# #UNINDENT# self . selectRow ( ( - 1 ) )