Changeset d171299 in sasview for sansview/perspectives/fitting/fitpage1D.py
- Timestamp:
- Oct 24, 2008 3:05:33 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:
- 922b0d1
- Parents:
- b24bf4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
r44bbf6a rd171299 54 54 self.sizer2 = wx.GridBagSizer(5,5) 55 55 self.sizer1 = wx.GridBagSizer(5,5) 56 #self.sizer1 =wx.BoxSizer(wx.HORIZONTAL) 56 57 #self.DataSource = wx.TextCtrl(self, -1,size=(_BOX_WIDTH,20)) 57 58 #self.DataSource.SetToolTipString("name of data to fit") … … 127 128 self.xmax.Bind(wx.EVT_TEXT_ENTER, self._onTextEnter) 128 129 self.xmax.Disable() 130 iy+=1 131 self.sizer4.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 129 132 #Set chisqr result into TextCtrl 130 133 ix = 0 131 134 iy = 1 135 132 136 self.text1_1 = wx.StaticText(self, -1, 'Chi2/dof', style=wx.ALIGN_LEFT) 137 #self.sizer1.Add(self.text1_1,1) 133 138 self.sizer1.Add(self.text1_1,(iy,ix),(1,1),\ 134 139 wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) … … 136 141 self.tcChi = wx.TextCtrl(self, -1,size=(_BOX_WIDTH,20)) 137 142 self.tcChi.SetToolTipString("Chi^2 over degrees of freedom.") 143 #self.sizer1.Add(self.tcChi, 1, wx.R | wx.BOTTOM , 5) 138 144 self.sizer1.Add(self.tcChi,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 139 145 ix +=2 146 #self.sizer1.Add(self.btFit, 1, wx.LEFT | wx.BOTTOM , 5) 140 147 self.sizer1.Add(self.btFit,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 141 148 ix+= 1 142 149 self.sizer1.Add( self.btClose,(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 150 #self.sizer1.Add( self.btClose,1, wx.LEFT | wx.BOTTOM , 5) 151 143 152 ix= 1 144 153 iy+=1 145 154 self.sizer1.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 0) 155 #self.sizer1.Add((20,20), 0) 146 156 # contains link between model ,all its parameters, and panel organization 147 157 self.parameters=[] … … 166 176 @param owner: the class responsible of plotting 167 177 """ 168 self.event_owner =owner178 self.event_owner = owner 169 179 170 180
Note: See TracChangeset
for help on using the changeset viewer.