Changeset 3db44fb in sasview for src/sas/perspectives/fitting/basepage.py
- Timestamp:
- Jun 7, 2015 9:33:19 PM (9 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:
- 4b5fe655
- Parents:
- f06bbf5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/basepage.py
r373d4ee r3db44fb 2847 2847 """ 2848 2848 2849 if self.model == None: 2850 name = 'index.html' 2849 _TreeLocation = 'user/models/model_functions.html' 2850 if self.model != None: 2851 name = self.formfactorbox.GetValue() 2852 _PageAnchor = '#' + name 2853 _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, 2854 _PageAnchor, name + "Help") 2851 2855 else: 2852 name = self.formfactorbox.GetValue() 2853 2854 if self.model != None: 2855 _docspath = 'user/models/model_functions.html#' + name 2856 _doc_viewer = DocumentationWindow(self, -1, _docspath, name + "Help") 2857 else: 2858 _doc_viewer = DocumentationWindow(self, -1, "index.html", \ 2859 "General Help") 2856 _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, "", 2857 "General Model Help") 2860 2858 2861 2859 … … 2908 2906 2909 2907 _TreeLocation = "_images/M_angles_pic.bmp" 2910 _doc_viewer = DocumentationWindow(self, -1, \2911 _TreeLocation,"Magnetic Angle Defintions")2908 _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, "", 2909 "Magnetic Angle Defintions") 2912 2910 2913 2911 def _on_mag_on(self, event): … … 2954 2952 2955 2953 _TreeLocation = "user/perspectives/fitting/fitting_help.html" 2956 _ TreeLocation += "#polydispersity-distributions"2957 _doc_viewer = DocumentationWindow(self, -1, \2958 _TreeLocation, "Polydispersity Help")2954 _PageAnchor = "#polydispersity-distributions" 2955 _doc_viewer = DocumentationWindow(self, -1, _TreeLocation, 2956 _PageAnchor, "Polydispersity Help") 2959 2957 2960 2958 def on_left_down(self, event):
Note: See TracChangeset
for help on using the changeset viewer.