Changeset b9405cd in sasview
- Timestamp:
- Apr 23, 2010 2:52:41 PM (15 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:
- e07f9f4
- Parents:
- 0b57a57
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r479eced rb9405cd 511 511 ix = 0 512 512 cb = wx.CheckBox(self, -1, name1, (10, 10)) 513 cb.SetToolTipString("Check for fitting") 513 514 wx.EVT_CHECKBOX(self, cb.GetId(), self.select_param) 514 515 self.sizer4_4.Add( cb,( iy, ix),(1,1), … … 518 519 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 519 520 style=wx.TE_PROCESS_ENTER) 521 ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 520 522 ctl1.SetValue(str (format_number(value))) 521 523 self.sizer4_4.Add(ctl1, (iy,ix),(1,1),wx.EXPAND) … … 537 539 ctl3 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), style=wx.TE_PROCESS_ENTER, 538 540 text_enter_callback = self._onparamRangeEnter) 539 541 540 542 self.sizer4_4.Add(ctl3, (iy,ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 541 543 ctl3.Hide() … … 544 546 ctl4 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), style=wx.TE_PROCESS_ENTER, 545 547 text_enter_callback = self._onparamRangeEnter) 548 546 549 self.sizer4_4.Add(ctl4, (iy,ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 547 550 … … 560 563 Tctl = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 561 564 style=wx.TE_PROCESS_ENTER) 562 565 Tctl.SetToolTipString("Npts for averaging over the distribution function.") 563 566 Tctl.SetValue(str (format_number(value))) 564 567 self.sizer4_4.Add(Tctl, (iy,ix),(1,1), … … 571 574 Tct2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 572 575 style=wx.TE_PROCESS_ENTER) 576 Tct2.SetToolTipString("Only the range between +-(Nsigmas times Sigma) of the distribution function will be weighted for the calculation.") 573 577 Tct2.SetValue(str (format_number(value))) 574 578 self.sizer4_4.Add(Tct2, (iy,ix),(1,1), … … 601 605 ix = 0 602 606 cb = wx.CheckBox(self, -1, name1, (10, 10)) 607 cb.SetToolTipString("Check for fitting") 603 608 wx.EVT_CHECKBOX(self, cb.GetId(), self.select_param) 604 609 self.sizer4_4.Add( cb,( iy, ix),(1,1), … … 612 617 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 613 618 style=wx.TE_PROCESS_ENTER) 619 ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 614 620 ctl1.SetValue(str (format_number(value))) 615 621 if self.data.__class__.__name__ =="Data2D": … … 665 671 Tctl = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 666 672 style=wx.TE_PROCESS_ENTER) 667 673 Tctl.SetToolTipString("Npts for averaging over the distribution function.") 668 674 Tctl.SetValue(str (format_number(value))) 669 675 if self.data.__class__.__name__ =="Data2D": … … 682 688 Tct2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 683 689 style=wx.TE_PROCESS_ENTER) 690 Tct2.SetToolTipString("Only the range between +-(Nsigmas times Sigma) of the distribution function will be weighted for the calculation.") 684 691 Tct2.SetValue(str (format_number(value))) 685 692 if self.data.__class__.__name__ =="Data2D": … … 2135 2142 cb = wx.CheckBox(self, -1, item ) 2136 2143 cb.SetValue(False) 2144 cb.SetToolTipString("Check for fitting") 2137 2145 wx.EVT_CHECKBOX(self, cb.GetId(), self.select_param) 2138 2146 if self.data.__class__.__name__ =="Data2D": … … 2148 2156 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 2149 2157 style=wx.TE_PROCESS_ENTER) 2150 2151 2158 ctl1.SetValue(format_number(value)) 2152 2159 if self.data.__class__.__name__ =="Data2D": … … 2163 2170 ix += 1 2164 2171 ctl2 = wx.TextCtrl(self, -1, size=(_BOX_WIDTH,20), style=0) 2165 2166 2172 sizer.Add(ctl2, (iy,ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 2167 2173 ctl2.Hide() … … 2171 2177 ctl3 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), style=wx.TE_PROCESS_ENTER, 2172 2178 text_enter_callback = self._onparamRangeEnter) 2173 2179 2174 2180 sizer.Add(ctl3, (iy,ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 2175 2181 ctl3.Hide() -
theoryview/perspectives/theory/model_panel.py
r52efcc5 rb9405cd 186 186 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 187 187 style=wx.TE_PROCESS_ENTER) 188 ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 188 189 ctl1.SetValue(str (format_number(value))) 189 190 self.sizer4_4.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) … … 195 196 Tctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 196 197 style=wx.TE_PROCESS_ENTER) 198 Tctl1.SetToolTipString("Npts for averaging over the distribution function.") 197 199 Tctl1.SetValue(str (format_number(value))) 198 200 self.sizer4_4.Add(Tctl1, (iy,ix),(1,1), … … 205 207 Tctl2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 206 208 style=wx.TE_PROCESS_ENTER) 209 Tctl2.SetToolTipString("Only the range between +-(Nsigmas times Sigma) of the distribution function will be weighted for the calculation.") 207 210 Tctl2.SetValue(str (format_number(value))) 208 211 self.sizer4_4.Add(Tctl2, (iy,ix),(1,1), … … 234 237 ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 235 238 style=wx.TE_PROCESS_ENTER) 239 ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 236 240 ctl1.SetValue(str (format_number(value))) 237 241 if not self.enable2D: … … 251 255 Tctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 252 256 style=wx.TE_PROCESS_ENTER) 257 Tctl1.SetToolTipString("Npts for averaging over the distribution function.") 253 258 Tctl1.SetValue(str (format_number(value))) 254 259 if not self.enable2D: … … 269 274 Tctl2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 270 275 style=wx.TE_PROCESS_ENTER) 276 Tctl2.SetToolTipString("Only the range between +-(Nsigmas times Sigma) of the distribution function will be weighted for the calculation.") 271 277 Tctl2.SetValue(str (format_number(value))) 272 278 if not self.enable2D:
Note: See TracChangeset
for help on using the changeset viewer.