Changeset 91f151a in sasview
- Timestamp:
- Apr 28, 2010 5:50:11 PM (15 years ago)
- 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:
- 6f12e68
- Parents:
- d3d955e
- Location:
- calculatorview/perspectives/calculator
- Files:
-
- 7 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/calculator.py
rb500652 r91f151a 106 106 Returns a set of menu entries for tools 107 107 """ 108 sld_help = "Provides computation related to Scattering Length density" 109 slit_length_help = "Provides computation related to Scattering Length density" 108 sld_help = "Provides computation related to Scattering Length Density" 109 slit_length_help = "Provides computation related to Slit Length Density" 110 data_editor_help = "Meta Data Editor" 110 111 return [("SLD Calculator", sld_help, self.on_calculate_sld), 111 112 ("Slit Size Calculator", slit_length_help, 112 self.on_calculate_slit_size)] 113 self.on_calculate_slit_size), 114 ("Data Editor", data_editor_help, 115 self.on_edit_data)] 113 116 117 def on_edit_data(self, event): 118 """ 119 Edit meta data 120 """ 121 from data_editor import DataEditorWindow 122 frame = DataEditorWindow(parent=self.parent, data=[], title="Data Editor") 123 frame.Show(True) 124 114 125 def on_calculate_sld(self, event): 115 126 """
Note: See TracChangeset
for help on using the changeset viewer.