Debugger/StartRunDialog.ui

changeset 112
16893e193e9d
parent 0
de9c2efb9d02
child 714
de66d01ab4d6
--- a/Debugger/StartRunDialog.ui	Sat Feb 13 13:00:30 2010 +0000
+++ b/Debugger/StartRunDialog.ui	Sat Feb 13 17:07:34 2010 +0000
@@ -1,216 +1,257 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>StartRunDialog</class>
- <widget class="QDialog" name="StartRunDialog" >
-  <property name="geometry" >
+ <widget class="QDialog" name="StartRunDialog">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>488</width>
-    <height>178</height>
+    <height>242</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Start running</string>
   </property>
-  <property name="sizeGripEnabled" >
+  <property name="sizeGripEnabled">
    <bool>true</bool>
   </property>
-  <layout class="QGridLayout" name="gridLayout" >
-   <item row="0" column="0" >
-    <widget class="QLabel" name="TextLabel1" >
-     <property name="text" >
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0">
+    <widget class="QLabel" name="TextLabel1">
+     <property name="text">
       <string>Command&amp;line:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>cmdlineCombo</cstring>
      </property>
     </widget>
    </item>
-   <item row="0" column="1" colspan="3" >
-    <widget class="QComboBox" name="cmdlineCombo" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+   <item row="0" column="1" colspan="3">
+    <widget class="QComboBox" name="cmdlineCombo">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
-     <property name="toolTip" >
+     <property name="toolTip">
       <string>Enter the commandline parameters</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Commandline&lt;/b>
-&lt;p>Enter the commandline parameters in this field.&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Commandline&lt;/b&gt;
+&lt;p&gt;Enter the commandline parameters in this field.&lt;/p&gt;</string>
      </property>
-     <property name="editable" >
+     <property name="editable">
       <bool>true</bool>
      </property>
-     <property name="insertPolicy" >
+     <property name="insertPolicy">
       <enum>QComboBox::InsertAtTop</enum>
      </property>
-     <property name="autoCompletion" >
+     <property name="autoCompletion">
       <bool>true</bool>
      </property>
-     <property name="duplicatesEnabled" >
+     <property name="duplicatesEnabled">
       <bool>false</bool>
      </property>
     </widget>
    </item>
-   <item row="1" column="0" >
-    <widget class="QLabel" name="TextLabel2" >
-     <property name="text" >
+   <item row="1" column="0">
+    <widget class="QLabel" name="TextLabel2">
+     <property name="text">
       <string>&amp;Working directory:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>workdirCombo</cstring>
      </property>
     </widget>
    </item>
-   <item row="1" column="1" colspan="2" >
-    <widget class="QComboBox" name="workdirCombo" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+   <item row="1" column="1" colspan="2">
+    <widget class="QComboBox" name="workdirCombo">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
-     <property name="toolTip" >
+     <property name="toolTip">
       <string>Enter the working directory</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Working directory&lt;/b>
-&lt;p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Working directory&lt;/b&gt;
+&lt;p&gt;Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.&lt;/p&gt;</string>
      </property>
-     <property name="editable" >
+     <property name="editable">
       <bool>true</bool>
      </property>
-     <property name="insertPolicy" >
+     <property name="insertPolicy">
       <enum>QComboBox::InsertAtTop</enum>
      </property>
-     <property name="autoCompletion" >
+     <property name="autoCompletion">
       <bool>true</bool>
      </property>
-     <property name="duplicatesEnabled" >
+     <property name="duplicatesEnabled">
       <bool>false</bool>
      </property>
     </widget>
    </item>
-   <item row="1" column="3" >
-    <widget class="QPushButton" name="dirButton" >
-     <property name="toolTip" >
+   <item row="1" column="3">
+    <widget class="QPushButton" name="dirButton">
+     <property name="toolTip">
       <string>Select directory using a directory selection dialog</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Select directory&lt;/b>
