Changeset 1017 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Aug 6, 2013 9:10:46 PM (9 years ago)
Author:
vondreele
Message:

implement excluded regions - 1st attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1016 r1017  
    101101
    102102[ wxID_BACKCOPY,wxID_LIMITCOPY,wxID_SAMPLECOPY, wxID_BACKFLAGCOPY, wxID_SAMPLEFLAGCOPY,
    103     wxID_SAMPLESAVE, wxID_SAMPLELOAD,
    104 ] = [wx.NewId() for item in range(7)]
     103    wxID_SAMPLESAVE, wxID_SAMPLELOAD,wxID_ADDEXCLREGION,
     104] = [wx.NewId() for item in range(8)]
    105105
    106106[ wxID_INSTPRMRESET,wxID_CHANGEWAVETYPE,wxID_INSTCOPY, wxID_INSTFLAGCOPY, wxID_INSTLOAD,
     
    16661666        self.PrefillDataMenu(self.LimitMenu,helpType='Limits')
    16671667        self.LimitEdit = wx.Menu(title='')
    1668         self.LimitMenu.Append(menu=self.LimitEdit, title='File')
     1668        self.LimitMenu.Append(menu=self.LimitEdit, title='Edit')
    16691669        self.LimitEdit.Append(id=wxID_LIMITCOPY, kind=wx.ITEM_NORMAL,text='Copy',
    16701670            help='Copy limits to other histograms')
     1671        self.LimitEdit.Append(id=wxID_ADDEXCLREGION, kind=wx.ITEM_NORMAL,text='Add exclude',
     1672            help='Add excluded region - select a point on plot; drag to adjust')           
    16711673        self.PostfillDataMenu()
    16721674           
Note: See TracChangeset for help on using the changeset viewer.