Changeset fa58441 in sasview
- Timestamp:
- Apr 12, 2009 7:39: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:
- 45bf0ede
- Parents:
- 8e09f63
- Location:
- sansview/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/basepage.py
r81d87347 rfa58441 181 181 boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 182 182 #---------------------------------------------------- 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)) 185 185 ## saving the state of enable dispersity button 186 186 self.state.enable_disp= self.enable_disp.GetValue() … … 191 191 sizer_dispersion = wx.BoxSizer(wx.HORIZONTAL) 192 192 sizer_dispersion.Add((20,20)) 193 name=" Polydispersity and \nOrientational Distribution "193 name=""#Polydispersity and \nOrientational Distribution " 194 194 sizer_dispersion.Add(wx.StaticText(self,-1,name)) 195 195 sizer_dispersion.Add(self.enable_disp ) … … 200 200 ## fill a sizer with the combobox to select dispersion type 201 201 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 ') 203 203 204 204 import sans.models.dispersion_models … … 821 821 sizer_selection = wx.BoxSizer(wx.HORIZONTAL) 822 822 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)" ) 825 825 826 826 … … 1248 1248 self.btSave = wx.Button(self,wx.NewId(),'Save') 1249 1249 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") 1251 1251 1252 1252 sizer_save.Add((20,20),0, wx.LEFT|wx.RIGHT|wx.EXPAND,120) -
sansview/perspectives/fitting/fitpage.py
r87fbc60 rfa58441 120 120 return 121 121 122 box_description= wx.StaticBox(self, -1, ' LoadedData')122 box_description= wx.StaticBox(self, -1, 'Data') 123 123 boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 124 124 #---------------------------------------------------------- … … 127 127 DataSource =wx.StaticText(self, -1,str(self.data.name)) 128 128 129 sizer_data.Add(wx.StaticText(self, -1, ' DataSource Name : '))129 sizer_data.Add(wx.StaticText(self, -1, 'Source Name : ')) 130 130 sizer_data.Add(DataSource ) 131 131 sizer_data.Add( (5,5) ) … … 138 138 # Maximum value of data 139 139 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)', 141 141 style=wx.ALIGN_LEFT) 142 142 sizer_data.Add( text4_3 ) … … 153 153 # Maximum value of data 154 154 data_max = str(format_number(radius_max)) 155 text4_3 = wx.StaticText(self, -1, ' MaximumQ Range',155 text4_3 = wx.StaticText(self, -1, 'Total Q Range', 156 156 style=wx.ALIGN_LEFT) 157 157 sizer_data.Add( text4_3 ) -
sansview/perspectives/fitting/modelpage.py
r1d64748 rfa58441 24 24 25 25 """ 26 26 27 def __init__(self,parent, page_info): 27 28 BasicPage.__init__(self, parent, page_info) … … 31 32 self._fill_model_sizer( self.sizer1) 32 33 self._fill_range_sizer() 33 34 34 35 description="" 35 36 if self.model!=None: … … 108 109 self.model_view.SetToolTipString("View model in 2D") 109 110 110 ## class base method to add view 2d button 111 ## class base method to add view 2d button 111 112 self._set_model_sizer(sizer=sizer, title="Model",object= self.model_view ) 112 113 … … 287 288 id=self.description_show.GetId() ) 288 289 289 self.model_description = wx.Button(self,-1, label=" MoreDetails")290 self.model_description = wx.Button(self,-1, label="Details") 290 291 self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 291 292 self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") … … 294 295 sizer_selection.Add( (20,20)) 295 296 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) 297 299 sizer_selection.Add( self.model_description ) 298 300 299 301 300 302 self.sizer_description=wx.BoxSizer(wx.HORIZONTAL) 301 303 self.sizer_description.Add( self.description, 1, wx.EXPAND | wx.ALL, 10 ) 302 303 304 boxsizer1.Add( sizer_selection) 304 305 boxsizer1.Add( (20,20))
Note: See TracChangeset
for help on using the changeset viewer.