def setGeometry(self, r): QLayout.setGeometry(self, r) self.do_layout(r)
def setGeometry(self, rect): QLayout.setGeometry(self, rect) self.do_layout(rect, apply_geometry=True)