-&lt;p>Select the working directory via a directory selection dialog.&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Select directory&lt;/b&gt;
+&lt;p&gt;Select the working directory via a directory selection dialog.&lt;/p&gt;</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>...</string>
      </property>
     </widget>
    </item>
-   <item row="2" column="0" >
-    <widget class="QLabel" name="textLabel1" >
-     <property name="text" >
+   <item row="2" column="0">
+    <widget class="QLabel" name="textLabel1">
+     <property name="text">
       <string>&amp;Environment:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>environmentCombo</cstring>
      </property>
     </widget>
    </item>
-   <item row="2" column="1" colspan="3" >
-    <widget class="QComboBox" name="environmentCombo" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
+   <item row="2" column="1" colspan="3">
+    <widget class="QComboBox" name="environmentCombo">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
-     <property name="toolTip" >
+     <property name="toolTip">
       <string>Enter the environment variables to be set.</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Environment&lt;/b>
-&lt;p>Enter the environment variables to be set for the program. The individual settings must be separated by whitespace and be given in the form 'var=value'. In order to add to an environment variable, enter it in the form 'var+=value'.&lt;/p>
-&lt;p>Example: var1=1 var2="hello world" var3+=":/tmp"&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Environment&lt;/b&gt;
+&lt;p&gt;Enter the environment variables to be set for the program. The individual settings must be separated by whitespace and be given in the form 'var=value'. In order to add to an environment variable, enter it in the form 'var+=value'.&lt;/p&gt;
+&lt;p&gt;Example: var1=1 var2=&quot;hello world&quot; var3+=&quot;:/tmp&quot;&lt;/p&gt;</string>
      </property>
-     <property name="editable" >
+     <property name="editable">
       <bool>true</bool>
      </property>
-     <property name="insertPolicy" >
+     <property name="insertPolicy">
       <enum>QComboBox::InsertAtTop</enum>
      </property>
-     <property name="autoCompletion" >
+     <property name="autoCompletion">
       <bool>true</bool>
      </property>
-     <property name="duplicatesEnabled" >
+     <property name="duplicatesEnabled">
       <bool>false</bool>
      </property>
     </widget>
    </item>
-   <item row="3" column="0" colspan="2" >
-    <widget class="QCheckBox" name="exceptionCheckBox" >
-     <property name="toolTip" >
+   <item row="3" column="0" colspan="2">
+    <widget class="QCheckBox" name="exceptionCheckBox">
+     <property name="toolTip">
       <string>Uncheck to disable exception reporting</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Report exceptions&lt;/b>
-&lt;p>Uncheck this in order to disable exception reporting.&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Report exceptions&lt;/b&gt;
+&lt;p&gt;Uncheck this in order to disable exception reporting.&lt;/p&gt;</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>Report &amp;exceptions</string>
      </property>
-     <property name="shortcut" >
+     <property name="shortcut">
       <string>Alt+E</string>
      </property>
-     <property name="checked" >
+     <property name="checked">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+   <item row="3" column="2" colspan="2">
+    <widget class="QCheckBox" name="clearShellCheckBox">
+     <property name="toolTip">
+      <string>Select to clear the display of the interpreter window</string>
+     </property>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Clear interpreter window&lt;/b&gt;&lt;p&gt;This clears the display of the interpreter window before starting the debug client.&lt;/p&gt;</string>
+     </property>
+     <property name="text">
+      <string>Clear &amp;interpreter window</string>
+     </property>
+     <property name="checked">
       <bool>true</bool>
      </property>
     </widget>
    </item>
