def iter_item(item):
 for i in range(item.rowCount()):
  (yield item.child(i))

def iter_item ( item ) : for i in range ( item . rowCount ( ) ) : ( yield item . child ( i ) )
iterate over child items of a qstandarditem .