mailr26308 - /trunk/devel_scripts/gui/


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

Header


Content

Posted by edward on October 17, 2014 - 16:54:
Author: bugman
Date: Fri Oct 17 16:54:40 2014
New Revision: 26308

URL: http://svn.gna.org/viewcvs/relax?rev=26308&view=rev
Log:
Updated all of the scripts in devel_scripts/gui/.

These have been non-functional since the merger of the bieri_gui back in 
January 2011.


Removed:
    trunk/devel_scripts/gui/about_gui.py
Modified:
    trunk/devel_scripts/gui/about_model_free.py
    trunk/devel_scripts/gui/about_relax.py
    trunk/devel_scripts/gui/refs.py
    trunk/devel_scripts/gui/spin_create.py
    trunk/devel_scripts/gui/uf_sequence_read.py

Removed: trunk/devel_scripts/gui/about_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/about_gui.py?rev=26307&view=auto
==============================================================================
--- trunk/devel_scripts/gui/about_gui.py        (original)
+++ trunk/devel_scripts/gui/about_gui.py        (removed)
@@ -1,33 +0,0 @@
-###############################################################################
-#                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
-#                                                                            
 #
-# This file is part of the program relax (http://www.nmr-relax.com).         
 #
-#                                                                            
 #
-# This program is free software: you can redistribute it and/or modify       
 #
-# it under the terms of the GNU General Public License as published by       
 #
-# the Free Software Foundation, either version 3 of the License, or          
 #
-# (at your option) any later version.                                        
 #
-#                                                                            
 #
-# This program is distributed in the hope that it will be useful,            
 #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of             
 #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
 #
-# GNU General Public License for more details.                               
 #
-#                                                                            
 #
-# You should have received a copy of the GNU General Public License          
 #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.      
 #
-#                                                                            
 #
-###############################################################################
-
-# Python module imports.
-import wx
-
-# GUI module imports.
-from gui_bieri.about import About_gui
-
-
-# Build the app and show the window.
-app = wx.App(0)
-win = About_gui(None)
-win.Show()
-app.MainLoop()

Modified: trunk/devel_scripts/gui/about_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/about_model_free.py?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/devel_scripts/gui/about_model_free.py (original)
+++ trunk/devel_scripts/gui/about_model_free.py Fri Oct 17 16:54:40 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -23,11 +23,17 @@
 import wx
 
 # GUI module imports.
-from gui_bieri.analyses.auto_model_free import About_window
+from gui.analyses.auto_model_free import About_window
+from gui.fonts import font
 
 
-# Build the app and show the window.
+# Initialise the app.
 app = wx.App(0)
+
+# Set up the required fonts.
+font.setup()
+
+# Show the window.
 win = About_window(None)
 win.Show()
 app.MainLoop()

Modified: trunk/devel_scripts/gui/about_relax.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/about_relax.py?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/devel_scripts/gui/about_relax.py      (original)
+++ trunk/devel_scripts/gui/about_relax.py      Fri Oct 17 16:54:40 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -23,11 +23,17 @@
 import wx
 
 # GUI module imports.
-from gui_bieri.about import About_relax
+from gui.about import About_relax
+from gui.fonts import font
 
 
-# Build the app and show the window.
+# Initialise the app.
 app = wx.App(0)
+
+# Set up the required fonts.
+font.setup()
+
+# Show the window.
 win = About_relax(None)
 win.Show()
 app.MainLoop()

Modified: trunk/devel_scripts/gui/refs.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/refs.py?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/devel_scripts/gui/refs.py     (original)
+++ trunk/devel_scripts/gui/refs.py     Fri Oct 17 16:54:40 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -23,7 +23,7 @@
 import wx
 
 # GUI module imports.
-from gui_bieri.references import References
+from gui.references import References
 
 
 # Build the app and show the window.

Modified: trunk/devel_scripts/gui/spin_create.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/spin_create.py?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/devel_scripts/gui/spin_create.py      (original)
+++ trunk/devel_scripts/gui/spin_create.py      Fri Oct 17 16:54:40 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -23,11 +23,22 @@
 import wx
 
 # GUI module imports.
-from gui_bieri.user_functions import User_functions
+from gui.uf_objects import build_uf_menus, Uf_storage; uf_store = 
Uf_storage()
+from gui.fonts import font
 
 
-# Build the app and show the window.
+# Initialise the app.
 app = wx.App(0)
-user_functions = User_functions(app)
-user_functions.spin.create(None)
+app.gui = wx.Dialog(parent=None)
+
+# Set up the required fonts.
+font.setup()
+
+# The user function.
+uf = uf_store['spin.create']
+uf._sync = True
+uf.create_wizard(parent=app.gui)
+
+# Show the window.
+uf.wizard.Show()
 app.MainLoop()

Modified: trunk/devel_scripts/gui/uf_sequence_read.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/gui/uf_sequence_read.py?rev=26308&r1=26307&r2=26308&view=diff
==============================================================================
--- trunk/devel_scripts/gui/uf_sequence_read.py (original)
+++ trunk/devel_scripts/gui/uf_sequence_read.py Fri Oct 17 16:54:40 2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2010 Edward d'Auvergne                                       
 #
+# Copyright (C) 2010-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -23,11 +23,22 @@
 import wx
 
 # GUI module imports.
-from gui_bieri.user_functions import User_functions
+from gui.uf_objects import build_uf_menus, Uf_storage; uf_store = 
Uf_storage()
+from gui.fonts import font
 
 
-# Build the app and show the window.
+# Initialise the app.
 app = wx.App(0)
-user_functions = User_functions(app)
-user_functions.sequence.read(None)
+app.gui = wx.Dialog(parent=None)
+
+# Set up the required fonts.
+font.setup()
+
+# The user function.
+uf = uf_store['sequence.read']
+uf._sync = True
+uf.create_wizard(parent=app.gui)
+
+# Show the window.
+uf.wizard.Show()
 app.MainLoop()




Related Messages


Powered by MHonArc, Updated Fri Oct 17 17:00:02 2014