-   <item row="3" column="2" colspan="2" >
-    <widget class="QCheckBox" name="clearShellCheckBox" >
-     <property name="toolTip" >
-      <string>Select to clear the display of the interpreter window</string>
-     </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Clear interpreter window&lt;/b>&lt;p>This clears the display of the interpreter window before starting the debug client.&lt;/p></string>
-     </property>
-     <property name="text" >
-      <string>Clear &amp;interpreter window</string>
-     </property>
-     <property name="checked" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="0" colspan="2" >
-    <widget class="QCheckBox" name="consoleCheckBox" >
-     <property name="toolTip" >
+   <item row="4" column="0">
+    <widget class="QCheckBox" name="consoleCheckBox">
+     <property name="toolTip">
       <string>Select to start the debugger in a console window</string>
      </property>
-     <property name="whatsThis" >
-      <string>&lt;b>Start in console&lt;/b>
-&lt;p>Select to start the debugger in a console window. The console command has to be configured on the Debugger-&amp;gt;General page&lt;/p></string>
+     <property name="whatsThis">
+      <string>&lt;b&gt;Start in console&lt;/b&gt;
+&lt;p&gt;Select to start the debugger in a console window. The console command has to be configured on the Debugger-&amp;gt;General page&lt;/p&gt;</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>Start in console</string>
      </property>
     </widget>
    </item>
-   <item row="5" column="0" colspan="4" >
-    <widget class="QDialogButtonBox" name="buttonBox" >
-     <property name="orientation" >
+   <item row="5" column="0" colspan="4">
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>Forking</string>
+     </property>
+     <layout class="QHBoxLayout" name="horizontalLayout">
+      <item>
+       <widget class="QCheckBox" name="forkModeCheckBox">
+        <property name="toolTip">
+         <string>Select to go through the fork without asking</string>
+        </property>
+        <property name="whatsThis">
+         <string>&lt;b&gt;Fork without pausing&lt;/b&gt;
+&lt;p&gt;Select to go through the fork without asking making the forking decision based on the Parent/Child selection.&lt;/p&gt;</string>
+        </property>
+        <property name="text">
+         <string>Fork without pausing</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QCheckBox" name="forkChildCheckBox">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
+        <property name="toolTip">
+         <string>Select to debug the child process after forking</string>
+        </property>
+        <property name="whatsThis">
+         <string>&lt;b&gt;Debug Child Process&lt;/b&gt;
+&lt;p&gt;Select to debug the child process after forking. If it is not selected, the parent process will be debugged. This has no effect, if forking without pausing is not selected.&lt;/p&gt;</string>
+        </property>
+        <property name="text">
+         <string>Debug Child Process</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="6" column="0" colspan="4">
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
-     <property name="standardButtons" >
+     <property name="standardButtons">
       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
      </property>
     </widget>
    </item>
   </layout>
  </widget>
- <layoutdefault spacing="6" margin="6" />
+ <layoutdefault spacing="6" margin="6"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <tabstops>
   <tabstop>cmdlineCombo</tabstop>
@@ -220,6 +261,8 @@
   <tabstop>exceptionCheckBox</tabstop>
   <tabstop>clearShellCheckBox</tabstop>
   <tabstop>consoleCheckBox</tabstop>
+  <tabstop>forkModeCheckBox</tabstop>
+  <tabstop>forkChildCheckBox</tabstop>
   <tabstop>buttonBox</tabstop>
  </tabstops>
  <resources/>
@@ -230,11 +273,11 @@
    <receiver>StartRunDialog</receiver>
    <slot>accept()</slot>
    <hints>
-    <hint type="sourcelabel" >
-     <x>31</x>
-     <y>131</y>
+    <hint type="sourcelabel">
+     <x>35</x>
+     <y>237</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>34</x>
      <y>150</y>
     </hint>
@@ -246,15 +289,31 @@
    <receiver>StartRunDialog</receiver>
    <slot>reject()</slot>
    <hints>
-    <hint type="sourcelabel" >
-     <x>150</x>
-     <y>135</y>
+    <hint type="sourcelabel">
+     <x>154</x>
+     <y>237</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>150</x>
      <y>148</y>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>forkModeCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>forkChildCheckBox</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>121</x>
+     <y>190</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>265</x>
+     <y>191</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>

eric ide

mercurial