--- 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&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><b>Commandline</b> -<p>Enter the commandline parameters in this field.</p></string> + <property name="whatsThis"> + <string><b>Commandline</b> +<p>Enter the commandline parameters in this field.</p></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>&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><b>Working directory</b> -<p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.</p></string> + <property name="whatsThis"> + <string><b>Working directory</b> +<p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.</p></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><b>Select directory</b> -<p>Select the working directory via a directory selection dialog.</p></string> + <property name="whatsThis"> + <string><b>Select directory</b> +<p>Select the working directory via a directory selection dialog.</p></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>&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><b>Environment</b> -<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'.</p> -<p>Example: var1=1 var2="hello world" var3+=":/tmp"</p></string> + <property name="whatsThis"> + <string><b>Environment</b> +<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'.</p> +<p>Example: var1=1 var2="hello world" var3+=":/tmp"</p></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><b>Report exceptions</b> -<p>Uncheck this in order to disable exception reporting.</p></string> + <property name="whatsThis"> + <string><b>Report exceptions</b> +<p>Uncheck this in order to disable exception reporting.</p></string> </property> - <property name="text" > + <property name="text"> <string>Report &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><b>Clear interpreter window</b><p>This clears the display of the interpreter window before starting the debug client.</p></string> + </property> + <property name="text"> + <string>Clear &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><b>Clear interpreter window</b><p>This clears the display of the interpreter window before starting the debug client.</p></string> - </property> - <property name="text" > - <string>Clear &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><b>Start in console</b> -<p>Select to start the debugger in a console window. The console command has to be configured on the Debugger-&gt;General page</p></string> + <property name="whatsThis"> + <string><b>Start in console</b> +<p>Select to start the debugger in a console window. The console command has to be configured on the Debugger-&gt;General page</p></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><b>Fork without pausing</b> +<p>Select to go through the fork without asking making the forking decision based on the Parent/Child selection.</p></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><b>Debug Child Process</b> +<p>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.</p></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>