Changeset 75d6342 in sasview for sansview/perspectives


Ignore:
Timestamp:
Oct 22, 2009 5:35:24 PM (15 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:
97d69d9
Parents:
a90a3c84
Message:

commit sld calculator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    rdd2c2ea3 r75d6342  
    133133        wx.EVT_MENU(owner, id1, self.on_add_sim_page) 
    134134        #menu for SLD Calculator 
    135         #self.tool_menu = wx.Menu() 
    136         #id_tool_menu = wx.NewId() 
    137         #sld_id = wx.NewId() 
    138         #sld_help= "Compute the scattering length density of molecules" 
    139         #self.tool_menu.Append(sld_id, "SLD Calculator",sld_help) 
    140         #wx.EVT_MENU(owner,sld_id,  self.onCalculateSld) 
     135        self.tool_menu = wx.Menu() 
     136        id_tool_menu = wx.NewId() 
     137        sld_id = wx.NewId() 
     138        sld_help= "Compute the scattering length density of molecules" 
     139        self.tool_menu.Append(sld_id, "SLD Calculator",sld_help) 
     140        wx.EVT_MENU(owner,sld_id,  self.onCalculateSld) 
    141141     
    142142        #menu for model 
     
    152152        #create  menubar items 
    153153        return [(id, self.menu1, "Fitting"), 
     154                (id_tool_menu, self.tool_menu,"Tools" ), 
    154155                (id2, menu2, "Model")] 
    155156        
Note: See TracChangeset for help on using the changeset viewer.