Changeset 3862
- Timestamp:
- Mar 27, 2019 10:33:29 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r3860 r3862 6050 6050 pickId = G2frame.PickId 6051 6051 G2frame.PickId = G2frame.PatternId = GetGPXtreeItemId(G2frame, G2frame.root, name) 6052 G2plt.PlotPatterns(G2frame,newPlot= True,plotType='PWDR')6052 G2plt.PlotPatterns(G2frame,newPlot=False,plotType='PWDR') 6053 6053 G2frame.PickId = pickId 6054 6054 elif rows: … … 6777 6777 # print (r,val) 6778 6778 G2frame.SeqTable.SetValue(r,0, val) 6779 6779 6780 6780 def OnSelectUpdate(event): 6781 6781 '''Update all phase parameters from a selected column in the Sequential Table. … … 7048 7048 histNames = foundNames 7049 7049 nRows = len(histNames) 7050 G2frame.colList = [ nRows*[True]]7051 G2frame.colSigs = [None, ]7052 colLabels = [' Use',]7053 Types = [wg.GRID_VALUE_ BOOL,]7050 G2frame.colList = [range(nRows),nRows*[True]] 7051 G2frame.colSigs = [None,None,] 7052 colLabels = ['No.','Use',] 7053 Types = [wg.GRID_VALUE_LONG,wg.GRID_VALUE_BOOL,] 7054 7054 # start with Rwp values 7055 7055 if 'IMG ' not in histNames[0][:4]: … … 7348 7348 for c in range(len(colLabels)): 7349 7349 for r in range(nRows): 7350 if c: 7350 if c == 1: 7351 G2frame.dataDisplay.SetReadOnly(r,c,isReadOnly=False) 7352 else: 7351 7353 G2frame.dataDisplay.SetReadOnly(r,c,isReadOnly=True) 7352 else:7353 G2frame.dataDisplay.SetReadOnly(r,c,isReadOnly=False)7354 7354 if 'phoenix' in wx.version(): 7355 7355 G2frame.dataDisplay.Bind(wg.EVT_GRID_CELL_CHANGED, OnCellChange)
Note: See TracChangeset
for help on using the changeset viewer.