Changeset 4efefc6 in sasview for sansview


Ignore:
Timestamp:
May 23, 2011 10:53:26 AM (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:
1c6389c
Parents:
022af4d
Message:

removed Qrange display in data sizer

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

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

    re0e22f2c r4efefc6  
    959959            self.qmin_x = data_min 
    960960            self.qmax_x = data_max 
    961             self.minimum_q.SetValue(str(data_min)) 
    962             self.maximum_q.SetValue(str(data_max)) 
     961            #self.minimum_q.SetValue(str(data_min)) 
     962            #self.maximum_q.SetValue(str(data_max)) 
    963963            self.qmin.SetValue(str(data_min)) 
    964964            self.qmax.SetValue(str(data_max)) 
  • sansview/perspectives/fitting/fitpage.py

    r1ab9dc1 r4efefc6  
    391391            data_min = "" 
    392392            data_max = "" 
    393             data_name = "" 
     393            data_name = " None" 
    394394        else: 
    395395            data_name = self.data.name 
     
    410410            self.qmin_x = data_min 
    411411            self.qmax_x = data_max 
    412         box_description= wx.StaticBox(self, -1, 'Data') 
     412        box_description= wx.StaticBox(self, -1, 'I(q) Data Source') 
    413413        boxsizer1 = wx.StaticBoxSizer(box_description, wx.VERTICAL) 
    414414        #---------------------------------------------------------- 
     
    420420        #self.dataSource.SetEditable(False) 
    421421        self.dataSource.SetMinSize((_DATA_BOX_WIDTH, -1)) 
    422         sizer_data.Add(wx.StaticText(self, -1, 'Source Name : ')) 
     422        sizer_data.Add(wx.StaticText(self, -1, 'Data : ')) 
    423423        sizer_data.Add(self.dataSource ) 
    424424        sizer_data.Add( (0,5) ) 
    425          
     425        """ 
    426426        #---------sizer 2 draw-------------------------------- 
    427427        text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 
     
    437437        sizer_range.Add(wx.StaticText(self, -1, "Max: "),0, wx.LEFT, 10) 
    438438        sizer_range.Add(self.maximum_q,0, wx.LEFT, 10) 
     439        """ 
    439440        boxsizer1.Add(sizer_data,0, wx.ALL, 10) 
    440         boxsizer1.Add(sizer_range, 0 , wx.LEFT, 10) 
     441        #boxsizer1.Add(sizer_range, 0 , wx.LEFT, 10) 
    441442        #------------------------------------------------------------ 
     443         
    442444        self.sizer0.Add(boxsizer1,0, wx.EXPAND | wx.ALL, 10) 
    443445        self.sizer0.Layout() 
     
    16531655        self.qmin_x = data_min 
    16541656        self.qmax_x = data_max 
    1655         self.minimum_q.SetValue(str(data_min)) 
    1656         self.maximum_q.SetValue(str(data_max)) 
     1657        #self.minimum_q.SetValue(str(data_min)) 
     1658        #self.maximum_q.SetValue(str(data_max)) 
    16571659        self.qmin.SetValue(str(data_min)) 
    16581660        self.qmax.SetValue(str(data_max)) 
Note: See TracChangeset for help on using the changeset viewer.