#NEWLINE# def showHelpers( self , show , globalPos ) : #NEWLINE# #INDENT# ' showHelpers(show: boolean, globalPos: QPoint) -> None\n        Show/hide the helpers (toolbar, resizer) depending on the\n        status of show and the global position of the cursor\n\n        ' #NEWLINE# localPos = self . sheet . viewport ( ) . mapFromGlobal ( QtGui . QCursor . pos ( ) ) #NEWLINE# row = self . sheet . rowAt ( localPos . y ( ) ) #NEWLINE# col = self . sheet . columnAt ( localPos . x ( ) ) #NEWLINE# rect = self . sheet . getCellRect ( row , col ) #NEWLINE# show = ( show and ( ( ( ( rect . x ( ) + rect . width ( ) ) - localPos . x ( ) ) < 100 ) and ( ( ( rect . y ( ) + rect . height ( ) ) - localPos . y ( ) ) < 100 ) ) ) #NEWLINE# self . sheet . showHelpers ( show , row , col )