[Avida-cvs] [Avida2-svn] r44 - in trunk/source/python/AvidaGui2: . AvidaEd.xcode

baerb at myxo.css.msu.edu baerb at myxo.css.msu.edu
Tue Mar 8 10:52:17 PST 2005


Author: baerb
Date: 2005-03-08 13:52:17 -0500 (Tue, 08 Mar 2005)
New Revision: 44

Added:
   trunk/source/python/AvidaGui2/pyPetriConfigureCtrl.py
   trunk/source/python/AvidaGui2/pyPetriConfigureView.py
   trunk/source/python/AvidaGui2/pyPetriConfigureView.ui
Modified:
   trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj
   trunk/source/python/AvidaGui2/pyEduWorkspaceCtrl.py
   trunk/source/python/AvidaGui2/pyFreezerCtrl.py
   trunk/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py
   trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py
   trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui
   trunk/source/python/AvidaGui2/pySessionDumbCtrl.py
   trunk/source/python/AvidaGui2/pyTemporaryReloads.py
Log:
Fixed layout problems with OnePop_PetriDishView

Added code to call routine to read freezer items

Set pyPetriConfigureView to capture start signal



Modified: trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj
===================================================================
--- trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj	2005-03-08 18:52:17 UTC (rev 44)
@@ -43,7 +43,7 @@
 				DC00C17007D6FB1700E90B4B,
 				DC00C17107D6FB1700E90B4B,
 			);
-			hasScannedForEncodings = 0;
+			hasScannedForEncodings = 1;
 			isa = PBXProject;
 			mainGroup = DC00C16E07D6FB1700E90B4B;
 			productRefGroup = DC0BFF3407DE17DB00AAE422;
@@ -98,8 +98,6 @@
 				DC0BFE8807DDD7C600AAE422,
 				DC3A641607DD02DE00A043AD,
 				DC0BFE8707DDD7C600AAE422,
-				DC0BFF0D07DE11BF00AAE422,
-				DC0BFEF007DDE14800AAE422,
 				DC3A640907DD02DE00A043AD,
 				DC3A640807DD02DE00A043AD,
 				DC3A640507DD02DE00A043AD,
@@ -492,14 +490,6 @@
 			refType = 4;
 			sourceTree = "<group>";
 		};
-		DC0BFEF007DDE14800AAE422 = {
-			fileEncoding = 30;
-			isa = PBXFileReference;
-			lastKnownFileType = text;
-			path = pyOrganismScopeView.ui;
-			refType = 4;
-			sourceTree = "<group>";
-		};
 		DC0BFEFA07DE0B0000AAE422 = {
 			fileEncoding = 30;
 			isa = PBXFileReference;
@@ -516,14 +506,6 @@
 			refType = 4;
 			sourceTree = "<group>";
 		};
