Changeset e071b1c in sasview


Ignore:
Timestamp:
Apr 7, 2010 2:09:35 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
614cf546
Parents:
f75ea4a
Message:

make sure the help panel for model was using the proper html link

Location:
theoryview/perspectives/theory
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • theoryview/perspectives/theory/basepage.py

    r4cf7443 re071b1c  
    19221922        self._draw_model() 
    19231923 
    1924     def on_model_help_clicked(self,event): 
    1925         """ 
    1926         #On 'More details' button 
    1927         """ 
    1928         from help_panel import  HelpWindow 
    1929          
    1930         if self.model == None: 
    1931             name = 'FuncHelp' 
    1932         else: 
    1933             name = self.model.origin_name 
    1934  
    1935         frame = HelpWindow(None, -1,  pageToOpen="doc/model_functions.html")     
    1936         frame.Show(True) 
    1937         if frame.rhelp.HasAnchor(name): 
    1938             frame.rhelp.ScrollToAnchor(name) 
    1939         else: 
    1940            msg= "Model does not contains an available description " 
    1941            msg +="Please try searching in the Help window" 
    1942            wx.PostEvent(self.parent, StatusEvent(status = msg ))                     
    1943                  
     1924   
  • theoryview/perspectives/theory/help_panel.py

    r0277d084 re071b1c  
    106106            <body> 
    107107            <ul> 
    108             <li><a href ="doc/change_scale_help.html" target ="showframe">Change scale</a><br></li> 
    109             <li><a href ="doc/reset_Graph_help.html" target ="showframe">Graph Help</a><br></li> 
    110             <li><a href ="doc/load_data_help.html" target ="showframe">Load a File</a><br></li> 
    111             <li><a href ="doc/simultaneous_fit_help.html" target ="showframe">Simultaneous Fit</a><br></li> 
    112             <li><a href ="doc/single_fit_help.html" target ="showframe">Single Fit</a><br></li> 
    113             <li><a href ="doc/model_use_help.html" target ="showframe">Visualize Model</a><br></li> 
    114             <li><a href ="doc/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 
    115             <li><a href ="doc/sld_calculator_help.html" target ="showframe">SLD Calculator</a><br></li> 
    116             <li><a href ="doc/model_functions.html" target ="showframe">Model Functions</a><br></li> 
     108            <li><a href ="media/change_scale_help.html" target ="showframe">Change scale</a><br></li> 
     109            <li><a href ="media/reset_Graph_help.html" target ="showframe">Graph Help</a><br></li> 
     110            <li><a href ="media/load_data_help.html" target ="showframe">Load a File</a><br></li> 
     111            <li><a href ="media/simultaneous_fit_help.html" target ="showframe">Simultaneous Fit</a><br></li> 
     112            <li><a href ="media/single_fit_help.html" target ="showframe">Single Fit</a><br></li> 
     113            <li><a href ="media/model_use_help.html" target ="showframe">Visualize Model</a><br></li> 
     114            <li><a href ="media/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 
     115            <li><a href ="media/sld_calculator_help.html" target ="showframe">SLD Calculator</a><br></li> 
     116            <li><a href ="media/model_functions.html" target ="showframe">Model Functions</a><br></li> 
    117117            </ul> 
    118118            </body> 
     
    146146        """ 
    147147        #link= "doc/modelfunction.html" 
    148         self.rhelp.LoadPage("doc/modelfunction.html") 
     148        self.rhelp.LoadPage("media/modelfunction.html") 
    149149         
    150150    def OnLinkClicked(self, event): 
  • theoryview/perspectives/theory/model_panel.py

    r693500a re071b1c  
    441441        else: 
    442442            name = self.model.name 
    443         frame = HelpWindow(None, -1,  pageToOpen="doc/model_functions.html")     
     443        frame = HelpWindow(None, -1,  pageToOpen="media/model_functions.html")     
    444444        frame.Show(True) 
    445445        if frame.rhelp.HasAnchor(name): 
Note: See TracChangeset for help on using the changeset viewer.