Changeset e9875db in sasview for sansview/perspectives/fitting
- Timestamp:
- Apr 14, 2011 2:39:23 PM (14 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:
- 06aa2eeb
- Parents:
- 0f8f831
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r0cf97c5 re9875db 1754 1754 return 1755 1755 #Check if # of points for theory model are valid(>0). 1756 if self.Npts_total.IsE nabled() :1756 if self.Npts_total.IsEditable() : 1757 1757 if check_float(self.Npts_total): 1758 1758 temp_npts = float(self.Npts_total.GetValue()) -
sansview/perspectives/fitting/fitpage.py
r0f8f831 re9875db 195 195 # StaticText for chi2, N(for fitting), Npts 196 196 self.tcChi = BGTextCtrl(self, -1, "-", size=(75,20), style=0) 197 self.tcChi.SetToolTipString("Chi2/Npts ")197 self.tcChi.SetToolTipString("Chi2/Npts(Fit)") 198 198 self.Npts_fit = BGTextCtrl(self, -1, "-", size=(75,20), style=0) 199 199 self.Npts_fit.SetToolTipString(\ … … 1610 1610 self.btEditMask.Enable() 1611 1611 self.EditMask_title.Enable() 1612 self.Npts_total.Disable() 1612 self.Npts_total.SetEditable(False) 1613 self.Npts_total.SetBackgroundColour(\ 1614 self.GetParent().GetBackgroundColour()) 1615 1616 self.Npts_total.Bind(wx.EVT_MOUSE_EVENTS, self._npts_click) 1617 #self.Npts_total.Disable() 1613 1618 self.dataSource.SetValue(data_name) 1614 1619 self.qmin_x = data_min … … 1636 1641 self.model_view.Disable() 1637 1642 self._draw_model() 1638 1643 1644 def _npts_click(self, event): 1645 """ 1646 Prevent further handling of the mouse event on Npts_total 1647 by not calling Skip(). 1648 """ 1649 pass 1650 1639 1651 def reset_page(self, state,first=False): 1640 1652 """
Note: See TracChangeset
for help on using the changeset viewer.