--- a/eric7/Debugger/StartCoverageDialog.ui Sat Aug 21 14:21:44 2021 +0200 +++ b/eric7/Debugger/StartCoverageDialog.ui Sun Aug 22 19:59:18 2021 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>303</height> + <height>327</height> </rect> </property> <property name="windowTitle"> @@ -18,18 +18,68 @@ </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="2" column="0"> - <widget class="QLabel" name="TextLabel2"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> <property name="text"> - <string>Working directory:</string> + <string>Virtual Environment:</string> </property> <property name="buddy"> - <cstring>workdirPicker</cstring> + <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><b>Virtual Environment</b> +<p>Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.</p></string> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToContentsOnFirstShow</enum> </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><html><head/><body><p>Enter the script file name</p></body></html></string> + </property> + <property name="whatsThis"> + <string><b>Script Name</b> +<p>Enter the the name of the script. Leave empty to use the script of the current editor.</p></string> + </property> + </widget> + </item> + <item row="2" column="0"> <widget class="QLabel" name="TextLabel1"> <property name="text"> <string>Script Parameters:</string> @@ -39,7 +89,7 @@ </property> </widget> </item> - <item row="1" column="1"> + <item row="2" column="1"> <widget class="QComboBox" name="cmdlineCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> @@ -68,7 +118,47 @@ </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><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> + </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"> @@ -98,66 +188,6 @@ </property> </widget> </item> - <item row="2" 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><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> - </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><b>Virtual Environment</b> -<p>Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.</p></string> - </property> - <property name="sizeAdjustPolicy"> - <enum>QComboBox::AdjustToContentsOnFirstShow</enum> - </property> - </widget> - </item> - <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="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> </layout> </item> <item> @@ -279,6 +309,7 @@ </customwidgets> <tabstops> <tabstop>venvComboBox</tabstop> + <tabstop>scriptnamePicker</tabstop> <tabstop>cmdlineCombo</tabstop> <tabstop>workdirPicker</tabstop> <tabstop>environmentCombo</tabstop>