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)