Ignore:
Timestamp:
Apr 23, 2010 3:41:52 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
4d27f9a4
Parents:
e07f9f4
Message:

add, fixed tips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • theoryview/perspectives/theory/model_panel.py

    re07f9f4 r1a94c36  
    160160        ix += 1  
    161161        values = wx.StaticText(self, -1, 'Sigma (STD)') 
     162        values.SetToolTipString("Polydispersity multiplied by the value of the original parameter.") 
    162163        self.sizer4_4.Add(values,( iy, ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    163164        
    164165        ix += 1  
    165166        npts = wx.StaticText(self, -1, 'Npts') 
     167        npts.SetToolTipString("Number of points for weighting.") 
    166168        self.sizer4_4.Add(npts,( iy, ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    167169        ix += 1  
    168170        nsigmas = wx.StaticText(self, -1, 'Nsigmas') 
     171        nsigmas.SetToolTipString("Number of sigmas between which the range of the distribution function will be used for weighting. The value '3' covers 99.5% for Gaussian distribution function.") 
    169172        self.sizer4_4.Add(nsigmas,( iy, ix),(1,1), wx.EXPAND|wx.ADJUST_MINSIZE, 0) 
    170173         
     
    186189                        ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 
    187190                                            style=wx.TE_PROCESS_ENTER) 
    188                         ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 
     191                        ctl1.SetToolTipString("Polydispersity multiplied by the value of the '%s'."%item) 
    189192                        ctl1.SetValue(str (format_number(value))) 
    190193                        self.sizer4_4.Add(ctl1, (iy,ix),(1,1), wx.EXPAND) 
     
    196199                            Tctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 
    197200                                                style=wx.TE_PROCESS_ENTER) 
    198                             Tctl1.SetToolTipString("Number of points for weighting.") 
     201                             
    199202                            Tctl1.SetValue(str (format_number(value))) 
    200203                            self.sizer4_4.Add(Tctl1, (iy,ix),(1,1), 
     
    207210                            Tctl2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 
    208211                                                style=wx.TE_PROCESS_ENTER) 
    209                             Tctl2.SetToolTipString("Number of sigmas between which the range of the distribution function will be used for weighting. The value '3' covers 99.5% for Gaussian distribution function.") 
     212                             
    210213                            Tctl2.SetValue(str (format_number(value))) 
    211214                            self.sizer4_4.Add(Tctl2, (iy,ix),(1,1), 
     
    237240                        ctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH,20), 
    238241                                            style=wx.TE_PROCESS_ENTER) 
    239                         ctl1.SetToolTipString("Polydispersity multiflied by the value of '%s'."%item) 
     242                        ctl1.SetToolTipString("Polydispersity multiplied by the value of '%s'."%item) 
    240243                        ctl1.SetValue(str (format_number(value))) 
    241244                        if not self.enable2D: 
     
    255258                            Tctl1 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 
    256259                                                style=wx.TE_PROCESS_ENTER) 
    257                             Tctl1.SetToolTipString("Number of points for weighting.") 
     260 
    258261                            Tctl1.SetValue(str (format_number(value))) 
    259262                            if not self.enable2D: 
     
    274277                            Tctl2 = self.ModelTextCtrl(self, -1, size=(_BOX_WIDTH/2,20), 
    275278                                                style=wx.TE_PROCESS_ENTER) 
    276                             Tctl2.SetToolTipString("Number of sigmas between which the range of the distribution function will be used for weighting. The value '3' covers 99.5% for Gaussian distribution function.") 
     279                             
    277280                            Tctl2.SetValue(str (format_number(value))) 
    278281                            if not self.enable2D: 
Note: See TracChangeset for help on using the changeset viewer.