Changeset a074145 in sasview for sansview/perspectives/fitting/modelpage.py
- Timestamp:
- Apr 9, 2009 5:06:08 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:
- 2d5f7a1
- Parents:
- 800fc80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/modelpage.py
r7c845cb ra074145 34 34 description="" 35 35 if self.model!=None: 36 #description = self.page_info.model.description37 36 description = self.model.description 38 self.set_model_param_sizer(self.model) 37 38 self.select_model(self.model, self.model.name) 39 39 self.set_model_description(description,self.sizer2) 40 41 42 40 41 42 43 43 44 44 def _on_display_description(self, event): … … 56 56 @param event: wx.EVT_RADIOBUTTON 57 57 """ 58 ## save state of radiobox 59 #self.page_info. save_radiobox_state( self.description_hide ) 60 #self.page_info. save_radiobox_state( self.description_show ) 58 61 59 ## Show description 62 60 if not self.description_show.GetValue(): … … 64 62 65 63 else: 66 #model=self.page_info.model67 64 description="" 68 65 if self.model!=None: 69 #description = self.page_info.model.description70 66 description = self.model.description 67 71 68 self.description = wx.StaticText( self,-1,str(description) ) 72 69 self.sizer_description.Add( self.description, 1, wx.EXPAND | wx.ALL, 10 ) … … 293 290 self.model_description.Bind(wx.EVT_BUTTON,self.on_button_clicked) 294 291 self.model_description.SetToolTipString("Click Model Functions in HelpWindow...") 295 296 #self.page_info.save_radiobox_state( self.description_hide ) 297 #self.page_info.save_radiobox_state( self.description_show ) 298 292 299 293 sizer_selection.Add( self.description_show ) 300 294 sizer_selection.Add( (20,20))
Note: See TracChangeset
for help on using the changeset viewer.