Debugger/StartDebugDialog.ui

changeset 4582
3a1d1d4c6f4f
parent 3656
441956d8fce5
child 5508
30626def80dc
--- a/Debugger/StartDebugDialog.ui	Sat Nov 28 19:47:23 2015 +0100
+++ b/Debugger/StartDebugDialog.ui	Sat Nov 28 19:48:11 2015 +0100
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>488</width>
-    <height>300</height>
+    <height>284</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -16,205 +16,204 @@
   <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">
-      <string>Command&amp;line:</string>
-     </property>
-     <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 hsizetype="Expanding" vsizetype="Fixed">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip">
-      <string>Enter the commandline parameters</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Commandline&lt;/b&gt;
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <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">
+        <cstring>cmdlineCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1">
+      <widget class="QComboBox" name="cmdlineCombo">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="toolTip">
+        <string>Enter the commandline parameters</string>
+       </property>
+       <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">
-      <bool>true</bool>
-     </property>
-     <property name="insertPolicy">
-      <enum>QComboBox::InsertAtTop</enum>
-     </property>
-     <property name="sizeAdjustPolicy">
-      <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
-     </property>
-     <property name="duplicatesEnabled">
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0">
-    <widget class="QLabel" name="TextLabel2">
-     <property name="text">
-      <string>&amp;Working directory:</string>
-     </property>
-     <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 hsizetype="Expanding" vsizetype="Fixed">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip">
-      <string>Enter the working directory</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Working directory&lt;/b&gt;
+       </property>
+       <property name="editable">
+        <bool>true</bool>
+       </property>
+       <property name="insertPolicy">
+        <enum>QComboBox::InsertAtTop</enum>
+       </property>
+       <property name="sizeAdjustPolicy">
+        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+       </property>
+       <property name="duplicatesEnabled">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0">
+      <widget class="QLabel" name="TextLabel2">
+       <property name="text">
+        <string>&amp;Working directory:</string>
+       </property>
+       <property name="buddy">
+        <cstring>workdirPicker</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="1">
+      <widget class="E5ComboPathPicker" name="workdirPicker" native="true">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="focusPolicy">
+        <enum>Qt::WheelFocus</enum>
+       </property>
+       <property name="toolTip">
+        <string>Enter the working directory</string>
+       </property>
+       <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">
-      <bool>true</bool>
-     </property>
-     <property name="insertPolicy">
-      <enum>QComboBox::InsertAtTop</enum>
-     </property>
-     <property name="sizeAdjustPolicy">
-      <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
-     </property>
-     <property name="duplicatesEnabled">
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="0">
-    <widget class="QLabel" name="textLabel1">
-     <property name="text">
-      <string>&amp;Environment:</string>
-     </property>
-     <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 hsizetype="Expanding" vsizetype="Fixed">
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip">
-      <string>Enter the environment variables to be set.</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Environment&lt;/b&gt;
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="0">
+      <widget class="QLabel" name="textLabel1">
+       <property name="text">
+        <string>&amp;Environment:</string>
+       </property>
+       <property name="buddy">
+        <cstring>environmentCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="1">
+      <widget class="QComboBox" name="environmentCombo">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="toolTip">
+        <string>Enter the environment variables to be set.</string>
+       </property>
+       <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">
-      <bool>true</bool>
-     </property>
-     <property name="insertPolicy">
-      <enum>QComboBox::InsertAtTop</enum>
-     </property>
-     <property name="sizeAdjustPolicy">
-      <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
-     </property>
-     <property name="duplicatesEnabled">
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <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&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">
-      <string>Report &amp;exceptions</string>
-     </property>
-     <property name="shortcut">
-      <string>Alt+E</string>
-     </property>
-     <property name="checked">
-      <bool>true</bool>
-     </property>
-    </widget>
+       </property>
+       <property name="editable">
+        <bool>true</bool>
+       </property>
+       <property name="insertPolicy">
+        <enum>QComboBox::InsertAtTop</enum>
+       </property>
+       <property name="sizeAdjustPolicy">
+        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+       </property>
+       <property name="duplicatesEnabled">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </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="4" column="0" colspan="2">
-    <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&gt;Start in console&lt;/b&gt;
+   <item>
+    <layout class="QGridLayout" name="gridLayout_2">
+     <item row="0" column="0">
+      <widget class="QCheckBox" name="exceptionCheckBox">
+       <property name="toolTip">
+        <string>Uncheck to disable exception reporting</string>
+       </property>
+       <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">
+        <string>Report &amp;exceptions</string>
+       </property>
+       <property name="shortcut">
+        <string>Alt+E</string>
+       </property>
+       <property name="checked">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="1">
+      <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="1" 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&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">
-      <string>Start in console</string>
-     </property>
-    </widget>
+       </property>
+       <property name="text">
+        <string>Start in console</string>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="0">
+      <widget class="QCheckBox" name="tracePythonCheckBox">
+       <property name="toolTip">
+        <string>Select to trace into the Python library</string>
+       </property>
+       <property name="text">
+        <string>&amp;Trace into interpreter libraries</string>
+       </property>
+       <property name="shortcut">
+        <string>Alt+T</string>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="1">
+      <widget class="QCheckBox" name="autoContinueCheckBox">
+       <property name="toolTip">
+        <string>Select to not stop the debugger at the first executable line.</string>
+       </property>
+       <property name="whatsThis">
+        <string>&lt;b&gt;Don't stop at first line&lt;/b&gt;&lt;p&gt;This prevents the debugger from stopping at the first executable line.&lt;/p&gt;</string>
+       </property>
+       <property name="text">
+        <string>Don't stop at first line</string>
+       </property>
+       <property name="checked">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
    </item>