-		DC0BFF0D07DE11BF00AAE422 = {
-			fileEncoding = 30;
-			isa = PBXFileReference;
-			lastKnownFileType = text.script.python;
-			path = pyOrganismScopeCtrl.py;
-			refType = 4;
-			sourceTree = "<group>";
-		};
 		DC0BFF3007DE17DB00AAE422 = {
 			buildActionMask = 2147483647;
 			files = (
@@ -542,7 +524,6 @@
 				DC0BFF5707DE1AE800AAE422,
 				DC0BFF5A07DE1AE800AAE422,
 				DC0BFF5C07DE1AE800AAE422,
-				DC0BFF5D07DE1AE800AAE422,
 				DC0BFF5E07DE1AE800AAE422,
 				DC0BFF5F07DE1AE800AAE422,
 				DC0BFF6007DE1AE800AAE422,
@@ -577,7 +558,7 @@
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_REZFLAGS = "";
-				PRODUCT_NAME = "echo \"done compiling .ui files\"";
+				PRODUCT_NAME = "echo done compiling .ui files";
 				PYUIC_EXE = "$(SRCROOT)/pyuic";
 				SECTORDER_FLAGS = "";
 				WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
@@ -594,7 +575,7 @@
 			explicitFileType = "compiled.mach-o.executable";
 			includeInIndex = 0;
 			isa = PBXFileReference;
-			path = "echo \"done compiling .ui files\"";
+			path = "echo done compiling .ui files";
 			refType = 3;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
@@ -708,12 +689,6 @@
 			settings = {
 			};
 		};
-		DC0BFF5D07DE1AE800AAE422 = {
-			fileRef = DC0BFEF007DDE14800AAE422;
-			isa = PBXBuildFile;
-			settings = {
-			};
-		};
 		DC0BFF5E07DE1AE800AAE422 = {
 			fileRef = DC0BFE9207DDD7C600AAE422;
 			isa = PBXBuildFile;

Modified: trunk/source/python/AvidaGui2/pyEduWorkspaceCtrl.py
===================================================================
--- trunk/source/python/AvidaGui2/pyEduWorkspaceCtrl.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyEduWorkspaceCtrl.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -8,6 +8,7 @@
 from pyTwoAnalyzeCtrl import pyTwoAnalyzeCtrl
 from pyTwoOrganismCtrl import pyTwoOrganismCtrl
 from pyTwoPopulationCtrl import pyTwoPopulationCtrl
+from pyPetriConfigureCtrl import pyPetriConfigureCtrl
 
 from qt import *
 

Modified: trunk/source/python/AvidaGui2/pyFreezerCtrl.py
===================================================================
--- trunk/source/python/AvidaGui2/pyFreezerCtrl.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyFreezerCtrl.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -1,13 +1,65 @@
 # -*- coding: utf-8 -*-
 
+import os
 from qt import *
 from pyFreezerView import pyFreezerView
+from pyReadFreezer import pyReadFreezer
 
 
 class pyFreezerCtrl(pyFreezerView):
 
   def __init__(self,parent = None,name = None,fl = 0):
     pyFreezerView.__init__(self,parent,name,fl)
+    self.m_list_view.setSelectionMode(QListView.Extended)
+    # self.connect(self.m_list_view, 
+    #   SIGNAL("doubleClicked(QListViewItem, QPoint, int)"),
+    #   self.clicked_item)
+    self.connect(self.m_list_view, 
+      SIGNAL("clicked(QListViewItem*, const QPoint &, int )"),
+      self.clicked_item)
 
   def construct(self, session_mdl):
-    pass
+    self.m_session_mdl = session_mdl
+    empty_item = self.m_list_view.firstChild()
+    full_item = empty_item.nextSibling()
+    organism_item = full_item.nextSibling()
+    if os.path.exists("freezer") == False:
+      os.mkdir("freezer")
+    freezer_dir =  os.listdir("freezer")
+    for file in freezer_dir:
+      if file.endswith(".empty"):
+        dish_name = file[:-6]
+        tmp_item = QListViewItem(empty_item)
+        tmp_item.setText(0,dish_name)
+      if file.endswith(".full"):
+        dish_name = file[:-5]
+        tmp_item = QListViewItem(full_item)
+        tmp_item.setText(0,dish_name)
+      if file.endswith(".organism"):
+        organism_name = file[:-9]
+        tmp_item = QListViewItem(organism_item)
+        tmp_item.setText(0,organism_name)
+
+  # if freezer item is clicked read file/directory assocatied with item
+
+  def clicked_item(self, item):
+   
+    # check that the item is not at the top level 
+
+    if item.depth() > 0:
+      top_level = item
+      while top_level.parent():
+        top_level = top_level.parent()
+
+      # Rebuild the file name
+
+      if str(top_level.text(0)).startswith(" Empty Petri"):
+        file_name = str(item.text(0)) + ".empty"
+      elif str(top_level.text(0)).startswith(" Full Petri"):
+        file_name = str(item.text(0)) + ".full/petri_dish"
+      elif str(top_level.text(0)).startswith(" Organism"):
+        file_name = str(item.text(0)) + ".organism"
+      file_name = "freezer/" + file_name
+      thawed_item = pyReadFreezer(file_name)
+      self.m_session_mdl.m_session_mdtr.emit(PYSIGNAL("doDefrostDishSig"),
+        (thawed_item,))

Modified: trunk/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -8,6 +8,8 @@
 
   def __init__(self,parent = None,name = None,fl = 0):
     pyOnePop_PetriDishView.__init__(self,parent,name,fl)
+    self.connect(self.m_petri_dish_toogle, SIGNAL("clicked()"), 
+      self.ToogleDish)
 
   def construct(self, session_mdl):
     self.m_session_mdl = session_mdl
@@ -15,3 +17,12 @@
     self.m_petri_dish_ctrl.construct(self.m_session_mdl)
     self.m_gradient_scale_ctrl.construct(self.m_session_mdl)
     self.m_live_controls_ctrl.construct(self.m_session_mdl)
+    self.m_petri_configure_ctrl.construct(self.m_session_mdl)
+
+  def ToogleDish (self):
+    current_page = self.m_petri_dish_widget_stack.visibleWidget()
+    current_page_int = self.m_petri_dish_widget_stack.id(current_page)
+    if (current_page_int == 0):
+       self.m_petri_dish_widget_stack.raiseWidget(1)
+    else:
+       self.m_petri_dish_widget_stack.raiseWidget(0)

Modified: trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -1,9 +1,9 @@
 # -*- coding: utf-8 -*-
 
-# Form implementation generated from reading ui file '/Users/kaben/Projects/Software/Avida/svn/avida2/trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui'
+# Form implementation generated from reading ui file 'pyOnePop_PetriDishView.ui'
 #
-# Created: Mon Feb 28 13:22:57 2005
-#      by: The PyQt User Interface Compiler (pyuic) 3.13
+# Created: Tue Mar 8 11:55:58 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14
 #
 # WARNING! All changes made in this file will be lost!
 
@@ -12,348 +12,368 @@
 from pyPetriDishCtrl import pyPetriDishCtrl
 from pyGradientScaleCtrl import pyGradientScaleCtrl
 from pyLiveControlsCtrl import pyLiveControlsCtrl
+from pyPetriConfigureCtrl import pyPetriConfigureCtrl
 
 image0_data = \
-  "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
-  "\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20" \
-  "\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\x00\x00\x08" \
-  "\x3d\x49\x44\x41\x54\x78\x9c\xed\x96\x5d\x6c\x1c" \
-  "\xd5\x15\xc7\xff\xe7\xde\x99\xd9\xd9\x4f\x7b\xbd" \
-  "\xfe\x88\xd7\x1b\x6c\x12\x3b\x35\x04\x92\xb4\xe1" \
-  "\x33\x40\x53\x48\x44\x09\x22\x04\xa2\xd2\xd2\x87" \
-  "\x36\x85\xf6\xa5\x55\x11\xa5\x2d\x50\x21\x68\xd5" \
-  "\x02\x2a\x0d\x11\x05\xaa\x3e\x20\x50\x24\xd4\x40" \
-  "\x11\x85\x16\xa9\xa0\x50\xa0\x8a\x83\x02\x09\x58" \
-  "\x75\xe4\x38\x21\x90\x38\x8e\xed\xac\xed\x6c\xe2" \
-  "\xd8\xbb\xeb\x9d\xd9\x99\xd9\xb9\xf7\xf4\x81\x35" \
-  "\x4a\x28\x15\x08\xa9\xea\x0b\x7f\xe9\xe8\xce\x95" \
-  "\x66\x74\x7e\xe7\x7f\x8f\xee\x19\xe0\x0b\xfd\x9f" \
-  "\x45\x9f\xe7\xa3\xde\xde\x5e\x23\x91\x48\xc4\xb4" \
-  "\xd6\x36\x00\xb2\x2c\xcb\xb3\x6d\xdb\xed\xeb\xeb" \
-  "\xab\xfd\x4f\x00\xd6\xad\xbb\x36\xbd\x62\xc5\x85" \
-  "\x97\x5e\xbe\xfa\xca\x65\xcb\x57\x2c\xef\x11\x24" \
-  "\xb3\xc2\xb4\x6d\xcb\x22\x10\x11\x54\xa8\x51\xab" \
-  "\x05\x81\x0a\xfd\xc2\xc1\xa1\xfd\xc3\x83\x43\x83" \
-  "\x07\x5f\xf9\xfb\xdf\x76\xed\xd8\xb1\x63\xea\x73" \
-  "\x03\x34\x36\x36\xe2\xba\xeb\x36\x7c\xf9\xd6\x5b" \
-  "\x6f\xbb\x69\x71\xf7\x79\x17\x47\xac\x08\x31\x98" \
-  "\x98\x18\x60\x0d\x82\x60\x80\x08\x00\x18\x1a\x52" \
-  "\x0a\x86\x20\x12\xc4\x86\x65\x51\x5c\x85\x4a\x14" \
-  "\xa6\xf2\xfd\x8f\x3d\xf6\xf0\x9f\xb7\x6d\x7b\xba" \
-  "\xaf\x52\xa9\xe8\xcf\x0c\xb0\x6c\xd9\xf2\x96\x2d" \
-  "\x5b\x9e\xb8\xa3\x67\xf1\xb2\x4b\x49\x08\x26\x22" \
-  "\x82\x24\x08\x22\x5b\x9a\x46\x3c\x54\x7e\x42\xa9" \
-  "\xc0\x54\x50\x82\x34\x41\x08\xc1\x64\x18\x35\x53" \
-  "\xd8\x2e\x42\xed\x19\x86\x88\x4a\xc9\x92\x84\x50" \
-  "\x5a\xb1\x2a\x4c\x8f\xf7\xff\xf8\x87\xb7\xdc\xdf" \
-  "\xd7\xb7\xe3\xe8\xa7\x02\x6c\xdc\x78\xd3\xd2\xdf" \
-  "\xfd\xf6\x89\xfb\x85\x61\xa7\x49\x48\x68\x70\xbc" \
-  "\x16\x78\x6d\xfc\xfe\x60\xc6\x35\x64\xcc\x4f\x35" \
-  "\x72\x2d\xd0\x2c\xa5\x41\x2c\x04\xc0\x82\x01\x66" \
-  "\xa5\x43\x92\x06\x21\x1a\x89\x50\x3c\x11\x55\xf1" \
-  "\x64\x83\x6b\x9b\x56\x51\x6b\xe5\x29\x85\x59\x61" \
-  "\x73\xf1\xf1\x47\x1f\x78\xe8\xa1\x07\x1f\xdc\x79" \
-  "\x7a\x3e\x79\xfa\x66\xfd\x86\x1b\x7b\x37\x6f\xde" \
-  "\xba\x45\x85\x68\x50\x8c\x98\x3b\x37\xd3\x63\x3c" \
-  "\xf7\x44\x4f\xe2\xd7\x3f\x6d\x8c\xbe\xf8\xac\x55" \
-  "\xb8\x72\x03\x47\x8d\x26\x81\x53\x2c\xec\x50\x52" \
-  "\x08\x62\xd3\x8e\xc1\x94\x36\x4c\xc3\x26\x43\x46" \
-  "\x69\x2e\x12\x60\x94\x4e\xca\x59\x67\xc6\x0a\x1c" \
-  "\xa7\x81\x14\x47\x41\x66\x45\xd5\x28\xbc\x62\xed" \
-  "\x55\x5f\x65\xe5\x8d\xec\x7e\xfb\xed\xf1\xff\x00" \
-  "\x68\x5d\xb0\x20\xf2\xe4\x9f\x5e\xfc\xbd\x50\x91" \
-  "\x66\xa7\x52\xe9\x28\xce\x16\xce\xa9\x55\xdc\x78" \
-  "\x70\x72\x86\xe6\xb2\x9d\x5c\xee\xea\x66\x71\xf9" \
-  "\x3a\x54\xa7\x4b\xe4\x55\x7c\x04\x9e\x0f\xb3\x25" \
-  "\xc9\x56\x24\x02\x61\x48\x21\xa4\xc1\x92\x0c\x7a" \
-  "\x3d\xb6\x97\x36\xd3\x56\xda\x21\x07\x49\x06\x51" \
-  "\xee\x0e\x72\xe6\xec\xec\xa9\x16\x21\x0d\x82\xb2" \
-  "\xe6\xd6\x5c\x73\xe5\x45\xbb\x76\xee\x78\x2d\x7f" \
-  "\xec\x98\x0b\x00\xc6\x3c\xc0\x5d\xf7\xdc\x73\x75" \
-  "\x63\x6b\x36\x37\x3b\x79\x6a\xa1\x5b\x2d\x9d\x65" \
-  "\x99\x71\x86\x25\x41\xab\xaf\xd3\x20\x08\x41\x82" \
-  "\x2d\x09\x8e\xe5\x5a\x95\xd6\x4c\x81\xd6\x30\x6c" \
-  "\x0b\x44\x12\x44\x20\x22\x49\x02\x82\x95\xef\x51" \
-  "\x67\xb5\x99\xcb\xb2\x4a\x29\xcf\x22\x8e\x98\x6c" \
-  "\x99\x29\x2a\x17\x67\x73\x7e\x50\x8d\xc1\x68\xf9" \
-  "\xe0\x27\x77\xfd\xe2\x5b\xbb\x6f\xb8\xfe\x8f\x67" \
-  "\xf4\xc0\xbe\xb1\xf1\x47\x98\x53\xeb\xcb\xf9\xe3" \
-  "\x5d\xa6\x88\x12\x91\x01\x21\x08\x44\x02\x00\x91" \
-  "\x60\xb0\x15\x86\xa2\x3a\xe1\x90\x61\x48\xf8\x96" \
-  "\xe2\x44\x36\xc3\x62\xc6\x21\xcd\x04\x8a\x0a\xa8" \
-  "\x64\x82\xdf\x8d\xbf\x4f\x5c\x03\xa7\xc3\x28\x3a" \
-  "\xfc\x66\x48\x92\x5a\x2a\x12\xcc\x1a\xb5\x9a\x03" \
-  "\x19\x11\xf9\x44\x4b\x6a\xf7\xb9\x5d\x99\x9b\xcf" \
-  "\x70\x80\x28\xd6\x59\x9e\x2c\x74\x46\x64\x82\x20" \
-  "\x04\x88\x05\x84\x29\x19\x1a\x42\x10\x69\x10\x53" \
-  "\x30\x57\x65\x37\xf0\xc8\x54\x04\x1d\x8b\xb2\xa9" \
-  "\x98\xbc\xb2\x22\x12\x12\x5e\xb5\x0a\x95\xb1\xf4" \
-  "\x1f\x8c\xe7\xc5\x34\x1f\xa7\xb4\xd9\x88\x47\xdd" \
-  "\x3b\xd4\xcb\x4d\xfd\xc6\x6e\x0c\xa0\x43\x2f\xe0" \
-  "\xeb\xdd\x8b\xb8\xc7\x6d\xcd\x7a\x65\xaf\x13\x40" \
-  "\x14\x40\x75\x1e\xc0\x9c\xce\x9f\xe8\x48\x99\x0d" \
-  "\x42\x6b\x01\x41\x02\x99\xdd\xdb\xa9\xe9\xb9\xa7" \
-  "\xa4\x6e\xcb\x62\x6e\xd5\x55\x28\x7d\xed\x7a\x4e" \
-  "\x0f\x0f\xa0\xc9\x4e\x70\xad\xa5\x83\xfd\xb6\x16" \
-  "\xf6\x95\xa6\x4a\x8c\x35\xc2\x1a\x0b\xdb\x20\x4f" \
-  "\xf8\x94\x2d\x26\xa0\x55\x94\x49\xd7\x28\x6d\x36" \
-  "\xe0\xb0\x39\x86\x82\x3f\x85\x8a\xe1\xd0\x4c\x75" \
-  "\x09\x6c\xab\x9b\x2a\x4e\x29\x27\x84\x88\x68\xad" \
-  "\x3f\x02\x88\xe9\x9a\x9f\x86\x25\x20\x09\x44\x06" \
-  "\x51\xfa\xf5\x97\x60\x8e\x1c\x06\x8d\x8f\xa2\xd0" \
-  "\xbb\x82\xd2\x83\x7b\xd0\xfa\xcb\xdb\x05\xb3\x82" \
-  "\xd7\x9e\xa3\x89\x67\x77\x85\x71\xaf\x0a\x3b\x12" \
-  "\x27\xa3\xc9\x10\x35\xdb\x56\xb1\x63\xa3\x62\xeb" \
-  "\xe1\x65\xba\x96\x59\x83\x62\x7b\xbb\x16\x29\x13" \
-  "\x9b\x0a\x6b\xf5\x51\x7f\x09\x4d\x73\x91\x17\x19" \
-  "\x39\x22\x08\x40\x23\xa9\xb5\x8e\x02\x28\x1a\x00" \
-  "\x04\x80\x48\xb9\xe4\x9a\x0d\x51\x90\x94\x16\x13" \
-  "\x6b\xe4\x2f\xbf\x86\xd0\xd9\x0b\xbb\x78\x8a\xbd" \
-  "\x4b\xd7\x72\x6a\xcf\xeb\xe4\x58\x06\x4c\x2d\x51" \
-  "\x5e\x7c\x0e\x9b\x86\x41\xe1\x5c\x48\x81\x13\x42" \
-  "\xb9\x0a\x5e\x86\xa9\xe3\xf9\x27\x11\x79\xf1\x19" \
-  "\x41\xa6\x01\xeb\xea\x1b\xd8\xb9\xe5\x36\x5e\xff" \
-  "\xab\x3b\x29\x94\x16\xfc\x45\x4b\x28\xff\xfd\x35" \
-  "\xac\x88\xc0\xb6\x6d\x0a\x21\x6c\xad\xb5\x31\xef" \
-  "\x80\x71\xf8\x83\x23\xa1\x49\x31\x5e\x98\xeb\x42" \
-  "\x7a\xe8\x1d\xa4\x0e\x0c\x40\xb5\xb6\xeb\xe0\x8a" \
-  "\x35\xf0\x96\x9c\xc7\xc3\x4b\x73\xb0\xbe\xbd\x49" \
-  "\xc7\xa7\xcb\x64\xb0\x05\xa1\x41\x45\xed\xb3\x96" \
-  "\x0a\x61\xd5\x43\x26\xd1\xc5\xaa\x30\x29\x82\x58" \
-  "\x14\x86\x34\x50\xcd\xb4\xc1\xca\x8f\xc1\x18\xfe" \
-  "\x80\x64\xa8\x40\x23\x87\x80\x1f\xdc\xad\xdc\xa0" \
-  "\x4a\x32\x93\x54\x5a\x6b\x02\x40\x1f\x35\xe1\xb1" \
-  "\xc9\xd1\xc3\xd9\x05\x67\x77\x9b\x91\x49\x5e\xf4" \
-  "\xd2\x36\xb2\x77\xfe\x83\xc8\x88\xd0\xf1\xaf\x6f" \
-  "\xe0\xe9\xb5\xab\x71\x7b\xec\x11\xe1\x44\x1d\x64" \
-  "\xdb\xb2\xb8\x6f\xf6\xbb\x6a\xe5\x5b\x2f\x53\x76" \
-  "\x60\x0f\x6a\x6d\x39\x78\xe7\xaf\x44\x59\x2e\xe2" \
-  "\x89\x07\x9e\xd2\xba\x5c\x04\x4f\x8e\x01\xa9\x34" \
-  "\xa2\xa1\x8f\xb1\x1b\xbf\xa7\x8d\xc9\x71\x62\xa7" \
-  "\x88\x92\xef\x09\x47\x0b\x71\xa4\xff\xdd\x31\x00" \
-  "\xb5\x79\x00\x06\x10\xee\xec\x7b\xe5\xd5\x4b\x56" \
-  "\xad\x5b\x97\x3f\x3a\x41\x03\xc9\x26\xea\x5e\x90" \
-  "\x43\xcc\x73\x30\xb7\x62\x15\x1f\xb2\xa7\xc8\xa1" \
-  "\x39\x28\x62\xb8\xce\x2c\x3a\xd0\x4a\x89\xe7\xb6" \
-  "\x92\x18\xd8\x43\x51\xd3\x80\xbb\xfe\x66\x46\xef" \
-  "\x4a\x12\xc2\x60\x34\x66\x98\x1a\x32\x04\x30\x0f" \
-  "\x26\xc7\xe5\x81\xa5\x97\x71\xb3\x5e\x8f\xec\xa8" \
-  "\x0d\x77\xa2\x40\x76\xb2\x81\x5f\x7d\xe1\x99\x57" \
-  "\x01\x84\x00\xc2\x79\x80\xea\xbe\xbd\xef\xf4\xed" \
-  "\x1b\xda\xf3\xaf\xee\x6c\xcf\xca\x63\x97\x5c\xcd" \
-  "\xde\x37\x37\x21\x6e\xc6\xd0\xd0\x9c\xe5\xae\xd9" \
-  "\x22\x7e\xe4\xde\xc0\xd3\xb2\x48\x92\x0d\x6d\x9a" \
-  "\x3e\xe6\xc2\x40\xc8\x54\x0a\xa6\x52\xa8\xf4\x2c" \
-  "\x65\xa5\x42\x30\x33\x40\x02\xcc\x35\x80\x85\x78" \
-  "\x59\xbe\x8d\xf7\x66\xf6\x8a\x6b\xdd\x55\x30\xfc" \
-  "\x76\xc4\xb4\xc5\x23\x23\x07\xc6\xdf\xd8\xfe\x97" \
-  "\xbf\x02\xf0\x00\xe8\xf9\x8b\xc8\x00\xd0\x9a\x6e" \
-  "\x6a\xbe\xe0\xde\x4d\x3f\x7f\xb2\x1d\x68\x6d\x5d" \
-  "\x74\x16\x38\x91\x64\xce\x75\x21\x7b\x78\x08\x8d" \
-  "\x63\x47\x61\xc7\xe3\x5c\xb9\x6c\x1d\x54\xba\x95" \
-  "\x45\xa5\x44\x55\xcb\x62\x5d\x29\x13\x27\x1a\x20" \
-  "\xe2\x09\x30\x48\xb1\x0e\x85\xef\x7b\x54\xf5\x5d" \
-  "\x1e\x8d\x4d\x88\xb6\x48\x23\x69\x66\x9c\xc8\x17" \
-  "\x51\x3e\x72\xaa\xfc\xf0\x96\x3b\xef\x18\x1b\x1d" \
-  "\xfe\x27\x80\xe3\x00\xfc\xf9\x59\xa0\x01\x28\xaf" \
-  "\xea\x7a\x7b\x87\x87\xf6\x9d\x7f\xee\xf2\x4b\xda" \
-  "\xdb\xda\x52\x61\xa2\x81\xa0\x14\xb9\x4e\x85\x66" \
-  "\x5b\xda\x68\xca\x0f\xe8\x88\xaf\xa9\x36\x72\x80" \
-  "\xe8\xe9\xc7\x05\xbd\xb9\x5d\xe8\xfc\x11\x9a\x5c" \
-  "\x74\x0e\xdc\x23\xef\xd3\x89\x91\x61\x39\x91\x1f" \
-  "\xa3\xd9\x8a\x43\xb1\xa4\x2d\xce\x4e\xb4\x51\x52" \
-  "\x46\x41\x55\x85\xf1\x43\xa3\x85\x2d\x9b\xef\xbe" \
-  "\x6f\x74\x74\xf8\x4d\x00\xd3\x00\x9c\x8f\x4f\xc3" \
-  "\x10\x40\xe8\xba\x4e\xf9\xad\xfd\xfd\x6f\x25\x32" \
-  "\x99\xf6\xce\xf3\x57\xe6\x0c\x82\xe0\xaa\x4b\xa1" \
-  "\x1f\xa0\xe4\x78\x98\x92\x49\x76\x4f\x16\xe8\x64" \
-  "\xac\x09\x85\x4c\x0e\xf9\x64\x1b\xcf\x58\x71\xaa" \
-  "\x0e\x0e\x90\x37\x3e\x8e\xda\xd4\x24\xe9\x5a\x8d" \
-  "\x62\x6d\xcd\xb0\xa3\x12\x4e\xd9\x51\x6f\xbc\xb6" \
-  "\xbd\xff\xc1\xdf\xfc\xec\xde\xe3\xc7\x27\xfb\xeb" \
-  "\x95\x97\x3f\xba\x81\x71\xa6\x08\x40\x1c\x40\x06" \
-  "\x40\x4b\xd7\xd9\xdd\x17\x6f\xfc\xc6\x77\x36\x7e" \
-  "\x75\xf5\xb5\x17\x47\x22\x76\xd4\x29\x39\xe2\x44" \
-  "\xc9\x07\x0a\x79\xa8\x52\x11\x22\x08\xa0\x2c\x0b" \
-  "\x68\x5d\x80\xc8\xa1\xfd\x90\xcc\x20\x02\xf4\xc2" \
-  "\x2e\x9d\xea\xe9\x0a\x0e\x1e\xec\xdf\xf7\xfc\x0b" \
-  "\xdb\x5e\x78\x6f\xff\xe0\x2e\x00\x05\x00\xa7\x00" \
-  "\xcc\xd5\x1d\xff\x44\x80\x79\x45\x00\x34\xd4\x23" \
-  "\x1d\x8f\x27\xba\x56\x5e\x78\xd9\x05\x5f\x3a\xf7" \
-  "\x2b\xcb\x52\x4d\x1d\x67\xb5\x2f\x5c\xbc\x20\x62" \
-  "\x46\x2d\x30\x04\xb3\x26\x68\xa5\x7c\xa7\x54\x9b" \
-  "\x1a\x39\x78\xe2\x64\x7e\x64\x72\x64\xf2\xe8\xd0" \
-  "\xd0\xc1\xbd\x7b\xca\xe5\xd2\x08\x80\x12\x80\x62" \
-  "\x7d\xad\xd6\x9b\xfe\x8c\x8a\xff\x9b\x04\x3e\x1c" \
-  "\x18\x09\x00\xb1\xba\x33\x71\x00\xb6\x10\x22\x1e" \
-  "\x8d\xc6\x92\x96\x15\xb1\x89\x04\x82\x5a\xe0\x57" \
-  "\xdd\x8a\xa3\x94\x9a\xab\x27\xa9\x02\xa8\x00\x70" \
-  "\xeb\x67\xed\x02\x50\x9f\x94\xe4\xb3\xfc\x15\x13" \
-  "\x00\x13\x80\x55\x77\xc6\xac\xaf\xa2\x1e\x5c\x7f" \
-  "\xa7\x86\x0f\xfb\xc8\xaf\x3f\xfb\x00\x82\x8f\x57" \
-  "\xfc\x79\x00\x3e\x2e\x71\x5a\xe0\x34\x00\x5d\x0f" \
-  "\xfe\xb4\xa4\x5f\xe8\x0b\x9d\xae\x7f\x03\x0c\xdb" \
-  "\xe8\xdf\x8f\xa4\x44\x04\x00\x00\x00\x00\x49\x45" \
-  "\x4e\x44\xae\x42\x60\x82"
+    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
+    "\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20" \
+    "\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\x00\x00\x08" \
+    "\x3d\x49\x44\x41\x54\x78\x9c\xed\x96\x5d\x6c\x1c" \
+    "\xd5\x15\xc7\xff\xe7\xde\x99\xd9\xd9\x4f\x7b\xbd" \
+    "\xfe\x88\xd7\x1b\x6c\x12\x3b\x35\x04\x92\xb4\xe1" \
+    "\x33\x40\x53\x48\x44\x09\x22\x04\xa2\xd2\xd2\x87" \
+    "\x36\x85\xf6\xa5\x55\x11\xa5\x2d\x50\x21\x68\xd5" \
+    "\x02\x2a\x0d\x11\x05\xaa\x3e\x20\x50\x24\xd4\x40" \
+    "\x11\x85\x16\xa9\xa0\x50\xa0\x8a\x83\x02\x09\x58" \
+    "\x75\xe4\x38\x21\x90\x38\x8e\xed\xac\xed\x6c\xe2" \
+    "\xd8\xbb\xeb\x9d\xd9\x99\xd9\xb9\xf7\xf4\x81\x35" \
+    "\x4a\x28\x15\x08\xa9\xea\x0b\x7f\xe9\xe8\xce\x95" \
+    "\x66\x74\x7e\xe7\x7f\x8f\xee\x19\xe0\x0b\xfd\x9f" \
+    "\x45\x9f\xe7\xa3\xde\xde\x5e\x23\x91\x48\xc4\xb4" \
+    "\xd6\x36\x00\xb2\x2c\xcb\xb3\x6d\xdb\xed\xeb\xeb" \
+    "\xab\xfd\x4f\x00\xd6\xad\xbb\x36\xbd\x62\xc5\x85" \
+    "\x97\x5e\xbe\xfa\xca\x65\xcb\x57\x2c\xef\x11\x24" \
+    "\xb3\xc2\xb4\x6d\xcb\x22\x10\x11\x54\xa8\x51\xab" \
+    "\x05\x81\x0a\xfd\xc2\xc1\xa1\xfd\xc3\x83\x43\x83" \
+    "\x07\x5f\xf9\xfb\xdf\x76\xed\xd8\xb1\x63\xea\x73" \
+    "\x03\x34\x36\x36\xe2\xba\xeb\x36\x7c\xf9\xd6\x5b" \
+    "\x6f\xbb\x69\x71\xf7\x79\x17\x47\xac\x08\x31\x98" \
+    "\x98\x18\x60\x0d\x82\x60\x80\x08\x00\x18\x1a\x52" \
+    "\x0a\x86\x20\x12\xc4\x86\x65\x51\x5c\x85\x4a\x14" \
+    "\xa6\xf2\xfd\x8f\x3d\xf6\xf0\x9f\xb7\x6d\x7b\xba" \
+    "\xaf\x52\xa9\xe8\xcf\x0c\xb0\x6c\xd9\xf2\x96\x2d" \
+    "\x5b\x9e\xb8\xa3\x67\xf1\xb2\x4b\x49\x08\x26\x22" \
+    "\x82\x24\x08\x22\x5b\x9a\x46\x3c\x54\x7e\x42\xa9" \
+    "\xc0\x54\x50\x82\x34\x41\x08\xc1\x64\x18\x35\x53" \
+    "\xd8\x2e\x42\xed\x19\x86\x88\x4a\xc9\x92\x84\x50" \
+    "\x5a\xb1\x2a\x4c\x8f\xf7\xff\xf8\x87\xb7\xdc\xdf" \
+    "\xd7\xb7\xe3\xe8\xa7\x02\x6c\xdc\x78\xd3\xd2\xdf" \
+    "\xfd\xf6\x89\xfb\x85\x61\xa7\x49\x48\x68\x70\xbc" \
+    "\x16\x78\x6d\xfc\xfe\x60\xc6\x35\x64\xcc\x4f\x35" \
+    "\x72\x2d\xd0\x2c\xa5\x41\x2c\x04\xc0\x82\x01\x66" \
+    "\xa5\x43\x92\x06\x21\x1a\x89\x50\x3c\x11\x55\xf1" \
+    "\x64\x83\x6b\x9b\x56\x51\x6b\xe5\x29\x85\x59\x61" \
+    "\x73\xf1\xf1\x47\x1f\x78\xe8\xa1\x07\x1f\xdc\x79" \
+    "\x7a\x3e\x79\xfa\x66\xfd\x86\x1b\x7b\x37\x6f\xde" \
+    "\xba\x45\x85\x68\x50\x8c\x98\x3b\x37\xd3\x63\x3c" \
+    "\xf7\x44\x4f\xe2\xd7\x3f\x6d\x8c\xbe\xf8\xac\x55" \
+    "\xb8\x72\x03\x47\x8d\x26\x81\x53\x2c\xec\x50\x52" \
+    "\x08\x62\xd3\x8e\xc1\x94\x36\x4c\xc3\x26\x43\x46" \
+    "\x69\x2e\x12\x60\x94\x4e\xca\x59\x67\xc6\x0a\x1c" \
+    "\xa7\x81\x14\x47\x41\x66\x45\xd5\x28\xbc\x62\xed" \
+    "\x55\x5f\x65\xe5\x8d\xec\x7e\xfb\xed\xf1\xff\x00" \
+    "\x68\x5d\xb0\x20\xf2\xe4\x9f\x5e\xfc\xbd\x50\x91" \
+    "\x66\xa7\x52\xe9\x28\xce\x16\xce\xa9\x55\xdc\x78" \
+    "\x70\x72\x86\xe6\xb2\x9d\x5c\xee\xea\x66\x71\xf9" \
+    "\x3a\x54\xa7\x4b\xe4\x55\x7c\x04\x9e\x0f\xb3\x25" \
+    "\xc9\x56\x24\x02\x61\x48\x21\xa4\xc1\x92\x0c\x7a" \
+    "\x3d\xb6\x97\x36\xd3\x56\xda\x21\x07\x49\x06\x51" \
+    "\xee\x0e\x72\xe6\xec\xec\xa9\x16\x21\x0d\x82\xb2" \
+    "\xe6\xd6\x5c\x73\xe5\x45\xbb\x76\xee\x78\x2d\x7f" \
+    "\xec\x98\x0b\x00\xc6\x3c\xc0\x5d\xf7\xdc\x73\x75" \
+    "\x63\x6b\x36\x37\x3b\x79\x6a\xa1\x5b\x2d\x9d\x65" \
+    "\x99\x71\x86\x25\x41\xab\xaf\xd3\x20\x08\x41\x82" \
+    "\x2d\x09\x8e\xe5\x5a\x95\xd6\x4c\x81\xd6\x30\x6c" \
+    "\x0b\x44\x12\x44\x20\x22\x49\x02\x82\x95\xef\x51" \
+    "\x67\xb5\x99\xcb\xb2\x4a\x29\xcf\x22\x8e\x98\x6c" \
+    "\x99\x29\x2a\x17\x67\x73\x7e\x50\x8d\xc1\x68\xf9" \
+    "\xe0\x27\x77\xfd\xe2\x5b\xbb\x6f\xb8\xfe\x8f\x67" \
+    "\xf4\xc0\xbe\xb1\xf1\x47\x98\x53\xeb\xcb\xf9\xe3" \
+    "\x5d\xa6\x88\x12\x91\x01\x21\x08\x44\x02\x00\x91" \
+    "\x60\xb0\x15\x86\xa2\x3a\xe1\x90\x61\x48\xf8\x96" \
+    "\xe2\x44\x36\xc3\x62\xc6\x21\xcd\x04\x8a\x0a\xa8" \
+    "\x64\x82\xdf\x8d\xbf\x4f\x5c\x03\xa7\xc3\x28\x3a" \
+    "\xfc\x66\x48\x92\x5a\x2a\x12\xcc\x1a\xb5\x9a\x03" \
+    "\x19\x11\xf9\x44\x4b\x6a\xf7\xb9\x5d\x99\x9b\xcf" \
+    "\x70\x80\x28\xd6\x59\x9e\x2c\x74\x46\x64\x82\x20" \
+    "\x04\x88\x05\x84\x29\x19\x1a\x42\x10\x69\x10\x53" \
+    "\x30\x57\x65\x37\xf0\xc8\x54\x04\x1d\x8b\xb2\xa9" \
+    "\x98\xbc\xb2\x22\x12\x12\x5e\xb5\x0a\x95\xb1\xf4" \
+    "\x1f\x8c\xe7\xc5\x34\x1f\xa7\xb4\xd9\x88\x47\xdd" \
+    "\x3b\xd4\xcb\x4d\xfd\xc6\x6e\x0c\xa0\x43\x2f\xe0" \
+    "\xeb\xdd\x8b\xb8\xc7\x6d\xcd\x7a\x65\xaf\x13\x40" \
+    "\x14\x40\x75\x1e\xc0\x9c\xce\x9f\xe8\x48\x99\x0d" \
+    "\x42\x6b\x01\x41\x02\x99\xdd\xdb\xa9\xe9\xb9\xa7" \
+    "\xa4\x6e\xcb\x62\x6e\xd5\x55\x28\x7d\xed\x7a\x4e" \
+    "\x0f\x0f\xa0\xc9\x4e\x70\xad\xa5\x83\xfd\xb6\x16" \
+    "\xf6\x95\xa6\x4a\x8c\x35\xc2\x1a\x0b\xdb\x20\x4f" \
+    "\xf8\x94\x2d\x26\xa0\x55\x94\x49\xd7\x28\x6d\x36" \
+    "\xe0\xb0\x39\x86\x82\x3f\x85\x8a\xe1\xd0\x4c\x75" \
+    "\x09\x6c\xab\x9b\x2a\x4e\x29\x27\x84\x88\x68\xad" \
+    "\x3f\x02\x88\xe9\x9a\x9f\x86\x25\x20\x09\x44\x06" \
+    "\x51\xfa\xf5\x97\x60\x8e\x1c\x06\x8d\x8f\xa2\xd0" \
+    "\xbb\x82\xd2\x83\x7b\xd0\xfa\xcb\xdb\x05\xb3\x82" \
+    "\xd7\x9e\xa3\x89\x67\x77\x85\x71\xaf\x0a\x3b\x12" \
+    "\x27\xa3\xc9\x10\x35\xdb\x56\xb1\x63\xa3\x62\xeb" \
+    "\xe1\x65\xba\x96\x59\x83\x62\x7b\xbb\x16\x29\x13" \
+    "\x9b\x0a\x6b\xf5\x51\x7f\x09\x4d\x73\x91\x17\x19" \
+    "\x39\x22\x08\x40\x23\xa9\xb5\x8e\x02\x28\x1a\x00" \
+    "\x04\x80\x48\xb9\xe4\x9a\x0d\x51\x90\x94\x16\x13" \
+    "\x6b\xe4\x2f\xbf\x86\xd0\xd9\x0b\xbb\x78\x8a\xbd" \
+    "\x4b\xd7\x72\x6a\xcf\xeb\xe4\x58\x06\x4c\x2d\x51" \
+    "\x5e\x7c\x0e\x9b\x86\x41\xe1\x5c\x48\x81\x13\x42" \
+    "\xb9\x0a\x5e\x86\xa9\xe3\xf9\x27\x11\x79\xf1\x19" \
+    "\x41\xa6\x01\xeb\xea\x1b\xd8\xb9\xe5\x36\x5e\xff" \
+    "\xab\x3b\x29\x94\x16\xfc\x45\x4b\x28\xff\xfd\x35" \
+    "\xac\x88\xc0\xb6\x6d\x0a\x21\x6c\xad\xb5\x31\xef" \
+    "\x80\x71\xf8\x83\x23\xa1\x49\x31\x5e\x98\xeb\x42" \
+    "\x7a\xe8\x1d\xa4\x0e\x0c\x40\xb5\xb6\xeb\xe0\x8a" \
+    "\x35\xf0\x96\x9c\xc7\xc3\x4b\x73\xb0\xbe\xbd\x49" \
+    "\xc7\xa7\xcb\x64\xb0\x05\xa1\x41\x45\xed\xb3\x96" \
+    "\x0a\x61\xd5\x43\x26\xd1\xc5\xaa\x30\x29\x82\x58" \
+    "\x14\x86\x34\x50\xcd\xb4\xc1\xca\x8f\xc1\x18\xfe" \
+    "\x80\x64\xa8\x40\x23\x87\x80\x1f\xdc\xad\xdc\xa0" \
+    "\x4a\x32\x93\x54\x5a\x6b\x02\x40\x1f\x35\xe1\xb1" \
+    "\xc9\xd1\xc3\xd9\x05\x67\x77\x9b\x91\x49\x5e\xf4" \
+    "\xd2\x36\xb2\x77\xfe\x83\xc8\x88\xd0\xf1\xaf\x6f" \
+    "\xe0\xe9\xb5\xab\x71\x7b\xec\x11\xe1\x44\x1d\x64" \
+    "\xdb\xb2\xb8\x6f\xf6\xbb\x6a\xe5\x5b\x2f\x53\x76" \
+    "\x60\x0f\x6a\x6d\x39\x78\xe7\xaf\x44\x59\x2e\xe2" \
+    "\x89\x07\x9e\xd2\xba\x5c\x04\x4f\x8e\x01\xa9\x34" \
+    "\xa2\xa1\x8f\xb1\x1b\xbf\xa7\x8d\xc9\x71\x62\xa7" \
+    "\x88\x92\xef\x09\x47\x0b\x71\xa4\xff\xdd\x31\x00" \
+    "\xb5\x79\x00\x06\x10\xee\xec\x7b\xe5\xd5\x4b\x56" \
+    "\xad\x5b\x97\x3f\x3a\x41\x03\xc9\x26\xea\x5e\x90" \
+    "\x43\xcc\x73\x30\xb7\x62\x15\x1f\xb2\xa7\xc8\xa1" \
+    "\x39\x28\x62\xb8\xce\x2c\x3a\xd0\x4a\x89\xe7\xb6" \
+    "\x92\x18\xd8\x43\x51\xd3\x80\xbb\xfe\x66\x46\xef" \
+    "\x4a\x12\xc2\x60\x34\x66\x98\x1a\x32\x04\x30\x0f" \
+    "\x26\xc7\xe5\x81\xa5\x97\x71\xb3\x5e\x8f\xec\xa8" \
+    "\x0d\x77\xa2\x40\x76\xb2\x81\x5f\x7d\xe1\x99\x57" \
+    "\x01\x84\x00\xc2\x79\x80\xea\xbe\xbd\xef\xf4\xed" \
+    "\x1b\xda\xf3\xaf\xee\x6c\xcf\xca\x63\x97\x5c\xcd" \
+    "\xde\x37\x37\x21\x6e\xc6\xd0\xd0\x9c\xe5\xae\xd9" \
+    "\x22\x7e\xe4\xde\xc0\xd3\xb2\x48\x92\x0d\x6d\x9a" \
+    "\x3e\xe6\xc2\x40\xc8\x54\x0a\xa6\x52\xa8\xf4\x2c" \
+    "\x65\xa5\x42\x30\x33\x40\x02\xcc\x35\x80\x85\x78" \
+    "\x59\xbe\x8d\xf7\x66\xf6\x8a\x6b\xdd\x55\x30\xfc" \
+    "\x76\xc4\xb4\xc5\x23\x23\x07\xc6\xdf\xd8\xfe\x97" \
+    "\xbf\x02\xf0\x00\xe8\xf9\x8b\xc8\x00\xd0\x9a\x6e" \
+    "\x6a\xbe\xe0\xde\x4d\x3f\x7f\xb2\x1d\x68\x6d\x5d" \
+    "\x74\x16\x38\x91\x64\xce\x75\x21\x7b\x78\x08\x8d" \
+    "\x63\x47\x61\xc7\xe3\x5c\xb9\x6c\x1d\x54\xba\x95" \
+    "\x45\xa5\x44\x55\xcb\x62\x5d\x29\x13\x27\x1a\x20" \
+    "\xe2\x09\x30\x48\xb1\x0e\x85\xef\x7b\x54\xf5\x5d" \
+    "\x1e\x8d\x4d\x88\xb6\x48\x23\x69\x66\x9c\xc8\x17" \
+    "\x51\x3e\x72\xaa\xfc\xf0\x96\x3b\xef\x18\x1b\x1d" \
+    "\xfe\x27\x80\xe3\x00\xfc\xf9\x59\xa0\x01\x28\xaf" \
+    "\xea\x7a\x7b\x87\x87\xf6\x9d\x7f\xee\xf2\x4b\xda" \
+    "\xdb\xda\x52\x61\xa2\x81\xa0\x14\xb9\x4e\x85\x66" \
+    "\x5b\xda\x68\xca\x0f\xe8\x88\xaf\xa9\x36\x72\x80" \
+    "\xe8\xe9\xc7\x05\xbd\xb9\x5d\xe8\xfc\x11\x9a\x5c" \
+    "\x74\x0e\xdc\x23\xef\xd3\x89\x91\x61\x39\x91\x1f" \
+    "\xa3\xd9\x8a\x43\xb1\xa4\x2d\xce\x4e\xb4\x51\x52" \
+    "\x46\x41\x55\x85\xf1\x43\xa3\x85\x2d\x9b\xef\xbe" \
+    "\x6f\x74\x74\xf8\x4d\x00\xd3\x00\x9c\x8f\x4f\xc3" \
+    "\x10\x40\xe8\xba\x4e\xf9\xad\xfd\xfd\x6f\x25\x32" \
+    "\x99\xf6\xce\xf3\x57\xe6\x0c\x82\xe0\xaa\x4b\xa1" \
+    "\x1f\xa0\xe4\x78\x98\x92\x49\x76\x4f\x16\xe8\x64" \
+    "\xac\x09\x85\x4c\x0e\xf9\x64\x1b\xcf\x58\x71\xaa" \
+    "\x0e\x0e\x90\x37\x3e\x8e\xda\xd4\x24\xe9\x5a\x8d" \
+    "\x62\x6d\xcd\xb0\xa3\x12\x4e\xd9\x51\x6f\xbc\xb6" \
+    "\xbd\xff\xc1\xdf\xfc\xec\xde\xe3\xc7\x27\xfb\xeb" \
+    "\x95\x97\x3f\xba\x81\x71\xa6\x08\x40\x1c\x40\x06" \
+    "\x40\x4b\xd7\xd9\xdd\x17\x6f\xfc\xc6\x77\x36\x7e" \
+    "\x75\xf5\xb5\x17\x47\x22\x76\xd4\x29\x39\xe2\x44" \
+    "\xc9\x07\x0a\x79\xa8\x52\x11\x22\x08\xa0\x2c\x0b" \
+    "\x68\x5d\x80\xc8\xa1\xfd\x90\xcc\x20\x02\xf4\xc2" \
+    "\x2e\x9d\xea\xe9\x0a\x0e\x1e\xec\xdf\xf7\xfc\x0b" \
+    "\xdb\x5e\x78\x6f\xff\xe0\x2e\x00\x05\x00\xa7\x00" \
+    "\xcc\xd5\x1d\xff\x44\x80\x79\x45\x00\x34\xd4\x23" \
+    "\x1d\x8f\x27\xba\x56\x5e\x78\xd9\x05\x5f\x3a\xf7" \
+    "\x2b\xcb\x52\x4d\x1d\x67\xb5\x2f\x5c\xbc\x20\x62" \
+    "\x46\x2d\x30\x04\xb3\x26\x68\xa5\x7c\xa7\x54\x9b" \
+    "\x1a\x39\x78\xe2\x64\x7e\x64\x72\x64\xf2\xe8\xd0" \
+    "\xd0\xc1\xbd\x7b\xca\xe5\xd2\x08\x80\x12\x80\x62" \
+    "\x7d\xad\xd6\x9b\xfe\x8c\x8a\xff\x9b\x04\x3e\x1c" \
+    "\x18\x09\x00\xb1\xba\x33\x71\x00\xb6\x10\x22\x1e" \
+    "\x8d\xc6\x92\x96\x15\xb1\x89\x04\x82\x5a\xe0\x57" \
+    "\xdd\x8a\xa3\x94\x9a\xab\x27\xa9\x02\xa8\x00\x70" \
+    "\xeb\x67\xed\x02\x50\x9f\x94\xe4\xb3\xfc\x15\x13" \
+    "\x00\x13\x80\x55\x77\xc6\xac\xaf\xa2\x1e\x5c\x7f" \
+    "\xa7\x86\x0f\xfb\xc8\xaf\x3f\xfb\x00\x82\x8f\x57" \
+    "\xfc\x79\x00\x3e\x2e\x71\x5a\xe0\x34\x00\x5d\x0f" \
+    "\xfe\xb4\xa4\x5f\xe8\x0b\x9d\xae\x7f\x03\x0c\xdb" \
+    "\xe8\xdf\x8f\xa4\x44\x04\x00\x00\x00\x00\x49\x45" \
+    "\x4e\x44\xae\x42\x60\x82"
 image1_data = \
-  "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
-  "\x49\x48\x44\x52\x00\x00\x00\x0f\x00\x00\x00\x0e" \
-  "\x08\x06\x00\x00\x00\xf0\x8a\x46\xef\x00\x00\x01" \
-  "\xd7\x49\x44\x41\x54\x78\x9c\x85\x92\xcd\x6a\x53" \
-  "\x51\x14\x85\xbf\x9b\x5c\x09\x89\x69\xa3\xad\xb6" \
-  "\x45\xc1\xe2\x4f\x1a\x9d\x28\x8a\x13\x91\x80\xc1" \
-  "\xd0\xa9\xe0\x44\xa1\x82\x38\xa8\x93\x4e\xd4\xe2" \
-  "\xd4\x17\x70\x20\x8a\x51\x21\xfa\x04\xfa\x06\x05" \
-  "\x87\x22\xc4\x61\x41\x09\x0d\x04\x35\x85\x04\x93" \
-  "\xe6\xaf\xf6\x26\xb9\xe7\x2c\x07\x6d\xd3\x34\x11" \
-  "\xba\x60\x71\xe0\xec\xb3\xce\x62\xef\xbd\x90\xc4" \
-  "\x20\x5b\xad\x96\x96\x9f\x3c\x55\xa5\x52\xd1\x70" \
-  "\x6d\x98\x01\x06\xd0\x6e\xb7\x95\x79\x91\xe5\x88" \
-  "\x3b\x85\x31\x96\x83\xe0\x48\x02\xa0\xd3\xe9\x28" \
-  "\xf3\x32\xcb\x4c\x60\x8e\xdf\xb5\x3c\x53\x73\x51" \
-  "\x42\xa1\xd0\xbe\xc7\xb1\x58\x8c\x54\x2a\x45\x38" \
-  "\x1c\x76\xfa\x62\xdf\xf7\xf5\xe6\x55\x96\xe3\x9c" \
-  "\xa3\x56\xde\xe2\xd8\xd4\x18\x96\x3d\x67\x21\xac" \
-  "\x0c\x5e\x6f\x8b\x52\x23\xcf\xdd\x07\xb7\x48\x24" \
-  "\x12\x8e\x23\x89\x77\xaf\xdf\x2b\xd6\x3d\xc5\x46" \
-  "\xb9\x83\xac\xc0\xd9\x15\x81\x24\x8c\x84\x95\xc5" \
-  "\xf3\x7d\xa6\xa7\xc7\x21\x5a\x63\xe1\xe1\x6d\x82" \
-  "\x97\x2f\x5e\x55\x77\xfd\x30\xed\x3f\x86\xdd\x16" \
-  "\xf6\x3b\x82\x95\xc5\x58\x8b\x91\xa5\xd6\xdc\xe4" \
-  "\x68\x64\x92\x46\x6f\x9d\xc0\xcd\xf9\x1b\x14\x36" \
-  "\x7e\xe0\x19\x7f\x48\xb8\x0d\xbb\xf3\xa1\x91\x30" \
-  "\xb2\x08\x68\x79\x3d\xca\xbf\xea\x04\xa2\xd1\xa8" \
-  "\xb3\xf4\x68\x81\x92\xf7\x9d\xae\x35\xfb\x5c\xa5" \
-  "\xed\xd3\x58\xdb\x77\xb7\xb2\xf4\x7a\x06\x6f\xab" \
-  "\xbb\x37\xed\xc2\x5a\x41\x99\xe7\x9f\x38\x3d\x76" \
-  "\x9e\x4d\xbf\xc3\xdf\x6e\x13\x83\xb0\x56\x08\x70" \
-  "\x02\x2e\xae\x13\xc2\xc8\x30\x39\x31\xce\x89\xb3" \
-  "\x03\xab\x02\xc8\xe5\xbe\xe9\xe3\x87\x2f\x6c\x7a" \
-  "\x75\xae\xa5\xcf\x10\x0c\x06\xfb\xb5\x66\xa3\x4d" \
-  "\xee\xeb\x1a\x13\xe1\x0b\xb8\xee\x21\xae\xcf\x4f" \
-  "\x32\x92\x9a\x95\x95\xcf\xba\x77\x67\x49\xd5\x6a" \
-  "\x75\x24\x61\xf9\x7c\x5e\x8b\xf7\x9f\xe9\xf1\xe2" \
-  "\x5b\x15\x8b\x45\xb9\xc3\xa9\x49\xa7\x53\x4e\x28" \
-  "\xe4\x2a\x12\x89\x8c\x24\x2a\x1e\x8f\x3b\x33\x27" \
-  "\xa3\xaa\x55\xea\xcc\xce\xce\x3a\x23\x62\x80\x64" \
-  "\x32\xe9\xfc\xef\x1e\xe0\xd2\x95\x04\xeb\x3f\x6b" \
-  "\x3b\x53\x3d\x20\xfc\xc3\x5c\x5d\x5d\x55\xa9\x54" \
-  "\x92\x24\xfe\x01\x03\x3d\x5a\xfa\x32\x50\xe5\x56" \
-  "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
+    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
+    "\x49\x48\x44\x52\x00\x00\x00\x0f\x00\x00\x00\x0e" \
+    "\x08\x06\x00\x00\x00\xf0\x8a\x46\xef\x00\x00\x01" \
+    "\xd7\x49\x44\x41\x54\x78\x9c\x85\x92\xcd\x6a\x53" \
+    "\x51\x14\x85\xbf\x9b\x5c\x09\x89\x69\xa3\xad\xb6" \
+    "\x45\xc1\xe2\x4f\x1a\x9d\x28\x8a\x13\x91\x80\xc1" \
+    "\xd0\xa9\xe0\x44\xa1\x82\x38\xa8\x93\x4e\xd4\xe2" \
+    "\xd4\x17\x70\x20\x8a\x51\x21\xfa\x04\xfa\x06\x05" \
+    "\x87\x22\xc4\x61\x41\x09\x0d\x04\x35\x85\x04\x93" \
+    "\xe6\xaf\xf6\x26\xb9\xe7\x2c\x07\x6d\xd3\x34\x11" \
+    "\xba\x60\x71\xe0\xec\xb3\xce\x62\xef\xbd\x90\xc4" \
+    "\x20\x5b\xad\x96\x96\x9f\x3c\x55\xa5\x52\xd1\x70" \
+    "\x6d\x98\x01\x06\xd0\x6e\xb7\x95\x79\x91\xe5\x88" \
+    "\x3b\x85\x31\x96\x83\xe0\x48\x02\xa0\xd3\xe9\x28" \
+    "\xf3\x32\xcb\x4c\x60\x8e\xdf\xb5\x3c\x53\x73\x51" \
+    "\x42\xa1\xd0\xbe\xc7\xb1\x58\x8c\x54\x2a\x45\x38" \
+    "\x1c\x76\xfa\x62\xdf\xf7\xf5\xe6\x55\x96\xe3\x9c" \
+    "\xa3\x56\xde\xe2\xd8\xd4\x18\x96\x3d\x67\x21\xac" \
+    "\x0c\x5e\x6f\x8b\x52\x23\xcf\xdd\x07\xb7\x48\x24" \
+    "\x12\x8e\x23\x89\x77\xaf\xdf\x2b\xd6\x3d\xc5\x46" \
+    "\xb9\x83\xac\xc0\xd9\x15\x81\x24\x8c\x84\x95\xc5" \
+    "\xf3\x7d\xa6\xa7\xc7\x21\x5a\x63\xe1\xe1\x6d\x82" \
+    "\x97\x2f\x5e\x55\x77\xfd\x30\xed\x3f\x86\xdd\x16" \
+    "\xf6\x3b\x82\x95\xc5\x58\x8b\x91\xa5\xd6\xdc\xe4" \
+    "\x68\x64\x92\x46\x6f\x9d\xc0\xcd\xf9\x1b\x14\x36" \
+    "\x7e\xe0\x19\x7f\x48\xb8\x0d\xbb\xf3\xa1\x91\x30" \
+    "\xb2\x08\x68\x79\x3d\xca\xbf\xea\x04\xa2\xd1\xa8" \
+    "\xb3\xf4\x68\x81\x92\xf7\x9d\xae\x35\xfb\x5c\xa5" \
+    "\xed\xd3\x58\xdb\x77\xb7\xb2\xf4\x7a\x06\x6f\xab" \
+    "\xbb\x37\xed\xc2\x5a\x41\x99\xe7\x9f\x38\x3d\x76" \
+    "\x9e\x4d\xbf\xc3\xdf\x6e\x13\x83\xb0\x56\x08\x70" \
+    "\x02\x2e\xae\x13\xc2\xc8\x30\x39\x31\xce\x89\xb3" \
+    "\x03\xab\x02\xc8\xe5\xbe\xe9\xe3\x87\x2f\x6c\x7a" \
+    "\x75\xae\xa5\xcf\x10\x0c\x06\xfb\xb5\x66\xa3\x4d" \
+    "\xee\xeb\x1a\x13\xe1\x0b\xb8\xee\x21\xae\xcf\x4f" \
+    "\x32\x92\x9a\x95\x95\xcf\xba\x77\x67\x49\xd5\x6a" \
+    "\x75\x24\x61\xf9\x7c\x5e\x8b\xf7\x9f\xe9\xf1\xe2" \
+    "\x5b\x15\x8b\x45\xb9\xc3\xa9\x49\xa7\x53\x4e\x28" \
+    "\xe4\x2a\x12\x89\x8c\x24\x2a\x1e\x8f\x3b\x33\x27" \
+    "\xa3\xaa\x55\xea\xcc\xce\xce\x3a\x23\x62\x80\x64" \
+    "\x32\xe9\xfc\xef\x1e\xe0\xd2\x95\x04\xeb\x3f\x6b" \
+    "\x3b\x53\x3d\x20\xfc\xc3\x5c\x5d\x5d\x55\xa9\x54" \
+    "\x92\x24\xfe\x01\x03\x3d\x5a\xfa\x32\x50\xe5\x56" \
+    "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
 
 class pyOnePop_PetriDishView(QWidget):
-  def __init__(self,parent = None,name = None,fl = 0):
-    QWidget.__init__(self,parent,name,fl)
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
 
-    self.image0 = QPixmap()
-    self.image0.loadFromData(image0_data,"PNG")
-    self.image1 = QPixmap()
-    self.image1.loadFromData(image1_data,"PNG")
-    if not name:
-      self.setName("pyOnePop_PetriDishView")
+        self.image0 = QPixmap()
+        self.image0.loadFromData(image0_data,"PNG")
+        self.image1 = QPixmap()
+        self.image1.loadFromData(image1_data,"PNG")
+        if not name:
+            self.setName("pyOnePop_PetriDishView")
 
-    self.setEnabled(1)
+        self.setEnabled(1)
 
-    pyOnePop_PetriDishViewLayout = QVBoxLayout(self,0,6,"pyOnePop_PetriDishViewLayout")
-    pyOnePop_PetriDishViewLayout.setResizeMode(QLayout.Minimum)
+        pyOnePop_PetriDishViewLayout = QVBoxLayout(self,0,6,"pyOnePop_PetriDishViewLayout")
+        pyOnePop_PetriDishViewLayout.setResizeMode(QLayout.Minimum)
 
-    layout179 = QHBoxLayout(None,0,6,"layout179")
+        layout179 = QHBoxLayout(None,0,6,"layout179")
 
-    self.pixmapLabel1 = QLabel(self,"pixmapLabel1")
-    self.pixmapLabel1.setSizePolicy(QSizePolicy(0,0,0,0,self.pixmapLabel1.sizePolicy().hasHeightForWidth()))
-    self.pixmapLabel1.setPixmap(self.image0)
-    self.pixmapLabel1.setScaledContents(1)
-    layout179.addWidget(self.pixmapLabel1)
+        self.pixmapLabel1 = QLabel(self,"pixmapLabel1")
+        self.pixmapLabel1.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.pixmapLabel1.sizePolicy().hasHeightForWidth()))
+        self.pixmapLabel1.setPixmap(self.image0)
+        self.pixmapLabel1.setScaledContents(1)
+        layout179.addWidget(self.pixmapLabel1)
 
