Changeset 3244cbe1 in sasview for sansview/perspectives


Ignore:
Timestamp:
Feb 22, 2010 5:39:40 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:
4cf7443
Parents:
2c39863
Message:

add media folder , reverse fit_panel for now

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    re2f1023 r3244cbe1  
    55import wx.aui 
    66import wx.lib 
    7 import wx.lib.agw.aui.auibook as agw_aui 
     7from wx.aui import AuiNotebook  
    88 
    99 
     
    124124        self.window_caption = "Page" 
    125125     
    126 class FitPanel(agw_aui.AuiNotebook):     
     126class FitPanel(AuiNotebook):     
    127127 
    128128    """ 
     
    139139     
    140140    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) 
    146145     
    147146        self.manager=None 
     
    149148        self.event_owner=None 
    150149         
    151         pageClosedEvent = agw_aui.EVT_AUINOTEBOOK_PAGE_CLOSE 
    152         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) 
    153152        
    154153        #dictionary of miodel {model class name, model class} 
  • sansview/perspectives/fitting/help_panel.py

    r25f766a r3244cbe1  
    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/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> 
    116116            </ul> 
    117117            </body> 
     
    144144            Function to diplay html page related to the hyperlinktext selected 
    145145        """ 
    146         #link= "doc/modelfunction.html" 
    147         self.rhelp.LoadPage("doc/modelfunction.html") 
     146        #link= "media/modelfunction.html" 
     147        self.rhelp.LoadPage("media/modelfunction.html") 
    148148         
    149149    def OnLinkClicked(self, event): 
Note: See TracChangeset for help on using the changeset viewer.