mailr13080 - /branches/gui_testing/gui/user_functions/base.py


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

Header


Content

Posted by edward on June 17, 2011 - 10:36:
Author: bugman
Date: Fri Jun 17 10:36:04 2011
New Revision: 13080

URL: http://svn.gna.org/viewcvs/relax?rev=13080&view=rev
Log:
Created the UF_panel class derived from Wiz_panel for the user function 
specific wizard panels.


Modified:
    branches/gui_testing/gui/user_functions/base.py

Modified: branches/gui_testing/gui/user_functions/base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/base.py?rev=13080&r1=13079&r2=13080&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/base.py (original)
+++ branches/gui_testing/gui/user_functions/base.py Fri Jun 17 10:36:04 2011
@@ -40,3 +40,21 @@
 
     def setup(self):
         """Dummy method to be overwritten."""
+
+
+class UF_panel(Wiz_panel):
+    """User function specific panel for the wizards."""
+
+    def __init__(self, parent):
+        """Set up the window.
+        
+        @param parent:  The parent class containing the GUI and interpreter 
objects.
+        @type parent:   class instance
+        """
+
+        # Store the args.
+        self.gui = parent.gui
+        self.interpreter = parent.interpreter
+
+        # Execute the base class method.
+        super(UF_panel, self).__init__(None, id=-1)




Related Messages


Powered by MHonArc, Updated Fri Jun 17 10:40:02 2011