Changeset 381bafd in sasview
- Timestamp:
- Oct 8, 2016 12:47:51 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- d73998c
- Parents:
- a4c2445 (diff), b58654c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/user/tools.rst
r0639476 r3150541 11 11 Data Operations Utility <sasgui/perspectives/calculator/data_operator_help> 12 12 13 SLD Calculator <sasgui/perspectives/calculator/sld_calculator_help> 14 13 15 Density/Volume Calculator <sasgui/perspectives/calculator/density_calculator_help> 16 17 Slit Size Calculator <sasgui/perspectives/calculator/slit_calculator_help> 18 19 Kiessig Thickness Calculator <sasgui/perspectives/calculator/kiessig_calculator_help> 20 21 Q Resolution Estimator <sasgui/perspectives/calculator/resolution_calculator_help> 14 22 15 23 Generic SANS Calculator <sasgui/perspectives/calculator/sas_calculator_help> 16 24 25 Python Shell <sasgui/perspectives/calculator/python_shell_help> 26 17 27 Image Viewer <sasgui/perspectives/calculator/image_viewer_help> 18 28 19 Kiessig Thickness Calculator <sasgui/perspectives/calculator/kiessig_calculator_help>20 21 SLD Calculator <sasgui/perspectives/calculator/sld_calculator_help>22 23 Slit Size Calculator <sasgui/perspectives/calculator/slit_calculator_help>24 25 Q Resolution Estimator <sasgui/perspectives/calculator/resolution_calculator_help>26 27 Python Shell <sasgui/perspectives/calculator/python_shell_help>28 29 29 File Converter <sasgui/perspectives/file_converter/file_converter_help> 30 -
sasview/setup_mac.py
r3d8e3c7 rb58654c 62 62 63 63 APP = ['sasview.py'] 64 DATA_FILES += ['images','test','media', 'custom_config.py', 'local_config.py', 65 'default_categories.json'] 64 DATA_FILES += ['images','test','media', 'custom_config.py', 'local_config.py'] 66 65 if os.path.isfile("BUILD_NUMBER"): 67 66 DATA_FILES.append("BUILD_NUMBER") -
src/sas/sasgui/perspectives/calculator/calculator.py
rd85c194 ra0c1e1d 80 80 ("Kiessig Thickness Calculator", 81 81 kiessig_help, self.on_calculate_kiessig), 82 (" SASResolution Estimator",82 ("Q Resolution Estimator", 83 83 resolution_help, self.on_calculate_resoltuion), 84 84 ("Generic Scattering Calculator", -
src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py
rd0248bd ra0c1e1d 63 63 """ 64 64 ## Internal nickname for the window, used by the AUI manager 65 window_name = " SASResolution Estimator"65 window_name = "Q Resolution Estimator" 66 66 ## Name to appear on the window title bar 67 67 window_caption = "" … … 1329 1329 """ 1330 1330 def __init__(self, parent=None, manager=None, 1331 title=" SASResolution Estimator",1331 title="Q Resolution Estimator", 1332 1332 size=(PANEL_WIDTH * 2, PANEL_HEIGHT), *args, **kwds): 1333 1333 kwds['title'] = title -
src/sas/sasgui/guiframe/gui_manager.py
r95eef00 ra4c2445 677 677 update edit menu if available 678 678 """ 679 if event !=None:679 if event is not None: 680 680 self.panel_on_focus = event.panel 681 681 if self.panel_on_focus is not None: 682 #Disable save application if the current panel is in batch mode 683 flag = self.panel_on_focus.get_save_flag() 684 if self._save_appl_menu != None: 685 self._save_appl_menu.Enable(flag) 686 687 if self.panel_on_focus not in self.plot_panels.values(): 688 for ID in self.panels.keys(): 689 if self.panel_on_focus != self.panels[ID]: 690 self.panels[ID].on_kill_focus(None) 691 692 if self._data_panel is not None and \ 693 self.panel_on_focus is not None: 694 self.set_panel_on_focus_helper() 695 #update toolbar 696 self._update_toolbar_helper() 697 #update edit menu 698 self.enable_edit_menu() 682 # Disable save application if the current panel is in batch mode 683 try: 684 flag = self.panel_on_focus.get_save_flag() 685 if self._save_appl_menu != None: 686 self._save_appl_menu.Enable(flag) 687 688 if self.panel_on_focus not in self.plot_panels.values(): 689 for ID in self.panels.keys(): 690 if self.panel_on_focus != self.panels[ID]: 691 self.panels[ID].on_kill_focus(None) 692 693 if self._data_panel is not None and \ 694 self.panel_on_focus is not None: 695 self.set_panel_on_focus_helper() 696 #update toolbar 697 self._update_toolbar_helper() 698 #update edit menu 699 self.enable_edit_menu() 700 except wx._core.PyDeadObjectError: 701 pass 699 702 700 703 def disable_app_menu(self, p_panel=None): … … 1904 1907 def _on_open_state_project(self, event): 1905 1908 """ 1909 Load in a .svs project file after removing all data from SasView 1906 1910 """ 1907 1911 path = None 1908 1912 if self._default_save_location == None: 1909 1913 self._default_save_location = os.getcwd() 1910 msg = "This operation will set SasView to its freshly opened state " 1911 msg += "before loading the project. Do you wish to continue?" 1914 msg = "This operation will set remove all data, plots and analyses from" 1915 msg += " SasView before loading the project. Do you wish to continue?" 1916 self._data_panel.selection_cbox.SetValue('Select all Data') 1917 self._data_panel._on_selection_type(None) 1918 for _, theory_dict in self._data_panel.list_cb_theory.iteritems(): 1919 for key, value in theory_dict.iteritems(): 1920 item, _, _ = value 1921 item.Check(True) 1912 1922 if not self._data_panel.on_remove(None, msg): 1913 1923 wx.PostEvent(self, StatusEvent(status="Loading Project file...")) … … 1934 1944 self._data_panel.set_panel_on_focus() 1935 1945 # Remove all loaded data 1936 self._data_panel.selection_cbox.SetValue('Select all Data')1937 self._data_panel._on_selection_type(None)1938 1946 for plugin in self.plugins: 1939 1947 plugin.clear_panel()
Note: See TracChangeset
for help on using the changeset viewer.