mailr15855 - /1.3/gui/components/relax_data.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 30, 2012 - 14:33:
Author: bugman
Date: Mon Apr 30 14:33:07 2012
New Revision: 15855

URL: http://svn.gna.org/viewcvs/relax?rev=15855&view=rev
Log:
Added a button to the relaxation data GUI element for calling the bruker.read 
user function.

This is not functional yet.


Modified:
    1.3/gui/components/relax_data.py

Modified: 1.3/gui/components/relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/components/relax_data.py?rev=15855&r1=15854&r2=15855&view=diff
==============================================================================
--- 1.3/gui/components/relax_data.py (original)
+++ 1.3/gui/components/relax_data.py Mon Apr 30 14:33:07 2012
@@ -137,6 +137,15 @@
         self.gui.Bind(wx.EVT_BUTTON, self.relax_data_read, self.button_add)
         self.button_add.SetToolTipString("Read relaxation data from file.")
 
+        # Bruker button.
+        self.button_bruker = 
wx.lib.buttons.ThemedGenBitmapTextButton(self.panel, -1, None, " Add")
+        self.button_bruker.SetBitmapLabel(wx.Bitmap(paths.icon_22x22.bruker, 
wx.BITMAP_TYPE_ANY))
+        self.button_bruker.SetFont(font.normal)
+        self.button_bruker.SetSize((80, self.height_buttons))
+        button_sizer.Add(self.button_bruker, 0, 0, 0)
+        self.gui.Bind(wx.EVT_BUTTON, self.relax_data_read, 
self.button_bruker)
+        self.button_bruker.SetToolTipString("Read a Bruker Dynamics Center 
relaxation data file.")
+
         # Delete button.
         self.button_delete = 
wx.lib.buttons.ThemedGenBitmapTextButton(self.panel, -1, None, " Delete")
         
self.button_delete.SetBitmapLabel(wx.Bitmap(paths.icon_22x22.list_remove, 
wx.BITMAP_TYPE_ANY))




Related Messages


Powered by MHonArc, Updated Mon Apr 30 14:40:09 2012