Ignore:
Timestamp:
Feb 2, 2009 9:51:27 AM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
2cf2b87
Parents:
00d083c
Message:

add a new module containing common classes that I used often:
sans.guiframe.utils

remove event slicer and add it in sans.guicoom.events,
modified slicer for those events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Arc.py

    rcd84dca r0d9dae8  
    1 #from config import printEVT 
     1 
     2import math 
     3import wx  
     4from copy import deepcopy 
     5 
    26from BaseInteractor import _BaseInteractor 
    3 from copy import deepcopy 
    4 import math 
    5  
    6 #from Plotter1D import AddPlotEvent 
    7 import SlicerParameters 
    8 import wx    
    9 #import radii  
    10 #(FunctionRadiusEvent, EVT_FUNC_RAD) = wx.lib.newevent.NewEvent()       
     7from sans.guicomm.events import NewPlotEvent, StatusEvent,SlicerParameterEvent,EVT_SLICER_PARS 
     8   
     9  
    1110class ArcInteractor(_BaseInteractor): 
    1211    """ 
     
    114113        self.has_move= False 
    115114         
    116         event = SlicerParameters.SlicerParameterEvent() 
     115        event = SlicerParameterEvent() 
    117116        event.type = self.__class__.__name__ 
    118117        event.params = self.get_params() 
Note: See TracChangeset for help on using the changeset viewer.