def METHOD_NAME(self, widget):
    for i in widget.parent().findChildren(QLayout):
        if i.indexOf(widget) > -1:
            #print i.layout(), widget.objectName(), i.objectName()
            return i.layout(), i.indexOf(widget)
    print(widget.parent())
    LOG.error('No layout found for {}'.format(widget))
    return widget.parent(),None