Changeset 5612152 in sasview


Ignore:
Timestamp:
Jul 24, 2009 8:30:23 PM (15 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
e2da832
Parents:
f9e803e
Message:

sansview: modified the application to pass a welcome panel class to the gui manager instead of making it part of the fit perspective.

Location:
sansview/perspectives/fitting
Files:
1 deleted
2 edited

Legend:

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

    r613476e r5612152  
    145145         
    146146        pageClosedEvent = wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE 
    147         self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage) 
    148         ##Creating the default page --welcomed page 
    149         self.about_page=None 
    150         from welcome_panel import PanelAbout 
    151         self.about_page = PanelAbout(self, -1) 
    152         self.AddPage(self.about_page,"Welcome!") 
    153        
     147        self.Bind(wx.aui.EVT_AUINOTEBOOK_PAGE_CLOSE, self.onClosePage)       
    154148        
    155149        #dictionary of miodel {model class name, model class} 
  • sansview/perspectives/fitting/fitting.py

    rc3b4dcb r5612152  
     1""" 
     2This software was developed by the University of Tennessee as part of the 
     3Distributed Data Analysis of Neutron Scattering Experiments (DANSE) 
     4project funded by the US National Science Foundation.  
     5 
     6See the license text in license.txt 
     7 
     8copyright 2009, University of Tennessee 
     9""" 
    110import  re,copy 
    211import sys, wx, logging 
     
    249258        """ 
    250259            Post initialization call back to close the loose ends 
    251             [Somehow openGL needs this call] 
    252         """ 
    253         self.parent.set_perspective(self.perspective) 
     260        """ 
     261        # Do not show the fitting perspective immediately and  
     262        # let the application show the Welcome Page. 
     263        #self.parent.set_perspective(self.perspective) 
     264        pass 
    254265 
    255266 
Note: See TracChangeset for help on using the changeset viewer.