- Timestamp:
- Apr 9, 2009 5:08:54 PM (16 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:
- 56e1202
- Parents:
- a074145
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
ra074145 r2d5f7a1 88 88 self.btFit.Bind(wx.EVT_BUTTON, self._onFit,id= self.btFit.GetId()) 89 89 self.btFit.SetToolTipString("Perform fit.") 90 91 #self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit') 92 #self.btStopFit.Bind(wx.EVT_BUTTON, self.onStopFit,id= self.btStopFit.GetId()) 93 #self.btStopFit.SetToolTipString("Stop Current fit job.") 94 #self.btStopFit.Hide() 90 95 91 96 92 sizer_fit.Add((5,5),1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 97 93 sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5) 98 #sizer_fit.Add(self.btStopFit,1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5)99 94 100 95 sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) … … 761 756 self.parameters.append([cb,item, ctl1, 762 757 text2,ctl2, ctl3, ctl4,None]) 763 #self.page_info.parameters.append([cb.GetValue(),item, ctl1.GetValue(), 764 # text2.IsShown(),[ctl2.IsShown(),ctl2.GetValue()], 765 #[ctl3.IsShown(),ctl3.GetValue()],[ ctl4.IsShown(),ctl4.GetValue()],None]) 766 758 767 759 iy+=1 768 760 sizer.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) … … 791 783 from sans.models.CylinderModel import CylinderModel 792 784 model = CylinderModel() 793 #from sans.models.LineModel import LineModel 794 #model = LineModel() 785 795 786 from danse.common.plottools.plottables import Data1D 796 787 data= Data1D(x=[1,2], y=[3,4], dy=[0.1, 0,1])
Note: See TracChangeset
for help on using the changeset viewer.