Ignore:
Timestamp:
Jan 14, 2009 5:25:32 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:
1b6bb09
Parents:
a19cd4d
Message:

panel1d and 2 d for fitpanel refactored

File:
1 edited

Legend:

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

    re8d1066 rd23544dc  
    120120        #create the fitting panel 
    121121        return [self.fit_panel] 
    122     
     122    def _on_show_panel(self, event): 
     123        print "_on_show_panel: fitting" 
    123124       
    124125    def get_perspective(self): 
     
    653654                except: 
    654655                    raise 
    655     def update(self, output): 
    656         print "Got an update" 
     656    def update(self, output,elapsed): 
     657        print "Got an update", elapsed 
     658        wx.PostEvent(self.parent, StatusEvent(status="Plot \ 
     659        updating ... %g sec" % elapsed)) 
    657660     
    658661    def complete(self, output, elapsed, model, qmin, qmax): 
Note: See TracChangeset for help on using the changeset viewer.