mailr10895 - /branches/bieri_gui/gui_bieri/analyses/auto_noe.py


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

Header


Content

Posted by michael . bieri on February 24, 2010 - 05:56:
Author: michaelbieri
Date: Wed Feb 24 05:56:50 2010
New Revision: 10895

URL: http://svn.gna.org/viewcvs/relax?rev=10895&view=rev
Log:
Header for the NOE peak lists  was added for improved separation of relax 
settings and peak files.



Modified:
    branches/bieri_gui/gui_bieri/analyses/auto_noe.py

Modified: branches/bieri_gui/gui_bieri/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_noe.py?rev=10895&r1=10894&r2=10895&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_noe.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_noe.py Wed Feb 24 05:56:50 2010
@@ -448,6 +448,26 @@
         self.peak_intensity.data = data
 
 
+    def peak_list_header(self, box):
+        """Add header for peak list section
+
+        @param box:     The box element to pack the structure file selection 
GUI element into.
+        @type box:      wx.BoxSizer instance
+        """
+
+        # Horizontal packing for this element.
+        sizer = wx.BoxSizer(wx.HORIZONTAL)
+
+        # The label.
+        label = wx.StaticText(self.parent, -1, "\nNOE peak lists:", 
style=wx.ALIGN_RIGHT)
+        label.SetMinSize((230, 34))
+        label.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
+        sizer.Add(label, 0, 
wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 0)
+
+        # Add the element to the box.
+        box.Add(sizer, 0, wx.EXPAND|wx.SHAPED, 0)
+
+
     def results_directory(self, event):
         """The results directory selection.
 




Related Messages


Powered by MHonArc, Updated Wed Feb 24 06:20:02 2010