-   <item row="5" column="0" colspan="2">
-    <widget class="QCheckBox" name="tracePythonCheckBox">
-     <property name="toolTip">
-      <string>Select to trace into the Python library</string>
-     </property>
-     <property name="text">
-      <string>&amp;Trace into interpreter libraries</string>
-     </property>
-     <property name="shortcut">
-      <string>Alt+T</string>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="2" colspan="2">
-    <widget class="QCheckBox" name="autoContinueCheckBox">
-     <property name="toolTip">
-      <string>Select to not stop the debugger at the first executable line.</string>
-     </property>
-     <property name="whatsThis">
-      <string>&lt;b&gt;Don't stop at first line&lt;/b&gt;&lt;p&gt;This prevents the debugger from stopping at the first executable line.&lt;/p&gt;</string>
-     </property>
-     <property name="text">
-      <string>Don't stop at first line</string>
-     </property>
-     <property name="checked">
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="6" column="0" colspan="4">
+   <item>
     <widget class="QGroupBox" name="groupBox">
      <property name="title">
       <string>Forking</string>
@@ -254,7 +253,7 @@
      </layout>
     </widget>
    </item>
-   <item row="7" column="0" colspan="4">
+   <item>
     <widget class="QDialogButtonBox" name="buttonBox">
      <property name="orientation">
       <enum>Qt::Horizontal</enum>
@@ -264,25 +263,21 @@
      </property>
     </widget>
    </item>
-   <item row="1" column="3">
-    <widget class="QToolButton" name="dirButton">
-     <property name="toolTip">
-      <string>Select directory using a directory selection dialog</string>
-     </property>
-     <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>
-    </widget>
-   </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="6"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <customwidgets>
+  <customwidget>
+   <class>E5ComboPathPicker</class>
+   <extends>QWidget</extends>
+   <header>E5Gui/E5PathPicker.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>cmdlineCombo</tabstop>
-  <tabstop>workdirCombo</tabstop>
-  <tabstop>dirButton</tabstop>
+  <tabstop>workdirPicker</tabstop>
   <tabstop>environmentCombo</tabstop>
   <tabstop>exceptionCheckBox</tabstop>
   <tabstop>clearShellCheckBox</tabstop>
@@ -291,7 +286,6 @@
   <tabstop>autoContinueCheckBox</tabstop>
   <tabstop>forkModeCheckBox</tabstop>
   <tabstop>forkChildCheckBox</tabstop>
-  <tabstop>buttonBox</tabstop>
  </tabstops>
  <resources/>
  <connections>

eric ide

mercurial