Changeset ec6c520 in sasview
- 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
- Files:
-
- 1 added
- 2 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 -
sansguiframe/src/sans/guiframe/gui_manager.py
r71fa9028 rec6c520 1211 1211 else: 1212 1212 self._data_panel_menu.SetText('Show Data Explorer') 1213 1214 self._view_menu.AppendSeparator()1215 id = wx.NewId()1216 hint = "Display batch results into a grid"1217 self._view_menu.Append(id, '&Show Batch Results', hint)1218 wx.EVT_MENU(self, id, self.show_batch_frame)1219 1213 1220 1214 self._view_menu.AppendSeparator() … … 1226 1220 self._toolbar_menu = self._view_menu.Append(id,'&Show Toolbar', '') 1227 1221 wx.EVT_MENU(self, id, self._on_toggle_toolbar) 1228 1222 1223 self._view_menu.AppendSeparator() 1224 id = wx.NewId() 1225 hint = "Display batch results into a grid" 1226 self._view_menu.Append(id, '&Show Batch Results', hint) 1227 wx.EVT_MENU(self, id, self.show_batch_frame) 1228 1229 1229 if custom_config != None: 1230 1230 self._view_menu.AppendSeparator()
Note: See TracChangeset
for help on using the changeset viewer.