Changeset fb58234 in sasview for calculatorview/src/sans/perspectives/calculator/calculator.py
- Timestamp:
- Nov 28, 2011 1:35:21 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:
- 056b569
- Parents:
- 61f557b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/calculator.py
rfdc3cb0 rfb58234 66 66 ("SANS Resolution Estimator", 67 67 resolution_help, self.on_calculate_resoltuion), 68 ("Python Shell ", pyconsole_help, self.on_python_console)]68 ("Python Shell/Editor", pyconsole_help, self.on_python_console)] 69 69 70 70 def on_edit_data(self, event): … … 133 133 :param event: menu event 134 134 """ 135 self.get_python_panel(filename=None) 136 137 def get_python_panel(self, filename=None): 138 """ 139 Get the python shell panel 140 141 :param filename: file name to open in editor 142 """ 135 143 from pyconsole import PyConsole 136 frame = PyConsole(parent=self.parent )144 frame = PyConsole(parent=self.parent, filename=filename) 137 145 self.put_icon(frame) 138 146 frame.Show(True) 139 147 140 148 def put_icon(self, frame): 141 149 """
Note: See TracChangeset
for help on using the changeset viewer.