[Avida-cvs] [avida-svn] r747 - branches/developers/avida-edward/source/python/AvidaGui2
baerb@myxo.css.msu.edu
baerb at myxo.css.msu.edu
Wed Jun 14 06:15:34 PDT 2006
Author: baerb
Date: 2006-06-14 09:15:33 -0400 (Wed, 14 Jun 2006)
New Revision: 747
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py
branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureView.ui
Log:
Made mutation slider 100 times more sensitive.
Rearranged order of controls in Petri dish environmental control
Added text edit boxes to allow exact entries for mutation rate and pop size
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py 2006-06-12 19:27:24 UTC (rev 746)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py 2006-06-14 13:15:33 UTC (rev 747)
@@ -38,8 +38,12 @@
self.DishDisabled = False
self.connect(self.MutationSlider, SIGNAL("valueChanged(int)"),
self.ChangeMutationTextSlot)
+ self.connect(self.MutationRateLineEdit, SIGNAL("returnPressed()"),
+ self.ChangeMutationSliderSlot)
self.connect(self.WorldSizeSlider, SIGNAL("valueChanged(int)"),
self.ChangeWorldSizeTextSlot)
+ self.connect(self.WorldSizeLineEdit, SIGNAL("returnPressed()"),
+ self.ChangeWorldSizeSliderSlot)
self.connect(self.StopManuallyRadioButton, SIGNAL("clicked()"),
self.ChangeStopSpinBoxEnabledSlot)
self.connect(self.StopAtRadioButton, SIGNAL("clicked()"),
@@ -118,26 +122,82 @@
self.m_session_mdl = None
+ # When the user changes the mutation slider (which has a log scale) change the
+ # text next to it (which is liner)
+
def ChangeMutationTextSlot(self):
- slide_value = float(self.MutationSlider.value())/100.0
+ slide_value = float(self.MutationSlider.value())/10000.0
slide_value = pow(10,slide_value)
if slide_value < 0.0011:
slide_value = 0.0
- if slide_value > 1 or slide_value < 0.00001:
- slide_value_txt = ("%1.1f" % (slide_value)) + "%"
+ if slide_value >= 1 or slide_value < 0.00001:
+ slide_value_txt = ("%1.1f" % (slide_value)) # + "%"
elif slide_value > 0.1:
- slide_value_txt = ("%1.2f" % (slide_value)) + "%"
+ slide_value_txt = ("%1.2f" % (slide_value)) # + "%"
elif slide_value > 0.01:
- slide_value_txt = ("%1.3f" % (slide_value)) + "%"
+ slide_value_txt = ("%1.3f" % (slide_value)) # + "%"
else:
- slide_value_txt = ("%1.4f" % (slide_value)) + "%"
- self.MutationPercentTextLabel.setText(slide_value_txt)
+ slide_value_txt = ("%1.4f" % (slide_value)) # + "%"
+ self.MutationRateLineEdit.setText(slide_value_txt)
+
+ # When the user changes the mutation slider (which has a log scale) change the
+ # text next to it (which is liner). Must check if the text entered is a
+ # valid real number
+ def ChangeMutationSliderSlot(self):
+ validNumEntered = True
+ mutText = str(self.MutationRateLineEdit.text())
+ mutText = (mutText.rstrip('% ')).lstrip('+- ')
+ decPtLocation = mutText.find('.')
+ if (decPtLocation == -1):
+ if (not mutText.isdigit()):
+ validNumEntered = False
+ else:
+ mutValue = float(mutText)
+ else:
+ if (not (mutText[0:decPtLocation].isdigit() and
+ mutText[decPtLocation+1:].isdigit())):
+ validNumEntered = False
+ else:
+ decPlace = float(len(mutText[decPtLocation+1:]))
+ divisor = pow(10.0,decPlace)
+ mutValue = float(mutText[0:decPtLocation]) + \
+ (float(mutText[decPtLocation+1:])/divisor)
+
+ # if they have entered a bad number pull the current value off the slider
+
+ if (not validNumEntered):
+ self.ChangeMutationTextSlot()
+ else:
+ if (mutValue < 0.0):
+ mutValue = 0.0
+ elif (mutValue > 100.0):
+ mutValue = 100.0
+ if mutValue > 0.00001:
+ self.MutationSlider.setValue(int(math.log10(mutValue) * 10000))
+ else:
+ self.MutationSlider.setValue(-30000)
+
def ChangeWorldSizeTextSlot(self):
slide_value = str(self.WorldSizeSlider.value())
- slide_value_txt = slide_value + " x " + slide_value + " cells"
+ slide_value_txt = "x " + slide_value + " cells"
self.WorldSizeTextLabel.setText(slide_value_txt)
+ self.WorldSizeLineEdit.setText(slide_value)
+ # Move the world size slider based on the WorldSizeLineEdit widget
+ # that widget will be sure that a 1 to 3 digit integer is returned
+
+ def ChangeWorldSizeSliderSlot(self):
+ if (not self.WorldSizeLineEdit.text()):
+ tmp_value = self.WorldSizeSlider.value()
+ else:
+ tmp_value = int(str(self.WorldSizeLineEdit.text()))
+ if (tmp_value < self.WorldSizeSlider.minValue()):
+ tmp_value = self.WorldSizeSlider.minValue()
+ elif (tmp_value > self.WorldSizeSlider.maxValue()):
+ tmp_value = self.WorldSizeSlider.maxValue()
+ self.WorldSizeSlider.setValue(tmp_value)
+
def ChangeStopSpinBoxEnabledSlot(self):
if self.StopManuallyRadioButton.isChecked() == True:
self.StopAtSpinBox.setEnabled(False)
@@ -202,11 +262,11 @@
if settings_dict.has_key("COPY_MUT_PROB") == True:
copy_mutation_percent = float(settings_dict["COPY_MUT_PROB"]) * 100;
else:
- copy_mutation_percent = 0.01
+ copy_mutation_percent = 0.5
if copy_mutation_percent > 0.00000001:
- self.MutationSlider.setValue(int(math.log10(copy_mutation_percent) * 100))
+ self.MutationSlider.setValue(int(math.log10(copy_mutation_percent) * 10000))
else:
- self.MutationSlider.setValue(-300)
+ self.MutationSlider.setValue(-30000)
if (settings_dict.has_key("BIRTH_METHOD") and
int(settings_dict["BIRTH_METHOD"])) in [0, 1, 2, 3]:
self.LocalBirthRadioButton.setChecked(True)
@@ -280,7 +340,6 @@
# self.StopAtRadioButton.setEnabled(False)
# self.StopHeadTextLabel.setEnabled(False)
- self.WorldSizeSlider.setEnabled(False)
self.RandomGeneratedRadioButton.setEnabled(False)
self.RandomFixedRadioButton.setEnabled(False)
self.MutationSlider.setEnabled(False)
@@ -304,10 +363,12 @@
self.NorCheckBox.setEnabled(False)
self.XorCheckBox.setEnabled(False)
self.EquCheckBox.setEnabled(False)
- self.MutationPercentTextLabel.setEnabled(False)
+ self.MutationRateLineEdit.setEnabled(False)
+ self.MutationRateHeadTextLabel.setEnabled(False)
self.WorldSizeTextLabel.setEnabled(False)
- self.MutationRateHeadTextLabel.setEnabled(False)
self.WorldSizeHeadTextLable.setEnabled(False)
+ self.WorldSizeSlider.setEnabled(False)
+ self.WorldSizeLineEdit.setEnabled(False)
self.RewardTextLabel.setEnabled(False)
self.RandomHeadTextLabel.setEnabled(False)
self.AncestorHeadTextLabel.setEnabled(False)
@@ -350,10 +411,11 @@
self.NorCheckBox.setEnabled(True)
self.XorCheckBox.setEnabled(True)
self.EquCheckBox.setEnabled(True)
- self.MutationPercentTextLabel.setEnabled(True)
+ self.MutationRateLineEdit.setEnabled(True)
self.WorldSizeTextLabel.setEnabled(True)
self.MutationRateHeadTextLabel.setEnabled(True)
self.WorldSizeHeadTextLable.setEnabled(True)
+ self.WorldSizeLineEdit.setEnabled(True)
self.RewardTextLabel.setEnabled(True)
self.RandomHeadTextLabel.setEnabled(True)
self.AncestorHeadTextLabel.setEnabled(True)
@@ -396,7 +458,7 @@
settings_dict["RANDOM_SEED"] = 777
else:
settings_dict["RANDOM_SEED"] = 0
- slide_value = float(self.MutationSlider.value())/100.0
+ slide_value = float(self.MutationSlider.value())/10000.0
slide_value = pow(10,slide_value)
if slide_value < 0.0011:
slide_value = 0.0
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureView.ui
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureView.ui 2006-06-12 19:27:24 UTC (rev 746)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureView.ui 2006-06-14 13:15:33 UTC (rev 747)
@@ -8,7 +8,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>377</width>
+ <width>379</width>
<height>626</height>
</rect>
</property>
@@ -65,14 +65,95 @@
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout12</cstring>
+ <cstring>layout22</cstring>
</property>
- <vbox>
+ <grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="QSlider" row="1" column="0">
<property name="name">
+ <cstring>MutationSlider</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>3</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>130</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ </font>
+ </property>
+ <property name="focusPolicy">
+ <enum>StrongFocus</enum>
+ </property>
+ <property name="minValue">
+ <number>-30000</number>
+ </property>
+ <property name="maxValue">
+ <number>20000</number>
+ </property>
+ <property name="lineStep">
+ <number>100</number>
+ </property>
+ <property name="pageStep">
+ <number>100</number>
+ </property>
+ <property name="value">
+ <number>-3010</number>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string><p>Set Mutation Rate from 0 to 100 % (use right and left arrow keys to fine tune the value)</P></string>
+ </property>
+ </widget>
+ <widget class="QLineEdit" row="1" column="1">
+ <property name="name">
+ <cstring>MutationRateLineEdit</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>40</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>45</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>0.50%%</string>
+ </property>
+ <property name="inputMask">
+ <string>xxxxx%; </string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string><P>Enter the exact mutation rate (1 to 100%)</p></string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <property name="name">
<cstring>MutationRateHeadTextLabel</cstring>
</property>
<property name="font">
@@ -90,83 +171,17 @@
<string>Set the rate of mutation from 0 to 1</string>
</property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout11</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="focusPolicy">
- <enum>StrongFocus</enum>
- </property>
- <property name="minValue">
- <number>-300</number>
- </property>
- <property name="maxValue">
- <number>200</number>
- </property>
- <property name="pageStep">
- <number>1</number>
- </property>
- <property name="value">
- <number>-30</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="sizePolicy">
- <sizepolicy>
- <hsizetype>0</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>0</height>
- </size>
- </property>
- <property name="font">
- <font>
- </font>
- </property>
- <property name="text">
- <string>%</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </vbox>
+ </grid>
</widget>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout10</cstring>
+ <cstring>layout29</cstring>
</property>
- <vbox>
+ <grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>WorldSizeHeadTextLable</cstring>
</property>
@@ -185,45 +200,79 @@
<set>WordBreak|AlignCenter</set>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="QSlider" row="1" column="0">
<property name="name">
- <cstring>layout9</cstring>
+ <cstring>WorldSizeSlider</cstring>
</property>
+ <property name="font">
+ <font>
+ </font>
+ </property>
+ <property name="focusPolicy">
+ <enum>StrongFocus</enum>
+ </property>
+ <property name="minValue">
+ <number>1</number>
+ </property>
+ <property name="maxValue">
+ <number>100</number>
+ </property>
+ <property name="lineStep">
+ <number>1</number>
+ </property>
+ <property name="pageStep">
+ <number>1</number>
+ </property>
+ <property name="value">
+ <number>30</number>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Set the size of the petri dish (1 to 100)</string>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget" row="1" column="1">
+ <property name="name">
+ <cstring>layout28</cstring>
+ </property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QSlider">
+ <widget class="QLineEdit">
<property name="name">
- <cstring>WorldSizeSlider</cstring>
+ <cstring>WorldSizeLineEdit</cstring>
</property>
- <property name="font">
- <font>
- </font>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>0</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="focusPolicy">
- <enum>StrongFocus</enum>
+ <property name="minimumSize">
+ <size>
+ <width>26</width>
+ <height>0</height>
+ </size>
</property>
- <property name="minValue">
- <number>1</number>
+ <property name="maximumSize">
+ <size>
+ <width>26</width>
+ <height>32767</height>
+ </size>
</property>
- <property name="maxValue">
- <number>100</number>
+ <property name="text">
+ <string></string>
</property>
- <property name="lineStep">
- <number>1</number>
+ <property name="inputMask">
+ <string>000; </string>
</property>
- <property name="pageStep">
- <number>1</number>
- </property>
- <property name="value">
- <number>30</number>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
<property name="toolTip" stdset="0">
- <string>Set the size of the petri dish (1 to 100)</string>
+ <string><p>Enter world size</p></string>
</property>
</widget>
<widget class="QLabel">
@@ -241,17 +290,29 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>52</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>52</width>
+ <height>32767</height>
+ </size>
+ </property>
<property name="font">
<font>
</font>
</property>
<property name="text">
- <string>100 x 100 cells</string>
+ <string>x 100 cells</string>
</property>
</widget>
</hbox>
</widget>
- </vbox>
+ </grid>
</widget>
</hbox>
</widget>
@@ -357,6 +418,161 @@
</spacer>
<widget class="QFrame">
<property name="name">
+ <cstring>BirthPlaceFrame</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>GroupBoxPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>Sunken</enum>
+ </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 offspring 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="focusPolicy">
+ <enum>NoFocus</enum>
+ </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>
+ <spacer>
+ <property name="name">
+ <cstring>BirthLeftSpacer</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>41</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QRadioButton">
+ <property name="name">
+ <cstring>LocalBirthRadioButton</cstring>
+ </property>
+ <property name="font">
+ <font>
+ </font>
+ </property>
+ <property name="focusPolicy">
+ <enum>TabFocus</enum>
+ </property>
+ <property name="text">
+ <string>Nearby their parent</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>When a new organism is split off place it in one of the 8 cells around the parent</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton">
+ <property name="name">
+ <cstring>MassActionRadioButton</cstring>
+ </property>
+ <property name="font">
+ <font>
+ </font>
+ </property>
+ <property name="focusPolicy">
+ <enum>NoFocus</enum>
+ </property>
+ <property name="text">
+ <string>Anywhere, randomly</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>When a new organism is split off place it in a cell any where in the petri dish</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>BirthRightSpacer</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>51</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer14_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QFrame">
+ <property name="name">
<cstring>RewardFrame</cstring>
</property>
<property name="sizePolicy">
@@ -692,7 +908,7 @@
</widget>
<spacer>
<property name="name">
- <cstring>spacer14_2</cstring>
+ <cstring>spacer16</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
@@ -844,161 +1060,6 @@
</widget>
<spacer>
<property name="name">
- <cstring>spacer16</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- <widget class="QFrame">
- <property name="name">
- <cstring>BirthPlaceFrame</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>GroupBoxPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </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 offspring 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="focusPolicy">
- <enum>NoFocus</enum>
- </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>
- <spacer>
- <property name="name">
- <cstring>BirthLeftSpacer</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>41</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>LocalBirthRadioButton</cstring>
- </property>
- <property name="font">
- <font>
- </font>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="text">
- <string>Nearby their parent</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>When a new organism is split off place it in one of the 8 cells around the parent</string>
- </property>
- </widget>
- <widget class="QRadioButton">
- <property name="name">
- <cstring>MassActionRadioButton</cstring>
- </property>
- <property name="font">
- <font>
- </font>
- </property>
- <property name="focusPolicy">
- <enum>NoFocus</enum>
- </property>
- <property name="text">
- <string>Anywhere, randomly</string>
- </property>
- <property name="toolTip" stdset="0">
- <string>When a new organism is split off place it in a cell any where in the petri dish</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>BirthRightSpacer</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>51</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </hbox>
- </widget>
- </vbox>
- </widget>
- <spacer>
- <property name="name">
<cstring>spacer17</cstring>
</property>
<property name="orientation">
@@ -1248,8 +1309,11 @@
</connections>
<tabstops>
<tabstop>MutationSlider</tabstop>
+ <tabstop>MutationRateLineEdit</tabstop>
<tabstop>WorldSizeSlider</tabstop>
+ <tabstop>WorldSizeLineEdit</tabstop>
<tabstop>AncestorComboBox</tabstop>
+ <tabstop>LocalBirthRadioButton</tabstop>
<tabstop>NotCheckBox</tabstop>
<tabstop>NandCheckBox</tabstop>
<tabstop>AndCheckBox</tabstop>
@@ -1260,13 +1324,12 @@
<tabstop>XorCheckBox</tabstop>
<tabstop>EquCheckBox</tabstop>
<tabstop>RandomGeneratedRadioButton</tabstop>
- <tabstop>RandomFixedRadioButton</tabstop>
- <tabstop>LocalBirthRadioButton</tabstop>
- <tabstop>MassActionRadioButton</tabstop>
<tabstop>StopManuallyRadioButton</tabstop>
<tabstop>StopAtRadioButton</tabstop>
<tabstop>StopAtSpinBox</tabstop>
<tabstop>SavePetriPushButton</tabstop>
+ <tabstop>RandomFixedRadioButton</tabstop>
+ <tabstop>MassActionRadioButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
</UI>
More information about the Avida-cvs
mailing list