#NEWLINE# def slotGeometry( self , idx ) : #NEWLINE# #INDENT# ' slotGeometry(idx: int) -> QRect\n        Return the geometry between the slots at cursor pos\n\n        ' #NEWLINE# if ( ( idx < 0 ) or ( self . count ( ) == 0 ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if ( idx < self . count ( ) ) : #NEWLINE# #INDENT# rect = self . getGlobalRect ( idx ) #NEWLINE# rect = QtCore . QRect ( ( rect . x ( ) - 5 ) , rect . y ( ) , ( 5 * 2 ) , rect . height ( ) ) #NEWLINE# return rect #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# rect = self . getGlobalRect ( ( self . count ( ) - 1 ) ) #NEWLINE# rect = QtCore . QRect ( ( ( rect . x ( ) + rect . width ( ) ) - 5 ) , rect . y ( ) , ( 5 * 2 ) , rect . height ( ) ) #NEWLINE# return rect