Changeset 3244cbe1 in sasview for sansview/perspectives
- Timestamp:
- Feb 22, 2010 5:39:40 PM (15 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:
- 4cf7443
- Parents:
- 2c39863
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpanel.py
re2f1023 r3244cbe1 5 5 import wx.aui 6 6 import wx.lib 7 import wx.lib.agw.aui.auibook as agw_aui 7 from wx.aui import AuiNotebook 8 8 9 9 … … 124 124 self.window_caption = "Page" 125 125 126 class FitPanel( agw_aui.AuiNotebook):126 class FitPanel(AuiNotebook): 127 127 128 128 """ … … 139 139 140 140 def __init__(self, parent, *args, **kwargs): 141 agw_aui.AuiNotebook.__init__(self,parent,-1, 142 style= agw_aui.AUI_NB_WINDOWLIST_BUTTON| 143 agw_aui.AUI_NB_DEFAULT_STYLE| 144 wx.CLIP_CHILDREN| 145 agw_aui.AUI_NB_HIDE_ON_SINGLE_TAB) 141 AuiNotebook.__init__(self,parent,-1, 142 style= wx.aui.AUI_NB_WINDOWLIST_BUTTON| 143 wx.aui.AUI_NB_DEFAULT_STYLE| 144 wx.CLIP_CHILDREN) 146 145 147 146 self.manager=None … … 149 148 self.event_owner=None 150 149 151 pageClosedEvent = agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE152 self.Bind( agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage)150 pageClosedEvent = wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE 151 self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage) 153 152 154 153 #dictionary of miodel {model class name, model class} -
sansview/perspectives/fitting/help_panel.py
r25f766a r3244cbe1 106 106 <body> 107 107 <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/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/model_functions.html" target ="showframe">Model Functions</a><br></li> 116 116 </ul> 117 117 </body> … … 144 144 Function to diplay html page related to the hyperlinktext selected 145 145 """ 146 #link= " doc/modelfunction.html"147 self.rhelp.LoadPage(" doc/modelfunction.html")146 #link= "media/modelfunction.html" 147 self.rhelp.LoadPage("media/modelfunction.html") 148 148 149 149 def OnLinkClicked(self, event):
Note: See TracChangeset
for help on using the changeset viewer.