"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gui/components/grid.py" between
relax-4.1.3.src.tar.bz2 and relax-5.0.0.src.tar.bz2

About: relax allows the study of molecular dynamics through the analysis of experimental NMR data. Organic molecules, proteins, RNA, DNA, sugars, and other biomolecules are all supported.

grid.py  (relax-4.1.3.src.tar.bz2):grid.py  (relax-5.0.0.src.tar.bz2)
skipping to change at line 305 skipping to change at line 305
# Add peaklist button # Add peaklist button
add_pkl = wx.BitmapButton(self.parent, -1, bitmap=wx.Bitmap(fetch_icon(' oxygen.actions.list-add-relax-blue', "16x16"), wx.BITMAP_TYPE_ANY)) add_pkl = wx.BitmapButton(self.parent, -1, bitmap=wx.Bitmap(fetch_icon(' oxygen.actions.list-add-relax-blue', "16x16"), wx.BITMAP_TYPE_ANY))
add_pkl.SetMinSize((50, 50)) add_pkl.SetMinSize((50, 50))
self.gui.Bind(wx.EVT_BUTTON, self.load_peaklist, add_pkl) self.gui.Bind(wx.EVT_BUTTON, self.load_peaklist, add_pkl)
button_sizer.Add(add_pkl, 0, wx.ADJUST_MINSIZE, 0) button_sizer.Add(add_pkl, 0, wx.ADJUST_MINSIZE, 0)
# Add VD list import # Add VD list import
if self.label =='R1': if self.label =='R1':
add_vd = wx.Button(self.parent, -1, "+VD") add_vd = wx.Button(self.parent, -1, "+VD")
add_vd.SetToolTipString("Add VD (variable delay) list to automatical ly fill in R1 relaxation times.") add_vd.SetToolTip(wx.ToolTip("Add VD (variable delay) list to automa tically fill in R1 relaxation times."))
add_vd.SetMinSize((50, 50)) add_vd.SetMinSize((50, 50))
self.gui.Bind(wx.EVT_BUTTON, self.load_delay, add_vd) self.gui.Bind(wx.EVT_BUTTON, self.load_delay, add_vd)
button_sizer.Add(add_vd, 0, wx.ADJUST_MINSIZE, 0) button_sizer.Add(add_vd, 0, wx.ADJUST_MINSIZE, 0)
# Add Vc list import # Add Vc list import
if self.label =='R2': if self.label =='R2':
add_vc = wx.Button(self.parent, -1, "+VC") add_vc = wx.Button(self.parent, -1, "+VC")
add_vc.SetToolTipString("Add VC (variable counter) list to automatic ally fill in R2 relaxation times.") add_vc.SetToolTip(wx.ToolTip("Add VC (variable counter) list to auto matically fill in R2 relaxation times."))
add_vc.SetMinSize((50, 50)) add_vc.SetMinSize((50, 50))
button_sizer.Add(add_vc, 0, wx.ADJUST_MINSIZE, 0) button_sizer.Add(add_vc, 0, wx.ADJUST_MINSIZE, 0)
# Time of counter # Time of counter
self.vc_time = wx.TextCtrl(self.parent, -1, "0") self.vc_time = wx.TextCtrl(self.parent, -1, "0")
self.vc_time.SetToolTipString("Time of counter loop in seconds.") self.vc_time.SetToolTip(wx.ToolTip("Time of counter loop in seconds. "))
self.vc_time.SetMinSize((50, 20)) self.vc_time.SetMinSize((50, 20))
self.vc_time.SetFont(wx.Font(7, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "")) self.vc_time.SetFont(wx.Font(7, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, ""))
button_sizer.Add(self.vc_time, 0, 0, 0) button_sizer.Add(self.vc_time, 0, 0, 0)
# Action of Button # Action of Button
self.gui.Bind(wx.EVT_BUTTON, lambda event, vc=True: self.load_delay( event, vc), add_vc) self.gui.Bind(wx.EVT_BUTTON, lambda event, vc=True: self.load_delay( event, vc), add_vc)
# Pack buttons # Pack buttons
sizer.Add(button_sizer, 0, 0, 0) sizer.Add(button_sizer, 0, 0, 0)
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)