Changeset ec6c520 in sasview for calculatorview
- Timestamp:
- Sep 27, 2011 7:33:14 PM (13 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:
- 861f8317
- Parents:
- 650fd318
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/calculator.py
r7d45a56 rec6c520 49 49 resolution_help += "resolution of Q in 2D based on the SANS " 50 50 resolution_help += "instrumental parameter values." 51 pyconsole_help = "Python Console from a third party (PyCrust)." 51 52 #data_editor_help = "Meta Data Editor" 52 53 return [("SLD Calculator", sld_help, self.on_calculate_sld), … … 56 57 kiessig_help, self.on_calculate_kiessig), 57 58 ("SANS Resolution Estimator", 58 resolution_help, self.on_calculate_resoltuion) ]#,59 #("Data Editor", data_editor_help, self.on_edit_data)]59 resolution_help, self.on_calculate_resoltuion), 60 ("Python Console", pyconsole_help, self.on_python_console)] 60 61 61 62 def on_edit_data(self, event): … … 113 114 #if event != None: 114 115 # event.Skip() 115 116 def on_python_console(self, event): 117 """ 118 Open Python Console 119 120 :param event: menu event 121 """ 122 from pyconsole import PyConsole 123 frame = PyConsole(parent=self.parent) 124 frame.Show(True) 125 116 126 117 127
Note: See TracChangeset
for help on using the changeset viewer.