Returns a QFrame formatted in a particular way

def get_frame():
    """Returns a QFrame formatted in a particular way"""
    ret = QFrame()
    ret.setLineWidth(1)
    ret.setMidLineWidth(0)
    ret.setFrameShadow(QFrame.Sunken)
    ret.setFrameShape(QFrame.Box)
    return ret