def joinEdges(listContainer):
    if (listContainer.orientation() == listContainer.Orientation.Horizontal):
        lowProperty = 'gafferFlatLeft'
        highProperty = 'gafferFlatRight'
    else:
        lowProperty = 'gafferFlatTop'
        highProperty = 'gafferFlatBottom'
    visibleWidgets = [w for w in listContainer if w.getVisible()]
    l = len(visibleWidgets)
    for i in range(0, l):
        visibleWidgets[i]._qtWidget().setProperty(lowProperty, (i > 0))
        visibleWidgets[i]._qtWidget().setProperty(highProperty, (i < (l - 1)))
def joinEdges(listContainer):
    if (listContainer.orientation() == listContainer.Orientation.Horizontal):
        lowProperty = 'gafferFlatLeft'
        highProperty = 'gafferFlatRight'
    else:
        lowProperty = 'gafferFlatTop'
        highProperty = 'gafferFlatBottom'
    visibleWidgets = [w for w in listContainer if w.getVisible()]
    l = len(visibleWidgets)
    for i in range(0, l):
        visibleWidgets[i]._qtWidget().setProperty(lowProperty, (i > 0))
        visibleWidgets[i]._qtWidget().setProperty(highProperty, (i < (l - 1)))