-    self.textLabel3 = QLabel(self,"textLabel3")
-    self.textLabel3.setSizePolicy(QSizePolicy(3,5,0,0,self.textLabel3.sizePolicy().hasHeightForWidth()))
-    textLabel3_font = QFont(self.textLabel3.font())
-    textLabel3_font.setPointSize(11)
-    self.textLabel3.setFont(textLabel3_font)
-    layout179.addWidget(self.textLabel3)
+        self.textLabel3 = QLabel(self,"textLabel3")
+        self.textLabel3.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel3.sizePolicy().hasHeightForWidth()))
+        textLabel3_font = QFont(self.textLabel3.font())
+        textLabel3_font.setPointSize(11)
+        self.textLabel3.setFont(textLabel3_font)
+        layout179.addWidget(self.textLabel3)
 
-    layout178 = QVBoxLayout(None,0,6,"layout178")
-    spacer126 = QSpacerItem(1,1,QSizePolicy.Minimum,QSizePolicy.Minimum)
-    layout178.addItem(spacer126)
+        layout178 = QVBoxLayout(None,0,6,"layout178")
+        spacer126 = QSpacerItem(1,1,QSizePolicy.Minimum,QSizePolicy.Minimum)
+        layout178.addItem(spacer126)
 
-    self.toolButton31_2 = QToolButton(self,"toolButton31_2")
-    toolButton31_2_font = QFont(self.toolButton31_2.font())
-    toolButton31_2_font.setPointSize(10)
-    self.toolButton31_2.setFont(toolButton31_2_font)
-    self.toolButton31_2.setIconSet(QIconSet(self.image1))
-    layout178.addWidget(self.toolButton31_2)
-    spacer126_2 = QSpacerItem(1,1,QSizePolicy.Minimum,QSizePolicy.Minimum)
-    layout178.addItem(spacer126_2)
-    layout179.addLayout(layout178)
-    pyOnePop_PetriDishViewLayout.addLayout(layout179)
+        self.m_petri_dish_toogle = QToolButton(self,"m_petri_dish_toogle")
+        m_petri_dish_toogle_font = QFont(self.m_petri_dish_toogle.font())
+        m_petri_dish_toogle_font.setPointSize(10)
+        self.m_petri_dish_toogle.setFont(m_petri_dish_toogle_font)
+        self.m_petri_dish_toogle.setIconSet(QIconSet(self.image1))
+        layout178.addWidget(self.m_petri_dish_toogle)
+        spacer126_2 = QSpacerItem(1,1,QSizePolicy.Minimum,QSizePolicy.Minimum)
+        layout178.addItem(spacer126_2)
+        layout179.addLayout(layout178)
+        pyOnePop_PetriDishViewLayout.addLayout(layout179)
 
