Changeset cadd049e in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Feb 14, 2011 11:05:49 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
cb69775
Parents:
5771ea3
Message:

remove save button from fitting panel

File:
1 edited

Legend:

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

    r90a7bbd rcadd049e  
    168168        ## drawing Initial dispersion parameters sizer  
    169169        self.set_dispers_sizer() 
    170         self._fill_save_sizer() 
     170        self._set_save_flag(True) 
    171171        ## layout 
    172172        self.set_layout() 
     
    24702470        self.sizer5.Layout() 
    24712471 
    2472     def _fill_save_sizer(self): 
    2473         """ 
    2474         Draw the layout for saving option 
    2475         """ 
    2476         self.sizer6.Clear(True) 
    2477         box_description= wx.StaticBox(self, -1,"Save Model") 
    2478         boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    2479         sizer_save = wx.BoxSizer(wx.HORIZONTAL) 
    2480          
    2481         self.btSave_title = wx.StaticText(self, -1, 'Save the current Model') 
    2482         self.btSave = wx.Button(self,wx.NewId(),'Save') 
    2483         self.btSave.Bind(wx.EVT_BUTTON, self.on_save,id= self.btSave.GetId()) 
    2484         self.btSave.SetToolTipString("Save the current Model") 
    2485         self._set_save_flag(True) 
    2486          
    2487         sizer_save.Add(self.btSave_title)   
    2488         sizer_save.Add((20,20),0, wx.LEFT|wx.RIGHT|wx.EXPAND,80)   
    2489         sizer_save.Add(self.btSave)      
    2490         boxsizer1.Add(sizer_save) 
    2491         self.sizer6.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 
    2492         self.sizer6.Layout() 
    2493      
    24942472    def _lay_out(self): 
    24952473        """ 
Note: See TracChangeset for help on using the changeset viewer.