#NEWLINE# def moveMarkerRow( self , row , newRow ) : #NEWLINE# #INDENT# ' Move a marker grid item at row to newRow ' #NEWLINE# numCols = 16 #NEWLINE# for col in range ( widget ) : #NEWLINE# #INDENT# if ( self . grid . itemAtPosition ( row , col ) is not None ) : #NEWLINE# #INDENT# widget = self . grid . itemAtPosition ( row , col ) . widget ( ) #NEWLINE# self . grid . removeWidget ( widget ) #NEWLINE# #UNINDENT# self . grid . addWidget ( widget , newRow , col , QtCore . Qt . AlignTop )