[Avida-cvs] [Avida2-svn] r109 - trunk/source/python/AvidaGui2

kaben at myxo.css.msu.edu kaben at myxo.css.msu.edu
Wed Apr 6 10:22:15 PDT 2005


Author: kaben
Date: 2005-04-06 13:22:15 -0400 (Wed, 06 Apr 2005)
New Revision: 109

Modified:
   trunk/source/python/AvidaGui2/pyEduWorkspaceView.ui
Log:

* Added menu item to print a graph.



Modified: trunk/source/python/AvidaGui2/pyEduWorkspaceView.ui
===================================================================
--- trunk/source/python/AvidaGui2/pyEduWorkspaceView.ui	2005-04-06 17:17:26 UTC (rev 108)
+++ trunk/source/python/AvidaGui2/pyEduWorkspaceView.ui	2005-04-06 17:22:15 UTC (rev 109)
@@ -18,7 +18,7 @@
             <x>12</x>
             <y>0</y>
             <width>1000</width>
-            <height>768</height>
+            <height>744</height>
         </rect>
     </property>
     <property name="sizePolicy">
@@ -31,14 +31,14 @@
     </property>
     <property name="minimumSize">
         <size>
-            <width>1000</width>
-            <height>768</height>
+            <width>51</width>
+            <height>341</height>
         </size>
     </property>
     <property name="maximumSize">
         <size>
             <width>1000</width>
-            <height>768</height>
+            <height>744</height>
         </size>
     </property>
     <property name="caption">
@@ -109,6 +109,8 @@
     <item text="&amp;File" name="File">
         <action name="fileNewAction"/>
         <action name="fileOpenAction"/>
+        <separator/>
+        <action name="m_graph_print_action"/>
     </item>
     <item text="&amp;Edit" name="editMenu">
         <action name="editUndoAction"/>
@@ -263,16 +265,16 @@
     </action>
     <action>
         <property name="name">
-            <cstring>filePrintAction</cstring>
+            <cstring>m_graph_print_action</cstring>
         </property>
         <property name="iconSet">
             <iconset>image4</iconset>
         </property>
         <property name="text">
-            <string>Print</string>
+            <string>&amp;Print Graph...</string>
         </property>
         <property name="menuText">
-            <string>&amp;Print...</string>
+            <string>&amp;Print Graph...</string>
         </property>
         <property name="accel">
             <string>Ctrl+P</string>
@@ -614,7 +616,7 @@
         <slot>fileSaveAs()</slot>
     </connection>
     <connection>
-        <sender>filePrintAction</sender>
+        <sender>m_graph_print_action</sender>
         <signal>activated()</signal>
         <receiver>pyEduWorkspaceView</receiver>
         <slot>filePrint()</slot>




More information about the Avida-cvs mailing list