Changeset 389c991 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Mar 24, 2011 5:49:35 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
68b7d43
Parents:
0ad5703
Message:

key help added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/help_panel.py

    r384647dc r389c991  
    1111    """ 
    1212    def __init__(self, parent, id, title= 'HelpWindow', pageToOpen=None): 
    13         wx.Frame.__init__(self, parent, id, title, size=(850, 500)) 
     13        wx.Frame.__init__(self, parent, id, title, size=(850, 530)) 
    1414        """ 
    1515        contains help info 
     
    5353        path = models.get_data_path(media='media') 
    5454        self.path = os.path.join(path,"model_functions.html") 
     55        self.path_pd = os.path.join(path,"pd_help.html") 
    5556        self.path_sm = os.path.join(path,"smear_computation.html") 
    5657                     
     
    7273            <li><a href ="media/averaging_help.html" target ="showframe">Data Averaging</a><br></li> 
    7374            <li><a href ="%s" target ="showframe">Model Functions</a><br></li> 
     75            <li><a href ="%s" target ="showframe">Polydispersion Distributions</a><br></li> 
    7476            <li><a href ="%s" target ="showframe">Smear Computation</a><br></li> 
     77            <li><a href ="media/key_help.html" target ="showframe">Key Combination</a><br></li> 
    7578            </ul> 
    7679            </body> 
    77             </html>""" % (self.path, self.path_sm) 
     80            </html>""" % (self.path, self.path_pd, self.path_sm) 
    7881         
    7982        self.rhelp.SetPage(page1) 
     
    102105    def OnButtonClicked(self, event): 
    103106        """ 
    104         Function to diplay html page related to the hyperlinktext selected 
     107        Function to diplay Model html page related to the hyperlinktext selected 
    105108        """ 
    106109         
     
    112115        """ 
    113116        link= event.GetLinkInfo().GetHref() 
     117         
    114118        self.rhelp.LoadPage(link) 
     119         
    115120""" 
    116121Example: :: 
Note: See TracChangeset for help on using the changeset viewer.