Changeset b1bda35 in sasview
- Timestamp:
- Sep 28, 2011 9:43:09 AM (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:
- 77a43fb
- Parents:
- 535d9f6
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/calculator.py
rec6c520 rb1bda35 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 pyconsole_help = "Python Console." 52 52 #data_editor_help = "Meta Data Editor" 53 53 return [("SLD Calculator", sld_help, self.on_calculate_sld), … … 58 58 ("SANS Resolution Estimator", 59 59 resolution_help, self.on_calculate_resoltuion), 60 ("Python Console", pyconsole_help, self.on_python_console)]60 ("Python Shell", pyconsole_help, self.on_python_console)] 61 61 62 62 def on_edit_data(self, event): -
calculatorview/src/sans/perspectives/calculator/pyconsole.py
r861f8317 rb1bda35 17 17 class PyConsole(wx.py.crust.CrustFrame): 18 18 ## Internal nickname for the window, used by the AUI manager 19 window_name = "Python Console"19 window_name = "Python Shell" 20 20 ## Name to appear on the window title bar 21 window_caption = "Python Console"21 window_caption = "Python Shell" 22 22 ## Flag to tell the AUI manager to put this panel in the center pane 23 23 CENTER_PANE = False 24 24 def __init__(self, parent=None, manager=None, 25 title='Python Console by PyCrust',25 title='Python Shell', 26 26 size=(PANEL_WIDTH, PANEL_HEIGHT)): 27 27 if parent != None: 28 28 dataDir = parent._default_save_location 29 else: 30 dataDir = None 29 31 wx.py.crust.CrustFrame.__init__(self, parent=parent, 30 32 title=title, size=size, … … 52 54 """ 53 55 message = ABOUT 54 dial = wx.MessageDialog(self, message, 'About Python',56 dial = wx.MessageDialog(self, message, 'About', 55 57 wx.OK|wx.ICON_INFORMATION) 56 58 dial.ShowModal() 57 59 58 ABOUT = "Welcome to Python 2.5! \n\n"59 ABOUT += "This window uses PyCrustin wx (developed by Patrick K. O'Brien).\n"60 ABOUT = "Welcome to Python %s! \n\n"% sys.version.split()[0] 61 ABOUT += "This uses PyCrust Shell in wx (developed by Patrick K. O'Brien).\n" 60 62 ABOUT += "If this is your first time using Python, \n" 61 63 ABOUT += "you should definitely check out the tutorial "
Note: See TracChangeset
for help on using the changeset viewer.