Changeset 91f151a in sasview


Ignore:
Timestamp:
Apr 28, 2010 5:50:11 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:
6f12e68
Parents:
d3d955e
Message:

working on data editor

Location:
calculatorview/perspectives/calculator
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/calculator.py

    rb500652 r91f151a  
    106106            Returns a set of menu entries for tools 
    107107        """ 
    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" 
    110111        return [("SLD Calculator", sld_help, self.on_calculate_sld), 
    111112                ("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)] 
    113116               
     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         
    114125    def on_calculate_sld(self, event): 
    115126        """ 
Note: See TracChangeset for help on using the changeset viewer.