-    layout91 = QHBoxLayout(None,0,6,"layout91")
+        self.m_petri_dish_widget_stack = QWidgetStack(self,"m_petri_dish_widget_stack")
 
-    self.m_petri_dish_ctrl = pyPetriDishCtrl(self,"m_petri_dish_ctrl")
-    self.m_petri_dish_ctrl.setSizePolicy(QSizePolicy(3,3,5,0,self.m_petri_dish_ctrl.sizePolicy().hasHeightForWidth()))
-    layout91.addWidget(self.m_petri_dish_ctrl)
+        self.WStackPage = QWidget(self.m_petri_dish_widget_stack,"WStackPage")
+        WStackPageLayout = QVBoxLayout(self.WStackPage,11,6,"WStackPageLayout")
 
-    self.m_gradient_scale_ctrl = pyGradientScaleCtrl(self,"m_gradient_scale_ctrl")
-    self.m_gradient_scale_ctrl.setSizePolicy(QSizePolicy(0,1,1,0,self.m_gradient_scale_ctrl.sizePolicy().hasHeightForWidth()))
-    self.m_gradient_scale_ctrl.setMinimumSize(QSize(50,50))
-    self.m_gradient_scale_ctrl.setBackgroundMode(pyGradientScaleCtrl.PaletteDark)
-    layout91.addWidget(self.m_gradient_scale_ctrl)
-    pyOnePop_PetriDishViewLayout.addLayout(layout91)
+        layout10 = QVBoxLayout(None,0,6,"layout10")
 
