Changeset fa58441 in sasview


Ignore:
Timestamp:
Apr 12, 2009 7:39:33 PM (16 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:
45bf0ede
Parents:
8e09f63
Message:

minor changes (some names of titles)

Location:
sansview/perspectives/fitting
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/basepage.py

    r81d87347 rfa58441  
    181181        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    182182        #---------------------------------------------------- 
    183         self.disable_disp = wx.RadioButton(self, -1, 'No', (10, 10), style=wx.RB_GROUP) 
    184         self.enable_disp = wx.RadioButton(self, -1, 'Yes', (10, 30)) 
     183        self.disable_disp = wx.RadioButton(self, -1, 'Off', (10, 10), style=wx.RB_GROUP) 
     184        self.enable_disp = wx.RadioButton(self, -1, 'On', (10, 30)) 
    185185        ## saving the state of enable dispersity button 
    186186        self.state.enable_disp= self.enable_disp.GetValue() 
     
    191191        sizer_dispersion = wx.BoxSizer(wx.HORIZONTAL) 
    192192        sizer_dispersion.Add((20,20)) 
    193         name="Polydispersity and \nOrientational Distribution " 
     193        name=""#Polydispersity and \nOrientational Distribution " 
    194194        sizer_dispersion.Add(wx.StaticText(self,-1,name)) 
    195195        sizer_dispersion.Add(self.enable_disp ) 
     
    200200        ## fill a sizer with the combobox to select dispersion type 
    201201        sizer_select_dispers = wx.BoxSizer(wx.HORIZONTAL)   
    202         self.model_disp = wx.StaticText(self, -1, 'Model Disp') 
     202        self.model_disp = wx.StaticText(self, -1, 'Distribution Function ') 
    203203             
    204204        import sans.models.dispersion_models  
     
    821821        sizer_selection = wx.BoxSizer(wx.HORIZONTAL) 
    822822         
    823         self.text1 = wx.StaticText( self,-1,"P(Q)" ) 
    824         self.text2 = wx.StaticText( self,-1,"* S(Q)" ) 
     823        self.text1 = wx.StaticText( self,-1,"" ) 
     824        self.text2 = wx.StaticText( self,-1,"P(Q)*S(Q)" ) 
    825825         
    826826         
     
    12481248        self.btSave = wx.Button(self,wx.NewId(),'Save') 
    12491249        self.btSave.Bind(wx.EVT_BUTTON, self.onSave,id= self.btSave.GetId()) 
    1250         self.btSave.SetToolTipString("Save current state") 
     1250        self.btSave.SetToolTipString("Save current panel state") 
    12511251          
    12521252        sizer_save.Add((20,20),0, wx.LEFT|wx.RIGHT|wx.EXPAND,120)         
  • sansview/perspectives/fitting/fitpage.py

    r87fbc60 rfa58441  
    120120            return 
    121121         
    122         box_description= wx.StaticBox(self, -1, 'Loaded Data') 
     122        box_description= wx.StaticBox(self, -1, 'Data') 
    123123        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    124124        #---------------------------------------------------------- 
     
    127127        DataSource  =wx.StaticText(self, -1,str(self.data.name)) 
    128128 
    129         sizer_data.Add(wx.StaticText(self, -1, 'Data Source Name : ')) 
     129        sizer_data.Add(wx.StaticText(self, -1, 'Source Name : ')) 
    130130        sizer_data.Add(DataSource ) 
    131131        sizer_data.Add( (5,5) ) 
     
    138138            # Maximum value of data   
    139139            data_max = str(format_number(numpy.max(self.data.x))) 
    140             text4_3 = wx.StaticText(self, -1, 'Maximum Q Range(Linear)', 
     140            text4_3 = wx.StaticText(self, -1, 'Total Q Range(1/A)', 
    141141                                     style=wx.ALIGN_LEFT) 
    142142            sizer_data.Add( text4_3 ) 
     
    153153            # Maximum value of data   
    154154            data_max = str(format_number(radius_max)) 
    155             text4_3 = wx.StaticText(self, -1, 'Maximum Q Range', 
     155            text4_3 = wx.StaticText(self, -1, 'Total Q Range', 
    156156                                     style=wx.ALIGN_LEFT) 
    157157            sizer_data.Add( text4_3 ) 
  • sansview/perspectives/fitting/modelpage.py

    r1d64748 rfa58441  
    2424   
    2525    """ 
     26 
    2627    def __init__(self,parent, page_info): 
    2728        BasicPage.__init__(self, parent, page_info) 
     
    3132        self._fill_model_sizer( self.sizer1)   
    3233        self._fill_range_sizer()  
    33         
     34          
    3435        description="" 
    3536        if self.model!=None: 
     
    108109        self.model_view.SetToolTipString("View model in 2D") 
    109110         
    110         ## class base method  to add view 2d button     
     111        ## class base method  to add view 2d button    
    111112        self._set_model_sizer(sizer=sizer, title="Model",object= self.model_view )     
    112113     
     
    287288                   id=self.description_show.GetId() ) 
    288289         
    289         self.model_description = wx.Button(self,-1, label="More Details") 
     290        self.model_description = wx.Button(self,-1, label="Details") 
    290291        self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 
    291292        self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") 
     
    294295        sizer_selection.Add( (20,20))  
    295296        sizer_selection.Add( self.description_hide ) 
    296         sizer_selection.Add( (20,20))  
     297        #sizer_selection.Add( (20,20))  
     298        sizer_selection.Add((20,20),0, wx.LEFT|wx.RIGHT|wx.EXPAND,67) 
    297299        sizer_selection.Add( self.model_description ) 
    298          
     300                      
    299301          
    300302        self.sizer_description=wx.BoxSizer(wx.HORIZONTAL) 
    301303        self.sizer_description.Add( self.description, 1, wx.EXPAND | wx.ALL, 10 ) 
    302         
    303304        boxsizer1.Add( sizer_selection)  
    304305        boxsizer1.Add( (20,20))  
Note: See TracChangeset for help on using the changeset viewer.