Changeset 2684 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Feb 1, 2017 7:58:04 PM (5 years ago)
Author:
toby
Message:

Image Parameters: split menus, more xfer angles options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2681 r2684  
    20722072        self.ImageMenu = wx.MenuBar()
    20732073        self.PrefillDataMenu(self.ImageMenu)
     2074       
    20742075        self.ImageEdit = wx.Menu(title='')
    2075         self.ImageMenu.Append(menu=self.ImageEdit, title='Operations')
     2076        self.ImageMenu.Append(menu=self.ImageEdit, title='Calibration')
    20762077        self.ImageEdit.Append(help='Calibrate detector by fitting to calibrant lines',
    20772078            id=wxID_IMCALIBRATE, kind=wx.ITEM_NORMAL,text='Calibrate')
     
    20802081        self.ImageEdit.Append(help='Recalibrate all images by fitting to calibrant lines',
    20812082            id=wxID_IMRECALIBALL, kind=wx.ITEM_NORMAL,text='Recalibrate all')           
    2082         self.ImageEdit.Append(help='Clear calibration data points and rings',id=wxID_IMCLEARCALIB,
    2083             kind=wx.ITEM_NORMAL,text='Clear calibration')
    2084         self.ImageEdit.Append(help='Integrate selected image',id=wxID_IMINTEGRATE,
     2083        self.ImageEdit.Append(help='Clear calibration data points and rings',
     2084            id=wxID_IMCLEARCALIB, kind=wx.ITEM_NORMAL,text='Clear calibration')
     2085       
     2086        ImageIntegrate = wx.Menu(title='')
     2087        self.ImageMenu.Append(menu=ImageIntegrate, title='Integration')
     2088        ImageIntegrate.Append(help='Integrate selected image',id=wxID_IMINTEGRATE,
    20852089            kind=wx.ITEM_NORMAL,text='Integrate')
    2086         self.ImageEdit.Append(help='Integrate all images selected from list',id=wxID_INTEGRATEALL,
     2090        ImageIntegrate.Append(help='Integrate all images selected from list',id=wxID_INTEGRATEALL,
    20872091            kind=wx.ITEM_NORMAL,text='Integrate all')
    2088         self.ImageEdit.Append(help='Copy image controls to other images',
     2092        ImageIntegrate.Append(help='Open Auto-integration window to integrate a series of images',
     2093            id=wxID_IMAUTOINTEG, kind=wx.ITEM_NORMAL,text='Auto Integrate')
     2094
     2095        ImageParams = wx.Menu(title='')
     2096        self.ImageMenu.Append(menu=ImageParams, title='Parms')
     2097        ImageParams.Append(help='Copy image controls to other images',
    20892098            id=wxID_IMCOPYCONTROLS, kind=wx.ITEM_NORMAL,text='Copy Controls')
    2090         self.ImageEdit.Append(help='Copy selected image controls to other images',
     2099        ImageParams.Append(help='Copy selected image controls to other images',
    20912100            id=wxID_IMCOPYSELECTED, kind=wx.ITEM_NORMAL,text='Copy Selected')
    2092         self.ImageEdit.Append(help='Save image controls to file',
     2101        ImageParams.Append(help='Save image controls to file',
    20932102            id=wxID_IMSAVECONTROLS, kind=wx.ITEM_NORMAL,text='Save Controls')
    2094         self.ImageEdit.Append(help='Save controls from selected images to file',
     2103        ImageParams.Append(help='Save controls from selected images to file',
    20952104            id=wxID_SAVESELECTEDCONTROLS, kind=wx.ITEM_NORMAL,text='Save Multiple Controls')
    2096         self.ImageEdit.Append(help='Load image controls from file',
     2105        ImageParams.Append(help='Load image controls from file',
    20972106            id=wxID_IMLOADCONTROLS, kind=wx.ITEM_NORMAL,text='Load Controls')
    2098         self.ImageEdit.Append(help='Transfer integration range for other detector distances',
     2107        ImageParams.Append(help='Transfer integration range for other detector distances',
    20992108            id=wxID_IMXFERCONTROLS, kind=wx.ITEM_NORMAL,text='Xfer angles')
    2100         self.ImageEdit.Append(help='Open Auto-integration window to integrate a series of images',
    2101             id=wxID_IMAUTOINTEG, kind=wx.ITEM_NORMAL,text='Auto Integrate')
     2109       
    21022110        self.PostfillDataMenu()
    21032111           
Note: See TracChangeset for help on using the changeset viewer.