-    layout1 = QHBoxLayout(None,0,6,"layout1")
+        layout91 = QHBoxLayout(None,0,6,"layout91")
 
-    self.textLabel11 = QLabel(self,"textLabel11")
-    self.textLabel11.setSizePolicy(QSizePolicy(0,1,0,0,self.textLabel11.sizePolicy().hasHeightForWidth()))
-    layout1.addWidget(self.textLabel11)
+        self.m_petri_dish_ctrl = pyPetriDishCtrl(self.WStackPage,"m_petri_dish_ctrl")
+        self.m_petri_dish_ctrl.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,5,0,self.m_petri_dish_ctrl.sizePolicy().hasHeightForWidth()))
+        layout91.addWidget(self.m_petri_dish_ctrl)
 
-    self.m_update_label = QLabel(self,"m_update_label")
-    self.m_update_label.setSizePolicy(QSizePolicy(0,1,0,0,self.m_update_label.sizePolicy().hasHeightForWidth()))
-    layout1.addWidget(self.m_update_label)
+        self.m_gradient_scale_ctrl = pyGradientScaleCtrl(self.WStackPage,"m_gradient_scale_ctrl")
+        self.m_gradient_scale_ctrl.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,1,0,self.m_gradient_scale_ctrl.sizePolicy().hasHeightForWidth()))
+        self.m_gradient_scale_ctrl.setMinimumSize(QSize(50,50))
+        self.m_gradient_scale_ctrl.setBackgroundMode(pyGradientScaleCtrl.PaletteDark)
+        layout91.addWidget(self.m_gradient_scale_ctrl)
+        layout10.addLayout(layout91)
 
-    self.m_mode_combobox = QComboBox(0,self,"m_mode_combobox")
-    self.m_mode_combobox.setSizePolicy(QSizePolicy(3,0,0,0,self.m_mode_combobox.sizePolicy().hasHeightForWidth()))
-    m_mode_combobox_font = QFont(self.m_mode_combobox.font())
-    m_mode_combobox_font.setPointSize(11)
-    self.m_mode_combobox.setFont(m_mode_combobox_font)
-    layout1.addWidget(self.m_mode_combobox)
+        layout1 = QHBoxLayout(None,0,6,"layout1")
 
-    self.textLabel10 = QLabel(self,"textLabel10")
-    self.textLabel10.setSizePolicy(QSizePolicy(0,1,0,0,self.textLabel10.sizePolicy().hasHeightForWidth()))
-    layout1.addWidget(self.textLabel10)
+        self.textLabel11 = QLabel(self.WStackPage,"textLabel11")
+        self.textLabel11.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.textLabel11.sizePolicy().hasHeightForWidth()))
+        layout1.addWidget(self.textLabel11)
 
-    self.m_zoom_spinbox = QSpinBox(self,"m_zoom_spinbox")
-    self.m_zoom_spinbox.setSizePolicy(QSizePolicy(0,0,0,0,self.m_zoom_spinbox.sizePolicy().hasHeightForWidth()))
-    layout1.addWidget(self.m_zoom_spinbox)
-    pyOnePop_PetriDishViewLayout.addLayout(layout1)
+        self.m_update_label = QLabel(self.WStackPage,"m_update_label")
+        self.m_update_label.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.m_update_label.sizePolicy().hasHeightForWidth()))
+        layout1.addWidget(self.m_update_label)
 
-    layout229 = QHBoxLayout(None,0,6,"layout229")
-    spacer169_2 = QSpacerItem(10,10,QSizePolicy.MinimumExpanding,QSizePolicy.Minimum)
-    layout229.addItem(spacer169_2)
+        self.m_mode_combobox = QComboBox(0,self.WStackPage,"m_mode_combobox")
+        self.m_mode_combobox.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Fixed,0,0,self.m_mode_combobox.sizePolicy().hasHeightForWidth()))
+        m_mode_combobox_font = QFont(self.m_mode_combobox.font())
+        m_mode_combobox_font.setPointSize(11)
+        self.m_mode_combobox.setFont(m_mode_combobox_font)
+        layout1.addWidget(self.m_mode_combobox)
 
-    self.m_live_controls_ctrl = pyLiveControlsCtrl(self,"m_live_controls_ctrl")
-    self.m_live_controls_ctrl.setSizePolicy(QSizePolicy(0,0,0,0,self.m_live_controls_ctrl.sizePolicy().hasHeightForWidth()))
-    self.m_live_controls_ctrl.setMinimumSize(QSize(0,50))
-    layout229.addWidget(self.m_live_controls_ctrl)
-    spacer169 = QSpacerItem(10,10,QSizePolicy.MinimumExpanding,QSizePolicy.Minimum)
-    layout229.addItem(spacer169)
-    pyOnePop_PetriDishViewLayout.addLayout(layout229)
+        self.textLabel10 = QLabel(self.WStackPage,"textLabel10")
+        self.textLabel10.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Minimum,0,0,self.textLabel10.sizePolicy().hasHeightForWidth()))
+        layout1.addWidget(self.textLabel10)
 
-    self.languageChange()
+        self.m_zoom_spinbox = QSpinBox(self.WStackPage,"m_zoom_spinbox")
+        self.m_zoom_spinbox.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.m_zoom_spinbox.sizePolicy().hasHeightForWidth()))
+        layout1.addWidget(self.m_zoom_spinbox)
+        layout10.addLayout(layout1)
 
-    self.resize(QSize(265,191).expandedTo(self.minimumSizeHint()))
-    self.clearWState(Qt.WState_Polished)
+        layout229 = QHBoxLayout(None,0,6,"layout229")
+        spacer169_2 = QSpacerItem(10,10,QSizePolicy.MinimumExpanding,QSizePolicy.Minimum)
+        layout229.addItem(spacer169_2)
 
+        self.m_live_controls_ctrl = pyLiveControlsCtrl(self.WStackPage,"m_live_controls_ctrl")
+        self.m_live_controls_ctrl.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.m_live_controls_ctrl.sizePolicy().hasHeightForWidth()))
+        self.m_live_controls_ctrl.setMinimumSize(QSize(0,50))
+        layout229.addWidget(self.m_live_controls_ctrl)
+        spacer169 = QSpacerItem(10,10,QSizePolicy.MinimumExpanding,QSizePolicy.Minimum)
+        layout229.addItem(spacer169)
+        layout10.addLayout(layout229)
+        WStackPageLayout.addLayout(layout10)
+        self.m_petri_dish_widget_stack.addWidget(self.WStackPage,0)
 
-  def languageChange(self):
-    self.setCaption(self.__tr("pyOnePop_PetriDishView"))
-    self.textLabel3.setText(self.__tr("[population]"))
-    self.toolButton31_2.setText(QString.null)
-    self.textLabel11.setText(self.__tr("<font size=\"-1\"><p align=\"right\">Update:</p></font>"))
-    self.m_update_label.setText(self.__tr("<font size=\"-1\">10000</font>"))
-    self.m_mode_combobox.clear()
-    self.m_mode_combobox.insertItem(self.__tr("Merit"))
-    self.textLabel10.setText(self.__tr("<font size=\"-1\"><p align=\"right\">Zoom:</p></font>"))
+        self.WStackPage_2 = QWidget(self.m_petri_dish_widget_stack,"WStackPage_2")
+        WStackPageLayout_2 = QHBoxLayout(self.WStackPage_2,11,6,"WStackPageLayout_2")
 
+        self.m_petri_configure_ctrl = pyPetriConfigureCtrl(self.WStackPage_2,"m_petri_configure_ctrl")
+        self.m_petri_configure_ctrl.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.m_petri_configure_ctrl.sizePolicy().hasHeightForWidth()))
+        self.m_petri_configure_ctrl.setAcceptDrops(1)
+        WStackPageLayout_2.addWidget(self.m_petri_configure_ctrl)
+        self.m_petri_dish_widget_stack.addWidget(self.WStackPage_2,1)
+        pyOnePop_PetriDishViewLayout.addWidget(self.m_petri_dish_widget_stack)
 
-  def __tr(self,s,c = None):
-    return qApp.translate("pyOnePop_PetriDishView",s,c)
+        self.languageChange()
+
+        self.resize(QSize(520,536).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("pyOnePop_PetriDishView"))
+        self.textLabel3.setText(self.__tr("[population]"))
+        self.m_petri_dish_toogle.setText(QString.null)
+        self.textLabel11.setText(self.__tr("<font size=\"-1\"><p align=\"right\">Update:</p></font>"))
+        self.m_update_label.setText(self.__tr("<font size=\"-1\">10000</font>"))
+        self.m_mode_combobox.clear()
+        self.m_mode_combobox.insertItem(self.__tr("Merit"))
+        self.textLabel10.setText(self.__tr("<font size=\"-1\"><p align=\"right\">Zoom:</p></font>"))
+
+
+    def __tr(self,s,c = None):
+        return qApp.translate("pyOnePop_PetriDishView",s,c)

Modified: trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui
===================================================================
--- trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyOnePop_PetriDishView.ui	2005-03-08 18:52:17 UTC (rev 44)
@@ -3,7 +3,7 @@
 <comment>Python:from pyPetriDishCtrl import pyPetriDishCtrl
 Python:from pyGradientScaleCtrl import pyGradientScaleCtrl
 Python:from pyLiveControlsCtrl import pyLiveControlsCtrl
-</comment>
+Python:from pyPetriConfigureCtrl import pyPetriConfigureCtrl</comment>
 <widget class="QWidget">
     <property name="name">
         <cstring>pyOnePop_PetriDishView</cstring>
@@ -15,8 +15,8 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>265</width>
-            <height>191</height>
+            <width>520</width>
+            <height>536</height>
         </rect>
     </property>
     <property name="caption">
@@ -107,7 +107,7 @@
                         </spacer>
                         <widget class="QToolButton">
                             <property name="name">
-                                <cstring>toolButton31_2</cstring>
+                                <cstring>m_petri_dish_toogle</cstring>
                             </property>
                             <property name="font">
                                 <font>
@@ -142,208 +142,265 @@
                 </widget>
             </hbox>
         </widget>
-        <widget class="QLayoutWidget">
+        <widget class="QWidgetStack">
             <property name="name">
-                <cstring>layout91</cstring>
+                <cstring>m_petri_dish_widget_stack</cstring>
             </property>
-            <hbox>
+            <widget class="QWidget">
                 <property name="name">
-                    <cstring>unnamed</cstring>
+                    <cstring>WStackPage</cstring>
                 </property>
-                <widget class="pyPetriDishCtrl">
+                <attribute name="id">
+                    <number>0</number>
+                </attribute>
+                <vbox>
                     <property name="name">
-                        <cstring>m_petri_dish_ctrl</cstring>
+                        <cstring>unnamed</cstring>
                     </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>3</hsizetype>
-                            <vsizetype>3</vsizetype>
-                            <horstretch>5</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                </widget>
-                <widget class="pyGradientScaleCtrl">
-                    <property name="name">
-                        <cstring>m_gradient_scale_ctrl</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>1</vsizetype>
-                            <horstretch>1</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>50</width>
-                            <height>50</height>
-                        </size>
-                    </property>
-                    <property name="backgroundMode">
-                        <enum>PaletteDark</enum>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout1</cstring>
-            </property>
-            <hbox>
+                    <widget class="QLayoutWidget">
+                        <property name="name">
+                            <cstring>layout10</cstring>
+                        </property>
+                        <vbox>
+                            <property name="name">
+                                <cstring>unnamed</cstring>
+                            </property>
+                            <widget class="QLayoutWidget">
+                                <property name="name">
+                                    <cstring>layout91</cstring>
+                                </property>
+                                <hbox>
+                                    <property name="name">
+                                        <cstring>unnamed</cstring>
+                                    </property>
+                                    <widget class="pyPetriDishCtrl">
+                                        <property name="name">
+                                            <cstring>m_petri_dish_ctrl</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>3</hsizetype>
+                                                <vsizetype>3</vsizetype>
+                                                <horstretch>5</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                    </widget>
+                                    <widget class="pyGradientScaleCtrl">
+                                        <property name="name">
+                                            <cstring>m_gradient_scale_ctrl</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>1</vsizetype>
+                                                <horstretch>1</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="minimumSize">
+                                            <size>
+                                                <width>50</width>
+                                                <height>50</height>
+                                            </size>
+                                        </property>
+                                        <property name="backgroundMode">
+                                            <enum>PaletteDark</enum>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget class="QLayoutWidget">
+                                <property name="name">
+                                    <cstring>layout1</cstring>
+                                </property>
+                                <hbox>
+                                    <property name="name">
+                                        <cstring>unnamed</cstring>
+                                    </property>
+                                    <widget class="QLabel">
+                                        <property name="name">
+                                            <cstring>textLabel11</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>1</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="text">
+                                            <string>&lt;font size="-1"&gt;&lt;p align="right"&gt;Update:&lt;/p&gt;&lt;/font&gt;</string>
+                                        </property>
+                                    </widget>
+                                    <widget class="QLabel">
+                                        <property name="name">
+                                            <cstring>m_update_label</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>1</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="text">
+                                            <string>&lt;font size="-1"&gt;10000&lt;/font&gt;</string>
+                                        </property>
+                                    </widget>
+                                    <widget class="QComboBox">
+                                        <item>
+                                            <property name="text">
+                                                <string>Merit</string>
+                                            </property>
+                                        </item>
+                                        <property name="name">
+                                            <cstring>m_mode_combobox</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>1</hsizetype>
+                                                <vsizetype>0</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="font">
+                                            <font>
+                                                <pointsize>11</pointsize>
+                                            </font>
+                                        </property>
+                                    </widget>
+                                    <widget class="QLabel">
+                                        <property name="name">
+                                            <cstring>textLabel10</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>1</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="text">
+                                            <string>&lt;font size="-1"&gt;&lt;p align="right"&gt;Zoom:&lt;/p&gt;&lt;/font&gt;</string>
+                                        </property>
+                                    </widget>
+                                    <widget class="QSpinBox">
+                                        <property name="name">
+                                            <cstring>m_zoom_spinbox</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>0</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget class="QLayoutWidget">
+                                <property name="name">
+                                    <cstring>layout229</cstring>
+                                </property>
+                                <hbox>
+                                    <property name="name">
+                                        <cstring>unnamed</cstring>
+                                    </property>
+                                    <spacer>
+                                        <property name="name">
+                                            <cstring>spacer169_2</cstring>
+                                        </property>
+                                        <property name="orientation">
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property name="sizeType">
+                                            <enum>MinimumExpanding</enum>
+                                        </property>
+                                        <property name="sizeHint">
+                                            <size>
+                                                <width>10</width>
+                                                <height>10</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                    <widget class="pyLiveControlsCtrl">
+                                        <property name="name">
+                                            <cstring>m_live_controls_ctrl</cstring>
+                                        </property>
+                                        <property name="sizePolicy">
+                                            <sizepolicy>
+                                                <hsizetype>0</hsizetype>
+                                                <vsizetype>0</vsizetype>
+                                                <horstretch>0</horstretch>
+                                                <verstretch>0</verstretch>
+                                            </sizepolicy>
+                                        </property>
+                                        <property name="minimumSize">
+                                            <size>
+                                                <width>0</width>
+                                                <height>50</height>
+                                            </size>
+                                        </property>
+                                    </widget>
+                                    <spacer>
+                                        <property name="name">
+                                            <cstring>spacer169</cstring>
+                                        </property>
+                                        <property name="orientation">
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property name="sizeType">
+                                            <enum>MinimumExpanding</enum>
+                                        </property>
+                                        <property name="sizeHint">
+                                            <size>
+                                                <width>10</width>
+                                                <height>10</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                </hbox>
+                            </widget>
+                        </vbox>
+                    </widget>
+                </vbox>
+            </widget>
+            <widget class="QWidget">
                 <property name="name">
