src/eric7/Debugger/StartRunDialog.ui

Mon, 07 Nov 2022 17:19:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Nov 2022 17:19:58 +0100
branch
eric7
changeset 9482
a2bc06a54d9d
parent 9413
80c06d472826
permissions
-rw-r--r--

Corrected/acknowledged some bad import style and removed some obsolete code.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>StartRunDialog</class>
 <widget class="QDialog" name="StartRunDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>600</width>
    <height>327</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Start running</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <item>
    <layout class="QGridLayout" name="gridLayout_2">
     <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_2">
       <property name="text">
        <string>Script Name:</string>
       </property>
       <property name="buddy">
        <cstring>cmdlineCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="EricComboPathPicker" name="scriptnamePicker" 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 script file name</string>
       </property>
       <property name="whatsThis">
        <string>&lt;b&gt;Script Name&lt;/b&gt;
&lt;p&gt;Enter the the name of the script. Leave empty to use the script of the current editor.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
     <item row="2" 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="2" 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="3" 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="3" column="1">
      <widget class="EricComboPathPicker" 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="4" 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="4" 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 separated by whitespace.</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>
    <widget class="QGroupBox" name="globalOverrideGroup">
     <property name="title">
      <string>Override Global Configuration</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="QCheckBox" name="redirectCheckBox">
        <property name="toolTip">
         <string>Select, to redirect stdin, stdout and stderr of the program being debugged to the eric IDE</string>
        </property>
        <property name="text">
         <string>Redirect stdin/stdout/stderr</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <layout class="QGridLayout" name="gridLayout">
     <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="1">
      <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>
     <item row="1" column="0">
      <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="1">
      <widget class="QCheckBox" name="unhandledExceptionCheckBox">
       <property name="toolTip">
        <string>Uncheck to disable reporting of unhandled exceptions</string>
       </property>
       <property name="whatsThis">
        <string>&lt;b&gt;Always report unhandled exceptions&lt;/b&gt;
&lt;p&gt;When active all unhandled exceptions will be reported even if 'Report exceptions' is deactivated. When inactive the later switch determines exception reporting.&lt;/p&gt;</string>
       </property>
       <property name="text">
        <string>Always report unhandled exceptions</string>
       </property>
       <property name="checked">
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </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>EricComboPathPicker</class>
   <extends>QWidget</extends>
   <header>eric7/EricWidgets/EricPathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>venvComboBox</tabstop>
  <tabstop>scriptnamePicker</tabstop>
  <tabstop>cmdlineCombo</tabstop>
  <tabstop>workdirPicker</tabstop>
  <tabstop>environmentCombo</tabstop>
  <tabstop>globalOverrideGroup</tabstop>
  <tabstop>redirectCheckBox</tabstop>
  <tabstop>exceptionCheckBox</tabstop>
  <tabstop>unhandledExceptionCheckBox</tabstop>
  <tabstop>clearShellCheckBox</tabstop>
  <tabstop>consoleCheckBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>StartRunDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>44</x>
     <y>293</y>
    </hint>
    <hint type="destinationlabel">
     <x>34</x>
     <y>150</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>StartRunDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>163</x>
     <y>293</y>
    </hint>
    <hint type="destinationlabel">
     <x>150</x>
     <y>148</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial