eric6/Debugger/StartDebugDialog.ui

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 8078
d0e6c9ef0f15
child 8162
8358c3c95841
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>StartDebugDialog</class>
 <widget class="QDialog" name="StartDebugDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>550</width>
    <height>335</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Start debugging</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <layout class="QGridLayout" name="gridLayout_3">
     <item row="0" column="0">
      <widget class="QLabel" name="label">
       <property name="text">
        <string>Virtual Environment:</string>
       </property>
       <property name="buddy">
        <cstring>venvComboBox</cstring>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QComboBox" name="venvComboBox">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip">
        <string>Select the virtual environment to be used</string>
       </property>
       <property name="whatsThis">
        <string>&lt;b&gt;Virtual Environment&lt;/b&gt;
&lt;p&gt;Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="TextLabel1">
       <property name="text">
        <string>Script Parameters:</string>
       </property>
       <property name="buddy">
        <cstring>cmdlineCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="1" 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="2" column="0">
      <widget class="QLabel" name="TextLabel2">
       <property name="text">
        <string>Working directory:</string>
       </property>
       <property name="buddy">
        <cstring>workdirPicker</cstring>
       </property>
      </widget>
     </item>
     <item row="2" 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>
      </widget>
     </item>
     <item row="3" column="0">
      <widget class="QLabel" name="textLabel1">
       <property name="text">
        <string>Environment Variables:</string>
       </property>
       <property name="buddy">
        <cstring>environmentCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="3" 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 Variables&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'. To delete an environment variable, append a '-' to the variable name.&lt;/p&gt;
&lt;p&gt;Example: var1=1 var2=&quot;hello world&quot; var3+=&quot;:/tmp&quot; var4-&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>
    </layout>
   </item>
   <item>
    <layout class="QGridLayout" name="gridLayout">
     <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>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>
     <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 interpreter window</string>
       </property>
       <property name="checked">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <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 exceptions</string>
       </property>
       <property name="shortcut">
        <string>Alt+E</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>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QGroupBox" name="multiprocessGroup">
     <property name="toolTip">
      <string>Select this to enable multi process debugging.</string>
     </property>
     <property name="whatsThis">
      <string>&lt;b&gt;Multi Process Debugging&lt;/b&gt;&lt;p&gt;This enables debugging capability for multi process programs. Each started Python program is started within a new debugger.&lt;/p&gt;</string>
     </property>
     <property name="title">
      <string>Multi Process Debugging</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout_2">
      <item>
       <widget class="QLabel" name="TextLabel1_2">
        <property name="text">
         <string>Don't Debug:</string>
        </property>
        <property name="buddy">
         <cstring>cmdlineCombo</cstring>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="multiprocessNoDebugCombo">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="toolTip">
         <string/>
        </property>
        <property name="whatsThis">
         <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>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 <customwidgets>
  <customwidget>
   <class>E5ComboPathPicker</class>
   <extends>QWidget</extends>
   <header>E5Gui/E5PathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>venvComboBox</tabstop>
  <tabstop>cmdlineCombo</tabstop>
  <tabstop>workdirPicker</tabstop>
  <tabstop>environmentCombo</tabstop>
  <tabstop>exceptionCheckBox</tabstop>
  <tabstop>clearShellCheckBox</tabstop>
  <tabstop>consoleCheckBox</tabstop>
  <tabstop>tracePythonCheckBox</tabstop>
  <tabstop>autoContinueCheckBox</tabstop>
  <tabstop>multiprocessGroup</tabstop>
  <tabstop>multiprocessNoDebugCombo</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>StartDebugDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>68</x>
     <y>323</y>
    </hint>
    <hint type="destinationlabel">
     <x>43</x>
     <y>179</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>StartDebugDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>136</x>
     <y>323</y>
    </hint>
    <hint type="destinationlabel">
     <x>118</x>
     <y>180</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial