def widgetDragged(self, widget): """ Call autosize(). Overwritten function of ConnectableWidgetOwner. """ if self.autosizeEnabled(): self.autosize() # not sure this is still needed (2010-07-06), remove if possible #for connection in [child for child in self.children() if isinstance(child, PortConnection)]: # connection.updateConnection() ConnectableWidgetOwner.widgetDragged(self, widget)
def widgetDragged(self, widget): """ Calls autosizeScrollArea(). """ ConnectableWidgetOwner.widgetDragged(self, widget) self.autosizeScrollArea()