-                    <cstring>unnamed</cstring>
+                    <cstring>WStackPage</cstring>
                 </property>
-                <widget class="QLabel">
+                <attribute name="id">
+                    <number>1</number>
+                </attribute>
+                <hbox>
                     <property name="name">
-                        <cstring>textLabel11</cstring>
+                        <cstring>unnamed</cstring>
                     </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>1</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="text">
-                        <string>&lt;font size="-1"&gt;&lt;p align="right"&gt;Update:&lt;/p&gt;&lt;/font&gt;</string>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>m_update_label</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>1</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="text">
-                        <string>&lt;font size="-1"&gt;10000&lt;/font&gt;</string>
-                    </property>
-                </widget>
-                <widget class="QComboBox">
-                    <item>
-                        <property name="text">
-                            <string>Merit</string>
+                    <widget class="pyPetriConfigureCtrl">
+                        <property name="name">
+                            <cstring>m_petri_configure_ctrl</cstring>
                         </property>
-                    </item>
-                    <property name="name">
-                        <cstring>m_mode_combobox</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>3</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="font">
-                        <font>
-                            <pointsize>11</pointsize>
-                        </font>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>textLabel10</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>1</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="text">
-                        <string>&lt;font size="-1"&gt;&lt;p align="right"&gt;Zoom:&lt;/p&gt;&lt;/font&gt;</string>
-                    </property>
-                </widget>
-                <widget class="QSpinBox">
-                    <property name="name">
-                        <cstring>m_zoom_spinbox</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                </widget>
-            </hbox>
+                        <property name="sizePolicy">
+                            <sizepolicy>
+                                <hsizetype>3</hsizetype>
+                                <vsizetype>3</vsizetype>
+                                <horstretch>0</horstretch>
+                                <verstretch>0</verstretch>
+                            </sizepolicy>
+                        </property>
+                        <property name="acceptDrops">
+                            <bool>true</bool>
+                        </property>
+                    </widget>
+                </hbox>
+            </widget>
         </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout229</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer169_2</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>MinimumExpanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>10</width>
-                            <height>10</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget class="pyLiveControlsCtrl">
-                    <property name="name">
-                        <cstring>m_live_controls_ctrl</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>0</hsizetype>
-                            <vsizetype>0</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>0</width>
-                            <height>50</height>
-                        </size>
-                    </property>
-                </widget>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer169</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>MinimumExpanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>10</width>
-                            <height>10</height>
-                        </size>
-                    </property>
-                </spacer>
-            </hbox>
-        </widget>
     </vbox>
 </widget>
 <customwidgets>
@@ -371,6 +428,26 @@
         <property type="4">-1</property>
         <property type="1">pyPetriDishCtrl</property>
         <property type="4">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyPetriDishCtrl</property>
+        <property type="0">-1</property>
         <property type="pyPetriDishCtrl"></property>
         <property type="-1">1</property>
     </customwidget>
@@ -398,6 +475,26 @@
         <property type="4">-1</property>
         <property type="1">pyGradientScaleCtrl</property>
         <property type="4">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyGradientScaleCtrl</property>
+        <property type="0">-1</property>
         <property type="pyGradientScaleCtrl"></property>
         <property type="-1">1</property>
     </customwidget>
@@ -425,9 +522,45 @@
         <property type="4">-1</property>
         <property type="1">pyLiveControlsCtrl</property>
         <property type="4">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
+        <property type="1">pyLiveControlsCtrl</property>
+        <property type="0">-1</property>
         <property type="pyLiveControlsCtrl"></property>
         <property type="-1">1</property>
     </customwidget>
+    <customwidget>
+        <class>pyPetriConfigureCtrl</class>
+        <header location="local">mywidget.h</header>
+        <sizehint>
+            <width>202</width>
+            <height>202</height>
+        </sizehint>
+        <container>0</container>
+        <sizepolicy>
+            <hordata>5</hordata>
+            <verdata>5</verdata>
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+        </sizepolicy>
+        <pixmap>image3</pixmap>
+    </customwidget>
 </customwidgets>
 <images>
     <image name="image0">
@@ -437,6 +570,9 @@
         <data format="PNG" length="528">89504e470d0a1a0a0000000d494844520000000f0000000e0806000000f08a46ef000001d749444154789c8592cd6a53511485bf9b5c098969a3adb645c1e24f1a9d288a139180c1d0a9e044a18238a8934ed4e2d41770208a5121fa04fa06058722c46141090d0435850493e6aff626b9e72c076dd33411ba6071e0ecb3ce62efbd90c4205bad96969f3c55a552d1706d980106d06eb7957991e5883b85319683e04802a0d3e928f332cb4c608edfb53c53735142a1d0bec7b1588c542a45381c76fa62dff7f5e65596e39ca356dee2d8d418963d6721ac0c5e6f8b5223cfdd07b74824128e238977afdf2bd63dc546b983acc0d91581248c8495c5f37da6a7c7215a63e1e16d82972f5e5577fd30ed3f86dd16f63b8295c5588b91a5d6dce4686492466f9dc0cdf91b14367ee0197f48b80dbbf3a19130b20868793dcabfea04a2d1a8b3f4688192f79dae35fb5ca5edd358db77b7b2f47a066fabbb37edc25a4199e79f383d769e4dbfc3df6e1383b0560870022eae13c2c8303931ce89b303ab02c8e5bee9e3872f6c7a75aea5cf100c06fbb566a34deeeb1a13e10bb8ee21aecf4f32929a9595cfba776749d56a752461f97c5e8bf79fe9f1e25b158b45b9c3a949a7534e28e42a12898c242a1e8f3b3327a3aa55eaccce!
 ce3a2362806432e9fcef1ee0d29504eb3f6b3b533d20fcc35c5d5d55a9549224fe01033d5afa3250e5560000000049454e44ae426082</data>
     </image>
     <image name="image2">
+        <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>
+    </image>
+    <image name="image3">
         <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154789cad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7!
 ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e05!
 82c261e95f8bfc04f1a1e8bc5c4dfe0a19017a725d8c60000000049454e44a!
 e426082<
/data>
     </image>
 </images>
@@ -445,5 +581,6 @@
     <includehint>pypetridishctrl.h</includehint>
     <includehint>pygradientscalectrl.h</includehint>
     <includehint>pylivecontrolsctrl.h</includehint>
+    <includehint>pypetriconfigurectrl.h</includehint>
 </includehints>
 </UI>

Added: trunk/source/python/AvidaGui2/pyPetriConfigureCtrl.py
===================================================================
--- trunk/source/python/AvidaGui2/pyPetriConfigureCtrl.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyPetriConfigureCtrl.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -0,0 +1,103 @@
+# -*- coding: utf-8 -*-
+
+from AvidaCore import cConfig
+from qt import *
+from pyPetriConfigureView import pyPetriConfigureView
+
+
+class pyPetriConfigureCtrl(pyPetriConfigureView):
+
+  def __init__(self,parent = None,name = None,fl = 0):
+    pyPetriConfigureView.__init__(self,parent,name,fl)
+    self.connect(self.MutationSlider, SIGNAL("valueChanged(int)"), 
+      self.ChangeMutationText)
+    self.connect(self.WorldSizeSlider, SIGNAL("valueChanged(int)"), 
+      self.ChangeWorldSizeText)
+
+  def construct(self, session_mdl):
+    self.m_session_mdl = session_mdl
+    self.m_session_petri_view = pyPetriConfigureView()
+    self.connect(self.m_session_mdl.m_session_mdtr,
+      PYSIGNAL("doDefrostDishSig"), self.FillDishSlot)
+    self.connect(self.m_session_mdl.m_session_mdtr, PYSIGNAL("setAvidaSig"),
+      self.DisablePetriConfigureSlot)
+    self.populated = False
+    self.run_started = False
+
+  def ChangeMutationText(self):
+    slide_value_txt = str(float(self.MutationSlider.value())/10.0) + "%"
+    self.MutationPercentTextLabel.setText(slide_value_txt)
+
+  def ChangeWorldSizeText(self):
+    slide_value = str(self.WorldSizeSlider.value())
+    slide_value_txt = slide_value + " x " + slide_value + " cells"
+    self.WorldSizeTextLabel.setText(slide_value_txt)
+
+  def FillDishSlot(self, petri_info):
+    print "called FillDish"
+    print petri_info.file_name
+    settings_info =  petri_info.dictionary["SETTINGS"]
+    self.AncestorComboBox.removeItem (0)
+    start_creature = settings_info["START_CREATURE"]
+    self.AncestorComboBox.insertItem(start_creature[0])
+    max_updates = int(settings_info["MAX_UPDATES"][0])
+    self.StopAtSpinBox.setValue(max_updates)
+    if max_updates < 0:
+       self.StopManuallyRadioButton.setChecked(True)
+       self.StopAtRadioButton.setChecked(False)
+    else:
+       self.StopManuallyRadioButton.setChecked(False)
+       self.StopAtRadioButton.setChecked(True)
+    self.WorldSizeSlider.setValue(int(settings_info["WORLD-X"][0]))
+    seed = int(settings_info["RANDOM_SEED"][0])
+    self.RandomSpinBox.setValue(seed)
+    if seed == 0:
+       self.RadomGeneratedRadioButton.setChecked(True)
+       self.RandomFixedRadioButton.setChecked(False)
+    else:
+       self.RadomGeneratedRadioButton.setChecked(False)
+       self.RandomFixedRadioButton.setChecked(True)
+    copy_mutation_percent = float(settings_info["COPY_MUT_PROB"][0]) * 100;
+    self.MutationSlider.setValue(int(copy_mutation_percent * 10))
+    if int(settings_info["BIRTH_METHOD"][0]) in [0, 1, 2, 3]:
+       self.LocalBirthRadioButton.setChecked(True)
+       self.MassActionRadioButton.setChecked(False)
+    else:
+       self.LocalBirthRadioButton.setChecked(False)
+       self.MassActionRadioButton.setChecked(True)
+    self.LifeSpanSpinBox.setValue(int(settings_info["AGE_LIMIT"][0]))
+    if int(settings_info["DEATH_METHOD"][0]) == 0:
+       self.DieNoButton.setChecked(True)
+       self.DieYesButton.setChecked(False)
+    else:
+       self.DieNoButton.setChecked(False)
+       self.DieYesButton.setChecked(True)
+
+  def DisablePetriConfigureSlot(self):
+    print "called DisablePetriConfigureSlot"
+    self.run_started = False
+    self.AncestorComboBox.setEnabled(False)
+    self.StopAtSpinBox.setEnabled(False)
+    self.StopManuallyRadioButton.setEnabled(False)
+    self.StopAtRadioButton.setEnabled(False)
+    self.WorldSizeSlider.setEnabled(False)
+    self.RandomSpinBox.setEnabled(False)
+    self.RadomGeneratedRadioButton.setEnabled(False)
+    self.RandomFixedRadioButton.setEnabled(False)
+    self.MutationSlider.setEnabled(False)
+    self.LocalBirthRadioButton.setEnabled(False)
+    self.MassActionRadioButton.setEnabled(False)
+    self.LifeSpanSpinBox.setEnabled(False)
+    self.DieNoButton.setEnabled(False)
+    self.DieYesButton.setEnabled(False)
+    self.MutationPercentTextLabel.setEnabled(False)
+    self.WorldSizeTextLabel.setEnabled(False)
+    self.MutationRateHeadTextLabel.setEnabled(False)
+    self.WorldSizeHeadTextLable.setEnabled(False)
+    self.DeathLabel.setEnabled(False)
+    self.RandomHeadTextLabel.setEnabled(False)
+    self.AncestorHeadTextLabel.setEnabled(False)
+    self.BirthHeadTextLabel.setEnabled(False)
+    self.StopHeadTextLabel.setEnabled(False)
+    self.DeathTextLabel2.setEnabled(False)
+    self.DeathTextLabel3.setEnabled(False)

Added: trunk/source/python/AvidaGui2/pyPetriConfigureView.py
===================================================================
--- trunk/source/python/AvidaGui2/pyPetriConfigureView.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyPetriConfigureView.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -0,0 +1,311 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'pyPetriConfigureView.ui'
+#
+# Created: Tue Mar 8 10:54:37 2005
+#      by: The PyQt User Interface Compiler (pyuic) 3.14
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class pyPetriConfigureView(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        if not name:
+            self.setName("pyPetriConfigureView")
+
+        f = QFont(self.font())
+        f.setPointSize(9)
+        self.setFont(f)
+        self.setAcceptDrops(1)
+
+        pyPetriConfigureViewLayout = QVBoxLayout(self,11,6,"pyPetriConfigureViewLayout")
+
+        layout79 = QHBoxLayout(None,0,1,"layout79")
+
+        layout76 = QVBoxLayout(None,0,6,"layout76")
+
+        self.MutationRateHeadTextLabel = QLabel(self,"MutationRateHeadTextLabel")
+        MutationRateHeadTextLabel_font = QFont(self.MutationRateHeadTextLabel.font())
+        MutationRateHeadTextLabel_font.setBold(1)
+        self.MutationRateHeadTextLabel.setFont(MutationRateHeadTextLabel_font)
+        self.MutationRateHeadTextLabel.setAlignment(QLabel.AlignCenter)
+        layout76.addWidget(self.MutationRateHeadTextLabel)
+
+        layout75 = QHBoxLayout(None,0,6,"layout75")
+
+        self.MutationSlider = QSlider(self,"MutationSlider")
+        MutationSlider_font = QFont(self.MutationSlider.font())
+        self.MutationSlider.setFont(MutationSlider_font)
+        self.MutationSlider.setMaxValue(1000)
+        self.MutationSlider.setValue(500)
+        self.MutationSlider.setOrientation(QSlider.Horizontal)
+        layout75.addWidget(self.MutationSlider)
+
+        self.MutationPercentTextLabel = QLabel(self,"MutationPercentTextLabel")
+        MutationPercentTextLabel_font = QFont(self.MutationPercentTextLabel.font())
+        self.MutationPercentTextLabel.setFont(MutationPercentTextLabel_font)
+        layout75.addWidget(self.MutationPercentTextLabel)
+        layout76.addLayout(layout75)
+        layout79.addLayout(layout76)
+
+        layout78 = QVBoxLayout(None,0,6,"layout78")
+
+        self.WorldSizeHeadTextLable = QLabel(self,"WorldSizeHeadTextLable")
+        WorldSizeHeadTextLable_font = QFont(self.WorldSizeHeadTextLable.font())
+        WorldSizeHeadTextLable_font.setBold(1)
+        self.WorldSizeHeadTextLable.setFont(WorldSizeHeadTextLable_font)
+        self.WorldSizeHeadTextLable.setTextFormat(QLabel.AutoText)
+        self.WorldSizeHeadTextLable.setAlignment(QLabel.WordBreak | QLabel.AlignCenter)
+        layout78.addWidget(self.WorldSizeHeadTextLable)
+
+        layout77 = QHBoxLayout(None,0,6,"layout77")
+
+        self.WorldSizeSlider = QSlider(self,"WorldSizeSlider")
+        WorldSizeSlider_font = QFont(self.WorldSizeSlider.font())
+        self.WorldSizeSlider.setFont(WorldSizeSlider_font)
+        self.WorldSizeSlider.setMinValue(1)
+        self.WorldSizeSlider.setMaxValue(200)
+        self.WorldSizeSlider.setLineStep(10)
+        self.WorldSizeSlider.setValue(60)
+        self.WorldSizeSlider.setOrientation(QSlider.Horizontal)
+        layout77.addWidget(self.WorldSizeSlider)
+
+        self.WorldSizeTextLabel = QLabel(self,"WorldSizeTextLabel")
+        self.WorldSizeTextLabel.setEnabled(1)
+        WorldSizeTextLabel_font = QFont(self.WorldSizeTextLabel.font())
+        self.WorldSizeTextLabel.setFont(WorldSizeTextLabel_font)
+        layout77.addWidget(self.WorldSizeTextLabel)
+        layout78.addLayout(layout77)
+        layout79.addLayout(layout78)
+        pyPetriConfigureViewLayout.addLayout(layout79)
+
+        layout95 = QVBoxLayout(None,0,6,"layout95")
+
+        self.DeathLabel = QLabel(self,"DeathLabel")
+        DeathLabel_font = QFont(self.DeathLabel.font())
+        DeathLabel_font.setBold(1)
+        self.DeathLabel.setFont(DeathLabel_font)
+        self.DeathLabel.setAlignment(QLabel.AlignCenter)
+        layout95.addWidget(self.DeathLabel)
+
+        layout94 = QHBoxLayout(None,0,6,"layout94")
+
+        self.DeathButtonGroup = QButtonGroup(self,"DeathButtonGroup")
+        self.DeathButtonGroup.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,1,0,self.DeathButtonGroup.sizePolicy().hasHeightForWidth()))
+        self.DeathButtonGroup.setFrameShadow(QButtonGroup.Plain)
+        self.DeathButtonGroup.setLineWidth(0)
+        self.DeathButtonGroup.setFlat(1)
+
+        self.DieYesButton = QRadioButton(self.DeathButtonGroup,"DieYesButton")
+        self.DieYesButton.setGeometry(QRect(0,20,50,21))
+        DieYesButton_font = QFont(self.DieYesButton.font())
+        self.DieYesButton.setFont(DieYesButton_font)
+
+        self.DieNoButton = QRadioButton(self.DeathButtonGroup,"DieNoButton")
+        self.DieNoButton.setGeometry(QRect(0,0,50,21))
+        DieNoButton_font = QFont(self.DieNoButton.font())
+        self.DieNoButton.setFont(DieNoButton_font)
+        self.DieNoButton.setChecked(1)
+        layout94.addWidget(self.DeathButtonGroup)
+
+        layout92 = QVBoxLayout(None,0,6,"layout92")
+
+        self.DeathTextLabel2 = QLabel(self,"DeathTextLabel2")
+        DeathTextLabel2_font = QFont(self.DeathTextLabel2.font())
+        self.DeathTextLabel2.setFont(DeathTextLabel2_font)
+        layout92.addWidget(self.DeathTextLabel2)
+
+        layout91 = QHBoxLayout(None,0,6,"layout91")
+
+        self.LifeSpanSpinBox = QSpinBox(self,"LifeSpanSpinBox")
+        self.LifeSpanSpinBox.setMaxValue(99999)
+        self.LifeSpanSpinBox.setMinValue(1)
+        self.LifeSpanSpinBox.setValue(10)
+        layout91.addWidget(self.LifeSpanSpinBox)
+
+        self.DeathTextLabel3 = QLabel(self,"DeathTextLabel3")
+        DeathTextLabel3_font = QFont(self.DeathTextLabel3.font())
+        self.DeathTextLabel3.setFont(DeathTextLabel3_font)
+        layout91.addWidget(self.DeathTextLabel3)
+        layout92.addLayout(layout91)
+        layout94.addLayout(layout92)
+        layout95.addLayout(layout94)
+        pyPetriConfigureViewLayout.addLayout(layout95)
+
+        layout86 = QVBoxLayout(None,0,6,"layout86")
+
+        self.RandomHeadTextLabel = QLabel(self,"RandomHeadTextLabel")
+        self.RandomHeadTextLabel.setEnabled(1)
+        RandomHeadTextLabel_font = QFont(self.RandomHeadTextLabel.font())
+        RandomHeadTextLabel_font.setBold(1)
+        self.RandomHeadTextLabel.setFont(RandomHeadTextLabel_font)
+        self.RandomHeadTextLabel.setAlignment(QLabel.AlignCenter)
+        layout86.addWidget(self.RandomHeadTextLabel)
+
+        self.RadomGeneratedRadioButton = QRadioButton(self,"RadomGeneratedRadioButton")
+        RadomGeneratedRadioButton_font = QFont(self.RadomGeneratedRadioButton.font())
+        self.RadomGeneratedRadioButton.setFont(RadomGeneratedRadioButton_font)
+        self.RadomGeneratedRadioButton.setChecked(1)
+        layout86.addWidget(self.RadomGeneratedRadioButton)
+
+        layout85 = QHBoxLayout(None,0,6,"layout85")
+
+        self.RandomFixedRadioButton = QRadioButton(self,"RandomFixedRadioButton")
+        RandomFixedRadioButton_font = QFont(self.RandomFixedRadioButton.font())
+        self.RandomFixedRadioButton.setFont(RandomFixedRadioButton_font)
+        layout85.addWidget(self.RandomFixedRadioButton)
+
+        self.RandomSpinBox = QSpinBox(self,"RandomSpinBox")
+        RandomSpinBox_font = QFont(self.RandomSpinBox.font())
+        self.RandomSpinBox.setFont(RandomSpinBox_font)
+        self.RandomSpinBox.setMaxValue(32767)
+        self.RandomSpinBox.setMinValue(1)
+        self.RandomSpinBox.setValue(32767)
+        layout85.addWidget(self.RandomSpinBox)
+        spacer1 = QSpacerItem(60,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
+        layout85.addItem(spacer1)
+        layout86.addLayout(layout85)
+        pyPetriConfigureViewLayout.addLayout(layout86)
+
+        layout84 = QVBoxLayout(None,0,6,"layout84")
+
+        self.AncestorHeadTextLabel = QLabel(self,"AncestorHeadTextLabel")
+        AncestorHeadTextLabel_font = QFont(self.AncestorHeadTextLabel.font())
+        AncestorHeadTextLabel_font.setBold(1)
+        self.AncestorHeadTextLabel.setFont(AncestorHeadTextLabel_font)
+        self.AncestorHeadTextLabel.setAlignment(QLabel.WordBreak | QLabel.AlignCenter)
+        layout84.addWidget(self.AncestorHeadTextLabel)
+
+        self.AncestorComboBox = QComboBox(0,self,"AncestorComboBox")
+        AncestorComboBox_font = QFont(self.AncestorComboBox.font())
+        self.AncestorComboBox.setFont(AncestorComboBox_font)
+        self.AncestorComboBox.setAcceptDrops(1)
+        self.AncestorComboBox.setEditable(1)
+        layout84.addWidget(self.AncestorComboBox)
+        pyPetriConfigureViewLayout.addLayout(layout84)
+
+        layout80 = QVBoxLayout(None,0,6,"layout80")
+
+        self.BirthHeadTextLabel = QLabel(self,"BirthHeadTextLabel")
+        BirthHeadTextLabel_font = QFont(self.BirthHeadTextLabel.font())
+        BirthHeadTextLabel_font.setBold(1)
+        self.BirthHeadTextLabel.setFont(BirthHeadTextLabel_font)
+        self.BirthHeadTextLabel.setAlignment(QLabel.WordBreak | QLabel.AlignCenter)
+        layout80.addWidget(self.BirthHeadTextLabel)
+
+        self.BirthButtonGroup = QButtonGroup(self,"BirthButtonGroup")
+        self.BirthButtonGroup.setFrameShadow(QButtonGroup.Plain)
+        self.BirthButtonGroup.setLineWidth(0)
+        self.BirthButtonGroup.setFlat(1)
+        self.BirthButtonGroup.setColumnLayout(0,Qt.Vertical)
+        self.BirthButtonGroup.layout().setSpacing(6)
+        self.BirthButtonGroup.layout().setMargin(11)
+        BirthButtonGroupLayout = QHBoxLayout(self.BirthButtonGroup.layout())
+        BirthButtonGroupLayout.setAlignment(Qt.AlignTop)
+
+        self.LocalBirthRadioButton = QRadioButton(self.BirthButtonGroup,"LocalBirthRadioButton")
+        LocalBirthRadioButton_font = QFont(self.LocalBirthRadioButton.font())
+        self.LocalBirthRadioButton.setFont(LocalBirthRadioButton_font)
+        self.LocalBirthRadioButton.setChecked(1)
+        BirthButtonGroupLayout.addWidget(self.LocalBirthRadioButton)
+
+        self.MassActionRadioButton = QRadioButton(self.BirthButtonGroup,"MassActionRadioButton")
+        MassActionRadioButton_font = QFont(self.MassActionRadioButton.font())
+        self.MassActionRadioButton.setFont(MassActionRadioButton_font)
+        BirthButtonGroupLayout.addWidget(self.MassActionRadioButton)
+        layout80.addWidget(self.BirthButtonGroup)
+        pyPetriConfigureViewLayout.addLayout(layout80)
+
+        layout83 = QVBoxLayout(None,0,6,"layout83")
+
+        self.StopHeadTextLabel = QLabel(self,"StopHeadTextLabel")
+        StopHeadTextLabel_font = QFont(self.StopHeadTextLabel.font())
+        StopHeadTextLabel_font.setBold(1)
+        self.StopHeadTextLabel.setFont(StopHeadTextLabel_font)
+        self.StopHeadTextLabel.setAlignment(QLabel.WordBreak | QLabel.AlignCenter)
+        layout83.addWidget(self.StopHeadTextLabel)
+
+        self.StopButtonGroup = QButtonGroup(self,"StopButtonGroup")
+        self.StopButtonGroup.setFrameShadow(QButtonGroup.Plain)
+        self.StopButtonGroup.setLineWidth(0)
+        self.StopButtonGroup.setFlat(1)
+        self.StopButtonGroup.setColumnLayout(0,Qt.Vertical)
+        self.StopButtonGroup.layout().setSpacing(6)
+        self.StopButtonGroup.layout().setMargin(11)
+        StopButtonGroupLayout = QHBoxLayout(self.StopButtonGroup.layout())
+        StopButtonGroupLayout.setAlignment(Qt.AlignTop)
+
+        self.StopManuallyRadioButton = QRadioButton(self.StopButtonGroup,"StopManuallyRadioButton")
+        StopManuallyRadioButton_font = QFont(self.StopManuallyRadioButton.font())
+        self.StopManuallyRadioButton.setFont(StopManuallyRadioButton_font)
+        self.StopManuallyRadioButton.setChecked(1)
+        StopButtonGroupLayout.addWidget(self.StopManuallyRadioButton)
+
+        layout81 = QHBoxLayout(None,0,6,"layout81")
+
+        self.StopAtRadioButton = QRadioButton(self.StopButtonGroup,"StopAtRadioButton")
+        layout81.addWidget(self.StopAtRadioButton)
+
+        self.StopAtSpinBox = QSpinBox(self.StopButtonGroup,"StopAtSpinBox")
+        StopAtSpinBox_font = QFont(self.StopAtSpinBox.font())
+        self.StopAtSpinBox.setFont(StopAtSpinBox_font)
+        self.StopAtSpinBox.setMaxValue(10000000)
+        self.StopAtSpinBox.setMinValue(1)
+        self.StopAtSpinBox.setLineStep(1000)
+        self.StopAtSpinBox.setValue(10000)
+        layout81.addWidget(self.StopAtSpinBox)
+        StopButtonGroupLayout.addLayout(layout81)
+        layout83.addWidget(self.StopButtonGroup)
+        pyPetriConfigureViewLayout.addLayout(layout83)
+
+        self.languageChange()
+
+        self.resize(QSize(309,414).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.RadomGeneratedRadioButton,SIGNAL("clicked()"),self.RandomFixedRadioButton.toggle)
+        self.connect(self.RandomFixedRadioButton,SIGNAL("clicked()"),self.RadomGeneratedRadioButton.toggle)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("Form1"))
+        self.MutationRateHeadTextLabel.setText(self.__tr("Mutation Rate"))
+        QToolTip.add(self.MutationRateHeadTextLabel,self.__tr("Set the rate of mutation from 0 to 1"))
+        QToolTip.add(self.MutationSlider,self.__tr("Set Mutation Rate from 0 to 100 %"))
+        self.MutationPercentTextLabel.setText(self.__tr("100 %"))
+        self.WorldSizeHeadTextLable.setText(self.__tr("World Size"))
+        self.WorldSizeTextLabel.setText(self.__tr("60 x 60 cells"))
+        self.DeathLabel.setText(self.__tr("Do organisms die of old age?"))
+        self.DeathButtonGroup.setTitle(QString.null)
+        self.DieYesButton.setText(self.__tr("Yes"))
+        QToolTip.add(self.DieYesButton,self.__tr("Organism can die without being replaced"))
+        self.DieNoButton.setText(self.__tr("No"))
+        QToolTip.add(self.DieNoButton,self.__tr("Organisms only die when replaced by new oranisims"))
+        self.DeathTextLabel2.setText(self.__tr("when # executed instructions exceeds"))
+        QToolTip.add(self.LifeSpanSpinBox,self.__tr("How long"))
+        self.DeathTextLabel3.setText(self.__tr("times the genome length"))
+        self.RandomHeadTextLabel.setText(self.__tr("Random Number Generator"))
+        self.RadomGeneratedRadioButton.setText(self.__tr("Different each time the program runs"))
+        self.RandomFixedRadioButton.setText(self.__tr("Set at"))
+        self.AncestorHeadTextLabel.setText(self.__tr("Ancestral Organism(s)"))
+        self.AncestorComboBox.clear()
+        self.AncestorComboBox.insertItem(self.__tr("<default>"))
+        self.AncestorComboBox.setCurrentItem(0)
+        self.BirthHeadTextLabel.setText(self.__tr("Where should new organism be placed?"))
+        self.BirthButtonGroup.setTitle(QString.null)
+        self.LocalBirthRadioButton.setText(self.__tr("Nearby their parent"))
+        self.MassActionRadioButton.setText(self.__tr("Anywhere, randomly"))
+        self.StopHeadTextLabel.setText(self.__tr("Stop Run at"))
+        self.StopButtonGroup.setTitle(QString.null)
+        self.StopManuallyRadioButton.setText(self.__tr("Manually"))
+        self.StopAtRadioButton.setText(QString.null)
+        self.StopAtSpinBox.setSuffix(self.__tr(" updates"))
+
+
+    def __tr(self,s,c = None):
+        return qApp.translate("pyPetriConfigureView",s,c)

