Esempio n. 1
0
 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)
Esempio n. 2
0
    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)
Esempio n. 3
0
 def widgetDragged(self, widget):
     """ Calls autosizeScrollArea().
     """
     ConnectableWidgetOwner.widgetDragged(self, widget)
     self.autosizeScrollArea()
 def widgetDragged(self, widget):
     """ Calls autosizeScrollArea().
     """
     ConnectableWidgetOwner.widgetDragged(self, widget)
     self.autosizeScrollArea()