예제 #1
0
 def moveend(self, ev):
     """
     Called a dragging motion ends.Get slicer event
     """
     self.base.thaw_axes()
     ## Post parameters
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     ## Send slicer paramers to plotter2D
     wx.PostEvent(self.base, event)
예제 #2
0
파일: Arc.py 프로젝트: ianhi/sasview
    def moveend(self, ev):
        """
            After a dragging motion reset the flag self.has_move to False
            :param ev: event
        """
        self.has_move = False

        event = SlicerParameterEvent()
        event.type = self.__class__.__name__
        event.params = self.get_params()
        self.base.moveend(ev)
예제 #3
0
 def moveend(self, ev):
     """
     Called a dragging motion ends.Get slicer event
     """
     self.base.thaw_axes()
     ## Post parameters
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     ## Send slicer paramers to plotter2D
     wx.PostEvent(self.base, event)
예제 #4
0
파일: Arc.py 프로젝트: zattala/sasview
    def moveend(self, ev):
        """
            After a dragging motion reset the flag self.has_move to False
            :param ev: event
        """
        self.has_move = False

        event = SlicerParameterEvent()
        event.type = self.__class__.__name__
        event.params = self.get_params()
        self.base.moveend(ev)
예제 #5
0
 def moveend(self, ev):
     """
     Called when any dragging motion ends.
     Post an event (type =SlicerParameterEvent)
     to plotter 2D with a copy  slicer parameters
     Call  _post_data method
     """
     self.base.thaw_axes()
     # Post parameters to plotter 2D
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     wx.PostEvent(self.base, event)
예제 #6
0
 def moveend(self, ev):
     """
     Called when any dragging motion ends.
     Post an event (type =SlicerParameterEvent)
     to plotter 2D with a copy  slicer parameters
     Call  _post_data method
     """
     self.base.thaw_axes()
     # Post parameters to plotter 2D
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     wx.PostEvent(self.base, event)
예제 #7
0
 def moveend(self, ev):
     """
     Called after a dragging event.
     Post the slicer new parameters and creates a new Data1D
     corresponding to the new average
     """
     self.base.thaw_axes()
     # Post parameters
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     wx.PostEvent(self.base.parent, event)
     # create the new data1D
     self._post_data()
예제 #8
0
 def moveend(self, ev):
     """
     Called after a dragging event.
     Post the slicer new parameters and creates a new Data1D
     corresponding to the new average
     """
     self.base.thaw_axes()
     # Post parameters
     event = SlicerParameterEvent()
     event.type = self.__class__.__name__
     event.params = self.get_params()
     wx.PostEvent(self.base.parent, event)
     # create the new data1D
     self._post_data()