Added: trunk/source/python/AvidaGui2/pyPetriConfigureView.ui
===================================================================
--- trunk/source/python/AvidaGui2/pyPetriConfigureView.ui	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyPetriConfigureView.ui	2005-03-08 18:52:17 UTC (rev 44)
@@ -0,0 +1,714 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>pyPetriConfigureView</class>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>pyPetriConfigureView</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>309</width>
+            <height>414</height>
+        </rect>
+    </property>
+    <property name="font">
+        <font>
+            <pointsize>9</pointsize>
+        </font>
+    </property>
+    <property name="caption">
+        <string>Form1</string>
+    </property>
+    <property name="acceptDrops">
+        <bool>true</bool>
+    </property>
+    <vbox>
+        <property name="name">
+            <cstring>unnamed</cstring>
+        </property>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout79</cstring>
+            </property>
+            <hbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <property name="margin">
+                    <number>0</number>
+                </property>
+                <property name="spacing">
+                    <number>1</number>
+                </property>
+                <widget class="QLayoutWidget">
+                    <property name="name">
+                        <cstring>layout76</cstring>
+                    </property>
+                    <vbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QLabel">
+                            <property name="name">
+                                <cstring>MutationRateHeadTextLabel</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                    <bold>1</bold>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>Mutation Rate</string>
+                            </property>
+                            <property name="alignment">
+                                <set>AlignCenter</set>
+                            </property>
+                            <property name="toolTip" stdset="0">
+                                <string>Set the rate of mutation from 0 to 1</string>
+                            </property>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout75</cstring>
+                            </property>
+                            <hbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QSlider">
+                                    <property name="name">
+                                        <cstring>MutationSlider</cstring>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="maxValue">
+                                        <number>1000</number>
+                                    </property>
+                                    <property name="value">
+                                        <number>500</number>
+                                    </property>
+                                    <property name="orientation">
+                                        <enum>Horizontal</enum>
+                                    </property>
+                                    <property name="toolTip" stdset="0">
+                                        <string>Set Mutation Rate from 0 to 100 %</string>
+                                    </property>
+                                </widget>
+                                <widget class="QLabel">
+                                    <property name="name">
+                                        <cstring>MutationPercentTextLabel</cstring>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="text">
+                                        <string>100 %</string>
+                                    </property>
+                                </widget>
+                            </hbox>
+                        </widget>
+                    </vbox>
+                </widget>
+                <widget class="QLayoutWidget">
+                    <property name="name">
+                        <cstring>layout78</cstring>
+                    </property>
+                    <vbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QLabel">
+                            <property name="name">
+                                <cstring>WorldSizeHeadTextLable</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                    <bold>1</bold>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>World Size</string>
+                            </property>
+                            <property name="textFormat">
+                                <enum>AutoText</enum>
+                            </property>
+                            <property name="alignment">
+                                <set>WordBreak|AlignCenter</set>
+                            </property>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout77</cstring>
+                            </property>
+                            <hbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QSlider">
+                                    <property name="name">
+                                        <cstring>WorldSizeSlider</cstring>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="minValue">
+                                        <number>1</number>
+                                    </property>
+                                    <property name="maxValue">
+                                        <number>200</number>
+                                    </property>
+                                    <property name="lineStep">
+                                        <number>10</number>
+                                    </property>
+                                    <property name="value">
+                                        <number>60</number>
+                                    </property>
+                                    <property name="orientation">
+                                        <enum>Horizontal</enum>
+                                    </property>
+                                </widget>
+                                <widget class="QLabel">
+                                    <property name="name">
+                                        <cstring>WorldSizeTextLabel</cstring>
+                                    </property>
+                                    <property name="enabled">
+                                        <bool>true</bool>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="text">
+                                        <string>60 x 60 cells</string>
+                                    </property>
+                                </widget>
+                            </hbox>
+                        </widget>
+                    </vbox>
+                </widget>
+            </hbox>
+        </widget>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout95</cstring>
+            </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>DeathLabel</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                            <bold>1</bold>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Do organisms die of old age?</string>
+                    </property>
+                    <property name="alignment">
+                        <set>AlignCenter</set>
+                    </property>
+                </widget>
+                <widget class="QLayoutWidget">
+                    <property name="name">
+                        <cstring>layout94</cstring>
+                    </property>
+                    <hbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QButtonGroup">
+                            <property name="name">
+                                <cstring>DeathButtonGroup</cstring>
+                            </property>
+                            <property name="sizePolicy">
+                                <sizepolicy>
+                                    <hsizetype>3</hsizetype>
+                                    <vsizetype>3</vsizetype>
+                                    <horstretch>1</horstretch>
+                                    <verstretch>0</verstretch>
+                                </sizepolicy>
+                            </property>
+                            <property name="frameShadow">
+                                <enum>Plain</enum>
+                            </property>
+                            <property name="lineWidth">
+                                <number>0</number>
+                            </property>
+                            <property name="title">
+                                <string></string>
+                            </property>
+                            <property name="flat">
+                                <bool>true</bool>
+                            </property>
+                            <widget class="QRadioButton">
+                                <property name="name">
+                                    <cstring>DieYesButton</cstring>
+                                </property>
+                                <property name="geometry">
+                                    <rect>
+                                        <x>0</x>
+                                        <y>20</y>
+                                        <width>50</width>
+                                        <height>21</height>
+                                    </rect>
+                                </property>
+                                <property name="font">
+                                    <font>
+                                    </font>
+                                </property>
+                                <property name="text">
+                                    <string>Yes</string>
+                                </property>
+                                <property name="toolTip" stdset="0">
+                                    <string>Organism can die without being replaced</string>
+                                </property>
+                            </widget>
+                            <widget class="QRadioButton">
+                                <property name="name">
+                                    <cstring>DieNoButton</cstring>
+                                </property>
+                                <property name="geometry">
+                                    <rect>
+                                        <x>0</x>
+                                        <y>0</y>
+                                        <width>50</width>
+                                        <height>21</height>
+                                    </rect>
+                                </property>
+                                <property name="font">
+                                    <font>
+                                    </font>
+                                </property>
+                                <property name="text">
+                                    <string>No</string>
+                                </property>
+                                <property name="checked">
+                                    <bool>true</bool>
+                                </property>
+                                <property name="toolTip" stdset="0">
+                                    <string>Organisms only die when replaced by new oranisims</string>
+                                </property>
+                            </widget>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout92</cstring>
+                            </property>
+                            <vbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QLabel">
+                                    <property name="name">
+                                        <cstring>DeathTextLabel2</cstring>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="text">
+                                        <string>when # executed instructions exceeds</string>
+                                    </property>
+                                </widget>
+                                <widget class="QLayoutWidget">
+                                    <property name="name">
+                                        <cstring>layout91</cstring>
+                                    </property>
+                                    <hbox>
+                                        <property name="name">
+                                            <cstring>unnamed</cstring>
+                                        </property>
+                                        <widget class="QSpinBox">
+                                            <property name="name">
+                                                <cstring>LifeSpanSpinBox</cstring>
+                                            </property>
+                                            <property name="maxValue">
+                                                <number>99999</number>
+                                            </property>
+                                            <property name="minValue">
+                                                <number>1</number>
+                                            </property>
+                                            <property name="value">
+                                                <number>10</number>
+                                            </property>
+                                            <property name="toolTip" stdset="0">
+                                                <string>How long</string>
+                                            </property>
+                                        </widget>
+                                        <widget class="QLabel">
+                                            <property name="name">
+                                                <cstring>DeathTextLabel3</cstring>
+                                            </property>
+                                            <property name="font">
+                                                <font>
+                                                </font>
+                                            </property>
+                                            <property name="text">
+                                                <string>times the genome length</string>
+                                            </property>
+                                        </widget>
+                                    </hbox>
+                                </widget>
+                            </vbox>
+                        </widget>
+                    </hbox>
+                </widget>
+            </vbox>
+        </widget>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout86</cstring>
+            </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>RandomHeadTextLabel</cstring>
+                    </property>
+                    <property name="enabled">
+                        <bool>true</bool>
+                    </property>
+                    <property name="font">
+                        <font>
+                            <bold>1</bold>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Random Number Generator</string>
+                    </property>
+                    <property name="alignment">
+                        <set>AlignCenter</set>
+                    </property>
+                </widget>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>RadomGeneratedRadioButton</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Different each time the program runs</string>
+                    </property>
+                    <property name="checked">
+                        <bool>true</bool>
+                    </property>
+                </widget>
+                <widget class="QLayoutWidget">
+                    <property name="name">
+                        <cstring>layout85</cstring>
+                    </property>
+                    <hbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QRadioButton">
+                            <property name="name">
+                                <cstring>RandomFixedRadioButton</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>Set at</string>
+                            </property>
+                        </widget>
+                        <widget class="QSpinBox">
+                            <property name="name">
+                                <cstring>RandomSpinBox</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                </font>
+                            </property>
+                            <property name="maxValue">
+                                <number>32767</number>
+                            </property>
+                            <property name="minValue">
+                                <number>1</number>
+                            </property>
+                            <property name="value">
+                                <number>32767</number>
+                            </property>
+                        </widget>
+                        <spacer>
+                            <property name="name">
+                                <cstring>spacer1</cstring>
+                            </property>
+                            <property name="orientation">
+                                <enum>Horizontal</enum>
+                            </property>
+                            <property name="sizeType">
+                                <enum>Expanding</enum>
+                            </property>
+                            <property name="sizeHint">
+                                <size>
+                                    <width>60</width>
+                                    <height>20</height>
+                                </size>
+                            </property>
+                        </spacer>
+                    </hbox>
+                </widget>
+            </vbox>
+        </widget>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout84</cstring>
+            </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>AncestorHeadTextLabel</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                            <bold>1</bold>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Ancestral Organism(s)</string>
+                    </property>
+                    <property name="alignment">
+                        <set>WordBreak|AlignCenter</set>
+                    </property>
+                </widget>
+                <widget class="QComboBox">
+                    <item>
+                        <property name="text">
+                            <string>&lt;default&gt;</string>
+                        </property>
+                    </item>
+                    <property name="name">
+                        <cstring>AncestorComboBox</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                        </font>
+                    </property>
+                    <property name="acceptDrops">
+                        <bool>true</bool>
+                    </property>
+                    <property name="editable">
+                        <bool>true</bool>
+                    </property>
+                    <property name="currentItem">
+                        <number>0</number>
+                    </property>
+                </widget>
+            </vbox>
+        </widget>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout80</cstring>
+            </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>BirthHeadTextLabel</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                            <bold>1</bold>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Where should new organism be placed?</string>
+                    </property>
+                    <property name="alignment">
+                        <set>WordBreak|AlignCenter</set>
+                    </property>
+                </widget>
+                <widget class="QButtonGroup">
+                    <property name="name">
+                        <cstring>BirthButtonGroup</cstring>
+                    </property>
+                    <property name="frameShadow">
+                        <enum>Plain</enum>
+                    </property>
+                    <property name="lineWidth">
+                        <number>0</number>
+                    </property>
+                    <property name="title">
+                        <string></string>
+                    </property>
+                    <property name="flat">
+                        <bool>true</bool>
+                    </property>
+                    <hbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QRadioButton">
+                            <property name="name">
+                                <cstring>LocalBirthRadioButton</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>Nearby their parent</string>
+                            </property>
+                            <property name="checked">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                        <widget class="QRadioButton">
+                            <property name="name">
+                                <cstring>MassActionRadioButton</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>Anywhere, randomly</string>
+                            </property>
+                        </widget>
+                    </hbox>
+                </widget>
+            </vbox>
+        </widget>
+        <widget class="QLayoutWidget">
+            <property name="name">
+                <cstring>layout83</cstring>
+            </property>
+            <vbox>
+                <property name="name">
+                    <cstring>unnamed</cstring>
+                </property>
+                <widget class="QLabel">
+                    <property name="name">
+                        <cstring>StopHeadTextLabel</cstring>
+                    </property>
+                    <property name="font">
+                        <font>
+                            <bold>1</bold>
+                        </font>
+                    </property>
+                    <property name="text">
+                        <string>Stop Run at</string>
+                    </property>
+                    <property name="alignment">
+                        <set>WordBreak|AlignCenter</set>
+                    </property>
+                </widget>
+                <widget class="QButtonGroup">
+                    <property name="name">
+                        <cstring>StopButtonGroup</cstring>
+                    </property>
+                    <property name="frameShadow">
+                        <enum>Plain</enum>
+                    </property>
+                    <property name="lineWidth">
+                        <number>0</number>
+                    </property>
+                    <property name="title">
+                        <string></string>
+                    </property>
+                    <property name="flat">
+                        <bool>true</bool>
+                    </property>
+                    <hbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QRadioButton">
+                            <property name="name">
+                                <cstring>StopManuallyRadioButton</cstring>
+                            </property>
+                            <property name="font">
+                                <font>
+                                </font>
+                            </property>
+                            <property name="text">
+                                <string>Manually</string>
+                            </property>
+                            <property name="checked">
+                                <bool>true</bool>
+                            </property>
+                        </widget>
+                        <widget class="QLayoutWidget">
+                            <property name="name">
+                                <cstring>layout81</cstring>
+                            </property>
+                            <hbox>
+                                <property name="name">
+                                    <cstring>unnamed</cstring>
+                                </property>
+                                <widget class="QRadioButton">
+                                    <property name="name">
+                                        <cstring>StopAtRadioButton</cstring>
+                                    </property>
+                                    <property name="text">
+                                        <string></string>
+                                    </property>
+                                </widget>
+                                <widget class="QSpinBox">
+                                    <property name="name">
+                                        <cstring>StopAtSpinBox</cstring>
+                                    </property>
+                                    <property name="font">
+                                        <font>
+                                        </font>
+                                    </property>
+                                    <property name="suffix">
+                                        <string> updates</string>
+                                    </property>
+                                    <property name="maxValue">
+                                        <number>10000000</number>
+                                    </property>
+                                    <property name="minValue">
+                                        <number>1</number>
+                                    </property>
+                                    <property name="lineStep">
+                                        <number>1000</number>
+                                    </property>
+                                    <property name="value">
+                                        <number>10000</number>
+                                    </property>
+                                </widget>
+                            </hbox>
+                        </widget>
+                    </hbox>
+                </widget>
+            </vbox>
+        </widget>
+    </vbox>
+</widget>
+<connections>
+    <connection>
+        <sender>RadomGeneratedRadioButton</sender>
+        <signal>clicked()</signal>
+        <receiver>RandomFixedRadioButton</receiver>
+        <slot>toggle()</slot>
+    </connection>
+    <connection>
+        <sender>RandomFixedRadioButton</sender>
+        <signal>clicked()</signal>
+        <receiver>RadomGeneratedRadioButton</receiver>
+        <slot>toggle()</slot>
+    </connection>
+</connections>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>

Modified: trunk/source/python/AvidaGui2/pySessionDumbCtrl.py
===================================================================
--- trunk/source/python/AvidaGui2/pySessionDumbCtrl.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pySessionDumbCtrl.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -72,6 +72,9 @@
     avida = pyAvida()
     avida.construct(genesis)
     self.setAvidaSlot(avida)
+
+    # Stops self from hearing own setAvidaSig signal
+
     self.disconnect(
       self.m_session_mdl.m_session_mdtr, PYSIGNAL("setAvidaSig"),
       self.setAvidaSlot)

Modified: trunk/source/python/AvidaGui2/pyTemporaryReloads.py
===================================================================
--- trunk/source/python/AvidaGui2/pyTemporaryReloads.py	2005-03-08 17:10:32 UTC (rev 43)
+++ trunk/source/python/AvidaGui2/pyTemporaryReloads.py	2005-03-08 18:52:17 UTC (rev 44)
@@ -47,6 +47,7 @@
   "AvidaGui2.pyAnalyzeControlsCtrl",
   "AvidaGui2.pyFreezerView",
   "AvidaGui2.pyFreezerCtrl",
+  "AvidaGui2.pyReadFreezer",
   "AvidaGui2.pyGradientScaleView",
   "AvidaGui2.pyGradientScaleCtrl",
   "AvidaGui2.pyGraphView",
@@ -55,6 +56,8 @@
   "AvidaGui2.pyLiveControlsCtrl",
   "AvidaGui2.pyNavBarView",
   "AvidaGui2.pyNavBarCtrl",
+  "AvidaGui2.pyPetriConfigureView",
+  "AvidaGui2.pyPetriConfigureCtrl",
   "AvidaGui2.pyPetriDishView",
   "AvidaGui2.pyPetriDishCtrl",
   "AvidaGui2.pyTimelineView",




More information about the Avida-cvs mailing list