Changeset 9181512 in sasview for sansview/perspectives


Ignore:
Timestamp:
Apr 9, 2009 7:41:00 PM (16 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:
88e289c
Parents:
1d64748
Message:

list of model func. displays from more details button in model panel

File:
1 edited

Legend:

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

    rddfcd90 r9181512  
    121121        self.lhelp.SetPage(page) 
    122122        self.lhelp.Bind(wx.html.EVT_HTML_LINK_CLICKED,self.OnLinkClicked ) 
     123         
     124        #'HelpWindow' from menu bar, title=model name from 'More Details' button in model penal 
     125        if title != 'HelpWindow': 
     126            self.rhelp.LoadPage("doc/model_functions.html") 
     127             
    123128        vbox.Add(self.rhelp, 1, wx.EXPAND) 
    124129        vboxl.Add(self.lhelp, 1, wx.EXPAND) 
     
    131136        self.Show(True) 
    132137         
     138    def OnButtonClicked(self, event): 
     139        """ 
     140            Function to diplay html page related to the hyperlinktext selected 
     141        """ 
     142        #link= "doc/modelfunction.html" 
     143        self.rhelp.LoadPage("doc/modelfunction.html") 
    133144         
    134145    def OnLinkClicked(self, event): 
Note: See TracChangeset for help on using the changeset viewer.