#NEWLINE# def takeCell( self , row , col ) : #NEWLINE# #INDENT# ' takeCell(row, col) -> QWidget\n        Free the cell widget at (row, col) from the tab and return as\n        the result of the function. If there is no widget at (row,\n        col). This returns None. The ownership of the widget is passed\n        to the caller.\n\n        ' #NEWLINE# cell = self . getCellWidget ( row , cell ) #NEWLINE# if isinstance ( cell , QCellContainer ) : #NEWLINE# #INDENT# widget = cell . takeWidget ( ) #NEWLINE# self . setCellWidget ( row , col , None ) #NEWLINE# return widget #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return cell